Uses of Record Class
net.minecraft.advancements.critereon.NbtPredicate
Packages that use NbtPredicate
-
Uses of NbtPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as NbtPredicateModifier and TypeFieldDescriptionprivate final NbtPredicateItemCustomDataPredicate.valueThe field for thevaluerecord component.Fields in net.minecraft.advancements.critereon with type parameters of type NbtPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NbtPredicate> NbtPredicate.CODECprivate Optional<NbtPredicate> BlockPredicate.Builder.nbtprivate final Optional<NbtPredicate> BlockPredicate.nbtThe field for thenbtrecord component.private Optional<NbtPredicate> EntityPredicate.Builder.nbtprivate final Optional<NbtPredicate> EntityPredicate.nbtThe field for thenbtrecord component.static final StreamCodec<io.netty.buffer.ByteBuf, NbtPredicate> NbtPredicate.STREAM_CODECMethods in net.minecraft.advancements.critereon that return NbtPredicateModifier and TypeMethodDescriptionItemCustomDataPredicate.value()Returns the value of thevaluerecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type NbtPredicateModifier and TypeMethodDescriptionBlockPredicate.nbt()Returns the value of thenbtrecord component.EntityPredicate.nbt()Returns the value of thenbtrecord component.Methods in net.minecraft.advancements.critereon with parameters of type NbtPredicateModifier and TypeMethodDescriptionstatic ItemCustomDataPredicateItemCustomDataPredicate.customData(NbtPredicate pValue) private static booleanBlockPredicate.matchesBlockEntity(LevelReader pLevel, BlockEntity pBlockEntity, NbtPredicate pNbtPredicate) EntityPredicate.Builder.nbt(NbtPredicate pNbt) Constructors in net.minecraft.advancements.critereon with parameters of type NbtPredicateModifierConstructorDescriptionCreates an instance of aItemCustomDataPredicaterecord class.