Jump to content

Wouink

Members
  • Posts

    2
  • Joined

  • Last visited

Wouink's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Oh I did not know that... but problem solved in 1.18.2, thanks for your help!
  2. Hi, I'm upgrading my mod to Forge 1.18.2 (latest version -- 40.0.12) and I can't find a way to register my custom RecipeType. In 1.18.1, I was using this code: public static final ResourceLocation Furniture_Recipe_Loc = new ResourceLocation(Furnish.MODID, "furniture_making"); public static final RecipeType<FurnitureRecipe> Furniture_Recipe = RecipeType.register(Furniture_Recipe_Loc.toString()); Now it fails to load because "Registry is already frozen (trying to add key ResourceKey[minecraft:recipe_type / furnish:furniture_making])". I've had a similar issue with blocks registering and solved it by converting all my block declarations to RegistryObject<Block> declarations, therefore using a DeferredRegister. The problem is there is no RECIPE_TYPE registry in ForgeRegistries (only RECIPE_SERIALIZERS) which makes creating a DeferredRegister impossible. There is also no RegistryEvent.Register<RecipeType>. Any help would be appreciated! - Wouink
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.