public static class ForgeMessage.DimensionRegisterMessage extends ForgeMessage
ForgeMessage.DimensionRegisterMessage, ForgeMessage.FluidIdMapMessage
Modifier and Type | Field and Description |
---|---|
(package private) int |
dimensionId
The dimension ID to register on client
|
(package private) java.lang.String |
providerId
The provider ID to register with dimension on client
|
Constructor and Description |
---|
DimensionRegisterMessage() |
DimensionRegisterMessage(int dimensionId,
java.lang.String providerId) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
fromBytes(io.netty.buffer.ByteBuf bytes) |
(package private) void |
toBytes(io.netty.buffer.ByteBuf bytes) |
int dimensionId
java.lang.String providerId
public DimensionRegisterMessage()
public DimensionRegisterMessage(int dimensionId, java.lang.String providerId)
void toBytes(io.netty.buffer.ByteBuf bytes)
toBytes
in class ForgeMessage
void fromBytes(io.netty.buffer.ByteBuf bytes)
fromBytes
in class ForgeMessage