split client and server 2

This commit is contained in:
Sen 2025-05-05 18:27:06 +02:00
parent 2fa521c3d1
commit b17efb5b07
158 changed files with 1080 additions and 515 deletions

View file

@ -4,12 +4,12 @@ import java.io.IOException;
import game.entity.Entity;
import game.nbt.NBTTagCompound;
import game.network.ClientPlayer;
import game.network.IClientPlayer;
import game.network.Packet;
import game.network.PacketBuffer;
import game.world.World;
public class S43PacketUpdateEntityNBT implements Packet<ClientPlayer>
public class S43PacketUpdateEntityNBT implements Packet<IClientPlayer>
{
private int entityId;
private NBTTagCompound tagCompound;
@ -45,7 +45,7 @@ public class S43PacketUpdateEntityNBT implements Packet<ClientPlayer>
/**
* Passes this Packet on to the NetHandler for processing.
*/
public void processPacket(ClientPlayer handler)
public void processPacket(IClientPlayer handler)
{
handler.handleEntityNBT(this);
}