Enum Class BlockHeatProperties

java.lang.Object
java.lang.Enum<BlockHeatProperties>
me.desht.pneumaticcraft.common.heat.BlockHeatProperties
All Implemented Interfaces:
Serializable, Comparable<BlockHeatProperties>, Constable, Iterable<HeatPropertiesRecipe>

public enum BlockHeatProperties extends Enum<BlockHeatProperties> implements Iterable<HeatPropertiesRecipe>
  • Enum Constant Details

  • Method Details

    • values

      public static BlockHeatProperties[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BlockHeatProperties valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getInstance

      public static BlockHeatProperties getInstance()
    • getCustomHeatEntry

      public HeatPropertiesRecipe getCustomHeatEntry(net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state)
    • getAllEntries

      public Collection<HeatPropertiesRecipe> getAllEntries(net.minecraft.world.level.Level world)
    • clear

      public void clear()
    • register

      public void register(net.minecraft.world.level.block.Block block, HeatPropertiesRecipe entry)
    • iterator

      public Iterator<HeatPropertiesRecipe> iterator()
      Specified by:
      iterator in interface Iterable<HeatPropertiesRecipe>