public abstract class AbstractMessageWithDimension
extends java.lang.Object
implements net.minecraftforge.fml.common.network.simpleimpl.IMessage
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageWithDimension() |
protected |
AbstractMessageWithDimension(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
int |
getDimension() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
protected AbstractMessageWithDimension(net.minecraft.world.World world)
protected AbstractMessageWithDimension()
public int getDimension()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagepublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessage