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 Refref@Nonnull final BrushConfigbrushConfig@Nonnull final BrushConfigCommandExecutorbrushConfigCommandExecutor@Nonnull final ComponentAccessorcomponentAccessor
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:
WidthWidthHeightHeightDensityDensityThicknessThicknessOffsetXOffsetXOffsetYOffsetYOffsetZOffsetZ
Vector3i
public
new
Vector3i
(val, bc.getOriginOffset()
Method Vector3i.
- Parameters:
valvalbc.getOriginOffset(bc.getOriginOffset(
TargetField
public
private
TargetField
(final Function getter, final BiConsumer setter)
Method TargetField.
- Parameters:
final Functiongetterfinal BiConsumersetter