public class ItemBucketTickAction extends BloodInfuserTickAction
ITickAction that can fill empty buckets with blood.MB_PER_TICK| Constructor and Description |
|---|
ItemBucketTickAction() |
| Modifier and Type | Method and Description |
|---|---|
int |
getUnmodifiedRequiredTicks(TileBloodInfuser tile,
int slot)
Get the unmodified required conditions for the given conditions.
|
void |
onTick(TileBloodInfuser tile,
net.minecraft.item.ItemStack itemStack,
int slot,
int tick)
Add one tick.
|
net.minecraft.item.ItemStack |
willProduceItem(TileBloodInfuser tile)
Get the item of the item that will be produced after infusion.
|
addToProduceSlot, canTick, getInfuseStack, getRequiredTickspublic void onTick(TileBloodInfuser tile, net.minecraft.item.ItemStack itemStack, int slot, int tick)
ITickActiontile - The tile entity that ticks.itemStack - The ItemStack that is in the slot for which this ticker runs.slot - The slot ID for the ticker.tick - The current tick.public int getUnmodifiedRequiredTicks(TileBloodInfuser tile, int slot)
BloodInfuserTickActiongetUnmodifiedRequiredTicks in class BloodInfuserTickActiontile - The tile entity that ticks.slot - The slot ID for the ticker.public net.minecraft.item.ItemStack willProduceItem(TileBloodInfuser tile)
BloodInfuserTickActionwillProduceItem in class BloodInfuserTickActiontile - The tile that performs the infusion.