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
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 Worldworld@Nonnull final CommandBuffercommandBuffer@Nonnull final InteractionTypetype@Nonnull final InteractionContextcontext@Nullable final ItemStackitemInHand@Nonnull final Vector3itargetBlock@Nonnull final CooldownHandlercooldownHandler
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 InteractionTypetype@Nonnull final InteractionContextcontext@Nullable final ItemStackitemInHand@Nonnull final Worldworld@Nonnull final Vector3itargetBlock