Class ItemEnchantments
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.ItemEnchantments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()boolean@NonNull StringtoString()@NonNull ItemEnchantmentswithEnchantments(Map<Integer, Integer> enchantments) @NonNull ItemEnchantmentswithShowInTooltip(boolean showInTooltip)
-
Constructor Details
-
ItemEnchantments
-
-
Method Details
-
getEnchantments
-
isShowInTooltip
public boolean isShowInTooltip() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withEnchantments
- 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).
-