Package | Description |
---|---|
com.comphenix.protocol.events | |
com.comphenix.protocol.wrappers |
Modifier and Type | Method and Description |
---|---|
StructureModifier<java.util.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(java.lang.Object handle)
Construct a new wrapped attribute around a specific NMS instance.
|
WrappedAttribute |
WrappedAttribute.withModifiers(java.util.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.
|