public class AttributeUtils extends Object
| Constructor and Description |
|---|
AttributeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateValue(com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute attribute)
Retrieve the base attribute value with all modifiers applied.
|
static com.nukkitx.protocol.bedrock.data.AttributeData |
getBedrockAttribute(Attribute attribute) |
static com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute |
getJavaAttribute(Attribute attribute) |
public static com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute getJavaAttribute(Attribute attribute)
public static com.nukkitx.protocol.bedrock.data.AttributeData getBedrockAttribute(Attribute attribute)
public static double calculateValue(com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute attribute)
attribute - The attribute to calculate the total value.Copyright © 2021 GeyserMC. All rights reserved.