Contents
Class MountedComponent
java.lang.Object
com.hypixel.hytale.builtin.mounts.MountedComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionMountedComponent(Ref<ChunkStore> mountedToBlock, org.joml.Vector3f attachmentOffset, BlockMountType blockMountType) MountedComponent(Ref<EntityStore> mountedToEntity, org.joml.Vector3f attachmentOffset, MountController controller) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanorg.joml.Vector3fcstatic ComponentType<EntityStore, MountedComponent> longMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
MountedComponent
public MountedComponent(Ref<EntityStore> mountedToEntity, org.joml.Vector3f attachmentOffset, MountController controller) -
MountedComponent
public MountedComponent(Ref<ChunkStore> mountedToBlock, org.joml.Vector3f attachmentOffset, BlockMountType blockMountType)
-
-
Method Details
-
getComponentType
-
getMountedToEntity
-
getMountedToBlock
-
getAttachmentOffset
public org.joml.Vector3fc getAttachmentOffset() -
getControllerType
-
getBlockMountType
-
getMountedDurationMs
public long getMountedDurationMs() -
consumeNetworkOutdated
public boolean consumeNetworkOutdated() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-