net.minecraft.advancements.critereon

public record BlockPredicate

au
net.minecraft.advancements.critereon.BlockPredicate
net.minecraft.class_4550
net.minecraft.unmapped.C_uuwlfkxz
net.minecraft.predicate.BlockPredicate
net.minecraft.predicate.BlockPredicate
net.minecraft.src.C_411_
net.minecraft.advancements.critereon.CriterionConditionBlock

Field summary

Modifier and TypeField
private final Optional<TagKey<Block>>
b
tag
comp_1731
f_dwxmerqe
tag
tag
f_17903_
private final Optional<HolderSet<Block>>
c
blocks
comp_1732
f_csfosler
blocks
blocks
f_146710_
private final Optional<StatePropertiesPredicate>
d
properties
comp_1733
f_brljkzff
state
state
f_17905_
private final Optional<NbtPredicate>
e
nbt
comp_1734
f_jlmkocct
nbt
nbt
f_17906_
private static final com.mojang.serialization.Codec<HolderSet<Block>>
f
BLOCKS_CODEC
field_45724
f_uuasejxd
BLOCK_ENTRY_LIST_CODEC
f_290631_
public static final com.mojang.serialization.Codec<BlockPredicate>
a
CODEC
field_45723
f_gxnjjbbp
CODEC
f_291811_

Constructor summary

ModifierConstructor
public (Optional<TagKey<Block>> tag, Optional<HolderSet<Block>> blocks, Optional<StatePropertiesPredicate> state, Optional<NbtPredicate> nbt)

Method summary

Modifier and TypeMethod
public boolean
a(and arg0, hx arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22454(class_3218 arg0, class_2338 arg1)
m_ilwdlmql(C_bdwnwhiu arg0, C_hynzadkk arg1)
test(ServerWorld world, BlockPos pos)
test(ServerWorld world, BlockPos pos)
m_17914_(C_12_ p_17916_, C_4675_ arg1)
public Optional<TagKey<Block>>
a()
tag()
comp_1731()
m_ouodcyht()
tag()
tag()
f_17903_()
public Optional<HolderSet<Block>>
b()
blocks()
comp_1732()
m_mkwdczhe()
blocks()
blocks()
f_146710_()
public Optional<StatePropertiesPredicate>
c()
properties()
comp_1733()
m_iqnrmmdt()
state()
properties()
f_17905_()
public Optional<NbtPredicate>
d()
nbt()
comp_1734()
m_dvbqltbp()
nbt()
nbt()
f_17906_()