Skip to content

Crash when ticking Mechanical Pump - NoClassDefFoundError: BlockAndTintGetter #1

Description

@V4M0N0S

Context

Description

The dedicated server crashes when a Create Mechanical Pump is ticking.

The crash happens inside the fluid handling code and appears to be caused by Create: Adapted trying to load a client-side rendering class on the dedicated server:

java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/BlockAndTintGetter

Environment

Minecraft: 26.2
NeoForge: 26.2.0.69
Create: Adapted: 6.0.11-adapted-0.96
Java: 25.0.4.1
OS: Debian 13 / Linux

Relevant stack trace

java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/BlockAndTintGetter
at com.simibubi.create.content.fluids.FlowSource$FluidHandler.manageSource(FlowSource.java:98)
at com.simibubi.create.content.fluids.PipeConnection.manageSource(PipeConnection.java:90)
at com.simibubi.create.content.fluids.FluidTransportBehaviour.tick(FluidTransportBehaviour.java:91)
at com.simibubi.create.content.fluids.pump.PumpBlockEntity$PumpFluidTransferBehaviour.tick(PumpBlockEntity.java:346)

Caused by:
java.lang.ClassNotFoundException: net.minecraft.client.renderer.block.BlockAndTintGetter

Block entity

create:mechanical_pump

The crash is reproducible when the chunk containing the Mechanical Pump is loaded and the pump starts ticking.

Removing the Mechanical Pump prevents the crash.

Crash Report

https://mclo.gs/3PZsjcG

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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