Class EntityVillagerV1

All Implemented Interfaces:
EntityAgeable, EntityDamageable, EntityNameable, EntityNPC, Metadatable, Cloneable

@Since("1.19.21-r1") @Deprecated public class EntityVillagerV1 extends EntityCreature implements EntityNPC, EntityAgeable
Deprecated.
Since:
21.06.2016
Author:
Pub4Game
  • Field Details

    • PROFESSION_FARMER

      public static final int PROFESSION_FARMER
      Deprecated.
      See Also:
    • PROFESSION_LIBRARIAN

      public static final int PROFESSION_LIBRARIAN
      Deprecated.
      See Also:
    • PROFESSION_PRIEST

      public static final int PROFESSION_PRIEST
      Deprecated.
      See Also:
    • PROFESSION_BLACKSMITH

      public static final int PROFESSION_BLACKSMITH
      Deprecated.
      See Also:
    • PROFESSION_BUTCHER

      public static final int PROFESSION_BUTCHER
      Deprecated.
      See Also:
    • PROFESSION_GENERIC

      public static final int PROFESSION_GENERIC
      Deprecated.
      See Also:
    • NETWORK_ID

      public static final int NETWORK_ID
      Deprecated.
      See Also:
  • Constructor Details

  • Method Details

    • getWidth

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

      public float getHeight()
      Deprecated.
      Overrides:
      getHeight in class Entity
    • getOriginalName

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

      public int getNetworkId()
      Deprecated.
      Specified by:
      getNetworkId in class Entity
    • initEntity

      public void initEntity()
      Deprecated.
      Overrides:
      initEntity in class EntityCreature
    • getProfession

      public int getProfession()
      Deprecated.
    • setProfession

      public void setProfession(int profession)
      Deprecated.