net.minecraft.advancements.critereon

public record InputPredicate

ci
net.minecraft.advancements.critereon.InputPredicate
net.minecraft.class_10184
net.minecraft.predicate.entity.InputPredicate
net.minecraft.advancements.critereon.InputPredicate

Field summary

Modifier and TypeField
private final Optional<Boolean>
b
forward
comp_3152
forward
private final Optional<Boolean>
c
backward
comp_3153
backward
private final Optional<Boolean>
d
left
comp_3154
left
private final Optional<Boolean>
e
right
comp_3155
right
private final Optional<Boolean>
f
jump
comp_3156
jump
private final Optional<Boolean>
g
sneak
comp_3157
sneak
private final Optional<Boolean>
h
sprint
comp_3158
sprint
public static final com.mojang.serialization.Codec<InputPredicate>
a
CODEC
field_54096
CODEC

Constructor summary

ModifierConstructor
public (Optional<Boolean> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6)

Method summary

Modifier and TypeMethod
public boolean
a(cow arg0)
matches(Input arg0)
method_63643(class_10185 arg0)
matches(PlayerInput playerInput)
private boolean
a(Optional<Boolean> arg0, boolean arg1)
matches(Optional<Boolean> arg0, boolean arg1)
method_63645(Optional<Boolean> arg0, boolean arg1)
keyMatches(Optional<Boolean> keyPressed, boolean inputPressed)
public Optional<Boolean>
a()
forward()
comp_3152()
forward()
public Optional<Boolean>
b()
backward()
comp_3153()
backward()
public Optional<Boolean>
c()
left()
comp_3154()
left()
public Optional<Boolean>
d()
right()
comp_3155()
right()
public Optional<Boolean>
e()
jump()
comp_3156()
jump()
public Optional<Boolean>
f()
sneak()
comp_3157()
sneak()
public Optional<Boolean>
g()
sprint()
comp_3158()
sprint()