Is it possible to code NPCs to build structure files block by block?

Started by EComputer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to code NPCs to build structure files block by block?

Hey everyone,

I have been attempting to make a Survival Assistant mod that adds an NPC that basically acts like a player, and I want him to be able to build structures related to survival, such as survival shelters. However, I have been hand programming each block he places, and that is very inefficient. If it is possible to make the NPC read structure files that I made in game, and build it accordingly, that would be really cool and save me a lot of time. If this is not possible, just let me know, and I will continue doing what I have been.

Thanks!

- ThatJamGuy