Class EntitySlime

All Implemented Interfaces:
EntityControlUtils, LogicalUtils, EntityAgeable, EntityAsyncPrepare, EntityCanAttack, EntityDamageable, EntityNameable, EntityWalkable, EntityInventoryHolder, InventoryHolder, Metadatable, Cloneable

public class EntitySlime extends EntityMob implements EntityWalkable
Author:
PikyCZ
  • Field Details

  • Constructor Details

  • Method Details

    • getNetworkId

      public int getNetworkId()
      Description copied from class: Entity
      获得该实体的网络ID

      Get the network ID of the entity

      Specified by:
      getNetworkId in class Entity
      Returns:
      the network id
    • initEntity

      protected void initEntity()
      Overrides:
      initEntity in class EntityMob
    • getWidth

      public float getWidth()
      Overrides:
      getWidth in class Entity
    • getHeight

      public float getHeight()
      Description copied from class: Entity
      实体高度

      entity Height

      Overrides:
      getHeight in class Entity
      Returns:
      the height
    • getOriginalName

      @PowerNukkitOnly @Since("1.5.1.0-PN") public String getOriginalName()
      Description copied from class: Entity
      The name that English name of the type of this entity.
      Overrides:
      getOriginalName in class Entity
    • getDrops

      public Item[] getDrops()
      Overrides:
      getDrops in class EntityLiving