Class TransformComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.TransformComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate WorldChunkDeprecated, for removal: This API element is subject to removal in a future version.private Ref<ChunkStore> static final BuilderCodec<TransformComponent> private final Vector3dprivate final Vector3fprivate final ModelTransformFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getChunk()Deprecated, for removal: This API element is subject to removal in a future version.voidmarkChunkDirty(ComponentAccessor<EntityStore> componentAccessor) voidsetChunkLocation(Ref<ChunkStore> chunkRef, WorldChunk chunk) voidsetPosition(Vector3d position) voidsetRotation(Vector3f rotation) voidteleportPosition(Vector3d position) voidteleportRotation(Vector3f rotation) 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
-
position
-
rotation
-
sentTransform
-
chunk
Deprecated, for removal: This API element is subject to removal in a future version. -
chunkRef
-
-
Constructor Details
-
TransformComponent
public TransformComponent() -
TransformComponent
-
-
Method Details
-
getComponentType
-
getPosition
-
setPosition
-
teleportPosition
-
getRotation
-
setRotation
-
getTransform
-
teleportRotation
-
getSentTransform
-
getChunk
Deprecated, for removal: This API element is subject to removal in a future version. -
getChunkRef
-
markChunkDirty
-
setChunkLocation
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-