Class ToolkitProperties

java.lang.Object
com.thevoxelbox.voxelsniper.sniper.toolkit.ToolkitProperties

public class ToolkitProperties extends Object
  • Constructor Details

    • ToolkitProperties

      public ToolkitProperties()
  • Method Details

    • reset

      public void reset()
    • resetPattern

      public void resetPattern()
      Resets the pattern.
      Since:
      2.6.0
    • resetReplacePattern

      public void resetReplacePattern()
      Resets the replace pattern.
      Since:
      2.6.0
    • createBlockTracer

      public BlockTracer createBlockTracer(Player player)
    • addToVoxelList

      public void addToVoxelList(BlockState blockData)
    • removeFromVoxelList

      public void removeFromVoxelList(BlockState blockData)
    • clearVoxelList

      public void clearVoxelList()
    • isVoxelListContains

      public boolean isVoxelListContains(BlockState blockData)
    • getPattern

      public BrushPattern getPattern()
      Returns the pattern.
      Returns:
      the pattern
      Since:
      2.6.0
    • setPattern

      public void setPattern(BrushPattern brushPattern)
      Sets the pattern.
      Parameters:
      brushPattern - the new pattern
      Since:
      2.6.0
    • getReplacePattern

      public BrushPattern getReplacePattern()
      Returns the replace pattern.
      Returns:
      the replace pattern
      Since:
      2.6.0
    • setReplacePattern

      public void setReplacePattern(BrushPattern replaceBrushPattern)
      Sets the replace pattern.
      Parameters:
      replaceBrushPattern - the new replace pattern
      Since:
      2.6.0
    • getBrushSize

      public int getBrushSize()
    • setBrushSize

      public void setBrushSize(int brushSize)
    • getVoxelHeight

      public int getVoxelHeight()
    • setVoxelHeight

      public void setVoxelHeight(int voxelHeight)
    • getCylinderCenter

      public int getCylinderCenter()
    • setCylinderCenter

      public void setCylinderCenter(int cylinderCenter)
    • getBlockTracerRange

      @Nullable public @Nullable Integer getBlockTracerRange()
    • setBlockTracerRange

      public void setBlockTracerRange(@Nullable @Nullable Integer blockTracerRange)
    • isLightningEnabled

      public boolean isLightningEnabled()
    • setLightningEnabled

      public void setLightningEnabled(boolean lightningEnabled)
    • getVoxelList

      public Collection<BlockState> getVoxelList()
      Return the voxel list.
      Returns:
      the voxel list
      Since:
      3.0.0