Class HeatCrafter

All Implemented Interfaces:
Comparable<Content>, Senseable

public class HeatCrafter extends GenericCrafter
A crafter that requires contact from heater blocks to craft.
  • Field Details

    • heatRequirement

      public float heatRequirement
      Base heat requirement for 100% efficiency.
    • overheatScale

      public float overheatScale
      After heat meets this requirement, excess heat will be scaled by this number.
    • maxEfficiency

      public float maxEfficiency
      Maximum possible efficiency after overheat.
  • Constructor Details

    • HeatCrafter

      public HeatCrafter(String name)
  • Method Details

    • setBars

      public void setBars()
      Overrides:
      setBars in class GenericCrafter
    • setStats

      public void setStats()
      Description copied from class: UnlockableContent
      Initializes stats on demand. Should only be called once. Only called before something is displayed.
      Overrides:
      setStats in class GenericCrafter