Giter Club home page Giter Club logo

sandstone's Introduction

Sandstone

GitHub GitHub last commit Version Discord

Sandstone is a Typescript library for Minecraft Datapacks. It allows easy creation, debug and sharing of Minecraft functions, loot tables, predicates etc...

Interested? Join our Discord:

Discord

Features

๐Ÿ’ป Perfect autocompletion & IDE support

Sandstone tells you what a command expects, and autocompletes complicated arguments for you.

You don't need to remember commands syntax anymore.

autocomplete

This autocompletion works for all resources: commands, predicates, loot tables, advancements...

๐Ÿ“‚ Better organisation of resources

You can have multiple functions, advancements, loot tables per files - or you can keep the vanilla organisation, and have only 1 per file. Sandstone allows you to organise your data pack as you prefer, without sticking to Mojang's conventions.

You also benefit from all the capabilities of a real programming language: multiline comments, indentation, documentation...

๐Ÿš€ Useful and heavily optimized abstractions

Sandstone includes common and heavily optimized abstractions:

  • Control statements, with if, else if and else
  • Boolean logic, with or, and and not
  • Loops, with while and for
  • Sleep statement, which waits a certain time before running the next commands

These statements are most of the time more optimized than hand-written code, since they switch between different implementations to get the fastest one. They have been studied and designed for performance.

However, you stay free: you can keep using only vanilla commands, if you prefer - Sandstone does not get in your way.

๐Ÿ‘ Easy to share

Sharing commands has never been easier. Just publish your functions on NPM, and everyone can use them to improve their own datapacks. Whether it's some common code like raycasting, or some new abstractions like better /tellraw, the Sandstone ecosystem grows by the day.

You can finally stop reinventing the wheel.

Supporting Sandstone

If you want to support Sandstone, the simplest way is to star the repository! It's actually very encouraging.

GitHub Repo stars

Getting started

See the Getting Started section on sandstone.dev to start using Sandstone!

sandstone's People

Contributors

themrzz avatar nphhpn avatar mulverinex avatar ianssenne avatar theeternalshine avatar grantgryczan avatar aeryle avatar beatso avatar dependabot[bot] avatar jimbuck avatar r-rajaneesh avatar ncklwse avatar soqb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.