generated from CleanroomMC/ForgeDevEnv
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The .register() call on IAnimatorRecipe recipe builder doesn't accommodate for recipes that do not spawn an entity or use a loot table.
Here is the AnimatorRecipe.java from The Betweenlands source code for reference.
So this:
mods.thebetweenlands.animator.recipeBuilder()
.input(item('thebetweenlands:volarpad'))
.output(item('thebetweenlands:volarkite'))
.life(4)
.fuel(8)
.register()will fail to be registered, but this:
mods.thebetweenlands.animator.recipeBuilder()
.input(item('thebetweenlands:volarpad'))
.lootTable(resource('minecraft:entities/zombie'))
.life(4)
.fuel(8)
.register()or this:
mods.thebetweenlands.animator.recipeBuilder()
.input(item('thebetweenlands:volarpad'))
.output(item('thebetweenlands:volarkite'))
.life(4)
.fuel(8)
.entity(entity('minecraft:xp_orb').getEntityClass())
.register()will be registered, but since both the output item and an entity is specified, the last one will be added as 2 duplicate recipes with unpredictable behavior.
This also applies to the examples on the wiki, the first example recipe does not work.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working