CustomRecipe - setIngredients mit CustomRecipe?

A big new update is now available, introducing biomes, caves and much more!
Latest hotfix: 0.7.0.3 (2024-02-21)
  • ich habe mal versucht ein CustomRecipe zu erstellen in dem ich als Ingredients ein weiteres CustomRecipe, eingetragen habe.

    Habe die Reihnfolge eingehalten, also das Ingredients-CustomRecipe mitgetServer().registerCustomItem(item);undgetServer().registerCustomRecipe(recipe);als erstes Registriert, nur reicht das wohl nicht aus.

    Code: Error
    RW SERVER: Fatal error occurred!
    java.lang.InternalError: Crafting Recipe for apiitem/de.chaoswg.Clock.uhr1: Ingredient gearM does not exist!
    at commons.definitions.Crafting$Recipe.<init>(SourceFile:545)
    at commons.definitions.Crafting.registerCustomRecipe(SourceFile:414)
    at pluginapi.objects.ServerAPI.registerCustomRecipe(SourceFile:535)

    Ich nehme den Namen für die Ingredients den ich beiCustomItem item = new CustomItem(CLOCK_UUID, name);benutzt habe.

    Kann ich überhaupt apiitem's als Ingredients benutzen? Oder habe ich was Vergessen:|

    :saint:Hast du vileicht ein Workaround dafür?

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!