Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

Verified that vanilla crafting recipes (VanillaRecipeCategoryUid.CRAFTING) cannot contain fluids, as they are 3x3 crafting table recipes that only accept ItemStacks. Fluids require containers (buckets) or machine/processing recipes.

Analysis

The reviewer's concern about shaped recipe reordering when fluids use sequential filling doesn't apply because:

  • VanillaRecipeCategoryUid.CRAFTING recipes never have fluids
  • When isCraftingRecipe is true, recipeLayout.getFluidStacks() returns null/empty
  • performTransferWithSlots() exits early (line 77-78) without populating fluid arrays
  • The preserveSlots parameter has no effect since there are no fluids to transfer

The current implementation at line 63 (preserveSlots=false for fluids) is correct. Changing it to mirror item behavior (preserveSlots=isCraftingRecipe) would be functionally equivalent but unnecessary since crafting recipes have no fluids to preserve slots for.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix fluid encoder JEI support based on feedback Verify fluid handling in crafting recipes Jan 20, 2026
Copilot AI requested a review from solidDoWant January 20, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants