final class BlockMountAPI
Class BlockMountAPI. Provides blockmountapi functionality for the Hytale server.
java.lang.Object > BlockMountAPI
Field Summary
existingMounted
final
MountedComponent
existingMounted
Field existingMounted.
world
final
World
world
Field world.
chunk
final
WorldChunk
chunk
Field chunk.
chunkRef
final
Ref
chunkRef
Field chunkRef.
chunkStore
final
ChunkStore
chunkStore
Field chunkStore.
blockComponentChunk
final
BlockComponentChunk
blockComponentChunk
Field blockComponentChunk.
blockType
final
BlockType
blockType
Field blockType.
rotationIndex
final
int
rotationIndex
Field rotationIndex.
blockIndex
final
int
blockIndex
Field blockIndex.
blockHolder
final
Holder
blockHolder
Field blockHolder.
pickedMountPoint
final
BlockMountPoint
pickedMountPoint
Field pickedMountPoint.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3f
position
Field position.
rotationEuler
final
Vector3f
rotationEuler
Field rotationEuler.
mountedComponent
final
MountedComponent
mountedComponent
Field mountedComponent.
Method Detail
BlockMountAPI
public
private
BlockMountAPI
()
Method BlockMountAPI.
mountOnBlock
static
BlockMountResult
mountOnBlock
(final Ref entity, final CommandBuffer commandBuffer, final Vector3i targetBlock, final Vector3f interactPos)
Method mountOnBlock.
- Parameters:
final Refentityfinal CommandBuffercommandBufferfinal Vector3itargetBlockfinal Vector3finteractPos
MountedComponent
public
new
MountedComponent
(blockRef, new Vector3f(0.0f, 0.0f, 0.0f)
Method MountedComponent.
- Parameters:
blockRefblockRefnewVector3f(0.0f0.0f0.0f