public class StaticModifier extends Modifier
Class StaticModifier. Provides staticmodifier functionality for the Hytale server.
java.lang.Object > Modifier > StaticModifier
Field Summary
calculationType
protected
CalculationType
calculationType
Field calculationType.
amount
protected
float
amount
Field amount.
packet2
final
com.hypixel.hytale.protocol.Modifier
packet2
Field packet2.
packet
final
com.hypixel.hytale.protocol.Modifier
packet
Field packet.
that
final
StaticModifier
that
Field that.
Method Detail
StaticModifier
public
protected
StaticModifier
()
Method StaticModifier.
getAmount
public
float
getAmount
()
Method getAmount.
apply
public
float
apply
(final float statValue)
Method apply.
- Parameters:
final floatstatValue
toPacket
public
com.hypixel.hytale.protocol.Modifier
toPacket
()
Method toPacket.
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.
compute
public
float
compute
(final float value, final float amount)
Method compute.
- Parameters:
final floatvaluefinal floatamount
createKey
public
String
createKey
(final String armor)
Method createKey.
- Parameters:
final Stringarmor