| Package | Description |
|---|---|
| org.geysermc.connector.entity | |
| org.geysermc.connector.entity.attribute | |
| org.geysermc.connector.entity.player |
| Modifier and Type | Method and Description |
|---|---|
protected com.nukkitx.protocol.bedrock.data.AttributeData |
LivingEntity.calculateAttribute(com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute javaAttribute,
GeyserAttributeType type)
Calculates the complete attribute value to send to Bedrock.
|
| Modifier and Type | Method and Description |
|---|---|
static GeyserAttributeType |
GeyserAttributeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeyserAttributeType[] |
GeyserAttributeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<GeyserAttributeType,com.nukkitx.protocol.bedrock.data.AttributeData> |
SessionPlayerEntity.attributes
Used to fix some inconsistencies, especially in respawning.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.nukkitx.protocol.bedrock.data.AttributeData |
SessionPlayerEntity.calculateAttribute(com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute javaAttribute,
GeyserAttributeType type) |
Copyright © 2021 GeyserMC. All rights reserved.