Package | Description |
---|---|
com.comphenix.protocol.events | |
com.comphenix.protocol.wrappers |
Modifier and Type | Method and Description |
---|---|
StructureModifier<java.util.List<WrappedWatchableObject>> |
PacketContainer.getWatchableCollectionModifier()
Retrieves a read/write structure for collections of watchable objects.
|
Modifier and Type | Method and Description |
---|---|
WrappedWatchableObject |
WrappedWatchableObject.deepClone()
Clone the current wrapped watchable object, along with any contained objects.
|
WrappedWatchableObject |
WrappedDataWatcher.removeObject(int index)
Remove a given object from the underlying DataWatcher.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,WrappedWatchableObject> |
WrappedDataWatcher.asMap()
Retrieve a view of this DataWatcher as a map.
|
static EquivalentConverter<WrappedWatchableObject> |
BukkitConverters.getWatchableObjectConverter()
Retrieve a converter for watchable objects and the respective wrapper.
|
java.util.List<WrappedWatchableObject> |
WrappedDataWatcher.getWatchableObjects()
Retrieve every watchable object in this watcher.
|
java.util.Iterator<WrappedWatchableObject> |
WrappedDataWatcher.iterator() |
Constructor and Description |
---|
WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
Create a new data watcher for a list of watchable objects.
|