Interface MaterialValueManager.ValueCollection

Enclosing interface:
MaterialValueManager

public static interface MaterialValueManager.ValueCollection
  • Method Details

    • getHardness

      float getHardness()
      Returns the hardness-component of this value.
      Returns:
      the hardness (or Float.MAX_VALUE for infinity hardness)
    • getTool

      ToolType getTool()
      Returns the minimum effective tool type of this value.
      Returns:
      the tool (or null for none)
    • getBlastResistance

      float getBlastResistance()
      Returns the blast resistance-component of this value.
      Returns:
      the blast resistance
    • getLightOpacity

      int getLightOpacity()
      Returns the light opacity-component of this value.
      Returns:
      the light opacity
    • getFlameResistance

      int getFlameResistance()
      Returns the flame resistance-component of this value.
      Returns:
      the flame resistance
    • getFireResistance

      int getFireResistance()
      Returns the fire resistance-component of this value.
      Returns:
      the fire resistance
    • getSlipperiness

      double getSlipperiness()
      Returns the slipperiness-component of this value.
      Returns:
      the slipperiness
    • getBaseMapColor

      byte getBaseMapColor()
      Returns the base map color for this value. Map pixels with this as the highest block can be this value plus 0 to 3.
      Returns:
      the base map color for this material
    • getPistonPushBehavior

      PistonMoveBehavior getPistonPushBehavior()
      Returns the piston push behavior (move/drop/don't move) of this value. Suitable only for blocks.
      Returns:
      the piston push behavior
    • getPistonPullBehavior

      PistonMoveBehavior getPistonPullBehavior()
      Returns the piston pull behavior (move/drop/don't move) of this value. Suitable only for blocks.
      Returns:
      the piston pull behavior