Optional
data: anyPrivate
#dataReadonly
dataReadonly
datapackReadonly
headerReadonly
keyReadonly
projectPrivate
forPrivate
getIterate over the relationship from this datapack to other objects
Private
getPrivate
getPrivate
getIterate over the relationship from this datapack to other objects; the generator yields all references found and does not remove any duplicates
Private
replaceReplace the global key on the specified object and all of it's child datapacks. with a new global key. This is useful when you want to clone a datapack. Optionally, you can provide a new global key to use otherwise a new one will be generated in UUID format.
Datapack to replace global key on
Field name of the global key
Optional
newGlobalKey: stringOptional new global key to use
The new global key
Private
setUpdates the global key of this datapack in-place and all of it's child datapacks. Use with caution as this will change the global key causing the datapack to be re-inserted on the next deployment.
Optional
fieldName: stringField name to use as global key. If not specified, all global key fields are updated.
Simple representation of a datapack; maps common values to properties. Source of the datapsck can be accessed through the
data
property