public class ModuleContainerProvider
extends java.lang.Object
implements net.minecraft.inventory.container.INamedContainerProvider
| Constructor and Description |
|---|
ModuleContainerProvider(ModuleInstance<?> moduleInstance,
IModularEntity modularEntity) |
| 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 ModuleContainerProvider(ModuleInstance<?> moduleInstance, IModularEntity modularEntity)
@Nonnull public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProvider@Nullable
@ParametersAreNonnullByDefault
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