HyCodeYourTale
classpublicPriority 1

MountedComponent

com.hypixel.hytale.builtin.mounts.MountedComponent

implements Component

9

Methods

9

Public Methods

6

Fields

2

Constructors

Constructors

public
MountedComponent(Ref<EntityStore> mountedToEntity, Vector3f attachmentOffset, MountController controller)
public
MountedComponent(Ref<ChunkStore> mountedToBlock, Vector3f attachmentOffset, BlockMountType blockMountType)

Methods

Public Methods (9)

public
Component<EntityStore> clone()
@Nonnull@Override
public
boolean consumeNetworkOutdated()
public
Vector3f getAttachmentOffset()
public
BlockMountType getBlockMountType()
publicstatic
ComponentType<EntityStore, MountedComponent> getComponentType()
public
MountController getControllerType()
public
long getMountedDurationMs()
public
Ref<ChunkStore> getMountedToBlock()
@Nullable
public
Ref<EntityStore> getMountedToEntity()
@Nullable

Fields

Private/Package Fields (6)

privateBlockMountType blockMountType
privateMountController controller
privateboolean isNetworkOutdated
privatelong mountStartMs
privateRef<ChunkStore> mountedToBlock
privateRef<EntityStore> mountedToEntity

Related Classes