the pumpkin ckechs if the two blocks below are snow blocks and then replaces them with air and spawns a snow golem. look at the blocks's class for more detail
the pumpkin ckechs if the two blocks below are snow blocks and then replaces them with air and spawns a snow golem. look at the blocks's class for more detail
is there any way to override the vanilla pumpkin? I would really like to add my own mob but I don't want to replace vanilla class files...
you don't need to override it, just subscribe to BlockEvent.PlaceEvent and check if the player placed a pumpkin and if the blocks below match your custom pattern.
is it the blocks that allow you to build the snowman? because I want to make a buildable mod without making custom blocks
- snubmansters.com
the pumpkin ckechs if the two blocks below are snow blocks and then replaces them with air and spawns a snow golem. look at the blocks's class for more detail
is there any way to override the vanilla pumpkin? I would really like to add my own mob but I don't want to replace vanilla class files...
- snubmansters.com
you don't need to override it, just subscribe to BlockEvent.PlaceEvent and check if the player placed a pumpkin and if the blocks below match your custom pattern.