net.minecraft.advancements.critereon

public record InputPredicate

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(cpv arg0)
matches(Input arg0)
method_63643(class_10185 arg0)
m_ozkjhumw(C_graemaps 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)
m_isxpyghv(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()
m_xrlbprnj()
forward()
forward()
f_348719_()
public Optional<Boolean>
b()
backward()
comp_3153()
m_pblaoteb()
backward()
backward()
f_347363_()
public Optional<Boolean>
c()
left()
comp_3154()
m_jstmqegb()
left()
left()
f_348903_()
public Optional<Boolean>
d()
right()
comp_3155()
m_cjugjlwt()
right()
right()
f_346387_()
public Optional<Boolean>
e()
jump()
comp_3156()
m_kakelpke()
jump()
jump()
f_348350_()
public Optional<Boolean>
f()
sneak()
comp_3157()
m_hpmjeqta()
sneak()
sneak()
f_346783_()
public Optional<Boolean>
g()
sprint()
comp_3158()
m_vhuncnya()
sprint()
sprint()
f_349038_()