Skip to content

[1.21.1] Crash with Create & JEI: ArrayIndexOutOfBoundsException in AnimatedSpout #1212

@jim139129

Description

@jim139129

Minecraft version

1.21.1

Farmer's Delight version

1.2.9

NeoForge version

21.1.213

Description

The game crashes when attempting to view recipes in JEI that involve the Create mod's Spout mechanics (or simply browsing JEI categories). The crash occurs specifically when Farmer's Delight is installed alongside Create and JEI.

The error is java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 located at com.simibubi.create.compat.jei.category.animations.AnimatedSpout.draw.

It seems that a fluid recipe or container added by Farmer's Delight might be interacting incorrectly with Create's Spout animation rendering in JEI, causing it to try and access an empty fluid list. The crash does not happen on the first page of Spout recipes, only when navigating to the second page.

I have tested this on a minimal instance with only Create, JEI, and Farmer's Delight, and the crash persists. Removing Farmer's Delight resolves the issue.

Steps to reproduce

  1. Launch the game with the minimal mod set (Create, JEI, Farmer's Delight).
  2. Open the inventory to access the JEI overlay.
  3. Search for "Spout" (Create) and right-click it to view the "Spout Filling" recipe category.
  4. Observe that there are multiple pages of recipes (specifically 6 pages in my case).
  5. The first page renders correctly.
  6. Click the arrow button to navigate to the 2nd page.
  7. The game crashes immediately upon rendering the 2nd page.

Mod list

  • create-1.21.1-6.0.8.jar
  • FarmersDelight-1.21.1-1.2.9.jar
  • jei-1.21.1-neoforge-19.25.1.328.jar
  • flywheel-neoforge-1.21.1-1.0.5.jar
  • Ponder-NeoForge-1.21.1-1.0.64.jar

Logs

latest.log

crash-2025-11-23_03.58.18-client.txt

Minimal instance

  • I have tested this on a minimal instance

Performance and shader mods

  • I am using performance or shader mods

Metadata

Metadata

Assignees

No one assigned

    Labels

    integrationRelates to interactions with other mods

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions