HyCodeYourTale
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)

protectedBuilderTool.ArgData args
protectedBuilderToolsPlugin.BuilderState builderState
protectedboolean capped
protectedEditOperation edit
protectedInteractionType interactionType
protectedint originOffsetX
protectedint originOffsetY
protectedint originOffsetZ
protectedBlockPattern pattern
protectedPlayer player
protectedRef<EntityStore> playerRef
protectedRandom random
protectedBrushShape shape
protectedint shapeHeight
protectedint shapeRange
protectedint shapeThickness
protectedint x
protectedint y
protectedint z

Private/Package Fields (2)

privateBlockMask mask
privateTransform transform

Related Classes