public static class IChargeableContainerProvider.Provider
extends java.lang.Object
implements net.minecraft.inventory.container.INamedContainerProvider
| Constructor and Description |
|---|
Provider(TileEntityChargingStation te,
net.minecraft.inventory.container.ContainerType<? extends ContainerChargingStationUpgradeManager> type) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.container.Container |
createMenu(int windowId,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
public Provider(TileEntityChargingStation te, net.minecraft.inventory.container.ContainerType<? extends ContainerChargingStationUpgradeManager> type)
public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProvider@Nullable
public net.minecraft.inventory.container.Container createMenu(int windowId,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity)
createMenu in interface net.minecraft.inventory.container.IContainerProvider