net.minecraft.network.syncher

public class SynchedEntityData

aka
net.minecraft.network.syncher.SynchedEntityData
net.minecraft.class_2945
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
LOGGER
f_135342_
private static final int
b
MAX_ID_VALUE
field_33378
MAX_DATA_VALUE_ID
f_179843_
static final ClassTreeIdRegistry
c
ID_REGISTRY
field_49021
CLASS_TO_LAST_ID
f_316642_
private final SyncedDataHolder
d
entity
field_13333
trackedEntity
f_135344_
private final SynchedEntityData$DataItem<?>[]
e
itemsById
field_13331
entries
f_135345_
private boolean
f
isDirty
field_13329
dirty
f_135348_

Constructor summary

ModifierConstructor
(SyncedDataHolder trackedEntity, SynchedEntityData$DataItem<?>[] entries)

Method summary

Modifier and TypeMethod
public static <T> EntityDataAccessor<T>
a(Class<? extends ajz> arg0, ajx<T> arg1)
defineId(Class<? extends SyncedDataHolder> arg0, EntityDataSerializer<T> arg1)
method_12791(Class<? extends class_9221> arg0, class_2941<T> arg1)
registerData(Class<? extends DataTracked> entityClass, TrackedDataHandler<T> dataHandler)
m_135353_(Class<? extends C_313530_> p_135354_, C_5226_<T> p_135355_)
private <T> SynchedEntityData$DataItem<T>
b(ajw<T> arg0)
getItem(EntityDataAccessor<T> arg0)
method_12783(class_2940<T> arg0)
getEntry(TrackedData<T> key)
m_135379_(C_5225_<T> arg0)
public <T> T
a(ajw<T> arg0)
get(EntityDataAccessor<T> arg0)
method_12789(class_2940<T> arg0)
get(TrackedData<T> data)
m_135370_(C_5225_<T> arg0)
public <T> void
a(ajw<T> arg0, T arg1)
set(EntityDataAccessor<T> arg0, T arg1)
method_12778(class_2940<T> arg0, T arg1)
set(TrackedData<T> key, T value)
m_135381_(C_5225_<T> p_135383_, T arg1)
public <T> void
a(ajw<T> arg0, T arg1, boolean arg2)
set(EntityDataAccessor<T> arg0, T arg1, boolean arg2)
method_49743(class_2940<T> arg0, T arg1, boolean arg2)
set(TrackedData<T> key, T value, boolean force)
m_276349_(C_5225_<T> p_276363_, T p_276370_, boolean arg2)
public boolean
a()
isDirty()
method_12786()
isDirty()
m_135352_()
public List<SynchedEntityData$DataValue<?>>
b()
packDirty()
method_12781()
getDirtyEntries()
m_135378_()
public List<SynchedEntityData$DataValue<?>>
c()
getNonDefaultValues()
method_46357()
getChangedEntries()
m_252804_()
public void
a(List<aka$c<?>> arg0)
assignValues(List<SynchedEntityData$DataValue<?>> arg0)
method_12779(List<class_2945$class_7834<?>> arg0)
writeUpdatedEntries(List<DataTracker$SerializedEntry<?>> entries)
m_135356_(List<C_5247_$C_252362_<?>> arg0)
private <T> void
a(aka$b<T> arg0, aka$c<?> arg1)
assignValue(SynchedEntityData$DataItem<T> arg0, SynchedEntityData$DataValue<?> arg1)
method_12785(class_2945$class_2946<T> arg0, class_2945$class_7834<?> arg1)
copyToFrom(DataTracker$Entry<T> to, DataTracker$SerializedEntry<?> from)
m_135375_(C_5247_$C_5248_<T> p_254484_, C_5247_$C_252362_<?> arg1)