mojira.dev
MC-190071

Campfire does not respect known recipe list of player when doLimitedCrafting is enabled

When the game rule doLimitedCrafting is enabled, a player can right-click on a campfire with a recipe ingredient for a campfire recipe, and have the campfire start cooking even though they do not have the recipe for it.

Potential solution:

  • When a player right-clicks a campfire when it is lit, it checks if any of the campfire recipes known by said player take the held item as an ingredient. If a recipe exists, the item is placed on the campfire. If there is no matching recipe, nothing happens.

  • When a campfire is lit from its unlit state, all items on it are dropped. (Currently, items remain on the campfire).

 

Linked issues

Comments 1

I can confirm this issue. I can replicate it in a vanilla world. Place a campfire, grab a raw food. Set DoLimitedCrafting to true, and run the command to clear all known recipes. You can still cook the item.

This same issue applies to the Stonecutter, and other similar workstations. (aside from the crafting table)

MaskOfLoki

(Unassigned)

Community Consensus

Platform

Low

Crafting

1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.19.3, 1.21.1, 24w39a

Retrieved