Class NPCMountComponent

java.lang.Object
com.hypixel.hytale.builtin.mounts.NPCMountComponent
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class NPCMountComponent extends Object implements Component<EntityStore>
  • Field Details

  • Constructor Details

    • NPCMountComponent

      public NPCMountComponent()
  • Method Details

    • getComponentType

      public static ComponentType<EntityStore, NPCMountComponent> getComponentType()
    • getOriginalRoleIndex

      public int getOriginalRoleIndex()
    • setOriginalRoleIndex

      public void setOriginalRoleIndex(int originalRoleIndex)
    • getOwnerPlayerRef

      @Nullable public PlayerRef getOwnerPlayerRef()
    • setOwnerPlayerRef

      public void setOwnerPlayerRef(PlayerRef ownerPlayerRef)
    • getAnchorX

      public float getAnchorX()
    • getAnchorY

      public float getAnchorY()
    • getAnchorZ

      public float getAnchorZ()
    • setAnchor

      public void setAnchor(float x, float y, float z)
    • clone

      @Nonnull public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Returns:
      a clone instance of the original component instance.