public static class PipeEventItem.OnInsert extends PipeEventItem.ReachDest
PipeEventItem.TryInsert
(if some items were allowed in) to modify the incoming itemstack or its colour.PipeEventItem.Drop, PipeEventItem.FindDest, PipeEventItem.ItemEntry, PipeEventItem.ModifySpeed, PipeEventItem.OnInsert, PipeEventItem.OrderedEvent, PipeEventItem.ReachCenter, PipeEventItem.ReachDest, PipeEventItem.ReachEnd, PipeEventItem.SideCheck, PipeEventItem.Split, PipeEventItem.TryBounce, PipeEventItem.TryInsert
Modifier and Type | Field and Description |
---|---|
net.minecraft.util.EnumFacing |
from |
colour
flow
canBeCancelled, holder
Constructor and Description |
---|
OnInsert(IPipeHolder holder,
IFlowItems flow,
net.minecraft.item.EnumDyeColor colour,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing from) |
getStack, setStack
cancel, checkStateForErrors, isCanceled
public OnInsert(IPipeHolder holder, IFlowItems flow, net.minecraft.item.EnumDyeColor colour, @Nonnull net.minecraft.item.ItemStack stack, net.minecraft.util.EnumFacing from)