Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ContainerType<?>,ScreenManager.IScreenFactory<?,?>> |
ScreenManager.FACTORIES |
Modifier and Type | Method and Description |
---|---|
default void |
ScreenManager.IScreenFactory.createScreen(ITextComponent title,
ContainerType<T> type,
Minecraft mc,
int windowId) |
private static <T extends Container> |
ScreenManager.getFactory(ContainerType<T> type) |
static <T extends Container> |
ScreenManager.getScreenFactory(ContainerType<T> type,
Minecraft mc,
int windowId,
ITextComponent title) |
static <T extends Container> |
ScreenManager.openScreen(ContainerType<T> type,
Minecraft mc,
int windowId,
ITextComponent title) |
static <M extends Container,U extends Screen & IHasContainer<M>> |
ScreenManager.registerFactory(ContainerType<? extends M> type,
ScreenManager.IScreenFactory<M,U> factory) |
Modifier and Type | Method and Description |
---|---|
ContainerType<?> |
StonecutterContainer.getType() |
ContainerType<?> |
Container.getType() |
private static <T extends Container> |
ContainerType.register(java.lang.String key,
ContainerType.IFactory<T> factory) |
Constructor and Description |
---|
AbstractFurnaceContainer(ContainerType<?> containerTypeIn,
IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn,
int id,
PlayerInventory playerInventoryIn) |
AbstractFurnaceContainer(ContainerType<?> containerTypeIn,
IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn,
int id,
PlayerInventory playerInventoryIn,
IInventory furnaceInventoryIn,
IIntArray furnaceDataIn) |
ChestContainer(ContainerType<?> type,
int id,
PlayerInventory playerInventoryIn,
IInventory p_i50092_4_,
int rows) |
ChestContainer(ContainerType<?> type,
int id,
PlayerInventory player,
int rows) |
Container(ContainerType<?> type,
int id) |
RecipeBookContainer(ContainerType<?> p_i50067_1_,
int p_i50067_2_) |
Modifier and Type | Method and Description |
---|---|
ContainerType<?> |
SOpenWindowPacket.getContainerType() |
Constructor and Description |
---|
SOpenWindowPacket(int windowIdIn,
ContainerType<?> menuIdIn,
ITextComponent titleIn) |
Modifier and Type | Field and Description |
---|---|
static Registry<ContainerType<?>> |
Registry.MENU
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Container> |
IForgeContainerType.create(IContainerFactory<T> factory) |
Modifier and Type | Field and Description |
---|---|
static ContainerType<ContainerTypeTest.TestContainer> |
ContainerTypeTest.TYPE |
Modifier and Type | Method and Description |
---|---|
private void |
ContainerTypeTest.registerContainers(RegistryEvent.Register<ContainerType<?>> event) |
Modifier and Type | Method and Description |
---|---|
ContainerType<?> |
FMLPlayMessages.OpenContainer.getType() |
Constructor and Description |
---|
OpenContainer(ContainerType<?> id,
int windowId,
ITextComponent name,
PacketBuffer additionalData) |
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<ContainerType<?>> |
ForgeRegistries.CONTAINERS |