Commit Graph
100 Commits
Author SHA1 Message Date
Brady b073d591fb Fix non-monotonic elapsed time checks, fixes #108 2018-08-29 18:23:11 -05:00
Brady 65bfe466bb Clean up retrieving tags by string 2018-08-27 20:06:48 -05:00
Brady 43b7aece74 Move events to api package 2018-08-27 19:37:21 -05:00
Brady 423087cc12 Add a way to hook into Baritone's post-init stage 2018-08-27 17:45:43 -05:00
Brady 8f8bedb1b0 If we're going to have a getter we might as well use it 2018-08-27 14:35:30 -05:00
Brady 3da6b160db Include setup commands in the README 2018-08-27 13:59:36 -05:00
Brady 71e04ad104 Change the instructions in the README 2018-08-27 13:53:17 -05:00
Brady 92e0b842be Double frown? Let's be more positive! 2018-08-27 13:51:22 -05:00
Brady 3bf4b997b0 Rename getByValueType to getAllValuesByType 2018-08-27 13:39:36 -05:00
Brady 68c2537d20 Leijurv doesn't know how unsigned works in java 2018-08-26 12:09:23 -05:00
Brady 5c7ffe6ed1 Removed irrelevant TODO 2018-08-26 02:25:13 -05:00
Brady 8de7963c74 Allow opening of fence gates that are blocking movement, fixes #46 2018-08-26 02:17:52 -05:00
Brady f1fcacf241 Fix refmap not generating with the proper name 2018-08-26 01:45:33 -05:00
Brady 5ec99977fa Fix water bucket falling, fixes #91 2018-08-26 00:09:44 -05:00
Brady 1801551d3b A less atrocious approach to fixing 95 2018-08-25 23:12:43 -05:00
Brady 7d863ebfed Intercept toStringHelper to fix BlockPos obfuscated name, fixes #95 2018-08-25 23:03:36 -05:00
Brady 72c2a58ef2 Replace ArrayList type fields with List 2018-08-25 18:35:41 -05:00
Brady 32a0f4eaac All around minor cleanups to movement classes 2018-08-25 18:30:23 -05:00
Brady c6ca584847 Clean up isDoorPassable 2018-08-25 17:24:10 -05:00
Brady 871dc98acc Change SOLID pathing types based on dimension, fixes #88 2018-08-25 14:22:39 -05:00
Brady 21c1fc09e7 Added newlines after every declaration in PathEvent enum 2018-08-25 02:10:31 -05:00
Brady 8ff89e7400 Block break simulation instead of input override for breaking, fixes #74 2018-08-25 01:38:53 -05:00
Brady d14d0e131b Better comment explaining new folder depth check 2018-08-25 00:24:19 -05:00
Brady cbec60472b Replace anonymous thread in PathingBehavior with lambda body 2018-08-24 13:54:01 -05:00
Brady 830c90dd97 Use relative path to main game dir as comparison, fixes #86 2018-08-23 21:26:28 -05:00
Brady 71ce9cd901 Make the prefix optional 2018-08-23 21:01:35 -05:00
Brady 93de55318f Force # command prefix 2018-08-23 20:57:32 -05:00
Brady c8de4a4e00 Fix coloring across multiple lines 2018-08-23 20:43:37 -05:00
Brady 6ce0f40451 Waypoint magic 2018-08-23 20:16:40 -05:00
Brady c3009b46a8 End of file magic values are bad change my mind 2018-08-23 20:09:40 -05:00
Brady e778a79a7b Loading an mp4? nah. Saving one? yep. 2018-08-23 19:44:30 -05:00
Brady 05ba817052 get owned idiot
https://i.imgur.com/NoMJHXE.png
2018-08-23 19:39:50 -05:00
Brady 00b0266c43 Fix duplicate waypoint issues and bad bed positions 2018-08-23 19:39:04 -05:00
Brady 18a9206058 Fix comparison between incompatible types, fixes #83 2018-08-23 19:27:18 -05:00
Brady 42b7597cd6 Remove printed debug code 2018-08-23 19:19:24 -05:00
Brady 4de52cfec2 Fix duplicate onPlayerDeath call b/c mojang is bad, fixes #85 2018-08-23 19:18:49 -05:00
Brady 85c88e669c Potentially fix issue in obfuscated environment 2018-08-23 19:05:54 -05:00
Brady 8ef71da481 Make artifact version align with milestone version 2018-08-23 18:49:48 -05:00
Brady 54151b9a30 Fix baritone not using its own refmap 2018-08-23 18:43:24 -05:00
Brady 40545c0c5d Add player null check to our allowUserInput hook, fixes #81 2018-08-23 18:34:54 -05:00
Brady c14f0dac8f Remove MixinMain
Was a misinterpretation of something Leijurv didn't actually add ??
2018-08-23 17:04:00 -05:00
Brady d17122a777 Fix some mixins which referenced a non-obfuscated method 2018-08-23 17:01:51 -05:00
Brady 1889e37493 Replace lambda with method reference 2018-08-23 15:05:37 -05:00
Brady 8dd064838b Utilize streams when finding most recent waypoint of a given tag 2018-08-23 14:52:35 -05:00
Brady 2d7b465844 Added an anti-cheat compatibility setting, to tie in with free look 2018-08-22 22:07:27 -05:00
Brady dbb5d56b74 Fix MixinGuiGameOver init Injection parameters 2018-08-22 21:45:45 -05:00
Brady 6a5bdf9023 Cache the block break time in ToolSet, fixes #80 2018-08-22 21:33:56 -05:00
Brady 9dcadc979e Add death waypoints when the player dies, fixes #75 2018-08-22 21:26:45 -05:00
Brady 5760d0fb8d Fix MixinMinecraft#onBlockBreak local capture 2018-08-22 21:05:52 -05:00
Brady 060eeb9737 Add automatic bed waypoints on interact, fixes #79 2018-08-22 21:04:37 -05:00
Brady e4e0fdd6d0 Change REGION_MAX to 58594, fixes #73 2018-08-22 16:46:24 -05:00
Brady a407fa66a2 Fix placing blocks when in a gui screen and pathing 2018-08-21 21:07:57 -05:00
Brady 71abf0c27e Fix MovementFall from forcing rotations when unnecessary 2018-08-21 18:24:38 -05:00
Brady c96b9cb6af Added free look option 2018-08-21 18:19:20 -05:00
Brady 843bc17777 Add forceRotations field to MovementState
Preparation for silent moving
2018-08-21 17:52:09 -05:00
Brady 194dd7abe7 Automatically disable auto-jump while pathing is active, fixes #31 2018-08-21 17:06:34 -05:00
Brady a9cac7718e Fix inputs overrides not resetting when out of world, fixes #43 2018-08-21 16:36:51 -05:00
Brady 4cf5ba0fcc Added QueryItemSlotForBlock event, fixes #37 2018-08-20 20:41:38 -05:00
Brady 3eb28f39cb Fix integer division in floating point context 2018-08-11 20:49:00 -05:00
Brady 273a00753d Refactor some event related things 2018-08-11 00:03:16 -05:00
Brady 6900fb2ade Replace some GL 1.1 calls with GlStateManager calls 2018-08-10 23:43:23 -05:00
Brady 2d16157d1b Create CachedChunk BitSet validity method 2018-08-10 22:25:02 -05:00
Brady ff929b9260 Add hotbar check for presence of water bucket 2018-08-10 22:24:26 -05:00
Brady 22a6a4285f Use the actual game's code in ToolSet#getStrVsBlock 2018-08-10 00:08:29 -05:00
Brady 326d979c0b Clean up PathRenderer 2018-08-09 20:25:43 -05:00
Brady 9fd207040e Fix unnecessary unboxing/reboxing of Floats in Rotation 2018-08-09 18:26:17 -05:00
Brady 4ea4e5fa43 Simplify LookBehaviorUtils's reachableCenter method 2018-08-09 18:24:46 -05:00
Brady ef3c9999c8 LookBehaviorUtils cleanups 2018-08-09 17:07:35 -05:00
Brady 80ef73c279 Move path rendering methods to new class 2018-08-09 16:48:10 -05:00
Brady 2b6d86dcdd Move fromAngleAndDirection to GoalXZ 2018-08-09 16:35:42 -05:00
Brady 4d32ba131a Fix deprecation warning 2018-08-09 16:05:14 -05:00
Brady f55686295c Remove redundant inheritance of Helper in PathExecutor 2018-08-08 23:13:36 -05:00
Brady f7037bf775 Some general cleanups to goal implementations 2018-08-08 18:55:20 -05:00
Brady 1ede48a5e4 Rename water bucket stack constant 2018-08-08 16:22:07 -05:00
Brady 8de0d0ccd3 Replace water bucket stack creation with a constant value 2018-08-08 16:19:47 -05:00
Brady db01331560 Remove arbitrary old Minebot hooks 2018-08-08 03:37:29 -05:00
Brady ebde6f26e9 Created MemoryBehavior
Includes basic memory of inventories that have been interacted with.
2018-08-08 03:35:29 -05:00
Brady 6a13e2da64 Fix my inability to replace template members 2018-08-07 23:15:22 -05:00
Brady 199473e6ef Added copyright configuration files 2018-08-07 22:29:18 -05:00
Brady 27f7b5a3cc Add GNU General Public License v3 2018-08-07 22:16:53 -05:00
Brady 27d686674e Clean up connected position code 2018-08-07 22:03:41 -05:00
Brady 3f7b552577 Cached Chunk Path Finding 2018-08-07 19:41:13 -05:00
Brady b5ddd17131 Clean up angle calculation 2018-08-07 19:36:51 -05:00
Brady adb6904d53 Replace ToolSet parameter in cost calculation with CalculationContext 2018-08-07 16:36:32 -05:00
Brady 317b3fc683 Update to Mixin 0.7.10 SNAPSHOT 2018-08-07 16:15:00 -05:00
Brady fc082f42e7 General cleanups to the movement system. 2018-08-07 16:14:36 -05:00
Brady 8b63a3adad Fixed cached chunks not loading from file properly 2018-08-07 01:11:49 -05:00
Brady f047dd08b0 Fix bad block lookups with cached chunks 2018-08-07 00:48:02 -05:00
Brady 3f81453622 Added packet send and receive listeners 2018-08-06 21:41:17 -05:00
Brady 67f5d22280 Change isFlowing parameter to BlockPos for 1.13 changes 2018-08-06 20:25:46 -05:00
Brady e4492b654d Fix a couple instances of redundant IBlockState parameters 2018-08-06 20:18:16 -05:00
Brady 70dfb40e5f Create constant for throwaway items 2018-08-06 19:50:39 -05:00
Brady 1beff941d2 Add fallback item constant to ToolSet 2018-08-06 19:43:20 -05:00
Brady 5b3eb5a375 Add rotation method to respect relative angles 2018-08-06 19:16:33 -05:00
Brady 1332dd573e Fix onPlayerUpdate not being called 2018-08-06 18:56:57 -05:00
Brady 5964ac60b4 Restrict LookBehavior constructor 2018-08-06 03:28:57 -05:00
Brady e27724aca5 findPath doesn't throw an exception 2018-08-06 03:23:40 -05:00
Brady e41a04a0d3 Fix BufferBuilder locals that were incorrectly named 2018-08-06 02:48:42 -05:00
Brady e8149f166f Utilize Optional return types where mostly applicable 2018-08-06 02:21:47 -05:00
Brady 091c19ca72 Fix possible NullPointerExceptions caused by last commit
Silly Brady forgot how Optional works!
2018-08-05 23:45:50 -05:00