Class Toolkit
java.lang.Object
com.thevoxelbox.voxelsniper.sniper.toolkit.Toolkit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToolAction(ItemType toolMaterial, ToolAction action) @Nullable BrushgetBrush(BrushProperties properties) @Nullable Brush@Nullable ToolActiongetToolAction(ItemType toolMaterial) booleanhasToolAction(ItemType toolMaterial) booleanReturn whether the toolkit is the default one or not.voidremoveToolAction(ItemType toolMaterial) voidreset()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
-