net.minecraft.predicate

public record BlockPredicate

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

Field summary

Modifier and TypeField
private final Optional<RegistryEntryList<Block>>
c
blocks
comp_1732
blocks
f_csfosler
blocks
f_146710_
private final Optional<StatePredicate>
d
properties
comp_1733
state
f_brljkzff
state
f_17905_
private final Optional<NbtPredicate>
e
nbt
comp_1734
nbt
f_jlmkocct
nbt
f_17906_
private final ComponentsPredicate
f
components
comp_3832
components
f_kovamoxl
components
f_380024_
public static final com.mojang.serialization.Codec<BlockPredicate>
a
CODEC
field_45723
CODEC
f_gxnjjbbp
PREDICATE_CODEC
f_291811_
public static final PacketCodec<RegistryByteBuf, BlockPredicate>
b
STREAM_CODEC
field_49181
PACKET_CODEC
f_qqkaqfyx
PACKET_CODEC
f_315415_

Constructor summary

ModifierConstructor
public (Optional<RegistryEntryList<Block>> blocks, Optional<StatePredicate> state, Optional<NbtPredicate> nbt, ComponentsPredicate components)

Method summary

Modifier and TypeMethod
public boolean
a(asb o, iw arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22454(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
m_dapwgszc(C_bdwnwhiu arg0, C_hynzadkk arg1)
test(ServerWorld world, BlockPos pos)
m_17914_(C_12_ p_17916_, C_4675_ arg1)
public boolean
a(ebu arg0)
matches(BlockInWorld arg0)
method_57147(class_2694 arg0)
test(CachedBlockPosition pos)
m_xssthzzs(C_gogfiawf arg0)
test(CachedBlockPosition pos)
m_321461_(C_2070_ arg0)
private boolean
a(ebq arg0)
matchesState(BlockState arg0)
method_57146(class_2680 arg0)
testState(BlockState state)
m_jnhogsoy(C_txtbiemp arg0)
testState(BlockState state)
m_320876_(C_2064_ arg0)
private static boolean
a(dkm o, dyo o, da o)
matchesBlockEntity(LevelReader arg0, BlockEntity arg1, NbtPredicate arg2)
method_57145(class_4538 arg0, class_2586 arg1, class_2105 arg2)
testNbt(WorldView world, BlockEntity blockEntity, NbtPredicate nbtPredicate)
m_jvxclgcq(C_eemzphbi arg0, C_kvegafmh arg1, C_emmbeecz arg2)
testBlockEntity(WorldView world, BlockEntity blockEntity, NbtPredicate predicate)
m_320500_(C_1599_ p_330206_, C_1991_ p_327732_, C_1941_ p_335422_)
private static boolean
a(dyo o, bo o)
matchesComponents(BlockEntity arg0, DataComponentMatchers arg1)
method_68677(class_2586 arg0, class_10914 arg1)
testComponents(BlockEntity blockEntity, ComponentsPredicate components)
m_hhbyrjcx(C_kvegafmh arg0, C_eupeirkx arg1)
m_hhbyrjcx(BlockEntity blockEntity, C_eupeirkx arg1)
m_385730_(C_1991_ p_391686_, C_379313_ p_395336_)
public boolean
a()
requiresNbt()
method_57143()
hasNbt()
m_bthfszhw()
hasNbt()
m_324452_()
public Optional<RegistryEntryList<Block>>
b()
blocks()
comp_1732()
blocks()
m_mkwdczhe()
blocks()
f_146710_()
public Optional<StatePredicate>
c()
properties()
comp_1733()
state()
m_iqnrmmdt()
properties()
f_17905_()
public Optional<NbtPredicate>
d()
nbt()
comp_1734()
nbt()
m_dvbqltbp()
nbt()
f_17906_()
public ComponentsPredicate
e()
components()
comp_3832()
components()
m_yireyviv()
components()
f_380024_()