Commit Graph
100 Commits
Author SHA1 Message Date
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
Brady 23db615695 Clean up Optional bad practices 2018-08-05 23:42:17 -05:00
Brady aa635360a2 Fixed gay comment 16x16 regions = bad 2018-08-05 21:13:59 -05:00
Brady 9e9ad16686 Fix another typo 2018-08-05 19:00:45 -05:00
Brady cc0cd7b270 Fix onTick signature in PathingBehavior 2018-08-05 18:57:50 -05:00
Brady 8ef9f9db70 Minor clean ups in PathingBehavior 2018-08-05 18:57:22 -05:00
Brady 89189c532e Make Helper#world return WorldClient instead of World 2018-08-05 18:41:57 -05:00
Brady 19e5784af9 Fix typo lol 2018-08-05 18:40:10 -05:00
Brady cb09af571a Create object for render event containing partial ticks 2018-08-05 14:42:46 -05:00
Brady cc29bd16e7 Clean up mixin configuration 2018-08-05 00:25:58 -05:00
Brady 34ead03432 Call the player update event 2018-08-05 00:25:08 -05:00
Brady 89a9923185 Repackage the Pathing behavior to impl 2018-08-05 00:15:18 -05:00
Brady 12aeab4943 Fix conflicting files 2018-08-04 23:44:42 -05:00
Brady 10c847074a Initial Chunk Caching Commit
The actual code to run is commented out in GameEventHandler, uncomment for testing.
2018-08-04 23:42:58 -05:00
Brady d6b3d57560 Create GZIP compression util class 2018-08-03 22:48:47 -07:00
Brady 8250338210 Remove cached chunk development code 2018-08-03 13:32:54 -07:00
Brady 3d0d73a5ca Refactored IOpenSet implementations 2018-08-03 13:31:33 -07:00
Brady ed6a65891a Register unregistered Mixin 2018-08-03 01:46:49 -07:00
Brady b8817f2929 Fix ChunkEvent Y->Z and add POPULATE Type 2018-08-03 01:03:36 -07:00
Brady 35a60d5ed7 Pathing code cleanups, javadoc updates, etc. 2018-08-03 00:51:10 -07:00
Brady b3410ab5d0 Add ending double quote in google doc url 2018-08-02 22:06:06 -07:00
Brady 82ea42ee4c Create a see tag for google doc in javadocs 2018-08-02 21:55:53 -07:00
Brady ded5a7371f Fix gitignore 2018-08-02 20:52:28 -07:00
Brady 77f6e1c6c4 General cleanups to path calculation 2018-08-02 20:48:39 -07:00
Brady e7fcd32440 Fix another block constant check 2018-08-02 10:57:11 -07:00
Brady 1bfabdf66b Fix possible NPE warning 2018-08-02 10:56:26 -07:00
Brady 9ce1b9250f Fix the isFlowing check 2018-08-02 10:55:43 -07:00
Brady b6b67fdd71 Create ChunkEvent 2018-08-02 00:45:15 -07:00