| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<List<WrappedWatchableObject>> |
PacketContainer.getWatchableCollectionModifier()
Retrieves a read/write structure for collections of watchable objects.
|
| Modifier and Type | Method and Description |
|---|---|
WrappedWatchableObject |
WrappedDataWatcher.getWatchableObject(int index)
Gets the item at a given index.
|
WrappedWatchableObject |
WrappedDataWatcher.remove(int index)
Removes the item at a given index.
|
WrappedWatchableObject |
WrappedDataWatcher.removeObject(int index)
Deprecated.
Renamed to
WrappedDataWatcher.remove(int) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,WrappedWatchableObject> |
WrappedDataWatcher.asMap()
Gets the contents of this DataWatcher as a map.
|
static EquivalentConverter<WrappedWatchableObject> |
BukkitConverters.getWatchableObjectConverter()
Retrieve a converter for watchable objects and the respective wrapper.
|
List<WrappedWatchableObject> |
WrappedDataWatcher.getWatchableObjects()
Gets a list of the contents of this DataWatcher.
|
Iterator<WrappedWatchableObject> |
WrappedDataWatcher.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
WrappedDataWatcher.setObject(int index,
WrappedWatchableObject value)
|
void |
WrappedDataWatcher.setObject(int index,
WrappedWatchableObject value,
boolean update)
Sets the DataWatcher Item at a given index to a new value.
|
void |
WrappedDataWatcher.setObject(WrappedDataWatcher.WrappedDataWatcherObject object,
WrappedWatchableObject value)
|
void |
WrappedDataWatcher.setObject(WrappedDataWatcher.WrappedDataWatcherObject object,
WrappedWatchableObject value,
boolean update)
Sets the DataWatcher Item associated with a given watcher object to a new value.
|
| Constructor and Description |
|---|
WrappedDataWatcher(List<WrappedWatchableObject> objects)
Constructs a new DataWatcher using a fake lightning entity and a given
list of watchable objects.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.