Class ZombieVillagerEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.LivingEntity
org.geysermc.geyser.entity.type.living.MobEntity
org.geysermc.geyser.entity.type.living.CreatureEntity
org.geysermc.geyser.entity.type.living.monster.MonsterEntity
org.geysermc.geyser.entity.type.living.monster.ZombieEntity
org.geysermc.geyser.entity.type.living.monster.ZombieVillagerEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand -
Constructor Summary
ConstructorsConstructorDescriptionZombieVillagerEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanIf true, the entity should be shaking on the client's end.voidsetTransforming(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)voidsetZombieVillagerData(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.VillagerData,?> entityMetadata)Methods inherited from class org.geysermc.geyser.entity.type.living.monster.ZombieEntity
setConvertingToDrowned, setZombieBabyMethods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
initializeMetadata, setLeashHolderBedrockId, setMobFlagsMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, createHealthAttribute, setBedPosition, setDimensions, setFreezing, setHealth, setLivingEntityFlags, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateOffHandMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getFlag, getMaxAir, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setAir, setAirSupply, setBoundingBoxHeight, setBoundingBoxWidth, setDisplayName, setDisplayNameVisible, setFlag, setFlags, setGravity, setInvisible, setPose, setRiderSeatPosition, spawnEntity, teleport, updateBedrockMetadata, updateHeadLookRotation, updateMountOffset, updatePassengerOffsets, updatePositionAndRotation, updateRotation
-
Constructor Details
-
ZombieVillagerEntity
public ZombieVillagerEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-
-
Method Details
-
setTransforming
public void setTransforming(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata) -
setZombieVillagerData
public void setZombieVillagerData(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.VillagerData,?> entityMetadata) -
isShaking
protected boolean isShaking()Description copied from class:EntityIf true, the entity should be shaking on the client's end.- Overrides:
isShakingin classZombieEntity- Returns:
- whether
EntityFlag.SHAKINGshould be set to true.
-