Git Product home page Git Product logo

kappacraft's Introduction

KappaCraft

This is a repository for generating minecraft mcfunctions. Works for java version 1.16.4.

Kappa Mart

Shop sign generation. Uses python dictionaries to create mcfunctions that modify signs into right-clickable purchase signs. Relies on the Money scoreboard. Documentation later...

Skills

Documentation later...

Loot

Documentation later...

Songs

The songs module generates mcfunctions from note block studio files that can be played in-game. These songs are played in-game using two player scoreboards timer and MusicID. The timer scoreboard acts as a metronome. It keeps track of when to play notes. The MusicId scoreboard acts as a radio channel. It ensures only one selected song will be played for a given player. The value 0 for MusicID is reserved for no music. Here's a quick overview of the files you'll be using.

In-game Setup

Create scoreboards timer and MusicID initialized to 0.

buildsong.py

Info

This is an inefficient solution for playing songs with many notes.

Input

A note block studio file (new or old format)

Output

An mcfunction with the naming scheme "MusicID_NameOfNoteBlockStudioSongFile".

Usage

  1. To generate the mcfunction in the current directory, run python buildsong.py YourNoteBlockStudioFile.nbs.
  2. Place the mcfunction in the datapack's song folder.
  3. Call the /reload command to update the datapack.
  4. Create a command-block in-game with the command function datapack:songs/MusicID_NameOfSong.
  5. Set the command block to repeat without needing redstone. That's it. You should be hearing the song you have made.

buildsongtree.py

Creates a binary search tree of mcfunctions that Documentation later...

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.