One block step height behavior

Started by TegusTalpan on Fri, 03/12/2021 - 20:58

Topic category: Help with MCreator software

Last seen on 09:47, 5. May 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
One block step height behavior
Fri, 03/12/2021 - 20:58

Hello, i'm trying to add a entity that doesn't need to jump one block height slopes, so it can keep its velocity just like horses do. Is there any way to actually achieve this?

Last seen on 09:47, 5. May 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Nevermind i just found how,…
Sat, 03/13/2021 - 21:35

Nevermind i just found how, you'll need to add this line

this.stepHeight = 1.0F;