Started by
Bigbrine99
on
Topic category: Help with Minecraft modding (Java Edition)
I was wondering if there was a way to make mobs spawn on ice, like penguins. I set the entity to 'creature' and changed the material to 'ice' in the code, but it still doesn't work. Setting the entity to 'ambient' doesn't work either. Are there any ways I can fix this problem?
Under "Spawning", you can create a custom entity spawning procedure. Then, create a procedure that checks the block below the position, and returns "true" if the entity can spawn and "false" if the entity cannot spawn.
It works fine now. Thanks a lot, man!