CanBreakRespawnPointInteraction

public class CanBreakRespawnPointInteraction extends SimpleBlockInteraction

Class CanBreakRespawnPointInteraction. Provides canbreakrespawnpointinteraction functionality for the Hytale server.

java.lang.Object > SimpleBlockInteraction > CanBreakRespawnPointInteraction

Field Summary

chunkStore

final ChunkStore chunkStore

Field chunkStore.

chunk

final Ref chunk

Field chunk.

blockComp

final BlockComponentChunk blockComp

Field blockComp.

blockEntity

final Ref blockEntity

Field blockEntity.

respawnState

final RespawnBlock respawnState

Field respawnState.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

ownerUUID

final UUID ownerUUID

Field ownerUUID.

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