One block step height behavior

Started by TegusTalpan on

Topic category: Help with MCreator software

Active 1 year ago
Joined Jul 2019
Points:
695

User statistics:

  • Modifications: 2
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
One block step height behavior

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?

Active 1 year ago
Joined Jul 2019
Points:
695

User statistics:

  • Modifications: 2
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
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;

 

Active 1 year ago
Joined Nov 2022
Points:
327

User statistics:

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

Where do you add that line?

Active 2 days ago
Joined Sep 2023
Points:
188

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
where did you add that line?
Thu, 01/11/2024 - 10:39

where did you add that line?