| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<WrappedDataWatcher> |
PacketContainer.getDataWatcherModifier()
Retrieves a read/write structure for data watchers.
|
| Modifier and Type | Method and Description |
|---|---|
WrappedDataWatcher |
WrappedDataWatcher.deepClone()
Clone the content of the current DataWatcher.
|
static WrappedDataWatcher |
WrappedDataWatcher.getEntityWatcher(org.bukkit.entity.Entity entity)
Retrieve the data watcher associated with an entity.
|
static WrappedDataWatcher |
WrappedDataWatcher.newWithEntity(org.bukkit.entity.Entity entity)
Construct a new data watcher with the given entity.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalentConverter<WrappedDataWatcher> |
BukkitConverters.getDataWatcherConverter()
Retrieve a converter for the NMS DataWatcher class and our wrapper.
|