How to make a build spawn a mob?

Started by The_Latin_Loser on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined Oct 2019
Points:
657

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How to make a build spawn a mob?

I'm trying to make a mod that has custom golems, in my idea you stack blocks and right click them with an item. i'm having trouble figuring out how to accomplish that, anyone have any suggestions? i'd really appreciate it

Active 5 years ago
Joined Aug 2019
Points:
1036

User statistics:

  • Modifications: 0
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 450
Make the blocks delete the…
Fri, 10/04/2019 - 21:49

Make the blocks delete the blocks by placing air and spawn the mob at that coordinate?

Active 5 years ago
Joined Oct 2019
Points:
657

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
how do i do that tho?
Fri, 10/04/2019 - 22:22

how do i do that tho?

Active 5 years ago
Joined Aug 2019
Points:
1036

User statistics:

  • Modifications: 0
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 450
All of the blocks for the…
Sat, 10/05/2019 - 16:06

All of the blocks for the golem need to have On Right Clicked.

Inside on right clicked, add an if statement checking which item is in the player's main hand. If they have the correct item, make the blocks check all blocks beside them and above them where the other blocks should be. Make it set a custom logic variable to true for every block that should be around that block. If every right block is around it, make it delete all those blocks by spawning air at all those coordinates and spawn the golem at the same coordinate.

Active 2 years ago
Joined Apr 2020
Points:
663

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
I do not understand the part…
Mon, 09/14/2020 - 18:07

I do not understand the part where i have to make the blocks. Can you PLEASE show a screenshot if you made a Procedure like that?