Skip to content

Crash when clicking in Furnace container – NullPointerException in Thirst mod (v1.20.1-1.4.0) #266

@2022110019-source

Description

@2022110019-source

When interacting with a furnace container, the game crashes due to a NullPointerException in the Thirst mod’s mixin for AbstractCookingRecipe. It seems the mod attempts to access NBT data from an ItemStack that is null.

Crash Report (excerpt)

java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.CompoundTag.m_128441_(String)" 
because the return value of "net.minecraft.world.item.ItemStack.m_41783_()" is null
    at net.minecraft.world.item.crafting.AbstractCookingRecipe.modify$bio000$thirst$matches(AbstractCookingRecipe.java:516)
    ...
Suspected Mod: Thirst was Taken (thirst), Version: 1.20.1-1.4.0
Mixin class: dev.ghen.thirst.foundation.mixin.MixinAbstractCookingRecipe
Target: net.minecraft.world.item.crafting.AbstractCookingRecipe

Steps to Reproduce

  • Launch Minecraft 1.20.1 with Thirst mod (v1.20.1-1.4.0) and Connector.
  • Place a furnace / Blast Furnace / Smoker
  • Insert a water bucket (acceptable) into the furnace input slot.
  • The game immediately crashes with the NullPointerException shown above.

Environment

  • Minecraft: 1.20.1
  • Forge: 47.4.13
  • Thirst mod: 1.20.1-1.4.0
  • Connector present (Fabric/Forge hybrid)

mod list.txt

crash-2026-01-17_08.34.53-client.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions