Please add a brief but descriptive title
kittenvr opened this issue · 7 comments
Some information
Operating system: windows 11
Java version: 1.17
Minecraft version: 1.20
Baritone version: elytra
Other mods (if used): Mods:
[✔] baritone-api-fabric-1.20.1-elytra-beta-v1
[✔] fabric-api-0.87.0+1.20.1
[✔] indium-1.0.25+mc1.20.1
[✔] lithium-fabric-mc1.20.1-0.11.2
[✔] reeses_sodium_options-1.6.4+mc1.20.1-build.94
[✔] sodium-extra-0.5.1+mc1.20.1-build.112
[✔] sodium-fabric-mc1.20.1-0.5.2
[✔] viafabricplus-2.8.2
[✔] Wurst-Client-v7.35.2-MC1.20
Exception, error or logs
Please find your latest.log
or debug.log
in this folder and attach it to the issue
Linux: ~/.minecraft/logs/
Windows: %appdata%/.minecraft/logs/
Mac: /Library/Application\ Support/minecraft/logs/
How to reproduce
- make the bot do something like #litematica or #sel shell block
- run #buildInLayers
Modified settings
[Baritone] > modified [Baritone] All modified settings:
[Baritone) allowBreak (Boolean)
[Baritone] blockReachDistance (Float)
[Baritone] maxFallHeightBucket (Integer)
[Baritone] maxFall HeightNoWater (Integer) [Baritone]
[Baritone]
[Baritone]
[Baritone
[Baritone]
Final checklist
- I know how to properly use check boxes
- I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- I have included logs, exceptions and / or steps to reproduce the issue.
- I have not used any OwO's or UwU's in this issue.
@rycbar0 you need to click it
thanks i found it. i first missed it because you linked it behind the default text where to find it.
i think the line that throws the error is this one but i cant figure out what "<parameter2>" is because the function there doesnt have any parameters
My bet:
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.getBlock()" because "second" is null
at baritone.process.BuilderProcess.sameBlockState(BuilderProcess.java:1021)
at baritone.process.BuilderProcess.containsBlockState(BuilderProcess.java:1043) (inlined into the lambda method)
at baritone.process.BuilderProcess.lambdaInAssemble(BuilderProcess.java:713)
at java.lang.Iterable.forEach(Iterable.java:75)
at baritone.process.BuilderProcess.assemble(BuilderProcess.java:710)
at baritone.process.BuilderProcess.onTick(BuilderProcess.java:594 or 596)
...
When enabling buildInLayers
the schematic shrinks so positions in incorrectPositions
can become out of bounds which in turn causes bcc.getSchematic
to return null
here and then things blow up here