classpublicPriority 1
TransformComponent
com.hypixel.hytale.server.core.modules.entity.component.TransformComponent
implements Component
13
Methods
13
Public Methods
2
Fields
2
Constructors
Constants
BuilderCodec<TransformComponent>CODEC= BuilderCodec.builder(TransformComponent.class, TransformComponent::new)
.append(new KeyedCo...
Constructors
public
TransformComponent()public
TransformComponent(Vector3d position, Vector3f rotation)Methods
Public Methods (13)
public
WorldChunk getChunk()public
Ref<ChunkStore> getChunkRef()@Nullable
publicstatic
ComponentType<EntityStore, TransformComponent> getComponentType()@Nonnull
public
Vector3d getPosition()@Nonnull
public
Vector3f getRotation()@Nonnull
public
ModelTransform getSentTransform()@Nonnull
public
Transform getTransform()@Nonnull
public
void markChunkDirty(ComponentAccessor<EntityStore> componentAccessor)public
void setChunkLocation(Ref<ChunkStore> chunkRef, WorldChunk chunk)public
void setPosition(Vector3d position)public
void setRotation(Vector3f rotation)public
void teleportPosition(Vector3d position)public
void teleportRotation(Vector3f rotation)Fields
Private/Package Fields (2)
private
WorldChunk chunkprivate
Ref<ChunkStore> chunkRef