public class PillagerEntity extends AbstractIllagerEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand| Constructor and Description |
|---|
PillagerEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForCrossbow(GeyserSession session)
Check for a crossbow in either the mainhand or offhand.
|
void |
updateMainHand(GeyserSession session) |
void |
updateOffHand(GeyserSession session) |
updateBedrockMetadatacalculateAttribute, createHealthAttribute, isShaking, setDimensions, setFreezing, updateArmor, updateAttribute, updateBedrockAttributesaddAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getMaxAir, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setAir, spawnEntity, teleport, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic PillagerEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation)
public void updateMainHand(GeyserSession session)
updateMainHand in class LivingEntitypublic void updateOffHand(GeyserSession session)
updateOffHand in class LivingEntityprotected void checkForCrossbow(GeyserSession session)
Copyright © 2021 GeyserMC. All rights reserved.