public interface IInitSyncedTileEntity
extends net.minecraft.inventory.container.INamedContainerProvider
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 player) |
void |
handleInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
The collected data for the initial container opening comes here to the client side.
|
void |
sendInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
Collect data here that should be sent to the client side when the container will be opened.
|
void sendInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
handleInitialDataBuffer(PacketBuffer)
buffer
- Buffer for 32kb datavoid handleInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
sendInitialDataBuffer(PacketBuffer)
buffer
- Buffer for 32kb datanet.minecraft.inventory.container.Container createMenu(int id, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.entity.player.PlayerEntity player)
createMenu
in interface net.minecraft.inventory.container.IContainerProvider