Resource Pack
Introduction
Sandstone features fully-typed resources for the entire resource pack. 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.
Example
SoundEvent('hostile', 'slenderman_creeps', { addToSounds: true })
After placing the sound file in resources/resourcepack/assets/default/sounds/hostile/slenderman_creeps.ogg
and invoking this, Sandstone will automatically register the sound as an event.
Supported Resources
- Atlases
- Block States
- Fonts
- Languages/Translations
- Models
- Sounds
- Texts
- Textures
Anything unsupported can simply be placed in the external resources directory, exported via RawResource
, or fully abstracted via CustomResourceClass
!