Topic category: Troubleshooting, bugs, and solutions
Potion effects, good or bad, even without any functions to do anything, break the compiler
return Registry.register(BuiltInRegistries.MOB_EFFECT, new ResourceLocation(CreateDPlusMod.MODID, registryName), element);
^
lower bounds: Item,MobEffect,Object,V
lower bounds: MobEffect
where T,V are type-variables:
T extends V declared in method <V,T>register(Registry<V>,ResourceLocation,T)
V extends Object declared in method <V,T>register(Registry<V>,ResourceLocation,T)
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 1s
1 actionable task: 1 executed
If someone can also tell me where to find the compiler's error output for more info that'd be great, im struggling on finding how to access it
If you don't use any plugins, please open bug report at github and include zip of your workspace
I have to use a plugin to work with Fabric; other than that im using Nerdy's Geckolib and Curios plugin, trims Manager , JEI, Better Combat API, and Item Tooltips
In this case, this is likely a bug of the Fabric plugin or support for that plugin from other plugins. Report the bug to the plugin authors