More progress towards multiplayer
parent
dbbe82936a
commit
327afae1d2
@ -0,0 +1,34 @@
|
||||
package net.brokenmoon.afloydwiremod.packet;
|
||||
|
||||
import net.brokenmoon.afloydwiremod.mixinInterfaces.INetHandler;
|
||||
import net.minecraft.src.NetHandler;
|
||||
import net.minecraft.src.Packet;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class WiremodSettingsGuiPacket extends Packet {
|
||||
public WiremodSettingsGuiPacket(int xCoord, int yCoord, int zCoord) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readPacketData(DataInputStream dataInputStream) throws IOException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writePacketData(DataOutputStream dataOutputStream) throws IOException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processPacket(NetHandler netHandler) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPacketSize() {
|
||||
return 0;
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package net.brokenmoon.afloydwiremod.packet;
|
||||
|
||||
import net.brokenmoon.afloydwiremod.mixinInterfaces.INetHandler;
|
||||
import net.minecraft.src.NetHandler;
|
||||
import net.minecraft.src.Packet;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class WiremodWireGuiPacket extends Packet {
|
||||
@Override
|
||||
public void readPacketData(DataInputStream dataInputStream) throws IOException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writePacketData(DataOutputStream dataOutputStream) throws IOException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processPacket(NetHandler netHandler) {
|
||||
((INetHandler)netHandler).wiremodHandleWireToolSettingsGui(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPacketSize() {
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue