SmoothOperation

public class SmoothOperation extends SequenceBrushOperation

Class SmoothOperation. Provides smoothoperation functionality for the Hytale server.

java.lang.Object > SequenceBrushOperation > SmoothOperation

Field Summary

smoothStrength

public Integer smoothStrength

Field smoothStrength.

smoothVolume

private int smoothVolume

Field smoothVolume.

smoothRadius

private int smoothRadius

Field smoothRadius.

strength

final int strength

Field strength.

smoothRange

final int smoothRange

Field smoothRange.

currentBlock

final int currentBlock

Field currentBlock.

data

final BuilderToolsPlugin.BuilderState.BlocksSampleData data

Field data.

Method Detail

SmoothOperation

public public SmoothOperation ()

Method SmoothOperation.

updateVolumeAndRadius

private void updateVolumeAndRadius ()

Method updateVolumeAndRadius.

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

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