CraftTweaker

CraftTweaker

151M Downloads

[Feature Request] (...).removeByInput supports IItemStack[]

Laifsyn opened this issue ยท 1 comments

commented

Describe the feature you'd like

furnace.removeByInput supports IItemStack[]
blastFurnace.removeByInput supports IItemStack[]
https://docs.blamejared.com/1.18/tr/vanilla/api/recipe/manager/IRecipeManager#removeByInput

Describe alternatives you've considered

No response

Additional context

No response

Minecraft version

1.18

Modloader

All

commented

This doesn't make sense, it implies that there can be multiple input for a single recipe and will be confusing for users.

You can do the same with a loop (which is exactly how it would be implemented anyway):

for item in game.items {
    furnace.removeByInput(item);
}```