OpenProcessingBenchInteraction

public class OpenProcessingBenchInteraction extends SimpleBlockInteraction

Class OpenProcessingBenchInteraction. Provides openprocessingbenchinteraction functionality for the Hytale server.

java.lang.Object > SimpleBlockInteraction > OpenProcessingBenchInteraction

Field Summary

ref

final Ref ref

Field ref.

store

final Store store

Field store.

playerComponent

final Player playerComponent

Field playerComponent.

state

final BlockState state

Field state.

benchState

final ProcessingBenchState benchState

Field benchState.

blockType

final BlockType blockType

Field blockType.

blockTypeBench

final Bench blockTypeBench

Field blockTypeBench.

x

final int x

Field x.

z

final int z

Field z.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

uuid

final UUID uuid

Field uuid.

window

final ProcessingBenchWindow window

Field window.

currentBlockType

final BlockType currentBlockType

Field currentBlockType.

interactionState

final String interactionState

Field interactionState.

soundEventIndex2

final int soundEventIndex2

Field soundEventIndex2.

soundEventIndex

final int soundEventIndex

Field soundEventIndex.

Method Detail

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 pos, @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 pos
@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