Package net.minecraft.src
Class DataWatcher
- java.lang.Object
-
- net.minecraft.src.DataWatcher
-
public class DataWatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataWatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObject(int var1, java.lang.Object var2)
java.util.ArrayList
getChangedObjects()
byte
getWatchableObjectByte(int var1)
int
getWatchableObjectInt(int var1)
short
getWatchableObjectShort(int var1)
java.lang.String
getWatchableObjectString(int var1)
boolean
hasObjectChanged()
static java.util.List
readWatchableObjects(java.io.DataInputStream var0)
void
updateObject(int var1, java.lang.Object var2)
void
updateWatchedObjectsFromList(java.util.List<WatchableObject> var1)
static void
writeObjectsInListToStream(java.util.List var0, java.io.DataOutputStream var1)
void
writeWatchableObjects(java.io.DataOutputStream var1)
-
-
-
Method Detail
-
addObject
public void addObject(int var1, java.lang.Object var2)
-
getWatchableObjectByte
public byte getWatchableObjectByte(int var1)
-
getWatchableObjectShort
public short getWatchableObjectShort(int var1)
-
getWatchableObjectInt
public int getWatchableObjectInt(int var1)
-
getWatchableObjectString
public java.lang.String getWatchableObjectString(int var1)
-
updateObject
public void updateObject(int var1, java.lang.Object var2)
-
hasObjectChanged
public boolean hasObjectChanged()
-
writeObjectsInListToStream
public static void writeObjectsInListToStream(java.util.List var0, java.io.DataOutputStream var1) throws java.io.IOException
- Throws:
java.io.IOException
-
getChangedObjects
public java.util.ArrayList getChangedObjects()
-
writeWatchableObjects
public void writeWatchableObjects(java.io.DataOutputStream var1) throws java.io.IOException
- Throws:
java.io.IOException
-
readWatchableObjects
public static java.util.List readWatchableObjects(java.io.DataInputStream var0) throws java.io.IOException
- Throws:
java.io.IOException
-
updateWatchedObjectsFromList
@Client public void updateWatchedObjectsFromList(java.util.List<WatchableObject> var1)
-
-