GithubHelp home page GithubHelp logo

minestomsnippets's Introduction

MinestomSnippets

Random snippets of code I've written up while working on Minestom projects.

This repository is filled with individual classes/snippets of code. They may or may not have explanations, and hopefully I've grouped them up.

⚠️ Warning ⚠️

Do not ask me for help in implementing this code into your own project. It is expected to break. Most of my code is written for a single purpose, and not for wide-spread use- so timing efficiency isn't my highest priority. It just has to work.

Groups

Inventories

Last Updated: 03/Jan/2022

Includes:

ChestFirstOpenEvent.java

A custom event that fires whenever a chest is opened for the first time (by someone who isn't a spectator)

ChestHandler.java

My handler for Chests. Supports Double Chests and Single Chests. Will load existing data from the chests' NBT Items tag into the inventory, however- does not handle saving that data in any sorts.

Block Handlers

Last Updated: 16/Jan/2022

Includes

FireHandler.java

SignHandler.java

OpenableHandler.java

RegisterHandlers.java

Example handlers for different types of blocks.

minestomsnippets's People

Contributors

realgatt avatar

Stargazers

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