Uses of Record Class
net.minecraft.predicate.component.ComponentsPredicate
Packages that use ComponentsPredicate
Package
Description
-
Uses of ComponentsPredicate in net.minecraft.predicate
Fields in net.minecraft.predicate declared as ComponentsPredicateModifier and TypeFieldDescriptionprivate ComponentsPredicateBlockPredicate.Builder.componentsprivate final ComponentsPredicateBlockPredicate.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.predicate that return ComponentsPredicateModifier and TypeMethodDescriptionBlockPredicate.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.predicate with parameters of type ComponentsPredicateModifier and TypeMethodDescriptionBlockPredicate.Builder.components(ComponentsPredicate components) private static booleanBlockPredicate.testComponents(@Nullable BlockEntity blockEntity, ComponentsPredicate components) Constructors in net.minecraft.predicate with parameters of type ComponentsPredicateModifierConstructorDescriptionBlockPredicate(Optional<RegistryEntryList<Block>> blocks, Optional<StatePredicate> properties, Optional<NbtPredicate> nbt, ComponentsPredicate components) -
Uses of ComponentsPredicate in net.minecraft.predicate.component
Fields in net.minecraft.predicate.component declared as ComponentsPredicateFields in net.minecraft.predicate.component with type parameters of type ComponentsPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ComponentsPredicate> ComponentsPredicate.CODECstatic final PacketCodec<RegistryByteBuf, ComponentsPredicate> ComponentsPredicate.PACKET_CODECMethods in net.minecraft.predicate.component that return ComponentsPredicate -
Uses of ComponentsPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as ComponentsPredicateModifier and TypeFieldDescriptionprivate ComponentsPredicateEntityPredicate.Builder.componentsprivate final ComponentsPredicateEntityPredicate.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.predicate.entity that return ComponentsPredicateModifier and TypeMethodDescriptionEntityPredicate.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.predicate.entity with parameters of type ComponentsPredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.components(ComponentsPredicate components) Constructors in net.minecraft.predicate.entity with parameters of type ComponentsPredicateModifierConstructorDescriptionEntityPredicate(Optional<EntityTypePredicate> entityType, Optional<DistancePredicate> distanceToPlayer, Optional<MovementPredicate> movement, EntityPredicate.PositionalPredicates location, Optional<EntityEffectPredicate> effects, Optional<NbtPredicate> nbt, Optional<EntityFlagsPredicate> flags, Optional<EntityEquipmentPredicate> equipment, Optional<EntitySubPredicate> subPredicate, Optional<Integer> periodicTick, Optional<EntityPredicate> vehicle, Optional<EntityPredicate> passenger, Optional<EntityPredicate> targetedEntity, Optional<String> team, Optional<SlotsPredicate> slots, ComponentsPredicate components) -
Uses of ComponentsPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as ComponentsPredicateModifier and TypeFieldDescriptionprivate ComponentsPredicateItemPredicate.Builder.componentsprivate final ComponentsPredicateItemPredicate.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.predicate.item that return ComponentsPredicateModifier and TypeMethodDescriptionItemPredicate.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.predicate.item with parameters of type ComponentsPredicateModifier and TypeMethodDescriptionItemPredicate.Builder.components(ComponentsPredicate components) Constructors in net.minecraft.predicate.item with parameters of type ComponentsPredicateModifierConstructorDescriptionItemPredicate(Optional<RegistryEntryList<Item>> items, NumberRange.IntRange count, ComponentsPredicate components) Creates an instance of aItemPredicaterecord class.