PlayerRideableJumping .java

net.minecraft.world.entity.PlayerRideableJumping (interface, 20 lines): members: getPlayerJumpPendingScale, getJumpCooldown, handleStartJump, onPlayerJump.

net.minecraft.world.entityinterface20 linescommonextends PlayerRideable411 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

PlayerRideableJumping.java20 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.entity;
2
3
public interface PlayerRideableJumping extends PlayerRideable {
4
	void onPlayerJump(int jumpAmount);
5
6
	boolean canJump();
7
8
	void handleStartJump(int jumpScale);
9
10
	void handleStopJump();
11
12
	default int getJumpCooldown() {
13
		return 0;
14
	}
15
16
	default float getPlayerJumpPendingScale(final int jumpAmount) {
17
		return jumpAmount >= 90 ? 1.0F : 0.4F + 0.4F * jumpAmount / 90.0F;
18
	}
19
}
20

Decompiled Minecraft 26.3 source of PlayerRideableJumping (net/minecraft/world/entity/PlayerRideableJumping.java) with Mojang official mappings, stored verbatim on the site.