classpublicabstractPriority 3
ToolOperation
com.hypixel.hytale.builtin.buildertools.tooloperations.ToolOperation
implements TriIntObjPredicate
11
Methods
11
Public Methods
21
Fields
1
Constructors
Constants
intDEFAULT_BRUSH_SPACING= 0
doubleMAX_DISTANCE= 400.0
Map<String, OperationFactory>OPERATIONS= new ConcurrentHashMap<>()
Map<UUID, PrototypePlayerBuilderToolSettings>PROTOTYPE_TOOL_SETTINGS= new ConcurrentHashMap<>()
intRANDOM_MAX= 100
Constructors
public
ToolOperation(Ref<EntityStore> ref, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor)Methods
Public Methods (11)
publicstatic
BlockMask combineMasks(BrushData.Values brush, BlockMask globalMask)@Nullable
public
void execute(ComponentAccessor<EntityStore> componentAccessor)public
void executeAt(int posX, int posY, int posZ, ComponentAccessor<EntityStore> componentAccessor)public
int getBrushDensity()public
int getBrushHeight()public
int getBrushSpacing()public
int getBrushWidth()public
EditOperation getEditOperation()@Nonnull
publicstatic
PrototypePlayerBuilderToolSettings getOrCreatePrototypeSettings(UUID playerUuid)@Nonnull
public
Vector3i getPosition()@Nonnull
publicfinal
boolean test(int x, int y, int z, Void aVoid)Fields
Protected Fields (19)
protected
BuilderTool.ArgData argsprotected
BuilderToolsPlugin.BuilderState builderStateprotected
boolean cappedprotected
EditOperation editprotected
InteractionType interactionTypeprotected
int originOffsetXprotected
int originOffsetYprotected
int originOffsetZprotected
BlockPattern patternprotected
Player playerprotected
Ref<EntityStore> playerRefprotected
Random randomprotected
BrushShape shapeprotected
int shapeHeightprotected
int shapeRangeprotected
int shapeThicknessprotected
int xprotected
int yprotected
int zPrivate/Package Fields (2)
private
BlockMask maskprivate
Transform transformRelated Classes
Used By