public abstract static class PipeEventItem.Ejected extends PipeEventItem
PipeEventItem.Drop
.) NOTE: This event is fired *after* the item has been ejected, not before, so
modifying inserted
won't do anything. You are free to modify excess
however.Modifier and Type | Class and Description |
---|---|
static class |
PipeEventItem.Ejected.IntoPipe
Fired when an item is injected into a pipe.
|
static class |
PipeEventItem.Ejected.IntoTile
Fired when an item is injected into a tile entity.
|
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.item.ItemStack |
inserted
The stack that has been inserted
|
net.minecraft.util.EnumFacing |
to
The side that the item has been ejected to.
|
flow
canBeCancelled, holder
Modifier | Constructor and Description |
---|---|
protected |
Ejected(IPipeHolder holder,
IFlowItems flow,
net.minecraft.item.ItemStack inserted,
net.minecraft.item.ItemStack excess,
net.minecraft.util.EnumFacing to) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getExcess() |
void |
setExcess(net.minecraft.item.ItemStack stack) |
cancel, checkStateForErrors, isCanceled
public final net.minecraft.item.ItemStack inserted
public final net.minecraft.util.EnumFacing to
protected Ejected(IPipeHolder holder, IFlowItems flow, net.minecraft.item.ItemStack inserted, net.minecraft.item.ItemStack excess, net.minecraft.util.EnumFacing to)