Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Genshin Instruments

Genshin Instruments

A mod that adds Genshin Impact's set of instruments into Minecraft!

201.9k
181
Equipment
Library
Social

Compatibility

Minecraft: Java Edition

1.21.x
1.20.4–1.20.6
1.20–1.20.2
1.19.2–1.19.4
1.18.2

Platforms

Fabric
Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

StavWasPlayZ
StavWasPlayZ Owner

Details

Licensed CC-BY-NC-4.0
Published 2 years ago
Updated 4 hours ago
DescriptionGalleryChangelogVersions
All versions[FABRIC] v4.0 - 1.20 + 1.20.1

[FABRIC] v4.0 - 1.20 + 1.20.1

Download
Report

Changelog

Genshin Instruments v4.0

Hey everyone! Sorry I'm late for the game!

This update introduces the long-awaited Nightwind Horn!

Enjoy thy playings!~

Changes

  • Added the Nightwind Horn
    • The Nightwind Horn is a sustainable instrument. You can hold it to make a loooong sound!
    • The longer you press, the more echo there will eventually be.
    • The sound decays after a period of time.
    • Textures, as always, made by the awesome Gen!
  • Added pitch-fixed note layout variants for ABC and do re mi

MIDI

  • MIDI overflows now sound much better more polished.
    • Before, it would sample the current sound in the octave; and pitch it by 1 octave.
    • Now, the sampled sound is always the highest / lowest in the instrument, pitched by the offset of the note pressed.
      • For example, to play C4, we take B3 - then pitch it up by 1 to get C4.
      • Previously, would take C3, then pitch it up by 12 to get a C4.
  • The default sensitivty level is now 80%

Fixed

  • Game crashing for some PCs not using English as their language locale
  • Players being seen as not playing and not being heard when joining a world or dimension where a player has already entered playing mode
  • Incorrect naming of Arataki's Great and Glorious Drum
  • Some instrument option toggles' previous value being discarded on screen refresh
  • Some MIDI devices' names having weird whitespaces
  • [FABRIC] Mixin conflicts on Entity#getPersistentData

API Changes

Wayy too many lmao.
If you run into migration problems, feel free to contact me, and I'll help you out resolve it directly. I'll dedicate some time to update the wiki in the future.

Noteable Changes:

  • Added the ability to implement custom holdable instruments and sounds via HeldNoteSoundRegistrar
  • All instrument packet utility methods have been moved from the generic ServerUtil to their respective sound type packet util classes (NoteSoundPacketUtil, HeldNoteSoundPacketUtil).
  • Added InstrumentScreenRegistry in place of the old "load it yourself" method. See implementation for more details.
  • [FABRIC ONLY] To add an item to the Instruments tab, you now must use the GICreativeModeTabs#addToInstrumentsTab.
    • Priority is first given to the Genshin Instruments mod (0), then EMI (1). You should thus set yours starting 3, or (much better) use the GICreativeModeTabs#getUniquePriority method to generate your own, consistantly unique priority identifier.
      • This generator uses String#hashCode on your mod ID, so a hash collision may occur? But extroadinarily low chances.
    • This works to resolve the messy instruments tab when using EMI.

Instrument Events

  • InstrumentPlayedEvent is now divided into NoteSoundPlayedEvent and HeldNoteSoundPlayedEvent. The original can still be used to catch all said events.
  • The ByPlayer variants are now integrated into the aforementioned events as an InstrumentPlayedEvent.EntityInfo optional.
  • Added InstrumentOpenStateChangedEvent. Self-explanatory.

P.S: I'm sorry this took me an eternity.

Though, you have to still consider that I am the only developer and maintainer of this project, so things will have to move my speed.

I'm also a student. And I also have other projects.

As you have seen above, I've made a lot of changes (over the course of ~4 months!) to the core mod, whilst also making sure to keep API compatibility and support for both foreign programmers (if any; else still maintain good code practices) - and the Even More Instruments! mod.

I was not prepared for a sustained instrument to be implemented in Genshin, and I thus also did not consider it from the start that I'll ever have - or need - to do it. (maybe as a nieche concept that never will get implemented bc time.)

Though, evidently, this forced change. And forced change it did.
And if you don't believe me, see it for yourself.

I did not even have the time to play the new summer event :(

Anyways, let's hope that the Natlan instrument doesn't have a new, game-breaking mechanic again.
Else... Yeah, mental teardown.

(Otherwise, addition should be swift! :3)

Dependencies

dependency-iconForge Config API Portrequired
dependency-iconFabric APIrequired
dependency-iconMod Menuoptional

Files

genshinstrument-fabric-1.20+1.20.1-4.0.jar(6.11 MiB) Primary
Download
genshinstrument-fabric-1.20+1.20.1-4.0-sources.jar(5.96 MiB)
Download

Metadata

Release channel

Release

Version number

fabric-1.20+1.20.1-4.0

Loaders

Fabric

Game versions

1.20–1.20.1

Downloads

495

Publication date

August 29, 2024 at 1:54 AM

Publisher

StavWasPlayZ

StavWasPlayZ

Owner

Version ID

Modrinth is open source.

main@4b75cb8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.