LoadIntFromToolArgOperation

public class LoadIntFromToolArgOperation extends SequenceBrushOperation

Class LoadIntFromToolArgOperation. Provides loadintfromtoolargoperation functionality for the Hytale server.

java.lang.Object > SequenceBrushOperation > LoadIntFromToolArgOperation

Field Summary

argNameArg

public String argNameArg

Field argNameArg.

targetFieldArg

public TargetField targetFieldArg

Field targetFieldArg.

relativeArg

public boolean relativeArg

Field relativeArg.

negateArg

public boolean negateArg

Field negateArg.

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.

argValue

final Object argValue

Field argValue.

currentValue

final int currentValue

Field currentValue.

Method Detail

LoadIntFromToolArgOperation

public public LoadIntFromToolArgOperation ()

Method LoadIntFromToolArgOperation.

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

type

public Int type (found " + argValue.getClass()

Method type.

Parameters:
found " + argValue.getClass(

set

public to set (Width, Height, Density, Thickness, OffsetX, OffsetY, OffsetZ)

Method set.

Parameters:
Width Width
Height Height
Density Density
Thickness Thickness
OffsetX OffsetX
OffsetY OffsetY
OffsetZ OffsetZ

Vector3i

public new Vector3i (val, bc.getOriginOffset()

Method Vector3i.

Parameters:
val val
bc.getOriginOffset( bc.getOriginOffset(

TargetField

public private TargetField (final Function getter, final BiConsumer setter)

Method TargetField.

Parameters:
final Function getter
final BiConsumer setter

getValue

public int getValue (final BrushConfig brushConfig)

Method getValue.

Parameters:
final BrushConfig brushConfig

setValue

public void setValue (final BrushConfig brushConfig, final int value)

Method setValue.

Parameters:
final BrushConfig brushConfig
final int value