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)

Active 4 years ago
Joined Oct 2016
Points:
723

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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
Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
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.

Active 4 years ago
Joined Oct 2016
Points:
723

User statistics:

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

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

Active 4 years ago
Joined Oct 2016
Points:
723

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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.

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
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 "="

Active 4 years ago
Joined Oct 2016
Points:
723

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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.

Active 3 years ago
Joined Nov 2021
Points:
467

User statistics:

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

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

Active 1 month ago
Joined Mar 2021
Points:
987

User statistics:

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

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

Active 8 months ago
Joined Aug 2018
Points:
746

User statistics:

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

Can someone send a screenshot please?

 

Active 1 year ago
Joined Feb 2022
Points:
504

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 36
Thanks ! :D
Sun, 02/13/2022 - 13:50

Thanks ! :D

Active 2 months ago
Joined Mar 2024
Points:
235

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 250
Helpfull
Fri, 07/05/2024 - 00:29

Helpfull