Fabric API

Fabric API

106M Downloads

about intelij

gurachan opened this issue ยท 1 comments

commented
Connected to the target VM, address: '127.0.0.1:54160', transport: 'socket'
[08:12:53] [main/INFO] (FabricLoader) Loading for game Minecraft 1.16.2
[08:12:53] [main/INFO] (Fabric|Loader) [FabricLoader] Loading 41 mods: [email protected]+872498414e, [email protected], [email protected]+8bcfced84e, [email protected]+b50ffc7b4e, [email protected]+3fa9f7c54e, [email protected]+5ce533984e, [email protected]+build.207, [email protected]+ccce563e4e, [email protected]+8bcfced84e, [email protected]+fb0d9b0e4e, [email protected]+045df74f4e, [email protected]+432ea1884e, [email protected]+b7f9825d4e, [email protected]+e2e6cdad4e, [email protected]+29679fd64e, [email protected]+91555cd14e, [email protected]+12a8474c4e, [email protected]+534104904e, [email protected]+432ea1884e, [email protected]+730711c64e, [email protected]+b7f9825d4e, [email protected]+facf3bbf4e, [email protected]+eae12eb84e, [email protected]+059ea8664e, [email protected]+ac8e8c594e, [email protected]+fb0d9b0e4e, [email protected]+fcdfdfa14e, [email protected]+52d308364e, [email protected]+c6a8ea894e, [email protected]+74cc3b204e, [email protected]+b764ce994e, [email protected]+e2862de64e, [email protected]+16acbe5b4e, [email protected]+432ea1884e, [email protected]+build.401-1.16, [email protected], [email protected]+fb0d9b0e4e, [email protected]+438f96364e, [email protected]+dfdb52d64e, [email protected]+432ea1884e, [email protected]+e00ecb5f4e
[08:12:54] [main/INFO] (mixin) SpongePowered MIXIN Subsystem Version=0.8.1 Source=file:/C:/Users/......./.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.8.1+build.21/94da90bdbee9f95bf6d6c41ca87943419a0b5624/sponge-mixin-0.8.1+build.21.jar Service=Knot/Fabric Env=CLIENT
[08:12:54] [main/INFO] (Fabric|MixinBootstrap) Loaded Fabric development mappings for mixin remapper!
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/io/RecursiveDeleteOption

adding guava solves it then next error is

[08:23:17] [main/WARN] (mixin) @Mixin target net/minecraft/tag/Tag$1 is public in fabric-tag-extensions-v0.mixins.json:MixinTagImpl and should be specified in value
[08:23:17] [main/WARN] (mixin) @Mixin target net/minecraft/tag/RequiredTagList$TagWrapper is public in fabric-tag-extensions-v0.mixins.json:MixinTagImpl and should be specified in value
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:194)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
	at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
	... 3 more
Caused by: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableMap.toImmutableMap(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
	at net.minecraft.state.StateManager.method_28484(StateManager.java:64)
	at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at net.minecraft.state.StateManager.<init>(StateManager.java:63)
	at net.minecraft.state.StateManager$Builder.build(StateManager.java:166)
	at net.minecraft.block.Block.<init>(Block.java:190)
	at net.minecraft.block.AirBlock.<init>(AirBlock.java:10)
	at net.minecraft.block.Blocks.<clinit>(Blocks.java:892)
	at net.minecraft.world.gen.surfacebuilder.SurfaceBuilder.<clinit>(SurfaceBuilder.java:87)
	at net.minecraft.world.gen.surfacebuilder.ConfiguredSurfaceBuilders.<clinit>(ConfiguredSurfaceBuilders.java:36)
	at net.minecraft.util.registry.BuiltinRegistries.method_30573(BuiltinRegistries.java:76)
	at net.minecraft.util.registry.BuiltinRegistries.method_30566(BuiltinRegistries.java:97)
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
	at net.minecraft.util.registry.BuiltinRegistries.<clinit>(BuiltinRegistries.java:96)
	at net.minecraft.util.registry.Registry.<clinit>(Registry.java:555)
	at net.minecraft.Bootstrap.initialize(Bootstrap.java:38)
	at net.minecraft.client.main.Main.main(Main.java:123)
	... 8 more
Disconnected from the target VM, address: '127.0.0.1:54290', transport: 'socket'

Process finished with exit code 1

kind of guava you are using guys?

I'm using guava 21.0 the latest one which is 29.x doesnt help also that toImmutableMap function is gone.. i choose 21 because i search the repo here and u are using 21

this was working fine at doing eclipse project.. then I switch to intelij ... after i execute

gradlew.bat idea 

everything works except for this unknown guava thingy XD whenever u click this
image

.. also take note i dont generate them in the same folder.. i put them on seperate folder just to see.

commented

xD I clone it again.. from that I enable offline mode. then transfer all the gradle prop. also i needed to invalidate catches restart every time I want it to force to download dependency this dint happen to me on eclipse xD also clicking build will just success doesn't even download if I edit Gradle dependency. I guess i can close this.