Entity Replace Blocks in Structures

Started by TheVoidShadows on Thu, 09/15/2022 - 19:44

Topic category: Help with modding (Java Edition)

Last seen on 23:01, 26. Nov 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Entity Replace Blocks in Structures
Thu, 09/15/2022 - 19:44

So this may be slightly complicated and I'm unsure if there is a way to do this even, but, I want to make it so that when a Vanilla structures such as the stronghold or a spawner dungeon generates that there is a chance for one of my custom entities to replace a block in that specific structure.

I am trying to make a mimic entity that mimics multiple different items/blocks.

Similarly, I also want to make it so that when that entity dies, it sets a block on the ground with the same NBT data/inventory that the entity had.

Any ideas on how either, or both, of these are done?

Last seen on 23:01, 26. Nov 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Never mind, I came up with a…
Tue, 09/20/2022 - 03:25

Never mind, I came up with a better idea for what I'm doing.