Contents
Class NPCMountComponent
java.lang.Object
com.hypixel.hytale.builtin.mounts.NPCMountComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()floatfloatfloatstatic ComponentType<EntityStore, NPCMountComponent> intvoidsetAnchor(float x, float y, float z) voidsetOriginalRoleIndex(int originalRoleIndex) voidsetOwnerPlayerRef(PlayerRef ownerPlayerRef) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
Constructor Details
-
NPCMountComponent
public NPCMountComponent()
-
-
Method Details
-
getComponentType
-
getOriginalRoleIndex
public int getOriginalRoleIndex() -
setOriginalRoleIndex
public void setOriginalRoleIndex(int originalRoleIndex) -
getOwnerPlayerRef
-
setOwnerPlayerRef
-
getAnchorX
public float getAnchorX() -
getAnchorY
public float getAnchorY() -
getAnchorZ
public float getAnchorZ() -
setAnchor
public void setAnchor(float x, float y, float z) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-