Class NPCMountComponent
java.lang.Object
com.hypixel.hytale.builtin.mounts.NPCMountComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatstatic final BuilderCodec<NPCMountComponent> private intprivate PlayerRefFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()floatfloatfloatintvoidsetAnchor(float x, float y, float z) voidsetOriginalRoleIndex(int originalRoleIndex) voidsetOwnerPlayerRef(PlayerRef ownerPlayerRef) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
CODEC
-
originalRoleIndex
private int originalRoleIndex -
ownerPlayerRef
-
anchorX
private float anchorX -
anchorY
private float anchorY -
anchorZ
private float anchorZ
-
-
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>- Overrides:
clonein classObject
-