TeleporterInteraction

public class TeleporterInteraction extends SimpleBlockInteraction

Class TeleporterInteraction. Provides teleporterinteraction functionality for the Hytale server.

java.lang.Object > SimpleBlockInteraction > TeleporterInteraction

Field Summary

particle

private String particle

Field particle.

chunkStore

final ChunkStore chunkStore

Field chunkStore.

chunkIndex

final long chunkIndex

Field chunkIndex.

blockComponentChunk

final BlockComponentChunk blockComponentChunk

Field blockComponentChunk.

blockIndex

final int blockIndex

Field blockIndex.

blockRef

final Ref blockRef

Field blockRef.

blockStateInfoComponent

final BlockModule.BlockStateInfo blockStateInfoComponent

Field blockStateInfoComponent.

chunkRef

final Ref chunkRef

Field chunkRef.

teleporter

final Teleporter teleporter

Field teleporter.

ref

final Ref ref

Field ref.

playerComponent

final Player playerComponent

Field playerComponent.

archetype

final Archetype archetype

Field archetype.

worldChunkComponent

final WorldChunk worldChunkComponent

Field worldChunkComponent.

blockType

final BlockType blockType

Field blockType.

currentState

final String currentState

Field currentState.

variantBlockType

final BlockType variantBlockType

Field variantBlockType.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

teleportComponent

final Teleport teleportComponent

Field teleportComponent.

particlePosition

final Vector3d particlePosition

Field particlePosition.

results

final ObjectList> results

Field results.

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

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