Entities spawning on only ice?

Started by Bigbrine99 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 months ago
Joined Jun 2023
Points:
132

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?

Active 10 months ago
Joined Nov 2022
Points:
281

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 93
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.

Active 4 months ago
Joined Jun 2023
Points:
132

User statistics:

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

It works fine now. Thanks a lot, man!