public final class SimpleNamedContainerProvider extends java.lang.Object implements INamedContainerProvider
Modifier and Type | Field and Description |
---|---|
private IContainerProvider |
inner |
private ITextComponent |
name |
Constructor and Description |
---|
SimpleNamedContainerProvider(IContainerProvider p_i50396_1_,
ITextComponent p_i50396_2_) |
Modifier and Type | Method and Description |
---|---|
Container |
createMenu(int p_createMenu_1_,
PlayerInventory p_createMenu_2_,
PlayerEntity p_createMenu_3_) |
ITextComponent |
getDisplayName() |
private final ITextComponent name
private final IContainerProvider inner
public SimpleNamedContainerProvider(IContainerProvider p_i50396_1_, ITextComponent p_i50396_2_)
public ITextComponent getDisplayName()
getDisplayName
in interface INamedContainerProvider
public Container createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
createMenu
in interface IContainerProvider