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