Lychee (Neo/Forge)

Lychee (Neo/Forge)

2M Downloads

Can't set the number of items needed for the block_interacting recipe.

Jaimarl opened this issue ยท 1 comments

commented

Mod loader

Forge

Minecraft version

1.19.2

Mod version

3.15.1

Modloader version

43.3.8

Modpack info

No response

If bug:

  • Can you reproduce this issue with relevant mods only?

If bug: The latest.log file

No response

Issue description

I need a recipe to require 8 items in the left hand but nowhere does it say how to do this. I've tried "count" and "amount" but it doesn't work.

commented

Not support count since the Minecraft Ingredient only match the type.

You have choices

  1. https://minecraft.wiki/w/Commands/execute#(if|unless)_items that will introduced in 1.20.5 as a condition.
  2. https://minecraft.wiki/w/Commands/execute#(if|unless)_predicate and create your own predicate like https://github.com/Snownee/Lychee/tree/1.20-fabric/src/main/resources/data/lychee. For reference https://minecraft.wiki/w/Predicate#Predicate_JSON_format, see the entity_properties.equipment.

Consume the items with post action then.