net.minecraft.advancements.critereon

public record EnterBlockTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bq$a
net.minecraft.advancements.critereon.EnterBlockTrigger$TriggerInstance
net.minecraft.class_2037$class_2039
net.minecraft.advancement.criterion.EnterBlockCriterion$Conditions
net.minecraft.src.C_953_$C_954_
net.minecraft.advancements.critereon.CriterionTriggerEnterBlock$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302817_
private final Optional<Holder<Block>>
c
block
comp_2050
block
f_31291_
private final Optional<StatePropertiesPredicate>
d
state
comp_2051
state
f_31292_
public static final com.mojang.serialization.Codec<EnterBlockTrigger$TriggerInstance>
a
CODEC
field_47242
CODEC
f_302284_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<Holder<Block>> state, Optional<StatePropertiesPredicate> state)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<EnterBlockTrigger$TriggerInstance>
a(bq$a arg0)
validate(EnterBlockTrigger$TriggerInstance arg0)
method_54979(class_2037$class_2039 arg0)
validate(EnterBlockCriterion$Conditions conditions)
m_306123_(C_953_$C_954_ p_312153_)
public static Criterion<EnterBlockTrigger$TriggerInstance>
a(dfb arg0)
entersBlock(Block arg0)
method_8890(class_2248 arg0)
block(Block block)
m_31297_(C_1706_ p_31298_)
public boolean
a(dse arg0)
matches(BlockState arg0)
method_8891(class_2680 arg0)
matches(BlockState state)
m_31299_(C_2064_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<Holder<Block>>
b()
block()
comp_2050()
block()
f_31291_()
public Optional<StatePropertiesPredicate>
c()
state()
comp_2051()
state()
f_31292_()