Uses of Record Class
net.minecraft.predicate.NbtPredicate
Package
Description
-
Uses of NbtPredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NbtPredicate> NbtPredicate.CODEC
private Optional
<NbtPredicate> BlockPredicate.Builder.nbt
private final Optional
<NbtPredicate> BlockPredicate.nbt
The field for thenbt
record component.static final PacketCodec
<ByteBuf, NbtPredicate> NbtPredicate.PACKET_CODEC
Modifier and TypeMethodDescriptionBlockPredicate.nbt()
Returns the value of thenbt
record component.Modifier and TypeMethodDescriptionprivate static boolean
BlockPredicate.testBlockEntity
(WorldView world, @Nullable BlockEntity blockEntity, NbtPredicate nbtPredicate) -
Uses of NbtPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate Optional
<NbtPredicate> EntityPredicate.Builder.nbt
private final Optional
<NbtPredicate> EntityPredicate.nbt
The field for thenbt
record component.Modifier and TypeMethodDescriptionEntityPredicate.nbt()
Returns the value of thenbt
record component. -
Uses of NbtPredicate in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final NbtPredicate
CustomDataPredicate.value
The field for thevalue
record component.Modifier and TypeMethodDescriptionCustomDataPredicate.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionstatic CustomDataPredicate
CustomDataPredicate.customData
(NbtPredicate value)