ID


ID is basically a String with namespace and path.
Examples:
  • 'minecraft:stone'
  • 'minecraft:textures/blocks/stone'
  • 'kubejs:custom_item'
This class is called ResourceLocation in mojang mappings and Identifier in Yarn.

#Properties


#.namespace: String

Namespace - of 'example:thing' namespace would be 'example'

#.path: String

Path - of 'example:thing' path would be 'thing'