public interface IStackHelper
| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.item.ItemStack> |
getAllSubtypes(java.lang.Iterable stacks)
Expands an Iterable, which may contain ItemStacks or more Iterables, and
returns all the subtypes of itemStacks if they have wildcard meta value.
|
java.util.List<net.minecraft.item.ItemStack> |
getSubtypes(net.minecraft.item.ItemStack itemStack)
Returns all the subtypes of itemStack if it has a wildcard meta value.
|
java.util.List<net.minecraft.item.ItemStack> |
toItemStackList(java.lang.Object stacks)
Flattens ItemStacks, OreDict Strings, and Iterables into a list of ItemStacks.
|
@Nonnull
java.util.List<net.minecraft.item.ItemStack> getSubtypes(@Nonnull
net.minecraft.item.ItemStack itemStack)
@Nonnull
java.util.List<net.minecraft.item.ItemStack> getAllSubtypes(@Nonnull
java.lang.Iterable stacks)
@Nonnull
java.util.List<net.minecraft.item.ItemStack> toItemStackList(@Nullable
java.lang.Object stacks)