Skip to content

AbstractMethodError when starting Sable 2.0.5 on Fabric 1.21.1 #1568

Description

@yThezIsma

Context

Description

I'm trying to use Sable 2.0.5 in a Fabric 1.21.1 development environment.

The game starts normally and Sable loads successfully, but the integrated server crashes when Sable tries to create the Rapier physics pipeline.

Environment

  • Minecraft: 1.21.1
  • Sable: 2.0.5
  • Fabric Loader: 0.18.2
  • Fabric API: 0.116.8+1.21.1
  • Fabric Loom: 1.16.3
  • Java: 21.0.11
  • OS: Windows 11

Dependencies loaded

sable 2.0.5
sable_rapier 2.0.5
sablecompanion 1.6.0
veil 4.3.2
forgeconfigapiport 21.1.3

Gradle dependency

modApi("dev.ryanhcode.sable:sable-fabric-${project.minecraft_version}:${project.sable_version}")

Crash

Sable loads successfully:

[Sable] Sable loaded!

But when the integrated server starts:

[Sable] Creating physics pipeline for ResourceKey[minecraft:dimension / minecraft:overworld] using RapierPhysicsPipelineProvider

the server crashes with:

java.lang.AbstractMethodError:
Receiver class dev.ryanhcode.sable.physics.impl.rapier.RapierPhysicsPipelineProvider
does not define or inherit an implementation of the resolved method
'abstract dev.ryanhcode.sable.api.physics.PhysicsPipeline createPipeline(net.minecraft.server.world.ServerWorld)'
of interface dev.ryanhcode.sable.api.physics.PhysicsPipelineProvider.

The crash occurs here:

at dev.ryanhcode.sable.sublevel.system.SubLevelPhysicsSystem.<init>(SubLevelPhysicsSystem.java:128)
at dev.ryanhcode.sable.Sable.defaultSubLevelContainerInitializer(Sable.java:66)

I also tried using the Fabric Loader/Fabric API versions specified by the Sable project, but the same AbstractMethodError still occurs.

Could this be an incompatibility between sable-fabric and sable_rapier, or is there a specific dependency/version combination required for Sable 2.0.5 on Fabric 1.21.1?

I can provide the full crash report and Gradle files if needed.

Crash Report

https://api.mclo.gs/1/raw/D96MpIZ

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

    type: crashSomething crashes my game

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions