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 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 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 TypeMethodDescriptionprivate static booleanBlockPredicate.matchesBlockEntity(LevelReader pLevel, BlockEntity pBlockEntity, NbtPredicate pNbtPredicate) EntityPredicate.Builder.nbt(NbtPredicate pNbt) -
Uses of NbtPredicate in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates declared as NbtPredicateModifier and TypeFieldDescriptionprivate final NbtPredicateCustomDataPredicate.valueThe field for thevaluerecord component.Methods in net.minecraft.core.component.predicates that return NbtPredicateModifier and TypeMethodDescriptionCustomDataPredicate.value()Returns the value of thevaluerecord component.Methods in net.minecraft.core.component.predicates with parameters of type NbtPredicateModifier and TypeMethodDescriptionstatic CustomDataPredicateCustomDataPredicate.customData(NbtPredicate pValue) Constructors in net.minecraft.core.component.predicates with parameters of type NbtPredicateModifierConstructorDescriptionCustomDataPredicate(NbtPredicate value) Creates an instance of aCustomDataPredicaterecord class.