net.minecraft.entity.data

public class SyncedData

te
net.minecraft.class_878
net.minecraft.entity.data.SyncedData
net.minecraft.entity.DataWatcher

Field summary

Modifier and TypeField
private final Entity
a
field_9085
entity
field_151511_a
private boolean
b
field_5348
empty
isBlank
private static final HashMap
c
field_3419
DATA_TYPES
dataTypes
private final Map
d
field_3420
entries
watchedObjects
private boolean
e
field_3421
dirty
objectChanged
private ReadWriteLock
f
field_3422
lock
lock

Constructor summary

ModifierConstructor
public (Entity entity)

Method summary

Modifier and TypeMethod
public void
a(int arg0, Object arg1)
method_2694(int arg0, Object arg1)
register(int id, Object value)
addObject(int arg0, Object arg1)
public void
a(int arg0, int arg1)
method_4488(int arg0, int arg1)
add(int type, int id)
addObjectByDataType(int arg0, int arg1)
public byte
a(int arg0)
method_2693(int arg0)
getByte(int id)
getWatchableObjectByte(int arg0)
public short
b(int arg0)
method_2701(int arg0)
getShort(int id)
getWatchableObjectShort(int arg0)
public int
c(int arg0)
method_2704(int arg0)
getInt(int id)
getWatchableObjectInt(int arg0)
public float
d(int arg0)
method_6180(int arg0)
getFloat(int id)
getWatchableObjectFloat(int arg0)
public String
e(int arg0)
method_2705(int arg0)
getString(int id)
getWatchableObjectString(int arg0)
public ItemStack
f(int arg0)
method_4490(int arg0)
getItem(int id)
getWatchableObjectItemStack(int arg0)
private SyncedData__Entry
i(int arg0)
method_2706(int arg0)
getEntry(int id)
getWatchedObject(int arg0)
public void
b(int arg0, Object arg1)
method_2702(int arg0, Object arg1)
update(int id, Object value)
updateObject(int arg0, Object arg1)
public void
h(int arg0)
method_4491(int arg0)
markDirty(int id)
setObjectWatched(int arg0)
public boolean
a()
method_2692()
isDirty()
hasObjectChanged()
public static void
a(List arg0, et arg1)
method_8378(List arg0, class_1967 arg1)
write(List entries, PacketByteBuf buffer)
writeWatchedListToPacketBuffer(List arg0, PacketBuffer arg1)
public List
b()
method_2700()
collectDirty()
getChanged()
public void
a(et arg0)
method_8376(class_1967 arg0)
write(PacketByteBuf buffer)
func_151509_a(PacketBuffer arg0)
public List
c()
method_2703()
getAll()
getAllWatched()
private static void
a(et arg0, tf arg1)
method_8377(class_1967 arg0, class_879 arg1)
writeEntry(PacketByteBuf buffer, SyncedData__Entry entry)
writeWatchableObjectToPacketBuffer(PacketBuffer arg0, DataWatcher$WatchableObject arg1)
public static List
b(et arg0)
method_8379(class_1967 arg0)
read(PacketByteBuf buffer)
readWatchedListFromPacketBuffer(PacketBuffer arg0)
public boolean
d()
method_4489()
isEmpty()
getIsBlank()
public void
e()
method_6181()
markClean()
func_111144_e()
public void
a(List arg0)
method_2698(List arg0)
update(List entries)
updateWatchedObjectsFromList(List arg0)