HyCodeYourTale
classpublicPriority 1

NPCMountComponent

com.hypixel.hytale.builtin.mounts.NPCMountComponent

implements Component

10

Methods

10

Public Methods

5

Fields

1

Constructors

Constants

BuilderCodec<NPCMountComponent>CODEC= BuilderCodec.builder(NPCMountComponent.class, NPCMountComponent::new) .append( new...

Constructors

public
NPCMountComponent()

Methods

Public Methods (10)

public
Component<EntityStore> clone()
@Nonnull@Override
public
float getAnchorX()
public
float getAnchorY()
public
float getAnchorZ()
publicstatic
ComponentType<EntityStore, NPCMountComponent> getComponentType()
public
int getOriginalRoleIndex()
public
PlayerRef getOwnerPlayerRef()
@Nullable
public
void setAnchor(float x, float y, float z)
public
void setOriginalRoleIndex(int originalRoleIndex)
public
void setOwnerPlayerRef(PlayerRef ownerPlayerRef)

Fields

Private/Package Fields (5)

privatefloat anchorX
privatefloat anchorY
privatefloat anchorZ
privateint originalRoleIndex
privatePlayerRef ownerPlayerRef

Related Classes