Class ItemAttributeModifiers
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemAttributeModifiers
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemAttributeModifiers
(List<ItemAttributeModifiers.ModifierEntry> modifiers, boolean showInTooltip) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
int
hashCode()
boolean
static ItemAttributeModifiers
read
(PacketWrapper<?> wrapper) void
setModifiers
(List<ItemAttributeModifiers.ModifierEntry> modifiers) void
setShowInTooltip
(boolean showInTooltip) toString()
static void
write
(PacketWrapper<?> wrapper, ItemAttributeModifiers modifiers)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
ItemAttributeModifiers
public ItemAttributeModifiers(List<ItemAttributeModifiers.ModifierEntry> modifiers, boolean showInTooltip)
-
-
Method Details
-
read
-
write
-
addModifier
-
getModifiers
-
setModifiers
-
isShowInTooltip
public boolean isShowInTooltip() -
setShowInTooltip
public void setShowInTooltip(boolean showInTooltip) -
equals
-
hashCode
public int hashCode() -
toString
-