Class ItemAttributeModifiers.Modifier
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemAttributeModifiers.Modifier
- Enclosing class:
ItemAttributeModifiers
-
Constructor Summary
ConstructorDescriptionModifier
(ResourceLocation name, double value, AttributeOperation operation) Modifier
(UUID id, String name, double value, AttributeOperation operation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getName()
double
getValue()
int
hashCode()
read
(PacketWrapper<?> wrapper) void
void
void
setNameKey
(ResourceLocation nameKey) void
setOperation
(AttributeOperation operation) void
setValue
(double value) toString()
static void
write
(PacketWrapper<?> wrapper, ItemAttributeModifiers.Modifier modifier)
-
Constructor Details
-
Modifier
-
Modifier
-
-
Method Details
-
read
-
write
-
getNameKey
-
setNameKey
-
getId
-
setId
-
getName
-
setName
-
getValue
public double getValue() -
setValue
public void setValue(double value) -
getOperation
-
setOperation
-
equals
-
hashCode
public int hashCode() -
toString
-