Class IChargeableContainerProvider.Provider
java.lang.Object
me.desht.pneumaticcraft.common.item.IChargeableContainerProvider.Provider
- All Implemented Interfaces:
net.minecraft.world.inventory.MenuConstructor,net.minecraft.world.MenuProvider
- Enclosing interface:
- IChargeableContainerProvider
public static class IChargeableContainerProvider.Provider
extends Object
implements net.minecraft.world.MenuProvider
-
Constructor Summary
ConstructorsConstructorDescriptionProvider(ChargingStationBlockEntity te, net.minecraft.world.inventory.MenuType<? extends ChargingStationUpgradeManagerMenu> type) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.AbstractContainerMenucreateMenu(int windowId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.entity.player.Player playerEntity) net.minecraft.network.chat.Component
-
Constructor Details
-
Provider
public Provider(ChargingStationBlockEntity te, net.minecraft.world.inventory.MenuType<? extends ChargingStationUpgradeManagerMenu> type)
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Specified by:
getDisplayNamein interfacenet.minecraft.world.MenuProvider
-
createMenu
@Nullable public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int windowId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.entity.player.Player playerEntity) - Specified by:
createMenuin interfacenet.minecraft.world.inventory.MenuConstructor
-