net.minecraft.world.entity.player

public record Input

cow
net.minecraft.world.entity.player.Input
net.minecraft.class_10185
net.minecraft.util.PlayerInput
net.minecraft.world.entity.player.Input

Field summary

Modifier and TypeField
private final boolean
c
forward
comp_3159
forward
private final boolean
d
backward
comp_3160
backward
private final boolean
e
left
comp_3161
left
private final boolean
f
right
comp_3162
right
private final boolean
g
jump
comp_3163
jump
private final boolean
h
shift
comp_3164
sneak
private final boolean
i
sprint
comp_3165
sprint
private static final byte
j
FLAG_FORWARD
field_54099
FORWARD
private static final byte
k
FLAG_BACKWARD
field_54100
BACKWARD
private static final byte
l
FLAG_LEFT
field_54101
LEFT
private static final byte
m
FLAG_RIGHT
field_54102
RIGHT
private static final byte
n
FLAG_JUMP
field_54103
JUMP
private static final byte
o
FLAG_SHIFT
field_54104
SNEAK
private static final byte
p
FLAG_SPRINT
field_54105
SPRINT
public static final StreamCodec<FriendlyByteBuf, Input>
a
STREAM_CODEC
field_54097
PACKET_CODEC
public static Input
b
EMPTY
field_54098
DEFAULT

Constructor summary

ModifierConstructor
public (boolean arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, boolean arg5, boolean arg6)

Method summary

Modifier and TypeMethod
public boolean
a()
forward()
comp_3159()
forward()
public boolean
b()
backward()
comp_3160()
backward()
public boolean
c()
left()
comp_3161()
left()
public boolean
d()
right()
comp_3162()
right()
public boolean
e()
jump()
comp_3163()
jump()
public boolean
f()
shift()
comp_3164()
sneak()
public boolean
g()
sprint()
comp_3165()
sprint()