Package | Description |
---|---|
buildcraft.api.core |
Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
The BuildCraft API is distributed under the terms of the MIT License.
|
buildcraft.api.inventory | |
buildcraft.api.recipes |
Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
The BuildCraft API is distributed under the terms of the MIT License.
|
buildcraft.api.transport.pipe | |
buildcraft.lib.inventory | |
buildcraft.lib.inventory.filter | |
buildcraft.lib.tile.item | |
buildcraft.transport.pipe.flow |
Modifier and Type | Method and Description |
---|---|
default IStackFilter |
IStackFilter.and(IStackFilter filter) |
Modifier and Type | Method and Description |
---|---|
default IStackFilter |
IStackFilter.and(IStackFilter filter) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
IItemTransactor.extract(IStackFilter filter,
int min,
int max,
boolean simulate)
Extracts a number of items that match the given filter
|
default net.minecraft.item.ItemStack |
IItemTransactor.IItemInsertable.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
Modifier and Type | Field and Description |
---|---|
IStackFilter |
StackDefinition.filter
Deprecated.
|
Constructor and Description |
---|
StackDefinition(IStackFilter filter)
Deprecated.
|
StackDefinition(IStackFilter filter,
int count)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default int |
IFlowItems.tryExtractItems(int count,
net.minecraft.util.EnumFacing from,
net.minecraft.item.EnumDyeColor colour,
IStackFilter filter)
Deprecated.
Use the version below with a simulate paramater.
|
int |
IFlowItems.tryExtractItems(int count,
net.minecraft.util.EnumFacing from,
net.minecraft.item.EnumDyeColor colour,
IStackFilter filter,
boolean simulate)
Attempts to extract items from the inventory connected to this pipe on the given side.
|
Modifier and Type | Method and Description |
---|---|
protected net.minecraft.item.ItemStack |
ItemHandlerWrapper.extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
protected abstract net.minecraft.item.ItemStack |
AbstractInvItemTransactor.extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
protected net.minecraft.item.ItemStack |
InventoryWrapper.extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
protected net.minecraft.item.ItemStack |
SidedInventoryWrapper.extract(int externalSlot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
NoSpaceTransactor.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
InjectableWrapper.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
AbstractInvItemTransactor.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
AutomaticProvidingTransactor.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
TransactorEntityArrow.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
net.minecraft.item.ItemStack |
TransactorEntityItem.extract(IStackFilter filter,
int min,
int max,
boolean simulate) |
static int |
ItemTransactorHelper.move(IItemTransactor src,
IItemTransactor dst,
IStackFilter filter)
Attempts to move up to maxItems from the source
IItemTransactor to the destination. |
static int |
ItemTransactorHelper.move(IItemTransactor src,
IItemTransactor dst,
IStackFilter filter,
int maxItems)
Attempts to move up to maxItems from the source
IItemTransactor to the destination. |
static int |
ItemTransactorHelper.moveSingle(IItemTransactor src,
IItemTransactor dst,
IStackFilter filter,
boolean simulateSrc,
boolean simulateDst) |
static int |
ItemTransactorHelper.moveSingle(IItemTransactor src,
IItemTransactor dst,
IStackFilter filter,
int maxItems,
boolean simulateSrc,
boolean simulateDst)
Similar to
ItemTransactorHelper.move(IItemTransactor, IItemTransactor, IStackFilter, int) , but will only attempt to extract
and insert once, which means that you can simulate the move safely. |
Modifier and Type | Class and Description |
---|---|
class |
AggregateFilter
Returns true if the stack matches all of the stack filters.
|
class |
ArrayStackFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
ArrayStackOrListFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
CompositeFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
CraftingFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
DelegatingArrayFilter |
class |
DelegatingItemHandlerFilter |
class |
InvertedStackFilter |
class |
OreStackFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
PassThroughStackFilter
Returns true if the stack matches any one one of the filter stacks.
|
class |
StackFilter
This interface is used with several of the functions in IItemTransfer to provide a convenient means of dealing with
entire classes of items without having to specify each item individually.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayStackFilter.matches(IStackFilter filter2) |
Constructor and Description |
---|
AggregateFilter(IStackFilter... iFilters) |
CompositeFilter(IStackFilter... iFilters) |
InvertedStackFilter(IStackFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected net.minecraft.item.ItemStack |
ItemHandlerSimple.extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
Modifier and Type | Method and Description |
---|---|
int |
PipeFlowItems.tryExtractItems(int count,
net.minecraft.util.EnumFacing from,
net.minecraft.item.EnumDyeColor colour,
IStackFilter filter,
boolean simulate) |