One block step height behavior

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

Topic category: Help with MCreator software

Last seen on 19:49, 26. Jun 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 19:49, 26. Jun 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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;

 

Last seen on 19:40, 2. Jun 2023
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where do you add that line?
Thu, 04/13/2023 - 07:34

Where do you add that line?