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().
Since:
1.13
  • Method Details

    • getLayers

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

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

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

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