public interface UpgradeContainer extends Item
| Modifier and Type | Method and Description |
|---|---|
Slot |
providedSlot(net.minecraft.item.ItemStack stack)
Deprecated.
This will be replaced in 1.4, where slot types will then be
referred to by name (using Strings) instead, to make this system more
flexible (not requiring an API change for each new slot type, e.g.).
|
int |
providedTier(net.minecraft.item.ItemStack stack)
The maximum item tier of the items that can be placed into the slot
provided by the specified container.
|
@Deprecated Slot providedSlot(net.minecraft.item.ItemStack stack)
stack - the item stack to get the provided slot type for.int providedTier(net.minecraft.item.ItemStack stack)
stack - the item stack to the the supported tier for.