Class ZombieEntity

Direct Known Subclasses:
ZombieVillagerEntity, ZombifiedPiglinEntity

public class ZombieEntity extends MonsterEntity
  • Constructor Details

    • ZombieEntity

      public ZombieEntity(long entityId, long geyserId, EntityType entityType, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, com.nukkitx.math.vector.Vector3f rotation)
  • Method Details

    • updateBedrockMetadata

      public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata, GeyserSession session)
      Description copied from class: Entity
      Applies the Java metadata to the local Bedrock metadata copy
      Overrides:
      updateBedrockMetadata in class InsentientEntity
      Parameters:
      entityMetadata - the Java entity metadata
      session - GeyserSession
    • isShaking

      protected boolean isShaking(GeyserSession session)
      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.