mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Update mappings; remove unnecessary item workarounds
This commit is contained in:
@@ -225,10 +225,7 @@ public class ItemRegistryPopulator {
|
||||
// This items has a mapping specifically for this version of the game
|
||||
mappingItem = entry.getValue();
|
||||
}
|
||||
if (javaIdentifier.equals("minecraft:sculk_sensor")) {
|
||||
// TODO fix in mappings
|
||||
mappingItem.setBedrockIdentifier("minecraft:sculk_sensor");
|
||||
} else if (javaIdentifier.equals("minecraft:music_disc_otherside") && palette.getValue().protocolVersion() <= Bedrock_v471.V471_CODEC.getProtocolVersion()) {
|
||||
if (javaIdentifier.equals("minecraft:music_disc_otherside") && palette.getValue().protocolVersion() <= Bedrock_v471.V471_CODEC.getProtocolVersion()) {
|
||||
mappingItem.setBedrockIdentifier("minecraft:music_disc_pigstep");
|
||||
}
|
||||
|
||||
@@ -402,7 +399,7 @@ public class ItemRegistryPopulator {
|
||||
.count(1)
|
||||
.blockRuntimeId(mapping.getBedrockBlockId())
|
||||
.build());
|
||||
} else if (javaIdentifier.startsWith("minecraft:music_disc_") && !javaIdentifier.equals("minecraft:music_disc_otherside")) { // TODO TEMPORARY
|
||||
} else if (javaIdentifier.startsWith("minecraft:music_disc_")) {
|
||||
// The Java record level event uses the item ID as the "key" to play the record
|
||||
Registries.RECORDS.register(itemIndex, SoundEvent.valueOf("RECORD_" +
|
||||
javaIdentifier.replace("minecraft:music_disc_", "").toUpperCase(Locale.ENGLISH)));
|
||||
|
||||
Submodule core/src/main/resources/mappings updated: 7ff1b6567b...82ad7ba279
Reference in New Issue
Block a user