Class ToolkitProperties
java.lang.Object
com.thevoxelbox.voxelsniper.sniper.toolkit.ToolkitProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToVoxelList
(BlockState blockData) void
createBlockTracer
(Player player) @Nullable Integer
int
int
Returns the pattern.Returns the replace pattern.int
Return the voxel list.boolean
boolean
isVoxelListContains
(BlockState blockData) void
removeFromVoxelList
(BlockState blockData) void
reset()
void
Resets the pattern.void
Resets the replace pattern.void
setBlockTracerRange
(@Nullable Integer blockTracerRange) void
setBrushSize
(int brushSize) void
setCylinderCenter
(int cylinderCenter) void
setLightningEnabled
(boolean lightningEnabled) void
setPattern
(BrushPattern brushPattern) Sets the pattern.void
setReplacePattern
(BrushPattern replaceBrushPattern) Sets the replace pattern.void
setVoxelHeight
(int voxelHeight)
-
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
-
addToVoxelList
-
removeFromVoxelList
-
clearVoxelList
public void clearVoxelList() -
isVoxelListContains
-
getPattern
Returns the pattern.- Returns:
- the pattern
- Since:
- 2.6.0
-
setPattern
Sets the pattern.- Parameters:
brushPattern
- the new pattern- Since:
- 2.6.0
-
getReplacePattern
Returns the replace pattern.- Returns:
- the replace pattern
- Since:
- 2.6.0
-
setReplacePattern
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
-
setBlockTracerRange
-
isLightningEnabled
public boolean isLightningEnabled() -
setLightningEnabled
public void setLightningEnabled(boolean lightningEnabled) -
getVoxelList
Return the voxel list.- Returns:
- the voxel list
- Since:
- 3.0.0
-