Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19.2 Update #8

Open
wants to merge 1,274 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1274 commits
Select commit Hold shift + click to select a range
f30cb91
Remove addressed TODO
ZeroMemes Jun 29, 2023
974b86a
Bump `nether-pathfinder` to 0.20
ZeroMemes Jun 29, 2023
5a48f41
Reduce number of raytraces when validating simulation
ZeroMemes Jun 30, 2023
3eb7610
Block lookup optimization
ZeroMemes Jun 30, 2023
b8ede0a
Remove unnecessary `IPlayerContext` argument
ZeroMemes Jun 30, 2023
b457893
Reduce passing around of `ignoreLava`
ZeroMemes Jun 30, 2023
4590ba3
Use separate executor for solver
ZeroMemes Jun 30, 2023
8211ae4
memory leaks are joever
leijurv Jun 30, 2023
d32f1b2
Add hit pos raytrace method to context
ZeroMemes Jul 1, 2023
83066fc
Find jump off spot using INSANE custom CalculationContext
ZeroMemes Jul 1, 2023
3498082
Better state switch and start path halfway down fall
ZeroMemes Jul 1, 2023
2f7dc23
Better start position selection and validation
ZeroMemes Jul 1, 2023
14b5a0c
Fix Forge support
ZeroMemes Jul 1, 2023
ccd737d
Actually fix Forge by reverting Mixin change completely
ZeroMemes Jul 1, 2023
dee7df1
I HATE OLD MIXIN!!!!
ZeroMemes Jul 2, 2023
fc20959
Update `nether-pathfinder` to 0.21
ZeroMemes Jul 2, 2023
6654476
Make `blockFreeLook` depend on `freeLook`
ZeroMemes Jul 3, 2023
d892ef5
Merge branch 'master' into elytra
ZeroMemes Jul 3, 2023
c8259d3
ZOOM
ZeroMemes Jul 3, 2023
4c0c263
trolling
ZeroMemes Jul 3, 2023
be54b8e
Merge branch 'master' into 1.13.2
ZacSharp Jul 4, 2023
1d983d5
Merge branch '1.13.2' into 1.14.4
ZacSharp Jul 4, 2023
45abbb7
Merge branch '1.14.4' into 1.15.2
ZacSharp Jul 4, 2023
8e58dd9
Merge branch '1.15.2' into 1.16.5
ZacSharp Jul 4, 2023
8ceb89d
Merge pull request #4028 from ZacSharp/1.16.5-update
leijurv Jul 5, 2023
cbf0d79
Merge branch '1.16.5' into 1.17.1
ZacSharp Jul 6, 2023
2552eb8
Add setting documentation
ZeroMemes Jul 7, 2023
aeeb001
Fix some codacy issues
ZeroMemes Jul 7, 2023
c4ac238
Set `safeToCancel` to `false` while flying
ZeroMemes Jul 7, 2023
ecfd664
Fix `isSafeToCancel()` return value
ZeroMemes Jul 7, 2023
8de239f
Use soft references for chunks queued for packing
ZeroMemes Jul 7, 2023
b6bf442
Use soft references for nether chunk packing queue
ZeroMemes Jul 7, 2023
537100a
Nether seed setting and automatic context reset
ZeroMemes Jul 7, 2023
bfb4ffc
Reset context on world load/unload
ZeroMemes Jul 7, 2023
308b9bb
Apply minimum fall height to regular falls too
ZeroMemes Jul 7, 2023
fe67489
Combine `VALIDATE_PATH` and `LOCATE_JUMP` states
ZeroMemes Jul 7, 2023
487b3a7
`mostRecentGoal`, fixes immediate goal clear
ZeroMemes Jul 8, 2023
c0cdfb7
Add commands for pathfinder reset and chunk repack
ZeroMemes Jul 8, 2023
7a935fb
Fix simulation not respecting `ignoreLava`
ZeroMemes Jul 9, 2023
96a64b4
optimize uploading chunk data
babbaj Jul 10, 2023
70249e5
Merge pull request #4047 from babbaj/elytra
ZeroMemes Jul 10, 2023
eec4ede
Remove old pack method
ZeroMemes Jul 10, 2023
dc53a95
don't send the whole chunk for small changes
babbaj Jul 10, 2023
a8e1b16
Merge pull request #4048 from babbaj/elytra
ZeroMemes Jul 10, 2023
5dc403e
crucial performance optimization
leijurv Jul 10, 2023
349c951
Better handling of unsupported systems
ZeroMemes Jul 12, 2023
7c696b7
trolled
ZeroMemes Jul 12, 2023
8f5105c
trolled pt2
ZeroMemes Jul 12, 2023
448e454
Merge branch '1.17.1' into 1.18.2
ZacSharp Jul 10, 2023
4277168
auto swap elytra
babbaj Jul 12, 2023
0b5d5b8
use ticksBetweenInventoryMoves
babbaj Jul 13, 2023
461f56c
countdown instead of count up
babbaj Jul 13, 2023
d355719
appease brady
babbaj Jul 13, 2023
4399b7c
Merge pull request #4053 from babbaj/elytra
ZeroMemes Jul 13, 2023
29bf046
BlockStateOctreeInterface
ZeroMemes Jul 13, 2023
1d109d4
crucial performance optimization
ZeroMemes Jul 13, 2023
b647c0f
Merge pull request #4050 from ZacSharp/1.18.2-update
leijurv Jul 14, 2023
b468b8e
landing procedure
babbaj Jul 16, 2023
716b3ae
Update ElytraBehavior.java
ZeroMemes Jul 16, 2023
e579bf9
Update NetherPath.java
ZeroMemes Jul 16, 2023
6f99f89
Merge pull request #4054 from babbaj/elytra
ZeroMemes Jul 16, 2023
76d3a13
cull far away chunks from the cache
babbaj Jul 16, 2023
f3bb5a0
make sure BlockStateOctreeInterface doesn't use freed chunk pointers
babbaj Jul 16, 2023
a83d190
Merge pull request #4055 from babbaj/elytra
ZeroMemes Jul 16, 2023
41e8c69
consistent elytra setting naming
babbaj Jul 16, 2023
0e567f2
shrimple
leijurv Jul 17, 2023
edc9275
Revert "shrimple"
leijurv Jul 17, 2023
32a4c46
Move cull code
ZeroMemes Jul 17, 2023
108dbda
partially appease codacy
ZeroMemes Jul 17, 2023
90cfd82
Merge pull request #4056 from babbaj/elytra
ZeroMemes Jul 17, 2023
bf9cb76
VulkanMod compatibility + use `LINES` instead of `DEBUG_LINES`
ZeroMemes Jul 17, 2023
1b82bd1
pitch smooth look and setting for ticks
ZeroMemes Jul 17, 2023
9a6241a
refactor elytra into being just a process
babbaj Jul 17, 2023
dbc0a46
call elytra event handlers from ElytraProcess
babbaj Jul 17, 2023
4b5d629
fix off by one error (causing the last point to be stuck in terrain)
babbaj Jul 17, 2023
afe9359
don't call onTick if we are pawsed
babbaj Jul 17, 2023
2f04977
simplify icky code
babbaj Jul 17, 2023
ff1b3e7
simplify management of elytra state
babbaj Jul 18, 2023
ccd80df
that isn't necessary
babbaj Jul 18, 2023
f499613
minor code improvements
babbaj Jul 18, 2023
ba78c48
shutdown solverExecutor
babbaj Jul 18, 2023
38553b3
behavior can't be null in onTick
babbaj Jul 18, 2023
0239a2c
notificationOnPathComplete and disconnectOnArrival
babbaj Jul 18, 2023
6a9694b
Manually specify some normals, fix GoalXZ rendering
ZeroMemes Jul 18, 2023
218de1c
Requested changes
ZeroMemes Jul 18, 2023
dfa838a
Replace `Mth.fastInvSqrt` with `1.0 / Math.sqrt`
ZeroMemes Jul 19, 2023
29301e8
Merge pull request #4059 from cabaletta/pr/render/vulkanCompatibility
ZeroMemes Jul 19, 2023
15e9726
Fake merge branch '1.19.2' into 1.19.4
ZacSharp Jul 19, 2023
217dca5
Merge branch '1.18.2' into 1.19.2
ZacSharp Jul 19, 2023
37f1c30
Merge branch '1.19.2' into 1.19.4
ZacSharp Jul 19, 2023
a63cbab
Merge pull request #4060 from babbaj/elytra
ZeroMemes Jul 19, 2023
097e308
Move `WalkOffCalculationContext` into `ElytraProcess`
ZeroMemes Jul 19, 2023
664375a
make elytra play nice with CustomGoalProcess
babbaj Jul 22, 2023
7f9e50b
initial safe landing impl
babbaj Jul 22, 2023
c9aa165
improvements/fixes
babbaj Jul 23, 2023
58723a3
hate cherry pick now
babbaj Jul 23, 2023
9e78443
resolve comment
babbaj Jul 23, 2023
985148b
check for specific blocks to land on and anything non air is lava
babbaj Jul 23, 2023
bf63ffb
cringe fence hater :sob:
babbaj Jul 23, 2023
9bfa202
memoize isSafeLandingSPot
babbaj Jul 23, 2023
bafd418
Merge pull request #4062 from ZacSharp/1.19.4-update
leijurv Jul 23, 2023
c0ead01
use priority queue to bias upwards
babbaj Jul 23, 2023
eec85b2
fix bias in comparator
babbaj Jul 23, 2023
3ffacbf
Merge pull request #4064 from babbaj/safe-landing
leijurv Jul 23, 2023
b81d712
higher priority is good enough lol
babbaj Jul 23, 2023
9707dd7
redo checkedpositions given y descending iteration order
leijurv Jul 23, 2023
886091d
Merge branch 'elytra' into elytra
leijurv Jul 23, 2023
684fda2
Merge pull request #4063 from babbaj/elytra
leijurv Jul 23, 2023
f7f0521
not legacy
leijurv Jul 23, 2023
75e8035
safe landing improvements
babbaj Jul 23, 2023
31e082b
Merge pull request #4066 from babbaj/elytra
leijurv Jul 23, 2023
212ef4d
waste fireworks smiling_imp
leijurv Jul 23, 2023
e63aad7
elytra command improvements
babbaj Jul 23, 2023
dbf38ef
Merge pull request #4067 from babbaj/elytra
leijurv Jul 23, 2023
293b556
add dimension checks
babbaj Jul 24, 2023
6ffe31b
Merge pull request #4068 from babbaj/elytra
leijurv Jul 24, 2023
45400a9
fix concurrency concerns
babbaj Jul 24, 2023
1e0dce8
127 instead of 128
babbaj Jul 24, 2023
f14bb28
add null check to resetState
babbaj Jul 24, 2023
601a781
improve control flow (fixes behavior.onTick() being called twice)
babbaj Jul 24, 2023
e0308de
Merge branch '1.19.4' into 1.20.1
ZacSharp Jul 24, 2023
2164857
Merge pull request #4070 from babbaj/elytra
leijurv Jul 26, 2023
90f2b39
Remove glPushAttrib/glPopAttrib usage
ZeroMemes Jul 27, 2023
6b611cf
Move more state into `SolverContext`
ZeroMemes Jul 28, 2023
4b5a094
Render fields can be private now
ZeroMemes Jul 28, 2023
31d1656
safer landing
babbaj Jul 29, 2023
2e2c0ec
use MutableBlockPos
babbaj Jul 29, 2023
2821a2a
Merge pull request #4078 from ZacSharp/1.20.1-update
leijurv Jul 30, 2023
976f343
Merge pull request #4077 from babbaj/elytra
leijurv Jul 30, 2023
d6adb52
tweaks
leijurv Jul 30, 2023
a83d275
forgot
leijurv Jul 30, 2023
3a6e554
Don't deploy elytra while PathingBehavior is active
ZeroMemes Jul 30, 2023
27e45b8
increase air bubble radius, append destination to path when landing
babbaj Jul 30, 2023
54511f1
Merge pull request #4081 from babbaj/elytra
leijurv Jul 31, 2023
7e9cf2e
ok its based now
leijurv Jul 31, 2023
36df7b1
destroy async
leijurv Jul 31, 2023
134bfb2
fix two cases where it could get stuck indefinitely
leijurv Jul 31, 2023
9630224
whatever
leijurv Jul 31, 2023
d921d2e
live a little
leijurv Jul 31, 2023
7662810
add back unsegmenting
leijurv Jul 31, 2023
83feddf
recalc if all points out of view
leijurv Jul 31, 2023
cc8afe9
setting for nether fortress
leijurv Jul 31, 2023
541b710
too aggressive
leijurv Jul 31, 2023
64a881f
elytra warning
leijurv Jul 31, 2023
46f38f2
orderly shutdown
leijurv Jul 31, 2023
c0a1e65
simplify smoothLook into one setting and separate smoothLook from fre…
babbaj Jul 31, 2023
0ca173f
separate smooth look setting for elytra
babbaj Jul 31, 2023
7aa3eda
fix nudgeToLevel with smoothLook
babbaj Jul 31, 2023
3791569
refactor so that Target.Mode is not a lie
babbaj Aug 1, 2023
231d3a3
Merge pull request #4084 from babbaj/elytra
ZeroMemes Aug 1, 2023
7813a9c
looks better
leijurv Aug 1, 2023
8c1ccd6
reduce dumb behavior
leijurv Aug 1, 2023
7064024
fix infinite memory usage / crash
leijurv Aug 1, 2023
f5bd737
add badge count badge
TheAlan404 Aug 2, 2023
3215824
Merge pull request #4085 from TheAlan404/patch-1
leijurv Aug 2, 2023
139fd03
Update lines of code badge to match style
ZeroMemes Aug 2, 2023
0edcf65
fix badges
wagyourtail Aug 7, 2023
0705235
Merge pull request #4092 from wagyourtail/master-1
leijurv Aug 7, 2023
0d461f7
Updated to 1.20.1 for bug fixes and improvements
MarvionKirito Aug 9, 2023
9d122cc
Updated to 1.20.1 for bug fixes and improvements
MarvionKirito Aug 9, 2023
15a38c4
add setting that makes unknown chunks air
babbaj Aug 14, 2023
f331124
Merge pull request #4096 from babbaj/elytra
leijurv Aug 14, 2023
4e3a7ab
recompute on change
leijurv Aug 14, 2023
36534ee
vastly more helpful
leijurv Aug 14, 2023
d67a3d8
much better safety
leijurv Aug 14, 2023
81e0043
thanks lamp! i love lamp!
leijurv Aug 14, 2023
535eccf
no longer applies
leijurv Aug 14, 2023
bd263e1
message for 2b players just in case the update actually happens
leijurv Aug 14, 2023
b092999
typo
leijurv Aug 14, 2023
f35e55e
unused
leijurv Aug 14, 2023
9ecb416
Merge branch 'elytra'
ZeroMemes Aug 14, 2023
7b911aa
clean up elytra given 2b2t status
leijurv Aug 15, 2023
050e3a5
bedrock is much lower now, although worth considering if deepslate ne…
leijurv Aug 15, 2023
b1be4f2
make raytracer collide with unknown chunks
babbaj Aug 15, 2023
f36072c
Merge pull request #4099 from babbaj/elytra
leijurv Aug 15, 2023
661b16a
v1.2.18
leijurv Aug 15, 2023
ca4385d
update readme
leijurv Aug 15, 2023
60d6791
proguard: get java from gradle runtime before JAVA_HOME
babbaj Aug 16, 2023
7daf102
Merge pull request #4100 from babbaj/fix-proguard-lol
leijurv Aug 16, 2023
8a2a20a
1.16 and 1.18 deprecated
leijurv Aug 17, 2023
d4b9511
fml
leijurv Aug 17, 2023
d9cb2d9
v1.2.19
leijurv Aug 17, 2023
75b8554
bump readme
leijurv Aug 18, 2023
fd8ca85
Merge branch 'master' into 1.19.4
leijurv Aug 18, 2023
bfc813a
mostly works
leijurv Aug 18, 2023
fc474cf
bradyfix
ZeroMemes Aug 18, 2023
7969988
yay fixing the build was actually easy
leijurv Aug 18, 2023
51843f7
Merge branch '1.19.4' into 1.20.1
leijurv Aug 18, 2023
b16590d
Merge branch '1.20.1' of github.com:cabaletta/baritone into 1.20.1
leijurv Aug 18, 2023
c2308c6
mapping
leijurv Aug 18, 2023
4efa2b1
fix backtracking bad behavior when render distance is tiny
leijurv Aug 18, 2023
b351cee
Merge branch 'master' into 1.19.4
leijurv Aug 18, 2023
7668952
Merge branch '1.19.4' into 1.20.1
leijurv Aug 18, 2023
3bdd0a8
rm debug
leijurv Aug 19, 2023
c18fa51
1.19 defaults
leijurv Aug 19, 2023
fa28a56
Merge branch '1.19.4' into 1.20.1
leijurv Aug 19, 2023
58d6b80
baritone elytra selling
leijurv Aug 19, 2023
e063475
list 1.20
leijurv Aug 19, 2023
aee36e4
deprecate 1.12.2
leijurv Aug 19, 2023
301ad40
link to latest
leijurv Aug 19, 2023
5f5567f
recover from flying into lava (and fix ignoreLava)
babbaj Aug 19, 2023
c4f33b7
check chunk load in sepples
leijurv Aug 20, 2023
5a45001
Merge branch '1.19.4' into 1.20.1
leijurv Aug 20, 2023
e492e5f
bump nether pathfinder
leijurv Aug 20, 2023
3b30b06
Merge branch '1.19.4' into 1.20.1
leijurv Aug 20, 2023
e8bcd05
Merge pull request #4108 from babbaj/1.19.4
leijurv Aug 22, 2023
f2679be
hopefully actually fix backtracking
leijurv Aug 22, 2023
920c3aa
Merge branch 'master' into 1.19.4
leijurv Aug 22, 2023
2cd5c6b
delete master stuff
leijurv Aug 22, 2023
97067b9
Merge branch '1.19.4' into 1.20.1
leijurv Aug 22, 2023
a1ac87f
bump unimined
wagyourtail Aug 24, 2023
8193206
remove footgun
leijurv Sep 14, 2023
9ad273a
silence elytra chat spam
babbaj Sep 23, 2023
4db988d
fix forge mixin crash
rfresh2 Sep 24, 2023
7902517
fix forge mixin crash
rfresh2 Sep 24, 2023
f5d1592
1.20.2
rfresh2 Sep 23, 2023
e1e620a
Merge pull request #4138 from rfresh2/fix-forge-1-20-1-crash
leijurv Sep 28, 2023
9bf890a
Merge pull request #4136 from rfresh2/1.20.2
leijurv Sep 28, 2023
91588ca
oh my GOD
leijurv Sep 29, 2023
74457db
actually fix mine under 0 height
wagyourtail Oct 5, 2023
30f27d4
Merge pull request #4145 from wagyourtail/1.19.4
leijurv Oct 6, 2023
3332ec9
Adds git to the Dockerfile apt install
xiaodown Oct 12, 2023
1dd2a33
Handle duplicate palette entries
ZacSharp Oct 18, 2023
0ca81b1
Restore `buildIgnoreExisting`
ZacSharp Oct 18, 2023
20d62c6
Slightly better version strings
ZacSharp Oct 15, 2023
9accb2b
Don't crash the build if git is not available
ZacSharp Oct 15, 2023
3a3b012
Merge branch '1.19.4' into 1.20.2
ZacSharp Oct 29, 2023
e19fd11
Merge pull request #4157 from ZacSharp/pr/1.19.4/worldscanner/handleD…
leijurv Oct 31, 2023
a091419
Merge pull request #4158 from ZacSharp/pr/1.19.4/builder/restoreBuild…
leijurv Oct 31, 2023
1409c92
Merge pull request #4153 from xiaodown/xiaodown/add_git_to_dockerfile…
leijurv Oct 31, 2023
ea964a9
Merge pull request #4168 from ZacSharp/pr/build/1.19.4/improvedVersio…
leijurv Oct 31, 2023
a945cfa
Merge pull request #4172 from ZacSharp/1.20.2-update
leijurv Oct 31, 2023
e183dcb
Merge pull request #4137 from babbaj/1.19.4
leijurv Oct 31, 2023
5795baa
Merge branch '1.19.4' into just-unimined-update
wagyourtail Nov 14, 2023
44bcd42
Merge pull request #4114 from wagyourtail/just-unimined-update
leijurv Nov 14, 2023
19accb0
Fix scanning in chunks using a SingleValuePalette
ZacSharp Nov 16, 2023
f147519
Merge pull request #4195 from ZacSharp/pr/1.19.4/worldscanner/fixSing…
leijurv Nov 18, 2023
dce35e3
Merge remote-tracking branch 'origin/1.19.4' into 1.20.2
wagyourtail Nov 24, 2023
c1b555c
bump parchment
wagyourtail Nov 24, 2023
3dbcf01
fix forge version
wagyourtail Nov 24, 2023
21feeb6
fix missing function
wagyourtail Nov 24, 2023
4b6652b
1.20.4
wagyourtail Dec 7, 2023
c146440
mark 1.20.3 as supported
wagyourtail Dec 17, 2023
defcfca
Updated to 1.20.2
MarvionKirito Dec 21, 2023
8dd4439
Merge remote-tracking branch 'MarvionAltoclefBaritonePrivate/master'
MarvionKirito Dec 21, 2023
3e7eb87
Merge pull request #4214 from wagyourtail/1.20/1.20.4
leijurv Jan 6, 2024
8a0f301
v1.10.2
leijurv Jan 6, 2024
30921ca
Meteor changes
MineGame159 Jan 26, 2024
afff9d9
Merge remote-tracking branch 'MarvionBaritonePrivate/master'
MarvionKirito Feb 25, 2024
0cb11d5
Altoclef changes
MarvionKirito Feb 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 15 additions & 11 deletions .github/workflows/gradle_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,31 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
- uses: actions/checkout@v3
with:
java-version: '8'
distribution: 'adopt'

fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build -Pmod_version="$(git describe --always --tags --first-parent | cut -c2-)"

- name: Archive Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: dist/

- name: Archive mapping.txt
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Mappings
path: build/tmp/proguard/mapping.txt
path: mapping/
12 changes: 6 additions & 6 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 9
uses: actions/setup-java@v2
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Executing tests
run: ./gradlew test

17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@
run/
autotest/
dist/
volderyarn/

# Gradle
build/
.gradle/
classes/
*.class

/out

# IntelliJ Files
.idea/
*.iml
*.ipr
*.iws
/logs/

tweaker/logs/
common/logs/

# Eclipse Files
.classpath
.project
Expand All @@ -27,3 +33,14 @@ baritone_Client.launch
# Copyright Files
!/.idea/copyright/Baritone.xml
!/.idea/copyright/profiles_settings.xml

.vscode/launch.json
.architectury-transformer


mapping

libs/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar
libs/java-objc-bridge-1.1.jar

mapping
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: java:8

before_script:
- which java
- which javac

build:
script:
- ./gradlew build
- ./gradlew build -Pbaritone.forge_build
artifacts:
paths:
- dist/*
expire_in: 1 week
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM debian:stretch
FROM ubuntu:focal

ENV DEBIAN_FRONTEND noninteractive

RUN apt update -y

RUN apt install \
openjdk-8-jdk \
openjdk-17-jdk \
git \
--assume-yes

COPY . /code
Expand Down
58 changes: 35 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Baritone for altoclef

Please visit the 1.17.1 branch for updates

# Baritone
<p align="center">
<a href="https://github.com/cabaletta/baritone/releases/"><img src="https://img.shields.io/github/downloads/cabaletta/baritone/total.svg" alt="GitHub All Releases"/></a>
</p>

<p align="center">
<img src="https://img.shields.io/badge/MC-1.12.2-brightgreen.svg" alt="Minecraft"/>
<img src="https://img.shields.io/badge/MC-1.13.2-brightgreen.svg" alt="Minecraft"/>
<img src="https://img.shields.io/badge/MC-1.14.4-brightgreen.svg" alt="Minecraft"/>
<img src="https://img.shields.io/badge/MC-1.15.2-brightgreen.svg" alt="Minecraft"/>
<img src="https://img.shields.io/badge/MC-1.16.5-brightgreen.svg" alt="Minecraft"/>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.12.2-brightgreen.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.13.2-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.14.4-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.15.2-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.16.5-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.17.1-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.18.2-yellow.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.19.2-brightgreen.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.19.4-brightgreen.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://img.shields.io/badge/MC-1.20.1-brightgreen.svg" alt="Minecraft"/></a>
</p>

<p align="center">
<a href="https://travis-ci.com/cabaletta/baritone/"><img src="https://travis-ci.com/cabaletta/baritone.svg?branch=master" alt="Build Status"/></a>
<a href="https://github.com/cabaletta/baritone/releases/"><img src="https://img.shields.io/github/release/cabaletta/baritone.svg" alt="Release"/></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-LGPL--3.0%20with%20anime%20exception-green.svg" alt="License"/></a>
<a href="https://www.codacy.com/app/leijurv/baritone?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=cabaletta/baritone&amp;utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/a73d037823b64a5faf597a18d71e3400" alt="Codacy Badge"/></a>
<a href="https://www.codacy.com/gh/cabaletta/baritone/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=cabaletta/baritone&amp;utm_campaign=Badge_Grade"><img src="https://app.codacy.com/project/badge/Grade/cadab857dab049438b6e28b3cfc5570e" alt="Codacy Badge"/></a>
<a href="https://github.com/cabaletta/baritone/blob/master/CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-blue.svg?style=flat" alt="Code of Conduct"/></a>
<a href="https://snyk.io/test/github/cabaletta/baritone?targetFile=build.gradle"><img src="https://snyk.io/test/github/cabaletta/baritone/badge.svg?targetFile=build.gradle" alt="Known Vulnerabilities"/></a>
<a href="https://github.com/cabaletta/baritone/issues/"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="Contributions welcome"/></a>
Expand All @@ -29,12 +31,13 @@ Please visit the 1.17.1 branch for updates
<a href="https://github.com/cabaletta/baritone/commit/"><img src="https://img.shields.io/github/commits-since/cabaletta/baritone/v1.0.0.svg" alt="GitHub commits"/></a>
<img src="https://img.shields.io/github/languages/code-size/cabaletta/baritone.svg" alt="Code size"/>
<img src="https://img.shields.io/github/repo-size/cabaletta/baritone.svg" alt="GitHub repo size"/>
<img src="https://tokei.rs/b1/github/cabaletta/baritone?category=code" alt="Lines of Code"/>
<img src="https://tokei.rs/b1/github/cabaletta/baritone?category=code&style=flat" alt="Lines of Code"/>
<img src="https://img.shields.io/badge/Badges-36-blue.svg" alt="yes"/>
</p>

<p align="center">
<a href="https://impactclient.net/"><img src="https://img.shields.io/badge/Impact%20integration-v1.2.14%20/%20v1.3.8%20/%20v1.4.6%20/%20v1.5.3%20/%20v1.6.3-brightgreen.svg" alt="Impact integration"/></a>
<a href="https://github.com/kami-blue/client"><img src="https://img.shields.io/badge/KAMI%20Blue%20integration-v1.2.14--master-green" alt="KAMI Blue integration"/></a>
<a href="https://github.com/lambda-client/lambda"><img src="https://img.shields.io/badge/Lambda%20integration-v1.2.17-brightgreen.svg" alt="Lambda integration"/></a>
<a href="https://github.com/fr1kin/ForgeHax/"><img src="https://img.shields.io/badge/ForgeHax%20%22integration%22-scuffed-yellow.svg" alt="ForgeHax integration"/></a>
<a href="https://aristois.net/"><img src="https://img.shields.io/badge/Aristois%20add--on%20integration-v1.6.3-green.svg" alt="Aristois add-on integration"/></a>
<a href="https://rootnet.dev/"><img src="https://img.shields.io/badge/rootNET%20integration-v1.2.14-green.svg" alt="rootNET integration"/></a>
Expand All @@ -43,28 +46,37 @@ Please visit the 1.17.1 branch for updates
</p>

<p align="center">
<a href="http://forthebadge.com/"><img src="https://forthebadge.com/images/badges/built-with-swag.svg" alt="forthebadge"/></a>
<a href="http://forthebadge.com/"><img src="https://forthebadge.com/images/badges/mom-made-pizza-rolls.svg" alt="forthebadge"/></a>
<a href="http://forthebadge.com/"><img src="https://web.archive.org/web/20230604002050/https://forthebadge.com/images/badges/built-with-swag.svg" alt="forthebadge"/></a>
<a href="http://forthebadge.com/"><img src="https://web.archive.org/web/20230604002050/https://forthebadge.com/images/badges/mom-made-pizza-rolls.svg" alt="forthebadge"/></a>
</p>

A Minecraft pathfinder bot.

[**Baritone Discord Server**](http://discord.gg/s6fRBAUpmr)
Baritone is the pathfinding system used in [Impact](https://impactclient.net/) since 4.4. [Here's](https://www.youtube.com/watch?v=StquF69-_wI) a (very old!) video I made showing off what it can do.

Baritone is the pathfinding system used in [Impact](https://impactclient.net/) since 4.4. There's a [showcase video](https://youtu.be/CZkLXWo4Fg4) made by @Adovin#0730 on Baritone which I recommend. [Here's](https://www.youtube.com/watch?v=StquF69-_wI) a (very old!) video I made showing off what it can do. [Tutorial playlist](https://www.youtube.com/playlist?list=PLnwnJ1qsS7CoQl9Si-RTluuzCo_4Oulpa)
[**Baritone Discord Server**](http://discord.gg/s6fRBAUpmr)

The easiest way to install Baritone is to install [Impact](https://impactclient.net/), which comes with Baritone. The second easiest way (for 1.12.2 only) is to install the v1.2.* `api-forge` jar from [releases](https://github.com/cabaletta/baritone/releases). **For 1.12.2 Forge, just click [here](https://github.com/cabaletta/baritone/releases/download/v1.2.15/baritone-api-forge-1.2.15.jar)**. Otherwise, see [Installation & setup](SETUP.md). Once Baritone is installed, look [here](USAGE.md) for instructions on how to use it.
**Quick download links:**

For 1.15.2, [click here](https://www.youtube.com/watch?v=j1qKtCZFURM) and see description. If you need Forge 1.15.2, look [here](https://github.com/cabaletta/baritone/releases/tag/v1.5.3), follow the instructions, and get the `api-forge` jar.
| Forge | Fabric |
|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
| [1.12.2 Forge](https://github.com/cabaletta/baritone/releases/download/v1.2.19/baritone-api-forge-1.2.19.jar) | |
| [1.16.5 Forge](https://github.com/cabaletta/baritone/releases/download/v1.6.5/baritone-api-forge-1.6.5.jar) | [1.16.5 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.6.5/baritone-api-fabric-1.6.5.jar) |
| [1.17.1 Forge](https://github.com/cabaletta/baritone/releases/download/v1.7.3/baritone-api-forge-1.7.3.jar) | [1.17.1 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.7.3/baritone-api-fabric-1.7.3.jar) |
| [1.18.2 Forge](https://github.com/cabaletta/baritone/releases/download/v1.8.5/baritone-api-forge-1.8.5.jar) | [1.18.2 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.8.5/baritone-api-fabric-1.8.5.jar) |
| [1.19.2 Forge](https://github.com/cabaletta/baritone/releases/download/v1.9.4/baritone-api-forge-1.9.4.jar) | [1.19.2 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.9.4/baritone-api-fabric-1.9.4.jar) |
| [1.19.3 Forge](https://github.com/cabaletta/baritone/releases/download/v1.9.1/baritone-api-forge-1.9.1.jar) | [1.19.3 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.9.1/baritone-api-fabric-1.9.1.jar) |
| [1.19.4 Forge](https://github.com/cabaletta/baritone/releases/download/v1.9.3/baritone-api-forge-1.9.3.jar) | [1.19.4 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.9.3/baritone-api-fabric-1.9.3.jar) |
| [1.20.1 Forge](https://github.com/cabaletta/baritone/releases/download/v1.10.1/baritone-api-forge-1.10.1.jar) | [1.20.1 Fabric](https://github.com/cabaletta/baritone/releases/download/v1.10.1/baritone-api-fabric-1.10.1.jar) |

For 1.16.5, [click here](https://www.youtube.com/watch?v=_4eVJ9Qz2J8) and see description. If you need Forge or Fabric 1.16.5, look [here](https://github.com/cabaletta/baritone/releases/tag/v1.6.3) and get the `api-forge` or `api-fabric` jar. **For 1.16.5 Fabric, just click [here](https://github.com/cabaletta/baritone/releases/download/v1.6.3/baritone-api-fabric-1.6.3.jar)**.
**Message for 2b2t players looking for 1.19/1.20 Baritone** If you like, please try the beta for Baritone Elytra for 2b2t, find it in #announcements of [the Baritone discord](http://discord.gg/s6fRBAUpmr). It supports 1.19.4 and 1.20.1, Forge or Fabric. If you have to see it to believe it, watch [this YouTube video](https://youtu.be/NnSlQi-68eQ).

For 1.17.1 leijurv is too lazy to actually create a release so you can login to github and download the jars in the `artifacts` zip [here](https://github.com/cabaletta/baritone/actions/runs/1451572684)
**How to immediately get started:** Type `#goto 1000 500` in chat to go to x=1000 z=500. Type `#mine diamond_ore` to mine diamond ore. Type `#stop` to stop. For more, read [the usage page](USAGE.md) and/or watch this [tutorial playlist](https://www.youtube.com/playlist?list=PLnwnJ1qsS7CoQl9Si-RTluuzCo_4Oulpa). Also try `#elytra` for Elytra flying in the Nether using fireworks.

For 1.18.1 leijurv is too lazy to actually create a release so you can login to github and download the jars in the `artifacts` zip [here](https://github.com/cabaletta/baritone/actions/runs/1472825778)
For other versions of Minecraft or more complicated situations or for development, see [Installation & setup](SETUP.md). Also consider just installing [Impact](https://impactclient.net/), which comes with Baritone and is easier to install than wrangling with version JSONs and zips. For 1.16.5, [click here](https://www.youtube.com/watch?v=_4eVJ9Qz2J8) and see description. Once Baritone is installed, look [here](USAGE.md) for instructions on how to use it. There's a [showcase video](https://youtu.be/CZkLXWo4Fg4) made by @Adovin#6313 on Baritone which I recommend.

This project is an updated version of [MineBot](https://github.com/leijurv/MineBot/),
the original version of the bot for Minecraft 1.8.9, rebuilt for 1.12.2 through 1.16.5. Baritone focuses on reliability and particularly performance (it's over [30x faster](https://github.com/cabaletta/baritone/pull/180#issuecomment-423822928) than MineBot at calculating paths).
the original version of the bot for Minecraft 1.8.9, rebuilt for 1.12.2 onwards. Baritone focuses on reliability and particularly performance (it's over [30x faster](https://github.com/cabaletta/baritone/pull/180#issuecomment-423822928) than MineBot at calculating paths).

Have committed at least once a day from Aug 1, 2018, to Aug 1, 2019.

Expand Down Expand Up @@ -96,7 +108,7 @@ jar.

Below is an example of basic usage for changing some settings, and then pathing to an X/Z goal.

```
```java
BaritoneAPI.getSettings().allowSprint.value = true;
BaritoneAPI.getSettings().primaryTimeoutMS.value = 2000L;

Expand Down
Loading