Jump to content

Recommended Posts

Posted (edited)
8 hours ago, Tyron said:

Yes, override, AssetsFinalize if you want to modify assets

seems to have override an other method. more in discord :)

Edited by Rhonen
Posted
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 :)

Posted
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?

Posted (edited)
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
  • 3 weeks later...
  • 3 months later...
Posted
On 1/21/2023 at 10:40 PM, Priincessx3 said:

Hey ich wollte mal fragen warum ich das nicht kopieren kann, liegt es daran das ich Gletschereis benutze?

Das ist durchaus denkbar, das hatten auch schon andere.

  • 1 month later...
Posted
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.

  • 2 weeks later...
Posted

Really cool mod, is so useful.
i wanna point out a bug i found, where u can get duplicate blocks.

If you use an already chiseled block for the required material it will not consume it.

Posted
14 hours ago, XeNoxT said:

i wanna point out a bug i found, where u can get duplicate blocks.

If you use an already chiseled block for the required material it will not consume it.

ok, will check that out. thanks.

Posted

@EightDigit aka Ocho
that was a problem in the previous version 1.6.0
in 1.6.1 it got fixed an can not longer reproduce it.

chiseled Block with 3 materials:
image.png.205f181e825570d4b091eff590c10dd2.png

placing others as required, no copy available
image.png.98f220a8411b2b65cacaf2391d25eec7.png

putting only the correct materials, then its working.
image.png.f0887a69af2a125f0a77f12db6203c28.png

  • 2 weeks later...
Posted
1 hour ago, Thor8472 said:

It doesnt matter which material is in the workbench! Even Dirt works

Confirmed. also found the causer.

Released a fix.
Thanks @Thor8472 for reporting
 

×
×
  • 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.