Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Use the mapped bedrock item identifier (instead of java) to fill the record registry
Dieser Commit ist enthalten in:
Ursprung
9def94cba0
Commit
d0bf0013ec
@ -408,7 +408,7 @@ public class ItemRegistryPopulator {
|
|||||||
} else if (javaItem.javaIdentifier().startsWith("minecraft:music_disc_")) {
|
} else if (javaItem.javaIdentifier().startsWith("minecraft:music_disc_")) {
|
||||||
// The Java record level event uses the item ID as the "key" to play the record
|
// The Java record level event uses the item ID as the "key" to play the record
|
||||||
Registries.RECORDS.register(javaItem.javaId(), SoundEvent.valueOf("RECORD_" +
|
Registries.RECORDS.register(javaItem.javaId(), SoundEvent.valueOf("RECORD_" +
|
||||||
javaItem.javaIdentifier().replace("minecraft:music_disc_", "").toUpperCase(Locale.ENGLISH)));
|
mapping.getBedrockIdentifier().replace("minecraft:music_disc_", "").toUpperCase(Locale.ENGLISH)));
|
||||||
}
|
}
|
||||||
|
|
||||||
mappings.add(mapping);
|
mappings.add(mapping);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren