| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<List<WrappedAttribute>> |
PacketContainer.getAttributeCollectionModifier()
Retrieves a read/write structure for collections of attribute snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
WrappedAttribute |
WrappedAttribute.Builder.build()
Build a new wrapped attribute with the values of this builder.
|
static WrappedAttribute |
WrappedAttribute.fromHandle(Object handle)
Construct a new wrapped attribute around a specific NMS instance.
|
WrappedAttribute |
WrappedAttribute.withModifiers(Collection<WrappedAttributeModifier> modifiers)
Construct an attribute with the same key and name, but a different list of modifiers.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalentConverter<WrappedAttribute> |
BukkitConverters.getWrappedAttributeConverter()
Retrieve a converter for wrapped attribute snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
static WrappedAttribute.Builder |
WrappedAttribute.newBuilder(WrappedAttribute template)
Construct a new wrapped attribute builder initialized to the values from a template.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.