net.minecraft.advancements.critereon

public record InputPredicate

ch
net.minecraft.advancements.critereon.InputPredicate
net.minecraft.class_10184
net.minecraft.predicate.entity.InputPredicate
net.minecraft.src.C_346009_
net.minecraft.advancements.critereon.InputPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (Optional<Boolean> backward, Optional<Boolean> left, Optional<Boolean> right, Optional<Boolean> jump, Optional<Boolean> sneak, Optional<Boolean> sprint, Optional<Boolean> arg6)

Method summary

Modifier and TypeMethod
public boolean
a(cpv arg0)
matches(Input arg0)
method_63643(class_10185 arg0)
matches(PlayerInput playerInput)
m_353510_(C_345637_ arg0)
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)
m_353698_(Optional<Boolean> p_366567_, boolean arg1)
public Optional<Boolean>
a()
forward()
comp_3152()
forward()
f_348719_()
public Optional<Boolean>
b()
backward()
comp_3153()
backward()
f_347363_()
public Optional<Boolean>
c()
left()
comp_3154()
left()
f_348903_()
public Optional<Boolean>
d()
right()
comp_3155()
right()
f_346387_()
public Optional<Boolean>
e()
jump()
comp_3156()
jump()
f_348350_()
public Optional<Boolean>
f()
sneak()
comp_3157()
sneak()
f_346783_()
public Optional<Boolean>
g()
sprint()
comp_3158()
sprint()
f_349038_()