Class Toolkit
java.lang.Object
com.thevoxelbox.voxelsniper.sniper.toolkit.Toolkit
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToolAction
(ItemType toolMaterial, ToolAction action) @Nullable Brush
getBrush
(BrushProperties properties) @Nullable Brush
@Nullable ToolAction
getToolAction
(ItemType toolMaterial) boolean
hasToolAction
(ItemType toolMaterial) boolean
Return whether the toolkit is the default one or not.void
removeToolAction
(ItemType toolMaterial) void
reset()
useBrush
(BrushProperties properties) usePerformer
(PerformerProperties properties) Use a performer.
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
Toolkit
-
-
Method Details
-
reset
public void reset() -
addToolAction
-
hasToolAction
-
getToolAction
-
removeToolAction
-
useBrush
-
usePerformer
Use a performer. Initializes and returns it.- Parameters:
properties
- the properties- Returns:
- the performer
- Since:
- 3.0.0
-
getCurrentBrush
-
getBrush
-
getToolkitName
-
isDefault
public boolean isDefault()Return whether the toolkit is the default one or not.- Returns:
- whether the toolkit is the default one or not
-
getCurrentBrushProperties
-
getPreviousBrushProperties
-
getToolActions
-
getProperties
-