public final class MessageCasingState extends AbstractMessageWithLocation
| Constructor and Description |
|---|
MessageCasingState() |
MessageCasingState(Casing casing,
boolean isEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
boolean |
isEnabled() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
getPositiongetDimensionpublic MessageCasingState(Casing casing, boolean isEnabled)
public MessageCasingState()
public boolean isEnabled()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagefromBytes in class AbstractMessageWithLocationpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagetoBytes in class AbstractMessageWithLocation