mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +00:00
Only machines package remains, lots to do in there.
This commit is contained in:
1 parent
d16b3ddd6b
commit
ec975567b2
128 files changed
+407
-599
No files matched your search
@@ -4,8 +4,8 @@ import io.netty.buffer.ByteBuf;
|
||||
import io.netty.channel.ChannelHandlerContext;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import crazypants.enderio.machine.RedstoneControlMode;
|
||||
import crazypants.enderio.network.IMessage;
|
||||
|
||||
public class PacketClientState implements IMessage {
|
||||
|
||||
@@ -33,7 +33,7 @@ public class PacketClientState implements IMessage {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void encode(ChannelHandlerContext ctx, ByteBuf dos) {
|
||||
public void toBytes(ByteBuf dos) {
|
||||
dos.writeInt(x);
|
||||
dos.writeInt(y);
|
||||
dos.writeInt(z);
|
||||
@@ -44,7 +44,7 @@ public class PacketClientState implements IMessage {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void decode(ChannelHandlerContext ctx, ByteBuf data) {
|
||||
public void fromBytes(ByteBuf data) {
|
||||
x = data.readInt();
|
||||
y = data.readInt();
|
||||
z = data.readInt();
|
||||
|
||||
Reference in new issue
Block a user