net.minecraft.advancements.critereon

public record EnterBlockTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bt$a
net.minecraft.advancements.critereon.EnterBlockTrigger$TriggerInstance
net.minecraft.class_2037$class_2039
net.minecraft.advancement.criterion.EnterBlockCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerEnterBlock$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<EnterBlockTrigger$TriggerInstance>
a(bt$a arg0)
validate(EnterBlockTrigger$TriggerInstance arg0)
method_54979(class_2037$class_2039 arg0)
validate(EnterBlockCriterion$Conditions conditions)
public static Criterion<EnterBlockTrigger$TriggerInstance>
a(djn arg0)
entersBlock(Block arg0)
method_8890(class_2248 arg0)
block(Block block)
public boolean
a(dwy arg0)
matches(BlockState arg0)
method_8891(class_2680 arg0)
matches(BlockState state)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<Holder<Block>>
b()
block()
comp_2050()
block()
public Optional<StatePropertiesPredicate>
c()
state()
comp_2051()
state()