Jump to content

Rhonen

Recommended Posts

19 hours ago, CoB said:

asking for an incorrect material:
"block-planks-acacia-ver"

it only takes the material-information from the chisseled block. seems then the material information itself is wrong saved in the chisseled block. there was a report in the past about that with an other material. i have no influence on that material-informations which are bind to the chisseled block :)

Link to comment
Share on other sites

On 9/6/2022 at 8:38 AM, Rhonen said:

no problem.
and again:
seems there is a bug in the api.

before anything is loaded from my recipes, the game recipes are duplicated loaded.
image.thumb.png.7cf3164aca4ff5884effedaff011dad2.png
CustomRecipeLoader only initated and you can see in the log that all game recipes are duplicated.

@Tyrondo we have to use another way now?

Hey, I'm actually having this same issue with the latest release of Expanded Foods. I assume I need to override AssetsFinalize too or... something. Could you help me understand what changes I need to make to avoid recipe duplication?

Link to comment
Share on other sites

11 hours ago, l33tmaan said:

having this same issue with the latest release of Expanded Foods

hey @l33tmaani think everyone who is loading custom recipes with the help of RecipeLoader has this problem 🤣

so you have suche a custom RecipeLoader?

 

public class CustomRecipeLoader : RecipeLoader { ... }

then you have now to override the "AssetsLoaded" method.
In this method you should also load now your recipes.

public override void AssetsLoaded(ICoreAPI api) {
     //override to prevent double loading
     if (!(api is ICoreServerAPI sapi)) return;
     this.api = sapi;
            
	 //now load your recipes here
}

That's all.

Edited by Rhonen
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...
  • 1 month later...
7 hours ago, Adrian Gatewood said:

What is the recipe to make measuring rope for scafolding? It goes not show ingame. Does this differ from regular rope? Thanks in advance.

Rope is a default game item. see in players handbook.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.