Include recipe serializer mappings

This commit is contained in:
Nassim Jahnke 2024-01-17 22:16:25 +01:00
parent 31040644fd
commit 2d3230d618
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
6 changed files with 53 additions and 0 deletions

View File

@ -31003,5 +31003,30 @@
"generic.max_health",
"generic.movement_speed",
"zombie.spawn_reinforcements"
],
"recipe_serializers": [
"crafting_shaped",
"crafting_shapeless",
"crafting_special_armordye",
"crafting_special_bookcloning",
"crafting_special_mapcloning",
"crafting_special_mapextending",
"crafting_special_firework_rocket",
"crafting_special_firework_star",
"crafting_special_firework_star_fade",
"crafting_special_tippedarrow",
"crafting_special_bannerduplicate",
"crafting_special_shielddecoration",
"crafting_special_shulkerboxcoloring",
"crafting_special_suspiciousstew",
"crafting_special_repairitem",
"smelting",
"blasting",
"smoking",
"campfire_cooking",
"stonecutting",
"smithing_transform",
"smithing_trim",
"crafting_decorated_pot"
]
}

View File

@ -31026,5 +31026,30 @@
"generic.scale",
"zombie.spawn_reinforcements",
"generic.step_height"
],
"recipe_serializers": [
"crafting_shaped",
"crafting_shapeless",
"crafting_special_armordye",
"crafting_special_bookcloning",
"crafting_special_mapcloning",
"crafting_special_mapextending",
"crafting_special_firework_rocket",
"crafting_special_firework_star",
"crafting_special_firework_star_fade",
"crafting_special_tippedarrow",
"crafting_special_bannerduplicate",
"crafting_special_shielddecoration",
"crafting_special_shulkerboxcoloring",
"crafting_special_suspiciousstew",
"crafting_special_repairitem",
"smelting",
"blasting",
"smoking",
"campfire_cooking",
"stonecutting",
"smithing_transform",
"smithing_trim",
"crafting_decorated_pot"
]
}

Binary file not shown.

Binary file not shown.

View File

@ -161,6 +161,7 @@ public final class MappingsGenerator {
addArray(viaMappings, registries, "minecraft:painting_variant", "paintings");
addArray(viaMappings, registries, "minecraft:menu", "menus");
addArray(viaMappings, registries, "minecraft:attribute", "attributes");
addArray(viaMappings, registries, "minecraft:recipe_serializer", "recipe_serializers");
// Save
new File("mappings").mkdir();

View File

@ -165,6 +165,7 @@ public final class MappingsOptimizer {
mappings(false, "statistics");
mappings(false, "menus");
mappings(false, "attributes");
mappings(false, "recipe_serializers");
if (diffObject != null) {
names("items", "itemnames");
@ -233,6 +234,7 @@ public final class MappingsOptimizer {
storeIdentifiers(identifiers, object, "entities");
storeIdentifiers(identifiers, object, "particles");
storeIdentifiers(identifiers, object, "argumenttypes");
storeIdentifiers(identifiers, object, "recipe_serializers");
if (SAVED_IDENTIFIER_FILES.add(version)) {
write(identifiers, OUTPUT_DIR.resolve(OUTPUT_IDENTIFIERS_FILE_FORMAT.formatted(version)));
}