All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Leashable, Tickable
Direct Known Subclasses:
ZombieVillagerEntity, ZombifiedPiglinEntity

public class ZombieEntity extends MonsterEntity
  • Constructor Details

  • Method Details

    • setZombieBaby

      public void setZombieBaby(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • setConvertingToDrowned

      public void setConvertingToDrowned(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • isShaking

      protected boolean isShaking()
      Description copied from class: Entity
      If true, the entity should be shaking on the client's end.
      Overrides:
      isShaking in class LivingEntity
      Returns:
      whether EntityFlag.SHAKING should be set to true.
    • useArmSwingAttack

      public boolean useArmSwingAttack()
      Description copied from class: LivingEntity
      Called when a SWING_ARM animation packet is received
      Overrides:
      useArmSwingAttack in class LivingEntity
      Returns:
      true if an ATTACK_START event should be used instead