LayerOperation

public class LayerOperation extends SequenceBrushOperation

Class LayerOperation. Provides layeroperation functionality for the Hytale server.

java.lang.Object > SequenceBrushOperation > LayerOperation

Field Summary

layerArgs

private List layerArgs

Field layerArgs.

blockId

final int blockId

Field blockId.

argValue

final Object argValue

Field argValue.

playerComponent

final Player playerComponent

Field playerComponent.

builderTool

final BuilderTool builderTool

Field builderTool.

itemStack

final ItemStack itemStack

Field itemStack.

argData

final BuilderTool.ArgData argData

Field argData.

Method Detail

LayerOperation

public public LayerOperation ()

Method LayerOperation.

modifyBlocks

public boolean modifyBlocks (final Ref ref, final BrushConfig brushConfig, final BrushConfigCommandExecutor brushConfigCommandExecutor, @Nonnull final BrushConfigEditStore edit, final int x, final int y, final int z, final ComponentAccessor componentAccessor)

Method modifyBlocks.

Parameters:
final Ref ref
final BrushConfig brushConfig
final BrushConfigCommandExecutor brushConfigCommandExecutor
@Nonnull final BrushConfigEditStore edit
final int x
final int y
final int z
final ComponentAccessor componentAccessor

resolveBlockId

private int resolveBlockId (final LayerEntryCodec entry, @Nullable final Map toolArgs, final BrushConfig brushConfig)

Method resolveBlockId.

Parameters:
final LayerEntryCodec entry
@Nullable final Map toolArgs
final BrushConfig brushConfig

getToolArgs

public Object> getToolArgs (final Ref ref, final ComponentAccessor componentAccessor)

Method getToolArgs.

Parameters:
final Ref ref
final ComponentAccessor componentAccessor

modifyBrushConfig

public void modifyBrushConfig (@Nonnull final Ref ref, @Nonnull final BrushConfig brushConfig, @Nonnull final BrushConfigCommandExecutor brushConfigCommandExecutor, @Nonnull final ComponentAccessor componentAccessor)

Method modifyBrushConfig.

Parameters:
@Nonnull final Ref ref
@Nonnull final BrushConfig brushConfig
@Nonnull final BrushConfigCommandExecutor brushConfigCommandExecutor
@Nonnull final ComponentAccessor componentAccessor