Code Monkey home page Code Monkey logo

blockbench-plugin-template's Introduction

Blockbench Plugin Template

A TypeScript & ESBuild Blockbench plugin template.

Includes everything you need to get started and more with Blockbench plugin development!

Utilities

  • SnaveSutit/blockbench-types - The most up-to-date Blockbench types available, improvements and fixes almost every week!

  • util/console - Adds a couple functions for wrapping the console output of a function in a console group without having to remember to open and close it properly.

  • util/subscribable - A simple typed subscribable class.

  • util/moddingTools - A library of tools that make modding Blockbench much easier. From the simple action of creating an .. Action, to the advanced trickery of injecting custom code into built-in class functions. This library will be super helpful to practically anyone attempting to build a plugin!

  • util/events - A simple event manager. that provides much better type completion than the built-in one in Blockbench.

Setup

  • Create a new repo using this template
  • Run yarn to initialize the development enviornment
  • Configure the package.json to use your information
  • Configure the plugin definition in index.ts
  • Rename the global variable in global.d.ts to match your plugin's name

Build commands

  • yarn build:dev - Builds in dev mode and watches for file changes
  • yarn build:prod - Builds a production version of the plugin and exits
  • yarn format - Formats all of the source files using Prettier

blockbench-plugin-template's People

Contributors

snavesutit avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.