emerald-extension / cn.berberman.emerald.extension / NBTModifier / NBTTagModifier
NBTTagModifier
class NBTTagModifier
Modify NBT Tag.
See Also
Author berberman
Types
| INBTTagName | interface INBTTagNameAn enum which list data of NBT Name should implements this interface. |
| NBTType | enum class NBTType : INBTTagNameNBT modify type enumeration. |
| Slot | enum class Slot : INBTTagNameNBT slot enumeration. |
Constructors
| <init> | NBTTagModifier()Modify NBT Tag. |
Properties
| amount | var amount: IntThe value of NBT Tag |
| operation | var operation: Booleantrue represents use amount false represents use % |
| slot | var slot: SlotWhich slot where the item in this NBT Tag take effect. |
| type | var type: NBTTypeWhich NBT Tag type you want to modify. |
| uuidLeast | var uuidLeast: IntuuidLeast value. |
| uuidMost | var uuidMost: IntuuidMost value. |
Companion Object Properties
| DEFAULT_OPERATION | const val DEFAULT_OPERATION: BooleanDefault operation value |
| DEFAULT_UUID_LEAST | const val DEFAULT_UUID_LEAST: IntDefault uuid least value |
| DEFAULT_UUID_MOST | const val DEFAULT_UUID_MOST: IntDefault uuid most value |