mc-uta
v1.1.6
Published
A mineflayer plugin allowing for advanced interaction with note blocks.
Downloads
20
Readme
Installation
This plugin requires npm to install:
npm install -g mc-uta
Preview
Features
- Discover nearby note blocks and determine sound & pitch
- Import MIDI files and play them in-game using note blocks
- Automatically tune note blocks based on MIDI key range
Example
ES6:
import { mc_uta } from 'mc-uta';
import * as mineflayer from 'mineflayer';
let bot = mineflayer.createbot({
username: "robo",
});
let uta = mc_uta.plugin(bot);
bot.once('login', () =>
setTimeout(() => {
let note_blocks = uta.retreiveNearbyNoteBlocks();
uta.playMidi('midi/teddybear.mid', note_blocks);
}, 5 * 1000));
Usage
- Coming soon!