public static final class IStructureElement.BlocksToPlace extends Object
| Modifier and Type | Field and Description |
|---|---|
static IStructureElement.BlocksToPlace |
errored |
| Modifier and Type | Method and Description |
|---|---|
static IStructureElement.BlocksToPlace |
create(Block block,
int meta) |
static IStructureElement.BlocksToPlace |
create(Item item,
int meta) |
static IStructureElement.BlocksToPlace |
create(ItemStack... stacks) |
static IStructureElement.BlocksToPlace |
create(ItemStack itemStack) |
static IStructureElement.BlocksToPlace |
create(Iterable<ItemStack> stacks) |
static IStructureElement.BlocksToPlace |
create(Predicate<ItemStack> predicate) |
static IStructureElement.BlocksToPlace |
createEmpty() |
Predicate<ItemStack> |
getPredicate()
Get the blocks to place filter.
|
Iterable<ItemStack> |
getStacks()
Get the ItemStacks that this one is known to accept.
|
public static final IStructureElement.BlocksToPlace errored
public static IStructureElement.BlocksToPlace createEmpty()
public static IStructureElement.BlocksToPlace create(ItemStack... stacks)
public static IStructureElement.BlocksToPlace create(Iterable<ItemStack> stacks)
public static IStructureElement.BlocksToPlace create(Block block, int meta)
public static IStructureElement.BlocksToPlace create(Item item, int meta)
public static IStructureElement.BlocksToPlace create(ItemStack itemStack)
public static IStructureElement.BlocksToPlace create(Predicate<ItemStack> predicate)
@Nonnull public Predicate<ItemStack> getPredicate()
Suitable for use with IItemSource.takeOne(Predicate, boolean)
@Nullable public Iterable<ItemStack> getStacks()
Suitable for use with IItemSource.takeOne(ItemStack, boolean).
This should be equivalent to the predicate returned from getPredicate()