▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/MidiReceiver
MidiReceiver

MidiReceiver

The MIDIReceiver plugin plays Minecraft note block sounds based on real-time MIDI data sent from the client

41
0

🎼 MIDIReceiver (Spigot Plugin)

The MIDIReceiver plugin listens for midi:action plugin messages and plays matching Minecraft note block sounds in real time.

📡 Incoming Plugin Message: midi:action

The plugin receives MidiAction packets from the client mod and triggers sounds accordingly.

MidiAction Payload Structure

record MidiAction(
    String name,
    int command,
    int channel,
    int data1,
    int data2
)
FieldTypeDescription
nameStringName of the MIDI device
commandintMIDI command (e.g., 144 = Note On)
channelintMIDI channel (0–15)
data1intNote number
data2intVelocity

🔊 MIDI to Minecraft

If command == 144 and velocity > 0, the plugin maps data1 (MIDI note) to Minecraft note block pitch 0–24 and plays the note using player.playNote(...).

✅ Requirements

  • A Spigot/Paper server (1.20+ recommended)
  • A client mod that sends midi:action plugin messages

Need help or want to contribute? Check out the repository or open an issue!

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:LicenseRef-NC-MIT
Опубликован:8 месяцев назад
Обновлён:8 месяцев назад
Главная