mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-25 09:34:47 +00:00
Update to Minecraft 1.19
Oh my, a same day release! Well, if we use the AoE timezone. Entirely untested (well, aside from automated tests), I haven't even launched a client. In my defence, its just past midnight and I've been up since 4am.
This commit is contained in:
@@ -34,6 +34,7 @@ import net.minecraft.world.item.crafting.SimpleRecipeSerializer;
|
||||
import net.minecraft.world.level.ItemLike;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraftforge.common.Tags;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.Locale;
|
||||
@@ -393,6 +394,6 @@ class RecipeGenerator extends RecipeProvider
|
||||
|
||||
private static void addSpecial( Consumer<FinishedRecipe> add, SimpleRecipeSerializer<?> special )
|
||||
{
|
||||
SpecialRecipeBuilder.special( special ).save( add, special.getRegistryName().toString() );
|
||||
SpecialRecipeBuilder.special( special ).save( add, ForgeRegistries.RECIPE_SERIALIZERS.getKey( special ).toString() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user