Datapack
Introduction
Sandstone features fully-typed resources for the entire datapack. Like for all resources, you need to provide a name, which can include a namespace and folders. You then provide the definition of the resource.
Functions are central enough to warrant their own section - see Functions.
Anything unsupported can simply be placed in the external resources directory,
exported via RawResource, or fully abstracted via CustomResourceClass - see
Custom Resources.
Supported resources
- Advancements
- Banner Patterns
- Chat Types
- Damage Types
- Decorated Pot Patterns
- Dialogs
- Enchantments (and Enchantment Providers)
- Instruments
- Item Modifiers
- Jukebox Songs
- Loot Tables
- Predicates
- Recipes
- Slot Sources
- Structures
- Sulfur Cube Archetypes
- Tags
- Test Environments & Test Instances (Gametest)
- Timelines
- Trade Sets
- Trial Spawners
- Trim Materials & Trim Patterns
- Variants
- Villager Trades
- World Clocks
Resources without a link yet are fully typed and documented via autocompletion/jsdoc in the meantime, or by looking at the relevant Minecraft wiki article.