Class CTComposter
java.lang.Object
com.blamejared.crafttweaker.api.misc.CTComposter
- DocParam:
- this composter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetValue(IItemStack stack, float amount) Sets the compost value of the given IItemStack.
-
Field Details
-
INSTANCE
-
-
Method Details
-
setValue
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 compostableamount- 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
-