Entities spawning on only ice?

Started by Bigbrine99 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entities spawning on only ice?

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?

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Under "Spawning", you can…
Wed, 07/05/2023 - 03:37

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.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works fine now. Thanks a…
Wed, 07/05/2023 - 05:32

It works fine now. Thanks a lot, man!