Contents
Class LaserPointerOperation
java.lang.Object
com.hypixel.hytale.builtin.buildertools.tooloperations.ToolOperation
com.hypixel.hytale.builtin.buildertools.tooloperations.LaserPointerOperation
- All Implemented Interfaces:
TriIntObjPredicate<Void>
Laser pointer operation - extends ToolOperation but doesn't use brush functionality
All work is done in the constructor to broadcast the laser pointer packet
-
Field Summary
Fields inherited from class ToolOperation
DEFAULT_BRUSH_SIZE, DEFAULT_BRUSH_SPACING, OPERATIONS, PROTOTYPE_TOOL_SETTINGS -
Constructor Summary
ConstructorsConstructorDescriptionLaserPointerOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ComponentAccessor<EntityStore> componentAccessor) booleanMethods inherited from class ToolOperation
calculateInterpolatedPositions, combineMasks, executeAsBrushConfig, executeAt, executeShapeOperation, fromPacket, getBrushHeight, getBrushRotation, getBrushSpacing, getBrushWidth, getEditOperation, getOrCreatePrototypeSettings, getPosition, getSkippedTints, getTargetBlockAvoidingPaint, getTargetBlockAvoidingPaint, test
-
Constructor Details
-
LaserPointerOperation
public LaserPointerOperation(@Nonnull Ref<EntityStore> ref, @Nonnull Player player, @Nonnull PlayerRef playerRef, @Nonnull BuilderToolOnUseInteraction packet, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-
-
Method Details
-
showEditNotification
public boolean showEditNotification()- Overrides:
showEditNotificationin classToolOperation
-
execute
- Overrides:
executein classToolOperation
-