public abstract class AbstractMessageWithLocation extends AbstractMessageWithDimension
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageWithLocation() |
protected |
AbstractMessageWithLocation(net.minecraft.world.World world,
net.minecraft.util.BlockPos position) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
net.minecraft.util.BlockPos |
getPosition() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
getDimensionprotected AbstractMessageWithLocation(net.minecraft.world.World world,
net.minecraft.util.BlockPos position)
protected AbstractMessageWithLocation()
public net.minecraft.util.BlockPos getPosition()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagefromBytes in class AbstractMessageWithDimensionpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagetoBytes in class AbstractMessageWithDimension