public interface IGrinderEntry
IGrinderRegistry
Modifier and Type | Method and Description |
---|---|
int |
getEnergyCost()
Energy cost, in turns.
|
net.minecraft.item.ItemStack |
getInput()
the current input
|
float |
getOptionalChance()
0.0 - 1.0 the chance that the optional output will be generated.
|
net.minecraft.item.ItemStack |
getOptionalOutput()
gets the current output
|
net.minecraft.item.ItemStack |
getOutput()
gets the current output
|
float |
getSecondOptionalChance()
0.0 - 1.0 the chance that the optional output will be generated.
|
net.minecraft.item.ItemStack |
getSecondOptionalOutput()
gets the current output
|
void |
setEnergyCost(int c)
Allows you to adjust the number of turns
|
void |
setInput(net.minecraft.item.ItemStack input)
lets you change the grinder recipe by changing its input.
|
void |
setOptionalOutput(net.minecraft.item.ItemStack output,
float chance)
stack, and 0.0-1.0 chance that it will be generated.
|
void |
setOutput(net.minecraft.item.ItemStack output)
allows you to change the output.
|
void |
setSecondOptionalOutput(net.minecraft.item.ItemStack output,
float chance)
stack, and 0.0-1.0 chance that it will be generated.
|
net.minecraft.item.ItemStack getInput()
void setInput(net.minecraft.item.ItemStack input)
input
- input itemnet.minecraft.item.ItemStack getOutput()
void setOutput(net.minecraft.item.ItemStack output)
output
- output itemnet.minecraft.item.ItemStack getOptionalOutput()
net.minecraft.item.ItemStack getSecondOptionalOutput()
void setOptionalOutput(net.minecraft.item.ItemStack output, float chance)
output
- output itemchance
- generation chancefloat getOptionalChance()
void setSecondOptionalOutput(net.minecraft.item.ItemStack output, float chance)
output
- second optional output itemchance
- second optional output chancefloat getSecondOptionalChance()
int getEnergyCost()
void setEnergyCost(int c)
c
- number of turns to produce output.