Class ItemAttributeModifiers
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.ItemAttributeModifiers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionItemAttributeModifiers(List<ItemAttributeModifiers.Entry> modifiers, boolean showInTooltip) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()boolean@NonNull StringtoString()@NonNull ItemAttributeModifierswithModifiers(List<ItemAttributeModifiers.Entry> modifiers) @NonNull ItemAttributeModifierswithShowInTooltip(boolean showInTooltip)
-
Constructor Details
-
ItemAttributeModifiers
-
-
Method Details
-
getModifiers
-
isShowInTooltip
public boolean isShowInTooltip() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withModifiers
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withShowInTooltip
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-