Package net.minecraftforge.fml.network
Class FMLPlayMessages.OpenContainer
java.lang.Object
net.minecraftforge.fml.network.FMLPlayMessages.OpenContainer
- Enclosing class:
- FMLPlayMessages
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PacketBuffer
private final int
private final ITextComponent
private final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
OpenContainer
(int id, int windowId, ITextComponent name, PacketBuffer additionalData) (package private)
OpenContainer
(ContainerType<?> id, int windowId, ITextComponent name, PacketBuffer additionalData) -
Method Summary
Modifier and TypeMethodDescriptiondecode
(PacketBuffer buf) static void
encode
(FMLPlayMessages.OpenContainer msg, PacketBuffer buf) getName()
final ContainerType<?>
getType()
int
static void
-
Field Details
-
id
private final int id -
windowId
private final int windowId -
name
-
additionalData
-
-
Constructor Details
-
OpenContainer
OpenContainer(ContainerType<?> id, int windowId, ITextComponent name, PacketBuffer additionalData) -
OpenContainer
-
-
Method Details
-
encode
-
decode
-
handle
-
getType
-
getWindowId
public int getWindowId() -
getName
-
getAdditionalData
-