public final class MessageCasingEnabledState extends AbstractMessageWithLocation
| Constructor and Description |
|---|
MessageCasingEnabledState() |
MessageCasingEnabledState(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) |
getPositionX, getPositionY, getPositionZgetDimensionpublic MessageCasingEnabledState(Casing casing, boolean isEnabled)
public MessageCasingEnabledState()
public boolean isEnabled()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface cpw.mods.fml.common.network.simpleimpl.IMessagefromBytes in class AbstractMessageWithLocationpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface cpw.mods.fml.common.network.simpleimpl.IMessagetoBytes in class AbstractMessageWithLocation