Class BasePiglinEntity

Direct Known Subclasses:
PiglinEntity

public class BasePiglinEntity extends MonsterEntity
  • Constructor Details

    • BasePiglinEntity

      public BasePiglinEntity(GeyserSession session, long 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

    • setImmuneToZombification

      public void setImmuneToZombification(com.github.steveice10.mc.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.