Class CTComposter

java.lang.Object
com.blamejared.crafttweaker.api.misc.CTComposter

@ZenRegister public final class CTComposter extends Object
DocParam:
this composter
  • Field Details

  • Method Details

    • setValue

      public void setValue(IItemStack stack, float amount)
      Sets the compost value of the given IItemStack. The amount should be between 0 and 1, anything above 1 would just be wasted.
      Parameters:
      stack - The stack to be compostable
      amount - The amount of Compost that should be added when the item is put in a Composter.
      DocParam:
      stack invalid input: '<'item:minecraft:diamond>, amount 0.85