Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Help tyring to locate a baritone 1.16.5 version that works wtih Immersive Portals [Forge issue]

Shibva opened this issue ยท 56 comments

commented

What do you need help with?

I need help trying to find a download that will allow for immersive portals to run without baritone not being able to move and the only one I found does not have a relaease that can be done and moreover seems to be for 1.15.3

Some assistance would be apreciated

Final checklist

  • I know how to properly use check boxes
  • I have not used any OwO's or UwU's in this issue.
commented

ooooooh
so thats where you find them

Thanks, also if I can make a recomendation, maybe make a notice on the github desciption page describing where someone can get the builds. I fell stupid that I dint know that they existed there

commented

on your respertoy I mean

commented

wait no, that one's broke with the newest version of 1.16 ip, i tested with an older version...

commented

ah

commented

Thanks, also if I can make a recomendation, maybe make a notice on the github desciption page describing where someone can get the builds. I fell stupid that I dint know that they existed there

wag just added the actions 4 hours ago so you wouldn't have found it before that

commented

I do now have to look into fixing ip 1.16 branch... they keep changing their stuff on me I guess...

commented

thanks, also thanks for doing this in general. not many would bother with this sort of thing and I appreciate the work that you are doing to make a cool mod like IP work with baritone properly

commented

ok, I basically did nothing and it's building fixed now... it'll be in the artifacts zip when it finishes in like 10 mins https://github.com/wagyourtail/baritone/actions/runs/1321790334

commented

IT WORKS!

commented

THANK YOU SOOOOOOO MUCH MAN =]

commented

though quick question, is there currenty no way to mine modded ores using #2535

commented

Why should that be any different from the official versions?
You just use #mine modid:blockname as usual.

commented

ok, also I found something it spams this after I run #explore
image

commented

dont know where to continue this properly tbh

commented

Are you using other mods? Blocks with irregular shapes are known to cause NPEs.
EDIT: dumb me. Of course you are using other mods or you would not need to mine mod ores.

commented

idk, I do have Dynamic Trees. thats the only thing I know that might have irregular shapes
ill sent a irrelivennt crash report of me donig a forced game crash to provide context to what mods are present, maybe one of them will stand out to zall

commented

better yet, is there a log that I can upload that baritone creates sepretaly from the game log Ill upload that if I Know where it is (if it exists)

commented

Dynamic trees sounds like it is the cause.

commented

wonder what it will take for some compat to be added? oh well not worried about it for now, I can remove it

commented

Dynamic trees sounds like it is the cause.

and the winner is, DYNAMIC trees for its not doing it now in the treeless landscape

commented

ok It managed to buld this time, but 2 things

1 is the thing that you linked me forge compattable?

  1. where can I locate complete builds running the .bat file?
commented

cant find a donwload, only source things and I tried compiling the source but it wont compile

commented

What did you do to compile it?

commented

ran the graddle thingy that was in an unziped folder of it

ima going to try it again so give me a moment

commented

im sorry, im still a bit new to building things, can you go into more detail on what i need to modify and where the complete build can be located (Like a file path if possable)

commented

The thing I linked should work on Forge if you tell it to do so (gotta trust wagyourtail the "Make it work on Forge" commit actually made it work).
You build for Forge using gradlew build -Pbaritone.forge_build (if you omit the -Pbaritone.forge_build it builds as a tweaker mod) and you get the jar from the dist folder; if it's not called something with forge in it then you did not do a Forge build.

commented

You tried rebasing the pr onto the 1.16 branch?
You should try using wagyourtails 1.16 port of the pr instead.

commented

(to clarify, after the build is done running, where exacaly can I locate it?)

commented

no, the thing closes after I ran it, (like I said, im still new to this but the main file where the gradlew file is dosent have that location. I cant find it

commented

You have this folder C:/some/path/to/ImmersivePortalFix-1.16/ in which you have run the build command.
Inside that folder there should now be a folder called C:/some/path/to/ImmersivePortalFix-1.16/dist/ containing a bunch of jars, all having baritone and forge and a version in their name.

commented

it seemed like it ran compelely (im not sure) but I dint find any dist folder

commented

You have a screenshot of the build output and the folder where you searched the dist folder?

commented

can you include the command in the screenshot? From the output I'd guess it was gradlew .forge_build

commented

How did you run it? Double clicking some file is not what you need.
You need a shell so you can pass the extra arguments to gradle and I can't help you on how to get the shell, I can just give you the command again gradlew build -Pbaritone.forge_build. Just double clicking gradlew.bat should be equal to running gradlew which is the same as gradlew help and not what you need.

commented

OH, you mean run it in a shell or CMD,

I know how to open the shell

commented

image
ok I just ran it and it tossed this at me

commented

image

commented

Looks all right, no clue on what to do now.

commented

Ah, spotted it. You missed the "-" before "Pbaritone.forge_build"

commented

nope I included that and it still gave me the same error

commented

it seems there was one other thing about this, gonna have to make another report

commented

can you try to compile the ImmersivePortalFix that you gave me the link to and see if your able to compile it?

commented

I tried compiling the branch myself and with the right commands and stuff it seems the branch does not compile, its because theres a + in the dependencies somewhere and that requires java 16 when baritone needs 8, changing it to a 1 fixed it, anyway here are the jars (here is the line)
baritone-unoptimized-forge-1.6.3
baritone-api-forge-1.6.3
baritone-standalone-forge-1.6.3

commented

THANKS!
someone go and make that statement on the thing I opened up for it

Also future recomendation: maybe add a part to it where if it detects immersive portals it will do an if statement that will use the immmersive portals blocks

if else it uses the regular vanilla ones

commented

ok, I tried plugging it in and I got this yeeted at me

	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:223) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinTransformationHandler.processClass(MixinTransformationHandler.java:121) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.launch.MixinLaunchPlugin.processClass(MixinLaunchPlugin.java:131) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) ~[modlauncher-8.0.9.jar:8.0.9+86+master.3cf110c] {}
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.9.jar:?] {re:classloading}
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.9.jar:?] {re:classloading}
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {}
	at com.qouteall.immersive_portals.ModMainClient.init(ModMainClient.java:104) ~[?:0.16-mc1.16.5-forge] {re:mixin,re:classloading}
	at com.qouteall.hiding_in_the_bushes.ModMainForge.lambda$doClientStuff$2(ModMainForge.java:132) ~[?:0.16-mc1.16.5-forge] {re:classloading,re:mixin}
	at com.qouteall.hiding_in_the_bushes.ModMainForge$$Lambda$21750/1296986777.run(Unknown Source) ~[?:?] {}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:191) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:mixin,re:computing_frames,re:classloading}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:153) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(ThreadTaskExecutor.java:130) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
	at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:947) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:betterendforge.mixins.json:MinecraftMixin,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.timecore.json:client.MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:mixins.baritone.json:MixinMinecraft,pl:mixin:APP:imm_ptl_mixins.json:client.MixinMinecraftClient,pl:mixin:APP:imm_ptl_mixins.json:client.block_manipulation.MixinMinecraftClient_B,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:betterendforge.mixins.json:MinecraftMixin,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.timecore.json:client.MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:mixins.baritone.json:MixinMinecraft,pl:mixin:APP:imm_ptl_mixins.json:client.MixinMinecraftClient,pl:mixin:APP:imm_ptl_mixins.json:client.block_manipulation.MixinMinecraftClient_B,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
	at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.4.jar:36.2] {}
	at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$491/56840345.call(Unknown Source) [forge-1.16.5-36.2.4.jar:36.2] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {re:classloading}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {re:classloading}
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.baritone.json:MixinImmersivePortalsChunkProvicer] from phase [DEFAULT] in config [mixins.baritone.json] FAILED during APPLY
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:642) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:594) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:356) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	... 31 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Conflicting opcodes UNKNOWN and UNKNOWN at offset 1 in synthetic bridge method func_212849_a_(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/IChunk;
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachUniqueMethod(MixinPreProcessorStandard.java:557) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachMethods(MixinPreProcessorStandard.java:341) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:289) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:267) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1271) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:287) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {}
	... 31 more```

commented

can you compile it again for me then? im still having some issues with compiling it on my end (now is progruard thats crashing it -_ -)_

commented

probably Improper port of the im 1.15 patch to 1.16, check my open pr (#2430) i link a working im 1.16 branch already

commented

thanks, but that was the immersiveportalsfix 1.16

a value was changed because of a statement that was something only in java 16 and the value was replaced with a 1 instead of a + on the build.gradle I guess the right question to ask rn is what mixin would it be or If someone wtih java 16 could compile the build (due to me having some issues currently trying to compile the thing on my computer)

commented

ok, updated the JAVA_HOME to run jdk-16 but now when I am runing it its giving me a daemon error
image

commented

Do not use Java 16 for anything 1.16.5 and below, and btw it could be that 0.8.1 is too old and 0.8.3 is needed (0.8.4 uses Java 16 and causes it to not build) so it was maybe a mistake on my end, but def do not use Java 16 when compiling 1.16.5

commented

again, sorry about earlier

commented

probaly should have added that this was for forge so if it was fixed on fabric it hasent been yet for forge

commented

you would need to port the fix from the 1.15.2 branch that it is on to 1.16.5 and then build it yourself, there is no built version of it just floating around currently

commented

oh I tired

commented

I cant compile it for some reason