net.minecraft.advancements.critereon

public record BlockPredicate

av
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<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_
public static final com.mojang.serialization.Codec<BlockPredicate>
a
CODEC
field_45723
f_gxnjjbbp
CODEC
PREDICATE_CODEC
f_291811_
public static final StreamCodec<RegistryFriendlyByteBuf, BlockPredicate>
b
STREAM_CODEC
field_49181
f_qqkaqfyx
PACKET_CODEC
PACKET_CODEC
f_315415_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(arf arg0, iz arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22454(class_3218 arg0, class_2338 arg1)
m_dapwgszc(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 boolean
a(dsh arg0)
matches(BlockInWorld arg0)
method_57147(class_2694 arg0)
m_xssthzzs(C_gogfiawf arg0)
test(CachedBlockPosition pos)
test(CachedBlockPosition pos)
m_321461_(C_2070_ arg0)
private boolean
a(dsd arg0)
matchesState(BlockState arg0)
method_57146(class_2680 arg0)
m_jnhogsoy(C_txtbiemp arg0)
testState(BlockState state)
testState(BlockState state)
m_320876_(C_2064_ arg0)
private static boolean
a(dcc arg0, dpi arg1, dg arg2)
matchesBlockEntity(LevelReader arg0, BlockEntity arg1, NbtPredicate arg2)
method_57145(class_4538 arg0, class_2586 arg1, class_2105 arg2)
m_jvxclgcq(C_eemzphbi arg0, C_kvegafmh arg1, C_emmbeecz arg2)
testBlockEntity(WorldView world, BlockEntity blockEntity, NbtPredicate nbtPredicate)
testBlockEntity(WorldView world, BlockEntity blockEntity, NbtPredicate predicate)
m_320500_(C_1599_ p_330206_, C_1991_ p_327732_, C_1941_ p_335422_)
public boolean
a()
requiresNbt()
method_57143()
m_bthfszhw()
hasNbt()
hasNbt()
m_324452_()
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_()