From 42ea7eaefb20953462c8b41aac50cd47acb31792 Mon Sep 17 00:00:00 2001 From: Shnupbups Date: Thu, 12 May 2022 23:41:33 +1000 Subject: [PATCH] a couple of small datagen fixes (#3150) can also be backported to 1.18 --- .../minecraft/data/client/BlockStateModelGenerator.mapping | 5 +++-- mappings/net/minecraft/data/server/RecipeProvider.mapping | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mappings/net/minecraft/data/client/BlockStateModelGenerator.mapping b/mappings/net/minecraft/data/client/BlockStateModelGenerator.mapping index 937e6d6b6d..395dfd2581 100644 --- a/mappings/net/minecraft/data/client/BlockStateModelGenerator.mapping +++ b/mappings/net/minecraft/data/client/BlockStateModelGenerator.mapping @@ -284,9 +284,10 @@ CLASS net/minecraft/class_4910 net/minecraft/data/client/BlockStateModelGenerato METHOD method_25670 registerBamboo ()V METHOD method_25671 registerTrapdoor (Lnet/minecraft/class_2248;)V ARG 1 trapdoorBlock - METHOD method_25672 registerInfested (Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V + METHOD method_25672 registerParented (Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V + COMMENT Used for a block that shares a block model with another block, for example waxed copper or infested stone bricks. ARG 1 modelSource - ARG 2 infested + ARG 2 child METHOD method_25673 createPressurePlateBlockState (Lnet/minecraft/class_2248;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Lnet/minecraft/class_4917; ARG 0 pressurePlateBlock ARG 1 upModelId diff --git a/mappings/net/minecraft/data/server/RecipeProvider.mapping b/mappings/net/minecraft/data/server/RecipeProvider.mapping index 26950798a6..c3a690ac48 100644 --- a/mappings/net/minecraft/data/server/RecipeProvider.mapping +++ b/mappings/net/minecraft/data/server/RecipeProvider.mapping @@ -135,7 +135,7 @@ CLASS net/minecraft/class_2446 net/minecraft/data/server/RecipeProvider ARG 0 exporter ARG 1 output ARG 2 input - METHOD method_32813 createPressurePlateRecipe (Ljava/util/function/Consumer;Lnet/minecraft/class_1935;Lnet/minecraft/class_1935;)V + METHOD method_32813 offerPressurePlateRecipe (Ljava/util/function/Consumer;Lnet/minecraft/class_1935;Lnet/minecraft/class_1935;)V ARG 0 exporter ARG 1 output ARG 2 input