public interface IFruitBearer
| Modifier and Type | Method and Description |
|---|---|
void |
addRipeness(float add)
Increases the ripeness of the fruit.
|
IFruitFamily |
getFruitFamily() |
float |
getRipeness() |
boolean |
hasFruit() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
pickFruit(net.minecraft.item.ItemStack tool)
Picks the fruits of this tile, resetting it to unripe fruits.
|
boolean hasFruit()
IFruitFamily getFruitFamily()
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> pickFruit(net.minecraft.item.ItemStack tool)
tool - Tool used in picking the fruits. May be empty.float getRipeness()
void addRipeness(float add)
add - Float to add to the ripeness. Will truncate to valid values.