Posted May 3, 20241 yr i´m trying to tell minecraft to use my modyfied candle block class for the existing candle-block. This post https://stackoverflow.com/questions/29523975/change-final-variable-defined-in-another-java-file told, that it should be possible to override ecisting classes from minecraft by recreating the original package-path from the minecraft referenced library into the src/java folder of the mod and put the changed class with original name in there. But now i get an error: java.lang.module.ResolutionException: Modules candlepositionsmod and minecraft export package net.minecraft.world.level.block to module forge at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901) at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815) at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736) How to fix? Edited May 5, 20241 yr by Drachenbauer
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.