Brady
1064a79e1d
Fix javadoc errors
2019-09-26 22:59:15 -05:00
Brady
3803bc631b
Basically game on the imports
2019-09-26 19:02:21 -05:00
Brady
0b39b3e7b4
FORCE_COMMAND_PREFIX should be exposed to the API
2019-09-26 18:59:29 -05:00
Brady
2f480fcec2
BaritoneChatControl -> main
2019-09-26 18:57:08 -05:00
Brady
f8f214ca90
Fix some null substitutions
2019-09-26 18:52:29 -05:00
Brady
595f5a35e0
Datatype Singletons
2019-09-26 18:49:26 -05:00
Brady
9f271b1f44
Future-compatibility for multiple Baritone instances
2019-09-25 18:27:47 -05:00
Brady
7292245b55
Rename PlayerByUsername to NearbyPlayer
2019-09-22 14:41:30 -05:00
Brady
9ffca6ad66
Minor javadoc tidy up
2019-09-21 17:45:53 -05:00
Brady
376c93bd3b
Consistent Stream.of usage over Arrays.stream
2019-09-21 17:37:13 -05:00
Brady
204f9d2e31
Fix redundant Stream.of usage
2019-09-21 17:25:20 -05:00
Brady
e4353e489f
Get rid of default implementation of IArgParser
2019-09-21 17:11:15 -05:00
Brady
b88af1d682
CommandManager is now Baritone instance dependent
2019-09-21 02:40:03 -05:00
Brady
9d2f83d8d6
Fix unused imports
2019-09-21 02:11:46 -05:00
Brady
ea4f34cb0f
No more passing Settings to execute and tabComplete
2019-09-21 02:07:10 -05:00
Brady
b7eaae88a8
Checked Command Exceptions
2019-09-20 18:32:43 -05:00
Brady
eaa426dd66
Fix poor usage of Cloneable
...
Because super.clone() isn't being called, the idea of "Cloneable" isn't upheld.
2019-09-20 09:51:57 -05:00
Leijurv
fc43ef9308
Merge pull request #956 from LoganDark/commands
...
Pulling in logandark's uncommitted changes to commands staging
2019-09-19 21:49:27 -07:00
Logan Darklock
8b4ac3893e
Tweaks and \n fix
2019-09-19 21:40:55 -07:00
Brady
a0f412f255
Some ArgParser cleanups
2019-09-19 21:24:44 -05:00
Leijurv
0a2e3f98f9
freecam meme
2019-09-19 18:23:05 -07:00
Leijurv
6cc29712e2
fix mine ordering
2019-09-19 17:53:50 -07:00
0x22
394775fb9a
Attempt to "fix" travis.
2019-09-19 20:06:18 -04:00
0x22
6f2529c243
Removed very angry code. Started feeding Codacy.
2019-09-19 18:54:24 -04:00
Leijurv
e976224258
a moderate amount of gamer
2019-09-19 15:31:21 -07:00
Leijurv
050b6046d7
small tweaks
2019-09-19 14:43:18 -07:00
Leijurv
f0c78751bf
no more asList static
2019-09-19 14:40:58 -07:00
0x22
fbabbe69c0
Fix a MAJOR bug caused by the JetBrains™ AutoFormatter™
2019-09-19 17:36:06 -04:00
Leijurv
b63c54b657
remove isNull and nonNull
2019-09-19 14:34:45 -07:00
0x22
307d6a0628
Remove retarded MC field
2019-09-19 17:05:15 -04:00
Leijurv
61d4f102ba
its too many blank lines
2019-09-19 13:43:40 -07:00
Leijurv
0a38e6f690
standardize on this
2019-09-19 13:40:46 -07:00
Leijurv
23a592ec01
it launches
2019-09-19 13:30:40 -07:00
Leijurv
396a96d604
reformat
2019-09-19 12:53:15 -07:00
Leijurv
0504a1d4bf
Merge pull request #949 from LoganDark/commands
...
Commands
2019-09-19 12:51:21 -07:00
Leijurv
fa905b8844
fix breaking blocks
2019-09-19 12:29:33 -07:00
Leijurv
5f674b86f8
add a setting to scan a larger radius every tick
2019-09-16 23:17:20 -07:00
Leijurv
cccd61e050
add ability to build from opposite corner
2019-09-15 11:37:09 -07:00
Leijurv
bf03a000d1
diagonal ascend
2019-09-09 23:06:36 -07:00
Logan Darklock
fc63c16ee0
initialize chat control only once ever
2019-09-07 00:21:54 -07:00
Logan Darklock
1bb4e44b71
bom import *
2019-09-06 17:50:55 -07:00
Logan Darklock
147884f76d
mineprocess reformat too
2019-09-06 17:46:26 -07:00
Logan Darklock
240af75ff7
that specific continuation indent
2019-09-06 17:45:34 -07:00
Logan Darklock
c54dcdba24
"stAnDaRd" ConTinuATion InDEnT
2019-09-06 17:41:27 -07:00
Logan Darklock
9db07faf49
import *
2019-09-06 17:31:41 -07:00
Logan Darklock
aefc82e47c
Review 2
2019-09-06 17:22:55 -07:00
Logan Darklock
8a001a2438
Review
2019-09-06 03:59:10 -07:00
Logan Darklock
69e3481a32
move default commands to main module
2019-09-04 11:17:36 -07:00
Logan Darklock
daa0d0c859
copyright notices
2019-09-04 09:16:36 -07:00
Logan Darklock
5ee1e738f4
Fix RelativePath and build command
2019-09-04 02:30:24 -07:00
Logan Darklock
382ad0079c
DrawAABB changes, set command bugfix, sel rendering change, selection setting name changes
2019-09-03 23:46:20 -07:00
Logan Darklock
8dc4ff26d6
Persistent renderManager, selection transparency setting, drawAABB fixes
2019-09-03 22:55:56 -07:00
Logan Darklock
755a3f0154
Fix #sel selectors
2019-09-03 21:58:20 -07:00
Logan Darklock
b51dccc737
DON'T THROW EXCEPTIONS IN SCHEMATICS AA
2019-09-03 21:57:20 -07:00
Logan Darklock
620fc9af64
Sliiightly more efficient AbstractSchematic#approxPlaceable()
2019-09-03 21:44:45 -07:00
Logan Darklock
991283182c
Fix some bugs with schematics
2019-09-03 08:35:16 -07:00
Logan Darklock
1413bd2f05
LOL CONTACT
2019-09-03 06:27:36 -07:00
Logan Darklock
faa8c727c3
correct sel help
2019-09-03 06:14:22 -07:00
Logan Darklock
65d2bdaf2b
Selection shifting and such
2019-09-03 06:09:02 -07:00
Logan Darklock
289971557a
Fix bug with a few old commands that causes pagination to not work
2019-09-02 19:50:14 -07:00
Logan Darklock
d1a0b735d9
First working version of WorldEdit-like commands(!!!)
2019-09-02 16:18:07 -07:00
Logan Darklock
bc0f2b59da
First version of selection stuff; nothing supports it yet
2019-09-02 11:29:48 -07:00
Logan Darklock
98bb3fba9c
Pass current blockstate to schematics
2019-09-02 03:00:21 -07:00
Logan Darklock
b405a610bb
ground work for more build commands
2019-09-01 15:53:13 -07:00
Logan Darklock
c1749057d9
Merge branch 'prefer-silk-touch' into commands
2019-09-01 15:19:17 -07:00
Logan Darklock
150f7a9fd9
extra parenthesis
2019-09-01 15:18:59 -07:00
Logan Darklock
6411fd80aa
Merge prefer-silk-touch
2019-09-01 15:02:09 -07:00
Logan Darklock
0b953a237d
Fix logic error
2019-09-01 15:01:02 -07:00
Logan Darklock
48f6d338a6
Merge upstream master
2019-09-01 14:48:42 -07:00
Logan Darklock
afc575d080
Setting to prefer silk touch, fixes #883
2019-09-01 14:47:01 -07:00
Logan Darklock
384b9b4704
Prefer silk touch setting
2019-09-01 14:45:31 -07:00
Logan Darklock
ce329d7fb3
Waypoints command
2019-09-01 14:18:59 -07:00
Logan Darklock
b96692f2d9
Save settings...
2019-09-01 13:12:06 -07:00
Leijurv
1b8aea2e6d
Merge pull request #890 from LoganDark/censoring
...
Coordinate censoring
2019-09-01 10:30:24 -07:00
Logan Darklock
97ce377b9c
Merge branch 'censoring' into commands
2019-09-01 10:16:14 -07:00
Logan Darklock
f1973b14c7
Remove MixinBlockPos since we now only log BetterBlockPos
2019-09-01 10:15:41 -07:00
Logan Darklock
73bd2cdcc3
Merge branch 'censoring' into commands
2019-09-01 10:09:12 -07:00
Logan Darklock
9038310150
Rename SettingsUtil.possiblyCensorCoordinate to maybeCensor
2019-09-01 10:06:50 -07:00
Logan Darklock
ef38051826
Coordinate censoring
2019-09-01 09:50:47 -07:00
Logan Darklock
445037b614
Coordinate censoring
2019-09-01 09:47:27 -07:00
Logan Darklock
44ec969203
yeah
2019-09-01 00:17:42 -07:00
Logan Darklock
444cde1ee9
Improve blockstate filter in BlockOptionalMeta
2019-08-31 23:08:51 -07:00
Logan Darklock
cf12cbbcf4
Don't care about meta in bom if we have none
2019-08-31 20:58:22 -07:00
Logan Darklock
bb2f4da6b6
Fix baritoneHash calculation
2019-08-31 20:53:58 -07:00
Logan Darklock
4bca6cc1a5
Scan ItemStacks correctly
2019-08-31 20:43:03 -07:00
Logan Darklock
544ae24b64
YES I DID IT
2019-08-31 19:08:43 -07:00
Logan Darklock
8fc80a285c
Waypoint hashcode + removed one unused line from followcommand
2019-08-31 18:52:24 -07:00
Logan Darklock
6ed86cb3c7
Hopefully speed up BlockOptionalMeta
2019-08-31 10:28:01 -07:00
Logan Darklock
84f45ebb48
Fix file tab completion in production environments
2019-08-31 07:55:24 -07:00
Logan Darklock
90fb17b89f
Told Proguard not to touch things it doesn't understand
2019-08-31 07:36:23 -07:00
Logan Darklock
d54e846f91
Proguard likes to fuck up my command framework in the build. This error makes it more clear when that happens
2019-08-31 07:16:02 -07:00
Logan Darklock
ee71819bb2
remove unnecessary import
2019-08-31 06:42:16 -07:00
Logan Darklock
2ee313a795
Don't break Forge world loading
2019-08-31 06:38:36 -07:00
Logan Darklock
b924e8511b
fix imports
2019-08-31 02:14:38 -07:00
Logan Darklock
15e9d756b7
Remove unused toArrayBad function...
2019-08-31 01:59:45 -07:00
Logan Darklock
8be879465a
Merge branch 'master' of https://github.com/cabaletta/baritone into commands
2019-08-31 01:05:24 -07:00
Logan Darklock
5e0b333cfd
fix comment & make final int final
2019-08-31 01:04:22 -07:00
Logan Darklock
efa243386c
Make scanChunkInto even faster
2019-08-31 01:00:37 -07:00
Logan Darklock
ae6ee5688c
add toArray, scanChunkInto usage coming soon
2019-08-31 00:51:42 -07:00
Logan Darklock
9f3eaac3df
increase efficiency of scanChunkInto by ~25%
2019-08-30 22:52:20 -07:00
Logan Darklock
c938983ff5
thisway command + fixed fromDirection for you + fixed double/float argparsers
2019-08-30 22:27:30 -07:00
Logan Darklock
172ce3a054
click
2019-08-30 18:00:34 -07:00
Logan Darklock
69ca48287e
prune before checking size
2019-08-30 17:20:20 -07:00
Logan Darklock
a6726f4e96
extend cache on threshold
2019-08-30 17:19:44 -07:00
Logan Darklock
b6c91b5062
speed up cache stuff
2019-08-30 17:13:09 -07:00
Logan Darklock
fe47245b73
Fix searchWorld cache and also speed and stuff
2019-08-30 17:12:05 -07:00
Logan Darklock
d687e1203a
BlockOptionalMeta
2019-08-30 15:38:15 -07:00
Leijurv
0280fcb2da
Merge pull request #879 from Orinion/fix-waypoint-bug
...
Check if waypoint name is Tag
2019-08-30 13:39:55 -07:00
Logan Darklock
4354d09c20
some efficiency fixes to filters + qol for leijurv
2019-08-30 12:25:59 -07:00
Logan Darklock
e3c4d06b2b
Initial commit of commands
2019-08-30 11:55:25 -07:00
Orinion
6327c8492f
fix codestyle
2019-08-30 11:54:04 +02:00
Leijurv
e7412d0d46
Merge pull request #867 from Orinion/master
...
Add replantCrops setting
2019-08-29 17:46:41 -07:00
Orinion
6a181abdcb
Check if waypoint name is Tag
...
before, saving a waypint with a tag name would not result in an error, but you would not be able to run "goto" on it. see #869
2019-08-30 02:43:59 +02:00
Orinion
65a9b1a78a
Make replantCrops override replantNetherWart
...
When replantCrops is false, baritone will not replant nether wart.
Also fixed spacing.
2019-08-29 10:36:31 +02:00
Babbaj
a7add6bc13
Replace klass with cla$$
2019-08-28 20:37:05 -04:00
Orinion
d2a046c8b4
Add replantCrops setting
...
add replantCrops setting, simmilar to replantNetherWart for the other crops.
2019-08-28 20:15:41 +02:00
Leijurv
dae6cc8e20
maintain current behavior
2019-08-23 15:23:36 -07:00
Leijurv
a2159d62e5
quite annoying
2019-08-23 15:23:00 -07:00
IronException
d927207b67
added things to avoid
...
Signs should also be avoided. A lot of history can get lost
2019-08-22 17:44:27 +02:00
Leijurv
b9f0da7d27
major unscuff of builder
2019-08-20 11:23:23 -07:00
Leijurv
1c36bf3300
repack on mine cmd
2019-08-17 22:01:53 -07:00
reb0rt
24da012903
Stop parseGoal from removing the last argument
...
isNumeric returns false if the input is anything other than a positive integer. This meant that baritone wouldn't properly set goals if they ended in anything other than a positive integer.
2019-08-18 13:04:39 +10:00
Leijurv
9046eb500b
crucial performance optimization
2019-08-16 21:16:41 -07:00
Brady
a98677dbda
crucial performance optimization
2019-08-15 03:19:19 -05:00
Scribblefoxx
e1e6a08eb2
Update Settings.java
2019-08-11 03:39:29 +10:00
Leijurv
7b21b0401d
Merge pull request #712 from IronException/master
...
dimensional coords extension
2019-08-08 21:47:28 -10:00
Leijurv
4c935fc447
epicer cached bedrock level pathing
2019-08-08 18:09:25 -10:00
Leijurv
3d221dcda4
antiquated and does more harm than good
2019-08-08 18:04:49 -10:00
Friedolin2000
ac6c413fb8
dimensional coords extension
2019-08-08 22:45:18 +02:00
Leijurv
17a07ba85e
better render
2019-08-08 09:56:06 -10:00
Howard Stark
d402ba61cc
Disable lighting on path render
2019-08-08 09:36:55 -10:00
Leijurv
014d3b3a99
goal can never be null
2019-08-01 23:47:12 -07:00
Leijurv
19fe29ad1e
i am stupid
2019-07-31 22:17:44 -07:00
Leijurv
8bcbd0231e
bye
2019-07-31 21:45:57 -07:00
Leijurv
01c0e321b5
what was i THINKING
2019-07-31 20:58:45 -07:00
Leijurv
5f721b544e
smh conner, imagine getting the same block position 2x without caching
2019-07-31 20:47:46 -07:00
Conner
9541a45451
Resolve comments
2019-07-30 21:37:50 -07:00
Conner
bba4c09195
Add parkour ascend
2019-07-30 21:07:26 -07:00
Leijurv
06c62029c5
not iffy
2019-07-30 20:04:50 -07:00
Leijurv
6f251b64f1
i am very stupid
2019-07-29 17:35:06 -07:00
Leijurv
551b6b88d2
EXTREMELY old comment that is no longer true
2019-07-28 00:19:14 -07:00
Leijurv
07cbc47fb2
extra line
2019-07-27 23:51:23 -07:00
Leijurv
f5b4de023f
update usage stuff
2019-07-24 15:33:39 -07:00
Leijurv
0e51a73149
instanceof BlockLiquid checks this
2019-07-23 11:53:21 -07:00
Leijurv
44a092cd94
Merge pull request #622 from babbaj/schematica
...
fix crash
2019-07-22 23:57:54 -07:00
Babbaj
7000b6cda2
fix crash
2019-07-23 02:56:24 -04:00
Leijurv
7a17f7d253
Merge pull request #607 from babbaj/schematica
...
build the schematic schematica has open
2019-07-22 23:53:09 -07:00
Leijurv
4338e34734
while this is cool, nothing will ever conceivably use it
2019-07-22 23:37:43 -07:00
Babbaj
61147536e5
ok
2019-07-22 16:51:09 -04:00
Leijurv
6b9737eb3f
fix double jump on paused overshot sprint ascend
2019-07-21 22:04:15 -07:00
Babbaj
fe54372a53
resolve the issue
2019-07-21 22:33:22 -04:00
Babbaj
21e9c0b7c1
add get functions
2019-07-21 22:17:21 -04:00
Babbaj
8bf977060e
dont need the fields
2019-07-21 22:06:36 -04:00
Babbaj
074ec333cf
clean up a bit
2019-07-21 21:57:59 -04:00
Babbaj
d505ec4f9f
build the schematic schematica has open
2019-07-21 21:05:43 -04:00
Leijurv
4d127acb9a
reformat
2019-07-20 23:47:51 -07:00
Leijurv
df900c9e64
use origin
2019-07-19 18:55:32 -07:00
Leijurv
93a090c56e
Merge pull request #588 from StijnSimons/master
...
I forgot players and items were entities too
2019-07-19 17:06:48 -07:00
StijnSimons
8b43d93259
i forgot players and items were entities too
2019-07-20 01:37:43 +02:00
Leijurv
053662d0af
Merge pull request #554 from StijnSimons/master
...
FollowEntity and FollowEntities
2019-07-19 16:31:04 -07:00
Brady
af943a8253
Fix issue opening fence gates in some scenarios
...
If there are 2 fence gates at the player height, and they are approached
diagonally, there is a slight chance that Baritone will be caught in an
infinite loop of opening and closing the upper fence gate, being unable
to interact with the bottom one.
2019-07-18 21:18:02 -05:00
Leijurv
8151444671
privatize this too
2019-07-18 14:15:53 -07:00
Leijurv
f32147d9d5
privatize
2019-07-17 22:41:09 -07:00
ZakME
09239f8180
PICKUP_DROPPED - Remove 2nd Items.WHEAT
...
PICKUP_DROPPED:
Remove 2nd Items.WHEAT
Re-order a few items for neatness
2019-07-16 23:50:03 -06:00
StijnSimons
3ba8824eb0
More copy paste
2019-07-15 22:34:52 +02:00
StijnSimons
b51a261bd1
Added entityfollow
...
Hey look i can cntrl + c v
2019-07-15 22:31:55 +02:00
Leijurv
38602dd141
verify top side of block, fixes #541
2019-07-14 11:13:51 -07:00
Leijurv
cdbec60da0
Merge pull request #531 from StijnSimons/master
...
Added Spider, PigZombie and Enderman conditions
2019-07-13 09:15:53 -07:00
StijnSimons
2b41012c5b
Enderman angry condition
2019-07-13 17:17:10 +02:00
Leijurv
6bb87d0a64
address an absolutely critical gap in documentation
2019-07-12 23:27:02 -07:00
Baddeveloper
b16f9edd2c
Added EntitySpider and EntityPigZombie conditions
2019-07-12 19:12:00 +02:00
Leijurv
ce4b1e09ed
fix parkour and multithread farm
2019-07-11 14:39:10 -07:00
Leijurv
01658286af
detect allowbreak false
2019-07-11 10:41:24 -07:00
Leijurv
aa90c8b7cd
address encapsulation conccerns
2019-07-10 22:18:11 -07:00
Leijurv
eba1011fd6
remove scuff
2019-07-09 23:47:42 -07:00
Leijurv
f4dd100345
fix indexof
2019-07-08 23:16:26 -07:00
Leijurv
b81bcf8c6d
fix path start in diagonal and downward
2019-07-07 11:44:56 -07:00
Leijurv
4259764b70
thank you off by one errors very cool
2019-07-07 11:12:32 -07:00
Leijurv
8f761f7dff
better skip ahead
2019-07-07 11:03:43 -07:00
Leijurv
cbbaf2aa2f
unscuff
2019-07-06 20:38:59 -07:00
Leijurv
dd9b84646a
disgraceful
2019-07-06 17:07:16 -07:00
Leijurv
199e0e5ed3
better comparison
2019-06-30 21:55:32 -07:00
Leijurv
a8155b4b0b
privatize
2019-06-29 11:56:02 -07:00
Leijurv
fdd78cf110
codcacy wants these to be combined
2019-06-28 22:17:31 -07:00
Leijurv
afff6395d1
codcacy wants a default
2019-06-27 21:02:44 -07:00
Leijurv
4d3d48e962
crucial documentation oversight
2019-06-26 23:58:22 -07:00
Leijurv
36290e4e53
crucial encapsulation improvement
2019-06-25 22:54:24 -07:00
Leijurv
fd6923dd28
ok i forgot falling into water
2019-06-24 20:38:17 -07:00
Leijurv
9c64067d49
vastly improve resilience to lagbacks, fixes #446
2019-06-24 17:53:25 -07:00
Leijurv
f4d2ea7923
fix path canceling at edge of loaded chunks hopefully
2019-06-24 10:43:49 -07:00
Leijurv
ce3d3bb244
literally no reason to have this
2019-06-23 22:49:33 -07:00
Leijurv
fa71e7d84f
reduce stupidity
2019-06-22 21:11:09 -07:00
Babbaj
3902b2db3b
increase line count and improve readability
2019-06-21 23:01:37 -04:00
Leijurv
0fd241a9ba
crucial performance optimization
2019-06-15 11:04:05 -07:00
Leijurv
7b192f17e8
privatize
2019-06-14 21:42:11 -07:00
Leijurv
cc015846d2
explain
2019-06-13 23:13:40 -07:00
Leijurv
e785bd13f5
sanity check
2019-06-12 16:41:05 -07:00
Leijurv
eb6c0a39ea
codacy wants this
2019-06-11 23:46:04 -07:00
Leijurv
86525f98ec
fix scuffed jumping, fixes #426
2019-06-10 23:12:37 -07:00
Brady
ee6796d5e2
crucial performance optimization (pt. 2)
2019-06-07 03:52:46 -05:00