Class BrushPropertiesBuilder

java.lang.Object
com.thevoxelbox.voxelsniper.brush.property.BrushPropertiesBuilder

public class BrushPropertiesBuilder extends Object
The type Brush properties builder.
  • Constructor Details

    • BrushPropertiesBuilder

      public BrushPropertiesBuilder()
  • Method Details

    • name

      public BrushPropertiesBuilder name(String name)
      Sets the name.
      Parameters:
      name - the name
      Returns:
      the brush properties builder
    • permission

      public BrushPropertiesBuilder permission(String permission)
      Sets the permission.
      Parameters:
      permission - the permission
      Returns:
      the brush properties builder
    • alias

      public BrushPropertiesBuilder alias(String alias)
      Adds an alias.
      Parameters:
      alias - the alias
      Returns:
      the brush properties builder
    • brushPatternType

      public BrushPropertiesBuilder brushPatternType(BrushPatternType brushPatternType)
      Sets the brush pattern type.
      Parameters:
      brushPatternType - the brush pattern type
      Returns:
      the brush properties builder
      Since:
      2.6.0
    • creator

      public BrushPropertiesBuilder creator(BrushCreator creator)
      Sets the creator.
      Parameters:
      creator - the creator
      Returns:
      the brush properties builder
    • build

      public BrushProperties build()
      Build the brush properties.
      Returns:
      the brush properties