public class MessageGenerator extends java.lang.Object implements net.minecraftforge.fml.common.network.simpleimpl.IMessage, net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler<MessageGenerator,net.minecraftforge.fml.common.network.simpleimpl.IMessage>
| Constructor and Description |
|---|
MessageGenerator() |
MessageGenerator(GeneratorBase tile) |
MessageGenerator(net.minecraft.tileentity.TileEntity tile) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
net.minecraftforge.fml.common.network.simpleimpl.IMessage |
onMessage(MessageGenerator message,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
public MessageGenerator()
public MessageGenerator(net.minecraft.tileentity.TileEntity tile)
public MessageGenerator(GeneratorBase tile)
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.IMessagepublic net.minecraftforge.fml.common.network.simpleimpl.IMessage onMessage(MessageGenerator message, net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
onMessage in interface net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler<MessageGenerator,net.minecraftforge.fml.common.network.simpleimpl.IMessage>