public class ChestContainerProvider
extends java.lang.Object
implements net.minecraft.inventory.container.INamedContainerProvider
| Constructor and Description |
|---|
ChestContainerProvider(net.minecraftforge.items.IItemHandlerModifiable iItemHandler,
java.util.function.Predicate<net.minecraft.entity.player.PlayerEntity> canInteract) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
public ChestContainerProvider(net.minecraftforge.items.IItemHandlerModifiable iItemHandler,
java.util.function.Predicate<net.minecraft.entity.player.PlayerEntity> canInteract)
@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 id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity)
createMenu in interface net.minecraft.inventory.container.IContainerProvider