FertilizeSoilInteraction

public class FertilizeSoilInteraction extends SimpleBlockInteraction

Class FertilizeSoilInteraction. Provides fertilizesoilinteraction functionality for the Hytale server.

java.lang.Object > SimpleBlockInteraction > FertilizeSoilInteraction

Field Summary

refreshModifiers

protected String[] refreshModifiers

Field refreshModifiers.

x

final int x

Field x.

z

final int z

Field z.

worldChunk

final WorldChunk worldChunk

Field worldChunk.

chunkStore

final Store chunkStore

Field chunkStore.

farmingState

final FarmingBlock farmingState

Field farmingState.

soilRef

final Ref soilRef

Field soilRef.

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

KeyedCodec

public new KeyedCodec ("RefreshModifiers", Codec.STRING_ARRAY)

Method KeyedCodec.

Parameters:
"RefreshModifiers" "RefreshModifiers"
Codec.STRING_ARRAY Codec.STRING_ARRAY