Uses of Class
net.minecraft.predicate.component.ComponentMapPredicate
Packages that use ComponentMapPredicate
-
Uses of ComponentMapPredicate in net.minecraft.predicate.component
Fields in net.minecraft.predicate.component declared as ComponentMapPredicateModifier and TypeFieldDescriptionstatic final ComponentMapPredicate
ComponentMapPredicate.EMPTY
private ComponentMapPredicate
ComponentsPredicate.Builder.exact
private final ComponentMapPredicate
ComponentsPredicate.exact
The field for theexact
record component.Fields in net.minecraft.predicate.component with type parameters of type ComponentMapPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentMapPredicate> ComponentMapPredicate.CODEC
static final PacketCodec
<RegistryByteBuf, ComponentMapPredicate> ComponentMapPredicate.PACKET_CODEC
Methods in net.minecraft.predicate.component that return ComponentMapPredicateModifier and TypeMethodDescriptionComponentMapPredicate.Builder.build()
ComponentsPredicate.exact()
Returns the value of theexact
record component.static ComponentMapPredicate
ComponentMapPredicate.of
(ComponentMap components) static <T> ComponentMapPredicate
ComponentMapPredicate.of
(ComponentType<T> type, T value) static ComponentMapPredicate
ComponentMapPredicate.ofFiltered
(ComponentMap components, ComponentType<?>[] types) Methods in net.minecraft.predicate.component with parameters of type ComponentMapPredicateConstructors in net.minecraft.predicate.component with parameters of type ComponentMapPredicateModifierConstructorDescriptionComponentsPredicate
(ComponentMapPredicate componentMapPredicate, Map<ComponentPredicate.Type<?>, ComponentPredicate> map) -
Uses of ComponentMapPredicate in net.minecraft.village
Fields in net.minecraft.village declared as ComponentMapPredicateModifier and TypeFieldDescriptionprivate final ComponentMapPredicate
TradedItem.components
The field for thecomponents
record component.Methods in net.minecraft.village that return ComponentMapPredicateModifier and TypeMethodDescriptionTradedItem.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.village with parameters of type ComponentMapPredicateModifier and TypeMethodDescriptionprivate static ItemStack
TradedItem.createDisplayStack
(RegistryEntry<Item> item, int count, ComponentMapPredicate components) Constructors in net.minecraft.village with parameters of type ComponentMapPredicateModifierConstructorDescriptionTradedItem
(RegistryEntry<Item> item, int count, ComponentMapPredicate components) TradedItem
(RegistryEntry<Item> registryEntry, int int2, ComponentMapPredicate componentMapPredicate, ItemStack itemStack)