Skip to content

Crash with falling blocks (NoSuchElementException in waterParticles mixin, Subtle Effects 1.13.1, Fabric 1.20.1) #168

@foggynights

Description

@foggynights

Sorry for the GPT paste, this is not something I am very familiar with.

Description

The game crashes when any falling block (especially modded ones like YUNG’s Cave Biomes “Falling Ancient Sand”) ticks near or interacts with water.
The crash occurs inside Subtle Effects’ waterParticles mixin in class_1297.handler$ehn000$particular$waterParticles.

crash-2025-11-07_18.54.52-client.txt
crash-2025-11-07_18.39.52-client.txt

Environment

  • Minecraft: 1.20.1 (Fabric)
  • Mod version: Subtle Effects 1.13.1
  • Loader: Fabric 0.17.3
  • Other mods: YUNG’s Cave Biomes, YUNG’s API, Better Dungeons, etc.
  • OS: Windows 10
  • Java: 17 (Microsoft)

Expected behavior

Falling block entities should update normally without triggering Subtle Effects water particle logic.

Actual behavior

A `java.util.NoSuchElementException` occurs at:
java.util.Collections.max(Collections.java:674)
net.minecraft.class_1297.handler$ehn000$particular$waterParticles(class_1297.java:16388)

Disabling all splash and dust particle options in the mod’s .toml configs does not prevent the crash, indicating the issue is in a hard-coded mixin (EntityMixin / waterParticles handler).
Temporarily removing Subtle Effects resolves the crash completely.

It suggested "adding a null or empty-list check before calling Collections.max() in the waterParticles method.", but I know enough about AI to not take that at face value. I just wanted to leave the report of the issue I was having. So far it's suggestion of a downgrade to 1.12.1 has seemed to solve my crashing.

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