net.minecraft.network.syncher

public class SynchedEntityData

wi
net.minecraft.network.syncher.SynchedEntityData
net.minecraft.class_2945
net.minecraft.unmapped.C_pyoaoolj
net.minecraft.entity.data.DataTracker
net.minecraft.src.C_5247_
net.minecraft.network.syncher.DataWatcher

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_13334
f_pwfjinvp
LOGGER
f_135342_
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<Class<? extends Entity>>
b
ENTITY_ID_POOL
field_13332
f_jvfomjdd
TRACKED_ENTITIES
f_135343_
private static final int
c
EOF_MARKER
field_33377
f_bypdyqxw
field_33377
f_179842_
private static final int
d
MAX_ID_VALUE
field_33378
f_vgksiniq
field_33378
f_179843_
private final Entity
e
entity
field_13333
f_qfptogll
trackedEntity
f_135344_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<SynchedEntityData$DataItem<?>>
f
itemsById
field_13331
f_ypqieorz
entries
f_135345_
private final ReadWriteLock
g
lock
field_13335
f_vcibbetq
lock
f_135346_
private boolean
h
isEmpty
field_13330
f_zvmkwbge
empty
f_135347_
private boolean
i
isDirty
field_13329
f_kvbffwrt
dirty
f_135348_

Constructor summary

ModifierConstructor
public (Entity trackedEntity)

Method summary

Modifier and TypeMethod
public static <T> EntityDataAccessor<T>
a(Class<? extends atf> arg0, wg<T> arg1)
defineId(Class<? extends Entity> arg0, EntityDataSerializer<T> arg1)
method_12791(Class<? extends class_1297> arg0, class_2941<T> arg1)
m_ukdkpyuu(Class<? extends C_astfners> arg0, C_xrzqxzbg<T> arg1)
registerData(Class<? extends Entity> entityClass, TrackedDataHandler<T> dataHandler)
m_135353_(Class<? extends C_507_> p_135354_, C_5226_<T> p_135355_)
public <T> void
a(wf<T> arg0, T arg1)
define(EntityDataAccessor<T> arg0, T arg1)
method_12784(class_2940<T> arg0, T arg1)
m_oavfssst(C_rinmcaxy<T> arg0, T arg1)
startTracking(TrackedData<T> key, T initialValue)
m_135372_(C_5225_<T> p_135374_, T arg1)
register(DataWatcherObject<T> arg0, T arg1)
private <T> void
c(wf<T> arg0, T arg1)
createDataItem(EntityDataAccessor<T> arg0, T arg1)
method_12776(class_2940<T> arg0, T arg1)
m_tmhalfev(C_rinmcaxy<T> arg0, T arg1)
addTrackedData(TrackedData<T> arg0, T arg1)
m_135385_(C_5225_<T> p_135387_, T arg1)
registerObject(DataWatcherObject<T> arg0, T arg1)
private <T> SynchedEntityData$DataItem<T>
b(wf<T> arg0)
getItem(EntityDataAccessor<T> arg0)
method_12783(class_2940<T> arg0)
m_otydaoab(C_rinmcaxy<T> arg0)
getEntry(TrackedData<T> arg0)
m_135379_(C_5225_<T> arg0)
public <T> T
a(wf<T> arg0)
get(EntityDataAccessor<T> arg0)
method_12789(class_2940<T> arg0)
m_jnyljhzp(C_rinmcaxy<T> arg0)
get(TrackedData<T> data)
m_135370_(C_5225_<T> arg0)
get(DataWatcherObject<T> arg0)
public <T> void
b(wf<T> arg0, T arg1)
set(EntityDataAccessor<T> arg0, T arg1)
method_12778(class_2940<T> arg0, T arg1)
m_nlsgrxtb(C_rinmcaxy<T> arg0, T arg1)
set(TrackedData<T> key, T value)
m_135381_(C_5225_<T> p_135383_, T arg1)
set(DataWatcherObject<T> arg0, T arg1)
public boolean
a()
isDirty()
method_12786()
m_jwgormpp()
isDirty()
m_135352_()
public static void
a(List<wi$a<?>> arg0, og arg1)
pack(List<SynchedEntityData$DataItem<?>> arg0, FriendlyByteBuf arg1)
method_12787(List<class_2945$class_2946<?>> arg0, class_2540 arg1)
m_rqbytber(List<C_pyoaoolj$C_wtgrkbrh<?>> arg0, C_idfydwco arg1)
entriesToPacket(List<DataTracker$Entry<?>> arg0, PacketByteBuf arg1)
m_135358_(List<C_5247_$C_5248_<?>> p_135359_, C_4983_ p_135360_)
public List<SynchedEntityData$DataItem<?>>
b()
packDirty()
method_12781()
m_xntlavme()
getDirtyEntries()
m_135378_()
public List<SynchedEntityData$DataItem<?>>
c()
getAll()
method_12793()
m_kfshrjvp()
getAllEntries()
m_135384_()
getAll()
private static <T> void
a(og arg0, wi$a<T> arg1)
writeDataItem(FriendlyByteBuf arg0, SynchedEntityData$DataItem<T> arg1)
method_12782(class_2540 arg0, class_2945$class_2946<T> arg1)
m_vzlqutih(C_idfydwco arg0, C_pyoaoolj$C_wtgrkbrh<T> arg1)
writeEntryToPacket(PacketByteBuf buf, DataTracker$Entry<T> entry)
m_135367_(C_4983_ p_135368_, C_5247_$C_5248_<T> p_135369_)
public static List<SynchedEntityData$DataItem<?>>
a(og arg0)
unpack(FriendlyByteBuf arg0)
method_12788(class_2540 arg0)
m_coqixnxf(C_idfydwco arg0)
deserializePacket(PacketByteBuf buf)
m_135361_(C_4983_ p_135362_)
private static <T> SynchedEntityData$DataItem<T>
a(og arg0, int arg1, wg<T> arg2)
genericHelper(FriendlyByteBuf arg0, int arg1, EntityDataSerializer<T> arg2)
method_12777(class_2540 arg0, int arg1, class_2941<T> arg2)
m_ritxbsbd(C_idfydwco arg0, int arg1, C_xrzqxzbg<T> arg2)
entryFromPacket(PacketByteBuf buf, int arg1, TrackedDataHandler<T> arg2)
m_135363_(C_4983_ p_135364_, int p_135365_, C_5226_<T> p_135366_)
public void
a(List<wi$a<?>> arg0)
assignValues(List<SynchedEntityData$DataItem<?>> arg0)
method_12779(List<class_2945$class_2946<?>> arg0)
m_xswshmup(List<C_pyoaoolj$C_wtgrkbrh<?>> arg0)
writeUpdatedEntries(List<DataTracker$Entry<?>> arg0)
m_135356_(List<C_5247_$C_5248_<?>> arg0)
private <T> void
a(wi$a<T> arg0, wi$a<?> arg1)
assignValue(SynchedEntityData$DataItem<T> arg0, SynchedEntityData$DataItem<?> arg1)
method_12785(class_2945$class_2946<T> arg0, class_2945$class_2946<?> arg1)
m_lnfpmygi(C_pyoaoolj$C_wtgrkbrh<T> arg0, C_pyoaoolj$C_wtgrkbrh<?> arg1)
copyToFrom(DataTracker$Entry<T> arg0, DataTracker$Entry<?> arg1)
m_135375_(C_5247_$C_5248_<T> p_135377_, C_5247_$C_5248_<?> arg1)
public boolean
d()
isEmpty()
method_12790()
m_fgmvphsl()
isEmpty()
m_135388_()
public void
e()
clearDirty()
method_12792()
m_irpjuiwi()
clearDirty()
m_135389_()