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.Ejected, 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 |
colourflowcanBeCancelled, 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, setStackcancel, checkStateForErrors, isCanceledpublic OnInsert(IPipeHolder holder, IFlowItems flow, net.minecraft.item.EnumDyeColor colour, @Nonnull net.minecraft.item.ItemStack stack, net.minecraft.util.EnumFacing from)