Making Mobs Have Frost Walker

Started by 8_Bit_Hypocrite on Sat, 01/16/2021 - 06:29

Topic category: Help with modding (Java Edition)

Last seen on 03:45, 17. Jan 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Making Mobs Have Frost Walker
Sat, 01/16/2021 - 06:29

I'm making an ice-themed mob and I wanted to make water turn to ice when the mob walks over it, exactly like the frost walker enchantment.

 

Is there any way to code an entity to check for water beneath it and replace it with ice?

Last seen on 17:59, 2. Mar 2021
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use the "On entity tick…
Sun, 01/17/2021 - 13:51

Use the "On entity tick update" procedure inside your custom mob triggers.

Then check if the block below him "[x][y-1][z]" is water, if so place an ice block there.

Last seen on 14:30, 3. Mar 2021
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Place packed ice if ya want…
Tue, 02/09/2021 - 14:04

Place packed ice if ya want it to expire and break like the frost walker