They fixed the typo

This commit is contained in:
Nassim Jahnke 2024-10-11 14:47:25 +02:00
parent 21fec0e263
commit f5733c2cb8
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -40,18 +40,14 @@ public final class MappingData1_21_2 extends MappingDataBase {
addRecipeInputs(extraMappings, "smithing_template");
addRecipeInputs(extraMappings, "smithing_base");
addRecipeInputs(extraMappings, "furnace_input");
addRecipeInputs(extraMappings, "smoker_input", "smelting_input"); // Pretty sure Mojang typo'd this
addRecipeInputs(extraMappings, "smoker_input");
addRecipeInputs(extraMappings, "blast_furnace_input");
addRecipeInputs(extraMappings, "campfire_input");
}
private void addRecipeInputs(final CompoundTag tag, final String key, final String outputKey) {
final int[] ids = tag.getIntArrayTag(key).getValue();
recipeInputs.add(new RecipeInputs(outputKey, ids));
}
private void addRecipeInputs(final CompoundTag tag, final String key) {
addRecipeInputs(tag, key, key);
final int[] ids = tag.getIntArrayTag(key).getValue();
recipeInputs.add(new RecipeInputs(key, ids));
}
public void writeInputs(final PacketWrapper wrapper) {