Uses of Record Class
net.minecraft.advancements.critereon.NbtPredicate
-
Uses of NbtPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final NbtPredicate
ItemCustomDataPredicate.value
The field for thevalue
record component.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.private Optional
<NbtPredicate> EntityPredicate.Builder.nbt
private final Optional
<NbtPredicate> EntityPredicate.nbt
The field for thenbt
record component.static final StreamCodec
<io.netty.buffer.ByteBuf, NbtPredicate> NbtPredicate.STREAM_CODEC
Modifier and TypeMethodDescriptionItemCustomDataPredicate.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionBlockPredicate.nbt()
Returns the value of thenbt
record component.EntityPredicate.nbt()
Returns the value of thenbt
record component.Modifier and TypeMethodDescriptionstatic ItemCustomDataPredicate
ItemCustomDataPredicate.customData
(NbtPredicate p_334037_) private static boolean
BlockPredicate.matchesBlockEntity
(LevelReader p_330457_, BlockEntity p_332206_, NbtPredicate p_330422_) EntityPredicate.Builder.nbt
(NbtPredicate p_36655_) ModifierConstructorDescriptionCreates an instance of aItemCustomDataPredicate
record class.