public class AttributesConstructors
public Attributes()Methods
Attributes fromNbtList(NbtList)Attribute[] getAttributes()Returns the attributes value.void setAttributes(Attribute[])Sets the attributes value.NbtList toNbtList()public static Attributes fromNbtList(NbtList nbt)| Parameters | ||
|---|---|---|
nbt | NbtList | |
| Returns | ||
Attributes | ||
getAttributes()
lombokSource
public Attribute[] getAttributes()Returns the attributes value.
| Returns | ||
|---|---|---|
Attribute[] | ||
Generated by Lombok's @Getter for the field attributes
public void setAttributes(Attribute[] attributes)Sets the attributes value.
| Parameters | ||
|---|---|---|
attributes | Attribute[] | |
Generated by Lombok's @Setter for the field attributes
public NbtList toNbtList()| Returns | ||
|---|---|---|
NbtList | ||