net.minecraft.network.syncher

public class SynchedEntityData

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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_13334
f_pwfjinvp
LOGGER
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
TRACKED_ENTITIES
f_135343_
private static final int
c
MAX_ID_VALUE
field_33378
f_vgksiniq
MAX_DATA_VALUE_ID
MAX_ID_VALUE
f_179843_
private final Entity
d
entity
field_13333
f_qfptogll
trackedEntity
trackedEntity
f_135344_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<SynchedEntityData$DataItem<?>>
e
itemsById
field_13331
f_ypqieorz
entries
entries
f_135345_
private final ReadWriteLock
f
lock
field_13335
f_vcibbetq
lock
lock
f_135346_
private boolean
g
isDirty
field_13329
f_kvbffwrt
dirty
dirty
f_135348_

Constructor summary

ModifierConstructor
public (Entity trackedEntity)

Method summary

Modifier and TypeMethod
public static <T> EntityDataAccessor<T>
a(Class<? extends bfh> arg0, acm<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)
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(acl<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)
startTracking(TrackedData<T> key, T initialValue)
m_135372_(C_5225_<T> p_135374_, T arg1)
private <T> void
c(acl<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> key, T value)
addTrackedData(TrackedData<T> key, T value)
m_135385_(C_5225_<T> p_135387_, T arg1)
private <T> SynchedEntityData$DataItem<T>
b(acl<T> arg0)
getItem(EntityDataAccessor<T> arg0)
method_12783(class_2940<T> arg0)
m_otydaoab(C_rinmcaxy<T> arg0)
getEntry(TrackedData<T> key)
getEntry(TrackedData<T> key)
m_135379_(C_5225_<T> arg0)
public <T> T
a(acl<T> arg0)
get(EntityDataAccessor<T> arg0)
method_12789(class_2940<T> arg0)
m_jnyljhzp(C_rinmcaxy<T> arg0)
get(TrackedData<T> data)
get(TrackedData<T> data)
m_135370_(C_5225_<T> arg0)
public <T> void
b(acl<T> arg0, T arg1)
set(EntityDataAccessor<T> arg0, T arg1)
method_12778(class_2940<T> arg0, T arg1)
m_hxyjvyle(C_rinmcaxy<T> arg0, T arg1)
set(TrackedData<T> key, T value)
set(TrackedData<T> data, T value)
m_135381_(C_5225_<T> p_135383_, T arg1)
public <T> void
a(acl<T> arg0, T arg1, boolean arg2)
set(EntityDataAccessor<T> arg0, T arg1, boolean arg2)
method_49743(class_2940<T> arg0, T arg1, boolean arg2)
m_uavdsagd(C_rinmcaxy<T> arg0, T arg1, boolean arg2)
set(TrackedData<T> key, T value, boolean force)
set(TrackedData<T> data, T value, boolean alwaysSet)
m_276349_(C_5225_<T> p_276363_, T p_276370_, boolean arg2)
public boolean
a()
isDirty()
method_12786()
m_jwgormpp()
isDirty()
isDirty()
m_135352_()
public List<SynchedEntityData$DataValue<?>>
b()
packDirty()
method_12781()
m_xntlavme()
getDirtyEntries()
getDirtyEntries()
m_135378_()
public List<SynchedEntityData$DataValue<?>>
c()
getNonDefaultValues()
method_46357()
m_inhpjhpj()
getChangedEntries()
serializeData()
m_252804_()
public void
a(List<aco$b<?>> arg0)
assignValues(List<SynchedEntityData$DataValue<?>> arg0)
method_12779(List<class_2945$class_7834<?>> arg0)
m_xswshmup(List<C_pyoaoolj$C_ujwzqgsv<?>> arg0)
writeUpdatedEntries(List<DataTracker$SerializedEntry<?>> entries)
writeUpdatedEntries(List<DataTracker$SerializedEntry<?>> serializedEntries)
m_135356_(List<C_5247_$C_252362_<?>> arg0)
private <T> void
a(aco$a<T> arg0, aco$b<?> arg1)
assignValue(SynchedEntityData$DataItem<T> arg0, SynchedEntityData$DataValue<?> arg1)
method_12785(class_2945$class_2946<T> arg0, class_2945$class_7834<?> arg1)
m_lnfpmygi(C_pyoaoolj$C_wtgrkbrh<T> arg0, C_pyoaoolj$C_ujwzqgsv<?> arg1)
copyToFrom(DataTracker$Entry<T> to, DataTracker$SerializedEntry<?> from)
copyToFrom(DataTracker$Entry<T> entry, DataTracker$SerializedEntry<?> serializedEntry)
m_135375_(C_5247_$C_5248_<T> p_254484_, C_5247_$C_252362_<?> arg1)
public boolean
d()
isEmpty()
method_12790()
m_fgmvphsl()
isEmpty()
isEmpty()
m_135388_()