public class SmootherOperation extends ToolOperation
Class SmootherOperation. Provides smootheroperation functionality for the Hytale server.
java.lang.Object > ToolOperation > SmootherOperation
Field Summary
removing
final
boolean
removing
Field removing.
baseStrength
final
int
baseStrength
Field baseStrength.
currentBlock
final
int
currentBlock
Field currentBlock.
data
final
BuilderToolsPlugin.BuilderState.SmoothSampleData
data
Field data.
Method Detail
SmootherOperation
public
public
SmootherOperation
(@Nonnull final Ref ref, @Nonnull final Player player, @Nonnull final BuilderToolOnUseInteraction packet, @Nonnull final ComponentAccessor componentAccessor)
Method SmootherOperation.
- Parameters:
@Nonnull final Refref@Nonnull final Playerplayer@Nonnull final BuilderToolOnUseInteractionpacket@Nonnull final ComponentAccessorcomponentAccessor
execute0
public
boolean
execute0
(final int x, final int y, final int z)
Method execute0.
- Parameters:
final intxfinal intyfinal intz
if
public
else
if
(currentBlock != data.fillerBlock)
Method if.
- Parameters:
currentBlock !=data.fillerBlock