Unable to load mod in dev envioment
Closed this issue ยท 2 comments
Minecraft version
1.20.1
Farmer's Delight version
2.4.0
Fabric Loader version
0.17.2
Fabric API version
0.92.6+1.20.1
Description
I'm making an addon for farmers delight, and for the fabric part of it, I went to include it into my dependencies.
When I launched the game (after like 15 mins of trying to get it to launch since adding this mod), the game crashes
It crashes because
Caused by: java.lang.NoClassDefFoundError: com/chocohead/mm/api/ClassTinkerers
Crash report: https://pastebin.com/JEVPFSpE
Steps to reproduce
- Get the latest mod jar from Curse Maven
- Load it into dependencies
- Launch the game, and mc crashes
Mod list
caffinateddelights: Caffeinated Delights 1.21.1-1.0.0
fabric-api: Fabric API 0.92.6+1.20.1
fabric-api-base: Fabric API Base 0.4.32+1802ada577
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.37+1802ada577
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.14+1802ada577
fabric-block-api-v1: Fabric Block API (v1) 1.0.12+1802ada577
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.3+924f046a77
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.42+1802ada577
fabric-client-tags-api-v1: Fabric Client Tags 1.1.3+1802ada577
fabric-command-api-v1: Fabric Command API (v1) 1.2.35+f71b366f77
fabric-command-api-v2: Fabric Command API (v2) 2.2.14+1802ada577
fabric-commands-v0: Fabric Commands (v0) 0.2.52+df3654b377
fabric-containers-v0: Fabric Containers (v0) 0.1.67+df3654b377
fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.13+1802ada577
fabric-convention-tags-v1: Fabric Convention Tags 1.5.6+1802ada577
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.20+1802ada577
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.0.2+de0fd6d177
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.3.7+1802ada577
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.55+1802ada577
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.1+1c78457f77
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.5+13a40c6677
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.64+df3654b377
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.41+1802ada577
fabric-gametest-api-v1: Fabric Game Test API (v1) 1.2.15+1802ada577
fabric-item-api-v1: Fabric Item API (v1) 2.1.29+1802ada577
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.14+1802ada577
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.38+1802ada577
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.36+df3654b377
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.23+1802ada577
fabric-loot-api-v2: Fabric Loot API (v2) 1.2.3+1802ada577
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.47+9e7660c677
fabric-message-api-v1: Fabric Message API (v1) 5.1.10+1802ada577
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.52+1802ada577
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.4+1802ada577
fabric-models-v0: Fabric Models (v0) 0.4.3+9386d8a777
fabric-networking-api-v1: Fabric Networking API (v1) 1.3.14+a158aa0477
fabric-networking-v0: Fabric Networking (v0) 0.3.54+df3654b377
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.5+e35120df77
fabric-particles-v1: Fabric Particles (v1) 1.1.3+1802ada577
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.24+1802ada577
fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.6+1802ada577
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.2+1802ada577
fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.3+85287f9f77
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.47+df3654b377
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.39+92a0d36777
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.29+1802ada577
fabric-rendering-v0: Fabric Rendering (v0) 1.1.50+df3654b377
fabric-rendering-v1: Fabric Rendering (v1) 3.0.9+1802ada577
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.9+1802ada577
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.12+fb82e9d777
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.9+1802ada577
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.33+1802ada577
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.14+1802ada577
fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.6+8dd72ea377
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.3.2+1802ada577
fabricloader: Fabric Loader 0.17.2
farmersdelight: Farmer's Delight 1.20.1-2.4.0+refabricated
java: OpenJDK 64-Bit Server VM 21
minecraft: Minecraft 1.20.1
mixinextras: MixinExtras 0.5.0
Logs
No response
Minimal instance
- I have tested this on a minimal instance
Performance and shader mods
- I am using performance or shader mods
I got it to work by doing this in with gradle if anyone is wondering how to fix it
repositories {
// Everything below is for farmers delight refabricated
// Gradle was trying to download the port lib from jitpack, so this forces it from here
exclusiveContent {
forRepository {
maven {
url "https://mvn.devos.one/snapshots/"
}
}
filter {
includeGroup "io.github.fabricators_of_create.Porting-Lib"
}
}
maven {
url = "https://jitpack.io/"
}
maven {
url = "https://maven.jamieswhiteshirt.com/libs-release"
content { includeGroup("com.jamieswhiteshirt") }
}
}
dependencies {
// Everything below is farmers delight stuff because it does not work in dev
// this took over half an hour to fix and get it working :(
modRuntimeOnly("com.github.Chocohead:Fabric-ASM:v2.3") {
exclude (group: "net.fabricmc.fabric-api")
}
def port_lib_modules = "accessors,base,networking,tags,config,tool_actions,loot,lazy_registration,recipe_book_categories"
for (String module in port_lib_modules.split(",")) {
modRuntimeOnly("io.github.fabricators_of_create.Porting-Lib:$module:2.3.8-beta.49+1.20.1")
}
modRuntimeOnly("io.github.fabricators_of_create.Porting-Lib:config:2.3.8-beta.49+1.20.1")
}There is
[Render thread/INFO] (Minecraft) [STDERR]: [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
[Render thread/INFO] (MM) Definitely not up to no good
but Minecraft loaded, so it should be fineeee
Wait, I'm stupid, I never saw Depending on Farmers Delight Refabricated