mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Added a constructor and made the fields package-private
This commit is contained in:
1 parent
07fa6615f8
commit
5ff5f1b0d5
1 file changed
+9
-2
@@ -13,9 +13,16 @@ import io.netty.buffer.ByteBuf;
|
||||
public abstract class ForgeMessage {
|
||||
public static class DimensionRegisterMessage extends ForgeMessage {
|
||||
/** The dimension ID to register on client */
|
||||
public int dimensionId;
|
||||
int dimensionId;
|
||||
/** The provider ID to register with dimension on client */
|
||||
public int providerId;
|
||||
int providerId;
|
||||
|
||||
public DimensionRegisterMessage(int dimensionId, int providerId)
|
||||
{
|
||||
this.dimensionId = dimensionId;
|
||||
this.providerId = providerId;
|
||||
}
|
||||
|
||||
@Override
|
||||
void toBytes(ByteBuf bytes)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user