Interface Snow

All Superinterfaces:
BlockData, Cloneable

public interface Snow
extends BlockData
'layers' represents the amount of layers of snow which are present in this block.
May not be lower than getMinimumLayers() or higher than getMaximumLayers().
  • Method Details

    • getLayers

      int getLayers()
      Gets the value of the 'layers' property.
      Returns:
      the 'layers' value
    • setLayers

      void setLayers​(int layers)
      Sets the value of the 'layers' property.
      Parameters:
      layers - the new 'layers' value
    • getMinimumLayers

      int getMinimumLayers()
      Gets the minimum allowed value of the 'layers' property.
      Returns:
      the minimum 'layers' value
    • getMaximumLayers

      int getMaximumLayers()
      Gets the maximum allowed value of the 'layers' property.
      Returns:
      the maximum 'layers' value