| Package | Description |
|---|---|
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.fromHandle(Object handle)
Gets the serializer associated with a given NMS handle.
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.get(Class<?> clazz)
Gets the first serializer associated with a given class.
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.get(Class<?> clazz,
boolean optional)
Gets the first serializer associated with a given class and optional state.
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getBlockDataSerializer(boolean optional)
Gets the serializer for BlockData
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getBlockPositionSerializer(boolean optional)
Gets the serializer for BlockPositions
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getChatComponentSerializer()
Gets the serializer for IChatBaseComponents
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getDirectionSerializer()
Gets the serializer for Directions
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getItemStackSerializer(boolean optional)
Gets the serializer for ItemStacks
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getNBTCompoundSerializer()
Gets the serializer for NBT Compound tags
|
WrappedDataWatcher.Serializer |
WrappedDataWatcher.WrappedDataWatcherObject.getSerializer()
Gets this watcher object's serializer.
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getUUIDSerializer(boolean optional)
Gets the serializer for UUIDs
|
static WrappedDataWatcher.Serializer |
WrappedDataWatcher.Registry.getVectorSerializer()
Gets the serializer for Vector3Fs
|
| Modifier and Type | Method and Description |
|---|---|
void |
WrappedDataWatcher.setObject(int index,
WrappedDataWatcher.Serializer serializer,
Object value)
|
void |
WrappedDataWatcher.setObject(int index,
WrappedDataWatcher.Serializer serializer,
Object value,
boolean update)
Sets the DataWatcher Item at a given index to a new value.
|
| Constructor and Description |
|---|
WrappedDataWatcherObject(int index,
WrappedDataWatcher.Serializer serializer)
Creates a new watcher object from an index and serializer.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.