Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Cannot interact or set settings in Baritone API 1.2

Opened this issue ยท 1 comments

commented

Some information

Operating system: Windows
Java version: 1.8-JDK
Minecraft version: 1.12.2
Baritone version: 1.2
Other mods (if used): None

Exception, error or logs

Inconvertible types; cannot cast 'baritone.api.Settings.Setting<java.lang.Boolean>' to 'java.lang.Boolean'
(I also cannot create or set a Setting class either because it is private)
I also upgraded to baritone 1.6, same thing. No property on the Setting class has "value".

Linux: ~/.minecraft/logs/

Windows: %appdata%/.minecraft/logs/

Mac: /Library/Application\ Support/minecraft/logs/

How to reproduce

Set up Baritone API with gradle and attempt to follow API documentation listed on README.

Modified settings

None

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.
commented

Here is the setting class https://github.com/cabaletta/baritone/blob/master/src/api/java/baritone/api/Settings.java#L1203

You should be able to edit the variable "value".