net.minecraft.network.syncher

public class SynchedEntityData

alg
net.minecraft.network.syncher.SynchedEntityData
net.minecraft.class_2945
net.minecraft.entity.data.DataTracker
net.minecraft.network.syncher.DataWatcher

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_13334
LOGGER
private static final int
b
MAX_ID_VALUE
field_33378
MAX_DATA_VALUE_ID
static final ClassTreeIdRegistry
c
ID_REGISTRY
field_49021
CLASS_TO_LAST_ID
private final SyncedDataHolder
d
entity
field_13333
trackedEntity
private final SynchedEntityData$DataItem<?>[]
e
itemsById
field_13331
entries
private boolean
f
isDirty
field_13329
dirty

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T> EntityDataAccessor<T>
a(Class<? extends alf> arg0, ald<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)
private <T> SynchedEntityData$DataItem<T>
b(alc<T> arg0)
getItem(EntityDataAccessor<T> arg0)
method_12783(class_2940<T> arg0)
getEntry(TrackedData<T> key)
public <T> T
a(alc<T> arg0)
get(EntityDataAccessor<T> arg0)
method_12789(class_2940<T> arg0)
get(TrackedData<T> data)
public <T> void
a(alc<T> arg0, T arg1)
set(EntityDataAccessor<T> arg0, T arg1)
method_12778(class_2940<T> arg0, T arg1)
set(TrackedData<T> key, T value)
public <T> void
a(alc<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)
public boolean
a()
isDirty()
method_12786()
isDirty()
public List<SynchedEntityData$DataValue<?>>
b()
packDirty()
method_12781()
getDirtyEntries()
public List<SynchedEntityData$DataValue<?>>
c()
getNonDefaultValues()
method_46357()
getChangedEntries()
public void
a(List<alg$c<?>> arg0)
assignValues(List<SynchedEntityData$DataValue<?>> arg0)
method_12779(List<class_2945$class_7834<?>> arg0)
writeUpdatedEntries(List<DataTracker$SerializedEntry<?>> entries)
private <T> void
a(alg$b<T> arg0, alg$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)