Skip to main content

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

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.