Class BrushPropertiesBuilder
java.lang.Object
com.thevoxelbox.voxelsniper.brush.property.BrushPropertiesBuilder
The type Brush properties builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds an alias.brushPatternType
(BrushPatternType brushPatternType) Sets the brush pattern type.build()
Build the brush properties.creator
(BrushCreator creator) Sets the creator.Sets the name.permission
(String permission) Sets the permission.
-
Constructor Details
-
BrushPropertiesBuilder
public BrushPropertiesBuilder()
-
-
Method Details
-
name
Sets the name.- Parameters:
name
- the name- Returns:
- the brush properties builder
-
permission
Sets the permission.- Parameters:
permission
- the permission- Returns:
- the brush properties builder
-
alias
Adds an alias.- Parameters:
alias
- the alias- Returns:
- the brush properties builder
-
brushPatternType
Sets the brush pattern type.- Parameters:
brushPatternType
- the brush pattern type- Returns:
- the brush properties builder
- Since:
- 2.6.0
-
creator
Sets the creator.- Parameters:
creator
- the creator- Returns:
- the brush properties builder
-
build
Build the brush properties.- Returns:
- the brush properties
-