HeightmapLayerOperation

public class HeightmapLayerOperation extends SequenceBrushOperation

Class HeightmapLayerOperation. Provides heightmaplayeroperation functionality for the Hytale server.

java.lang.Object > SequenceBrushOperation > HeightmapLayerOperation

Field Summary

layerArgs

private List layerArgs

Field layerArgs.

chunk

final WorldChunk chunk

Field chunk.

depth

final int depth

Field depth.

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

HeightmapLayerOperation

public public HeightmapLayerOperation ()

Method HeightmapLayerOperation.

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