TeleportConfigInstanceInteraction

public class TeleportConfigInstanceInteraction extends SimpleBlockInteraction

Class TeleportConfigInstanceInteraction. Provides teleportconfiginstanceinteraction functionality for the Hytale server.

java.lang.Object > SimpleBlockInteraction > TeleportConfigInstanceInteraction

Field Summary

ref

final Ref ref

Field ref.

playerComponent

final Player playerComponent

Field playerComponent.

archetype

final Archetype archetype

Field archetype.

module

final InstancesPlugin module

Field module.

universe

final Universe universe

Field universe.

chunkStore

final ChunkStore chunkStore

Field chunkStore.

chunkRef

final Ref chunkRef

Field chunkRef.

blockComponentChunk

final BlockComponentChunk blockComponentChunk

Field blockComponentChunk.

blockRef

final Ref blockRef

Field blockRef.

configurableInstanceBlock

final ConfigurableInstanceBlock configurableInstanceBlock

Field configurableInstanceBlock.

worldUuid

final UUID worldUuid

Field worldUuid.

personalReturnPoint

final Transform personalReturnPoint

Field personalReturnPoint.

removeBlockAfter

final double removeBlockAfter

Field removeBlockAfter.

chunkIndex

final long chunkIndex

Field chunkIndex.

worldChunk

final WorldChunk worldChunk

Field worldChunk.

block

final int block

Field block.

chunkIndex2

final long chunkIndex2

Field chunkIndex2.

worldChunk2

final WorldChunk worldChunk2

Field worldChunk2.

targetBlock

final BlockPosition targetBlock

Field targetBlock.

world

final World world

Field world.

chunkComponentStore

final Store chunkComponentStore

Field chunkComponentStore.

blockChunkComponent

final BlockChunk blockChunkComponent

Field blockChunkComponent.

worldChunkComponent

final WorldChunk worldChunkComponent

Field worldChunkComponent.

blockType

final BlockType blockType

Field blockType.

section

final BlockSection section

Field section.

rotationIndex

final int rotationIndex

Field rotationIndex.

rotation

final RotationTuple rotation

Field rotation.

hitbox

final Box hitbox

Field hitbox.

vector3d

final Vector3d vector3d

Field vector3d.

position

final Vector3d position

Field position.

vector3d2

final Vector3d vector3d2

Field vector3d2.

vector3d3

final Vector3d vector3d3

Field vector3d3.

Method Detail

getWaitForDataFrom

public WaitForDataFrom getWaitForDataFrom ()

Method getWaitForDataFrom.

interactWithBlock

protected void interactWithBlock (@Nonnull final World world, @Nonnull final CommandBuffer commandBuffer, @Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nullable final ItemStack itemInHand, @Nonnull final Vector3i targetBlock, @Nonnull final CooldownHandler cooldownHandler)

Method interactWithBlock.

Parameters:
@Nonnull final World world
@Nonnull final CommandBuffer commandBuffer
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nullable final ItemStack itemInHand
@Nonnull final Vector3i targetBlock
@Nonnull final CooldownHandler cooldownHandler

if

public else if (targetWorld != null)

Method if.

Parameters:
targetWorld != null

simulateInteractWithBlock

protected void simulateInteractWithBlock (@Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nullable final ItemStack itemInHand, @Nonnull final World world, @Nonnull final Vector3i targetBlock)

Method simulateInteractWithBlock.

Parameters:
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nullable final ItemStack itemInHand
@Nonnull final World world
@Nonnull final Vector3i targetBlock

getPersonalReturnPoint

Method getPersonalReturnPoint.

Parameters:
@Nonnull final ConfigurableInstanceBlock state
@Nonnull final InteractionContext context
@Nullable final Transform returnPoint
@Nonnull final ComponentAccessor componentAccessor

Vector3d

public new Vector3d ()

Method Vector3d.