Uses of Record Class
net.minecraft.predicate.NbtPredicate
Packages that use NbtPredicate
Package
Description
-
Uses of NbtPredicate in net.minecraft.predicate
Fields in net.minecraft.predicate with type parameters of type NbtPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NbtPredicate> NbtPredicate.CODECstatic final PacketCodec<ByteBuf, NbtPredicate> NbtPredicate.field_49244private Optional<NbtPredicate> BlockPredicate.Builder.nbtprivate final Optional<NbtPredicate> BlockPredicate.nbtThe field for thenbtrecord component.Methods in net.minecraft.predicate that return types with arguments of type NbtPredicateModifier and TypeMethodDescriptionBlockPredicate.nbt()Returns the value of thenbtrecord component.Methods in net.minecraft.predicate with parameters of type NbtPredicateModifier and TypeMethodDescriptionprivate static booleanBlockPredicate.testBlockEntity(WorldView world, @Nullable BlockEntity blockEntity, NbtPredicate nbtPredicate) -
Uses of NbtPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type NbtPredicateModifier and TypeFieldDescriptionprivate Optional<NbtPredicate> EntityPredicate.Builder.nbtprivate final Optional<NbtPredicate> EntityPredicate.nbtThe field for thenbtrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type NbtPredicateModifier and TypeMethodDescriptionEntityPredicate.nbt()Returns the value of thenbtrecord component.Methods in net.minecraft.predicate.entity with parameters of type NbtPredicate -
Uses of NbtPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type NbtPredicateModifier and TypeFieldDescriptionprivate final Optional<NbtPredicate> ItemPredicate.customDataThe field for thecustomDatarecord component.private Optional<NbtPredicate> ItemPredicate.Builder.field_49234Methods in net.minecraft.predicate.item that return types with arguments of type NbtPredicateModifier and TypeMethodDescriptionItemPredicate.customData()Returns the value of thecustomDatarecord component.