diff --git a/src/main/java/net/minecraftforge/common/network/ForgeMessage.java b/src/main/java/net/minecraftforge/common/network/ForgeMessage.java index 5883aec4d..3c52e040a 100644 --- a/src/main/java/net/minecraftforge/common/network/ForgeMessage.java +++ b/src/main/java/net/minecraftforge/common/network/ForgeMessage.java @@ -16,6 +16,14 @@ public abstract class ForgeMessage { int dimensionId; /** The provider ID to register with dimension on client */ int providerId; + + public DimensionRegisterMessage(){} + public DimensionRegisterMessage(int dimensionId, int providerId) + { + this.dimensionId = dimensionId; + this.providerId = providerId; + } + @Override void toBytes(ByteBuf bytes) {