net.minecraft.server.v1_14_R1

public class DataWatcher

ql
net.minecraft.class_2945
net.minecraft.entity.data.DataTracker
net.minecraft.network.datasync.EntityDataManager
net.minecraft.server.v1_14_R1.DataWatcher

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
field_13334
LOGGER
field_190303_a
private static final Map<Class<? extends Entity>, Integer>
b
field_13332
trackedEntities
field_187232_a
private final Entity
c
field_13333
trackedEntity
field_187233_b
private final Map<Integer, DataWatcher$Item<?>>
d
field_13331
entries
field_187234_c
private final ReadWriteLock
e
field_13335
lock
field_187235_d
private boolean
f
field_13330
empty
field_187236_e
private boolean
g
field_13329
dirty
field_187237_f

Constructor summary

ModifierConstructor
public (Entity arg0)

Method summary

Modifier and TypeMethod
public static <T> DataWatcherObject<T>
a(Class<? extends ail> arg0, qj<T> arg1)
method_12791(Class<? extends class_1297> arg0, class_2941<T> arg1)
registerData(Class<? extends Entity> arg0, TrackedDataHandler<T> arg1)
func_187226_a(Class<? extends Entity> arg0, IDataSerializer<T> arg1)
public <T> void
a(qi<T> arg0, T arg1)
method_12784(class_2940<T> arg0, T arg1)
startTracking(TrackedData<T> arg0, T arg1)
func_187214_a(DataParameter<T> arg0, T arg1)
register(DataWatcherObject<T> arg0, T arg1)
private <T> void
c(qi<T> arg0, T arg1)
method_12776(class_2940<T> arg0, T arg1)
addTrackedData(TrackedData<T> arg0, T arg1)
func_187222_c(DataParameter<T> arg0, T arg1)
registerObject(DataWatcherObject<T> arg0, T arg1)
private <T> DataWatcher$Item<T>
b(qi<T> arg0)
method_12783(class_2940<T> arg0)
getEntry(TrackedData<T> arg0)
func_187219_c(DataParameter<T> arg0)
public <T> T
a(qi<T> arg0)
method_12789(class_2940<T> arg0)
get(TrackedData<T> arg0)
func_187225_a(DataParameter<T> arg0)
get(DataWatcherObject<T> arg0)
public <T> void
b(qi<T> arg0, T arg1)
method_12778(class_2940<T> arg0, T arg1)
set(TrackedData<T> arg0, T arg1)
func_187227_b(DataParameter<T> arg0, T arg1)
set(DataWatcherObject<T> arg0, T arg1)
public boolean
a()
method_12786()
isDirty()
func_187223_a()
public static void
a(List<ql$a<?>> arg0, jd arg1)
method_12787(List<class_2945$class_2946<?>> arg0, class_2540 arg1)
entriesToPacket(List<DataTracker$Entry<?>> arg0, PacketByteBuf arg1)
func_187229_a(List<EntityDataManager$DataEntry<?>> arg0, PacketBuffer arg1)
public List<DataWatcher$Item<?>>
b()
method_12781()
getDirtyEntries()
func_187221_b()
public void
a(jd arg0)
method_12780(class_2540 arg0)
toPacketByteBuf(PacketByteBuf arg0)
func_187216_a(PacketBuffer arg0)
public List<DataWatcher$Item<?>>
c()
method_12793()
getAllEntries()
func_187231_c()
private static <T> void
a(jd arg0, ql$a<T> arg1)
method_12782(class_2540 arg0, class_2945$class_2946<T> arg1)
writeEntryToPacket(PacketByteBuf arg0, DataTracker$Entry<T> arg1)
func_187220_a(PacketBuffer arg0, EntityDataManager$DataEntry<T> arg1)
public static List<DataWatcher$Item<?>>
b(jd arg0)
method_12788(class_2540 arg0)
deserializePacket(PacketByteBuf arg0)
func_187215_b(PacketBuffer arg0)
private static <T> DataWatcher$Item<T>
a(jd arg0, int arg1, qj<T> arg2)
method_12777(class_2540 arg0, int arg1, class_2941<T> arg2)
entryFromPacket(PacketByteBuf arg0, int arg1, TrackedDataHandler<T> arg2)
func_198167_a(PacketBuffer arg0, int arg1, IDataSerializer<T> arg2)
public boolean
d()
method_12790()
isEmpty()
func_187228_d()
public void
e()
method_12792()
clearDirty()
func_187230_e()
public void
a(List<ql$a<?>> arg0)
method_12779(List<class_2945$class_2946<?>> arg0)
writeUpdatedEntries(List<DataTracker$Entry<?>> arg0)
func_187218_a(List<EntityDataManager$DataEntry<?>> arg0)
private <T> void
a(ql$a<T> arg0, ql$a<?> arg1)
method_12785(class_2945$class_2946<T> arg0, class_2945$class_2946<?> arg1)
copyToFrom(DataTracker$Entry<T> arg0, DataTracker$Entry<?> arg1)
func_187224_a(EntityDataManager$DataEntry<T> arg0, EntityDataManager$DataEntry<?> arg1)