/gist:7c0c380d3923443e9d55 Secret
Last active
January 5, 2022 19:41
Star
You must be signed in to star a gist
The enum net.minecraft.sounds.SoundSource under the official mappings. Entries start at 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MASTER("master"), | |
MUSIC("music"), | |
RECORDS("record"), | |
WEATHER("weather"), | |
BLOCKS("block"), | |
HOSTILE("hostile"), | |
NEUTRAL("neutral"), | |
PLAYERS("player"), | |
AMBIENT("ambient"), | |
VOICE("voice"); |
here we go, a random gist from a random inactive account is the key to understand Mojang
here we go, a random gist from a random inactive account is the key to understand Mojang
It's clear that it's an enum and it hasn't changed in the past 6 years. I added a description though :)
here we go, a random gist from a random inactive account is the key to understand Mojang
It's clear that it's an enum and it hasn't changed in the past 6 years. I added a description though :)
lmao hi Anon, thanks 😁 would you know where to find mapping between sounds and their category ? sending a named_sound_effect
packet sometimes requires the category and will not work if you missmatch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isn't this supposed to describe a
VarInt
enum? Doesmaster
correspond to 0,music
to 1 and so on?edit: it seems so