Class WrapperPlayServerUpdateAttributes.PropertyModifier
java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerUpdateAttributes.PropertyModifier
- Enclosing class:
WrapperPlayServerUpdateAttributes
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
-
Constructor Summary
ConstructorDescriptionPropertyModifier
(ResourceLocation name, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation) PropertyModifier
(ResourceLocation name, UUID uuid, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation) PropertyModifier
(UUID uuid, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation) -
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
double
getName()
getUUID()
void
setAmount
(double amount) void
setName
(ResourceLocation name) void
setNameAndUUID
(ResourceLocation name, UUID uuid) void
void
-
Constructor Details
-
PropertyModifier
public PropertyModifier(UUID uuid, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation) -
PropertyModifier
public PropertyModifier(ResourceLocation name, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation) -
PropertyModifier
public PropertyModifier(ResourceLocation name, UUID uuid, double amount, WrapperPlayServerUpdateAttributes.PropertyModifier.Operation operation)
-
-
Method Details
-
generateSemiUniqueId
-
getName
-
setName
-
getUUID
-
setUUID
-
setNameAndUUID
-
getAmount
public double getAmount() -
setAmount
public void setAmount(double amount) -
getOperation
-
setOperation
-