public class EntityTrackerUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Modifier and Type | Field and Description |
---|---|
private int |
id |
private List<DataTracker.Entry<?>> |
trackedValues |
Constructor and Description |
---|
EntityTrackerUpdateS2CPacket() |
EntityTrackerUpdateS2CPacket(int id,
DataTracker tracker,
boolean forceUpdateAll) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
List<DataTracker.Entry<?>> |
getTrackedValues() |
int |
id() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private int id
private List<DataTracker.Entry<?>> trackedValues
public EntityTrackerUpdateS2CPacket()
public EntityTrackerUpdateS2CPacket(int id, DataTracker tracker, boolean forceUpdateAll)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientPlayPacketListener>
IOException
public void apply(ClientPlayPacketListener clientPlayPacketListener)
apply
in interface Packet<ClientPlayPacketListener>
@Environment(value=CLIENT) public List<DataTracker.Entry<?>> getTrackedValues()
@Environment(value=CLIENT) public int id()