Class IStructureElement.BlocksToPlace
java.lang.Object
com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
- Enclosing interface:
IStructureElement<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the blocks to place filter.Get the ItemStacks that this one is known to accept.
-
Field Details
-
errored
-
-
Method Details
-
createEmpty
-
create
-
create
-
create
-
create
-
create
-
create
-
getPredicate
Get the blocks to place filter. This is usually slower as it requires walking through inventories one by one.Suitable for use with
IItemSource.takeOne(Predicate, boolean)- Returns:
- a predicate. never null.
-
getStacks
Get the ItemStacks that this one is known to accept. Can be null if this info is not available at the time this instance is constructed.Suitable for use with
IItemSource.takeOne(ItemStack, boolean).This should be equivalent to the predicate returned from
getPredicate()
-