Mob spawning like snowman

Started by baileywithaw on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob spawning like snowman

I am struggling to figure out what is wrong with this code to have a mob spawn similar to a snowman, please help!

 

Global Trigger: a block is placed

if  --> and: Is [Get block at [x y z]] the same block as [pumpkin]

\--> and: Is [Get block at [x y-1 z]] the same block as [stripped spruce wood]

do --> remove block at [x y z]

           remove block at [x y-1 z]

           spawn entity at [x y z]