Commit Graph

236 Commits

Author SHA1 Message Date
Brady 29d8ab43f2
un-poz some Command stuff 2019-10-04 19:22:15 -05:00
Brady 1440e81ea4
IArgParser API 2019-10-04 18:12:36 -05:00
Brady 3a3d880d81
ArgConsumer API separation 2019-10-04 08:55:02 -05:00
Brady f1fb109d40
Remove ICommandExecution due to redundancy 2019-09-30 21:41:30 -05:00
Brady b8c8b1eb69
Merge pull request #952 from cabaletta/commands
Commands
2019-09-30 18:45:22 -05:00
Brady 6a90b57ced
Some basic API/Main separation 2019-09-28 10:21:07 -05:00
Brady a75b90fcef
crucial performance optimization 2019-09-27 17:07:40 -05:00
Brady 9981af67d5
Remove debug code 2019-09-27 11:10:57 -05:00
Brady a04742085e
Add documentation to datatypes 2019-09-27 09:54:55 -05:00
Brady b75a78f3d3
Fix the scuff 2019-09-26 23:33:37 -05:00
Brady 45bea50c91
Fix remaining usages to be in-line with previous commit 2019-09-26 23:20:45 -05:00
Brady 5ba1e67ea0
Don't print stack-traces to chat, just inform the user of the error 2019-09-26 23:18:05 -05:00
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
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 f0c78751bf
no more asList static 2019-09-19 14:40:58 -07: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
Logan Darklock 1bb4e44b71
bom import * 2019-09-06 17:50:55 -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 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 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 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 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 2ee313a795
Don't break Forge world loading 2019-08-31 06:38:36 -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 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 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
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
Babbaj a7add6bc13
Replace klass with cla$$ 2019-08-28 20:37:05 -04: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 7b21b0401d
Merge pull request #712 from IronException/master
dimensional coords extension
2019-08-08 21:47:28 -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
Leijurv 6f251b64f1
i am very stupid 2019-07-29 17:35:06 -07:00
Leijurv f5b4de023f
update usage stuff 2019-07-24 15:33:39 -07: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
StijnSimons 8b43d93259 i forgot players and items were entities too 2019-07-20 01:37:43 +02:00