Class SkullPlayerEntity
java.lang.Object
org.geysermc.connector.entity.Entity
org.geysermc.connector.entity.LivingEntity
org.geysermc.connector.entity.player.PlayerEntity
org.geysermc.connector.entity.player.SkullPlayerEntity
A wrapper to handle skulls more effectively - skulls have to be treated as entities since there are no
custom player skulls in Bedrock.
-
Field Summary
Fields inherited from class org.geysermc.connector.entity.LivingEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand -
Constructor Summary
ConstructorsConstructorDescriptionSkullPlayerEntity(com.github.steveice10.mc.auth.data.GameProfile gameProfile, long geyserId, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, int blockState) -
Method Summary
Modifier and TypeMethodDescriptionvoiddespawnEntity(GeyserSession session, com.nukkitx.math.vector.Vector3i position)voidspawnEntity(GeyserSession session)Overwritten so each entity doesn't check for a linked entityMethods inherited from class org.geysermc.connector.entity.player.PlayerEntity
moveAbsolute, moveRelative, sendPlayer, setDimensions, setPosition, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationMethods inherited from class org.geysermc.connector.entity.LivingEntity
calculateAttribute, createHealthAttribute, isShaking, setFreezing, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateOffHandMethods inherited from class org.geysermc.connector.entity.Entity
addAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getMaxAir, is, moveAbsolute, moveRelative, setAir, setInvisible, teleport, updateBedrockMetadata
-
Constructor Details
-
SkullPlayerEntity
public SkullPlayerEntity(com.github.steveice10.mc.auth.data.GameProfile gameProfile, long geyserId, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, int blockState)
-
-
Method Details
-
spawnEntity
Overwritten so each entity doesn't check for a linked entity- Overrides:
spawnEntityin classPlayerEntity
-
despawnEntity
-