How to make it so that if the player built a certain structure it turned into an object .

Started by sekret on

Topic category: Help with modding (Java Edition)

Last seen on 12:50, 11. Jul 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make it so that if the player built a certain structure it turned into an object .

How to make it so that if the player built a certain structure it turned into an object as in the fashion of immersive engineering

Last seen on 15:09, 2. Sep 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If the provided structure…
Thu, 10/22/2020 - 15:05

If the provided structure has a custom block in it, make it so every tick it checks for all the blocks it need around it.  If all of these blocks are present, replace them all with air and spawn an entity or place your custom block or whatever you need to do with it.