mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update mappings; remove unnecessary item workarounds
This commit is contained in:
parent
e7ecda64f0
commit
c200e3e6fa
2 changed files with 3 additions and 6 deletions
|
@ -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)));
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 7ff1b6567b56c7b0b8e28786b9bbc30abfaededf
|
||||
Subproject commit 82ad7ba279c68eb11a0b1a969c9efb3228c59227
|
Loading…
Reference in a new issue