Skip to main content

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.

SoundEvent('hostile', 'slenderman_creeps', undefined, { 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
  • Equipment
  • Fonts
  • Item Model Definitions
  • Languages/Translations
  • Models
  • Particles
  • Post Effects
  • Shaders
  • Sounds
  • Texts
  • Textures
  • Waypoint Styles

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.

Anything unsupported can simply be placed in the external resources directory, exported via RawResource, or fully abstracted via CustomResourceClass - see Custom Resources.