Uses of Record Class
net.minecraft.world.item.component.ItemAttributeModifiers.Entry
-
Uses of ItemAttributeModifiers.Entry in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiers
The field for themodifiers
record component.Modifier and TypeMethodDescriptionOptional
<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiers()
Returns the value of themodifiers
record component.Modifier and TypeMethodDescriptionboolean
ItemAttributeModifiersPredicate.EntryPredicate.test
(ItemAttributeModifiers.Entry p_341096_) ModifierConstructorDescriptionItemAttributeModifiersPredicate
(Optional<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> modifiers) Creates an instance of aItemAttributeModifiersPredicate
record class. -
Uses of ItemAttributeModifiers.Entry in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.CODEC
private final com.google.common.collect.ImmutableList.Builder
<ItemAttributeModifiers.Entry> ItemAttributeModifiers.Builder.entries
private final List
<ItemAttributeModifiers.Entry> ItemAttributeModifiers.modifiers
The field for themodifiers
record component.static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.STREAM_CODEC
Modifier and TypeMethodDescriptionItemAttributeModifiers.modifiers()
Returns the value of themodifiers
record component.ModifierConstructorDescriptionItemAttributeModifiers
(List<ItemAttributeModifiers.Entry> modifiers, boolean showInTooltip) Creates an instance of aItemAttributeModifiers
record class.