Need Help with my climbing boots procedure

Started by Infern_X on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need Help with my climbing boots procedure

So my idea for these Boots is to be able to climb up walls higher than 1 block when i have the shoes on ( i made a variable for the on/off mechanism and it works perfectly fine ), but the problem is that the actual climbing mechanism is kinda bugged and only works sometimes, sometimes i can´t climb a whole wall and sometimes i can´t climb the edge of a wall, any idea why this could be happening, or am I just dumb and missing something obvious? heres a video of the ingame example and a picture of my procedure:Climbing Demo

 

Climbing Procedure

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know If this will…
Fri, 09/23/2022 - 17:33

I don't know If this will work but instead of using get item from armor slot 0 of event target/entity = __, try on boots tick event. boots tick event also make the procedure just a bit small meaning a bit more manageable.

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Video Shows that you don't…
Sun, 09/25/2022 - 11:04

Video Shows that you don't reach the top and one block short, try using feet position, not head

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you are planning to check…
Sun, 09/25/2022 - 13:34

If you are planning to check if someone should be able to climb like this then add in 2 || (Or) statements to check for blocks you are facing and one block down, Try checking with smaller numbers instead of full blocks so that it is not bugged to not support pillars. if any of the statements is true then override the motion vector. Also your player is actually positioned based on where the bottom of your feet are so check 0.15 blocks ahead then check up on the Y and bellow on the Y, Also should the player rotate on the wall because if so then check in all directions using a for horizontal directions clause or if they are not intended to then keep the player from being able to see behind by making sure that to climb you must be able to turn 75 degrees to face the front top block

PS. By default most checks except for directly eye related checks, specifically head axes and Raycasting

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm a little late to the…
Mon, 12/25/2023 - 16:09

I'm a little late to the party but what does that "grapplingshoesonoff" variable do exactly? I'm trying to replicate the code for my own personal mod