Class ScatterOperation
java.lang.Object
com.hypixel.hytale.builtin.buildertools.tooloperations.ToolOperation
com.hypixel.hytale.builtin.buildertools.tooloperations.ScatterOperation
- All Implemented Interfaces:
TriIntObjPredicate<Void>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockTypeAssetMap<String, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType> private final intFields inherited from class com.hypixel.hytale.builtin.buildertools.tooloperations.ToolOperation
args, builderState, capped, DEFAULT_BRUSH_SPACING, edit, interactionType, MAX_DISTANCE, OPERATIONS, originOffsetX, originOffsetY, originOffsetZ, pattern, player, playerRef, PROTOTYPE_TOOL_SETTINGS, random, RANDOM_MAX, shape, shapeHeight, shapeRange, shapeThickness, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionScatterOperation(Ref<EntityStore> ref, Player player, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) -
Method Summary
Methods inherited from class com.hypixel.hytale.builtin.buildertools.tooloperations.ToolOperation
calculateInterpolatedPositions, combineMasks, execute, executeAsBrushConfig, executeAt, executeShapeOperation, fromPacket, getBrushDensity, getBrushHeight, getBrushSpacing, getBrushWidth, getEditOperation, getOrCreatePrototypeSettings, getPosition, getTargetBlockAvoidingPaint, test
-
Field Details
-
brushDensity
private final int brushDensity -
assetMap
private final BlockTypeAssetMap<String,com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType> assetMap
-
-
Constructor Details
-
ScatterOperation
public ScatterOperation(@Nonnull Ref<EntityStore> ref, @Nonnull Player player, @Nonnull BuilderToolOnUseInteraction packet, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-
-
Method Details
-
execute0
boolean execute0(int x, int y, int z) - Specified by:
execute0in classToolOperation
-