Jump to content

[1.14] How do I make a placed block create a structure?


askod333

Recommended Posts

Hi everyone,

 

I am almost done with my mod that I only need for myself, I just can't grasp how to code one thing.

I need to code it so when a block is placed by a player, a structure appears instead of the block. I suppose I am meant to use the onBlockAdded method, but I can't understand, how it works. Could someone show me how to code it please? Also, how do I map the structure? Do i use XYZ coordinates?

 

Thank you for the response!

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.