How do I create a mob like iron golem, which spawns a structure?

Started by Nicolas_Charaba on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I create a mob like iron golem, which spawns a structure?
Sun, 04/19/2020 - 21:42 (edited)

Hello, I'm creating a mod, "Extra Utilities 2" style, and I put things in it simulating the new update 1.16 (Netherite, Ancient Debris, etc.) and for extra, I created a 3d model of the supposed Netherite Golem, I imported it into the mc creator.
 

So far so good, but at the time of the game, I wanted it to be like Iron Golem and Wither, who put structure is placed to summon the mob. But I don't know how to do that, could someone help me?

For better contact, here is my discord: eulB # 4895

Edited by Nicolas_Charaba on Sun, 04/19/2020 - 21:42
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You just have to check, when…
Sun, 04/19/2020 - 21:54

You just have to check, when the player places a block, if it's a pumpkin.
If yes, you check for blocks at y-1, y-2, x-1;y-1 and x+1;y-1 (or z-1;y-1 and z+1;y-1)
If these blocks are all Netherite blocks, you replace the entire structure by air and you summon the entity.

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, I will try to do…
Sun, 04/19/2020 - 22:11

Thanks, I will try to do that! anything contact again.

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
good, but how do I do that?…
Sun, 04/19/2020 - 22:14

good, but how do I do that? I am very noob in this area of "procedure" at mc creator.

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then learn and don't try to…
Mon, 04/20/2020 - 08:16

Then learn and don't try to make things to complicated for you.
You can use the blocks "if", the bloc "and", the block "block" (in Minecraft components) and the block "block at x, y, z" and the block "="

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry, but you would…
Mon, 04/20/2020 - 15:17

I'm sorry, but you would have prints, or videos, I honestly can't.

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know where i can get…
Tue, 12/14/2021 - 05:37

Do you know where i can get the "and" block?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you want golem to spawn…
Tue, 12/14/2021 - 10:36

you want golem to spawn structure or golem to be inside structure ?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone send a…
Mon, 02/07/2022 - 00:35

Can someone send a screenshot please?