Commit Graph

39 Commits

Author SHA1 Message Date
fullwall 74a861142b Add durations to settings, allow falling distance to be set for all mobs 2023-03-12 22:30:19 +08:00
fullwall 7244834e34 Make NPCs more likely to swim, add speed setting in water 2023-02-08 22:07:15 +08:00
fullwall 52955febf1 Add null check for A* finder, clone itemstacks in drop trait 2023-01-19 18:11:42 +08:00
fullwall ffac34f734 Fix player ticking 2023-01-05 22:51:42 +08:00
fullwall ffef42efb7 Packet NPCs now properly spawn, fix NPE in new pathfinder, fix 1.8.8 compatibility with /npc shop 2023-01-04 23:02:33 +08:00
fullwall b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall 1c459c3da2 Unify getCurrentDestination semantics 2022-05-26 22:07:26 +08:00
fullwall dfb63084b2 Run source format 2022-02-28 17:01:59 +08:00
fullwall 89e06a3e67 Add null checks 2022-02-21 17:36:57 +08:00
fullwall b12ae2ee66 Improve underwater pathfinding, cleanup 2022-02-19 18:26:37 +08:00
fullwall b26dfb3d0f Implement new PathStrategy method, improve swimming navigation 2022-02-19 16:36:31 +08:00
fullwall 5bf9fdc6c9 Make NavigatorParameters#run run consistently 2022-02-13 21:39:22 +08:00
fullwall 5c3878d2f8 Implement destinationTeleportMargin. Tweak pathfinding in an attempt to fix minecraft navigation issues with players. Expect changes. 2022-01-29 14:56:29 +08:00
fullwall 61c6863d5f Trial collision box checking for pathfinding to assist with half blocks - needs testing especially with doors 2021-11-21 22:12:17 +08:00
fullwall d4c557d5b2 Improve /npc text editor, implement speech bubbles, allow armor stands to pathfind using the A* finder, allow /npc bossbar to work on all entities 2021-07-19 23:02:41 +08:00
fullwall 53e2b50ce8 Fix bugs including 1.17.1 player movement, flying yaw and stats incompatibility on 1.17.1 2021-07-10 00:47:05 +08:00
fullwall 5306a68b6a Fix target location for mc navigator 2021-06-29 00:10:24 +08:00
fullwall 9c8d26e73b Use new waterlogged methods 2021-06-25 17:01:18 +08:00
fullwall 85c1f8f732 Fix horse mounted navigation 2021-05-30 00:23:13 +08:00
fullwall 0499839115 Fix navigation bug with duplicate examiners, add change detection to scoreboard to avoid sending as many packets 2021-01-27 22:38:50 +08:00
fullwall 9310dde3f0 Add new navigation strategy without pathfinding 2020-11-20 19:11:26 +08:00
fullwall 5bfe08ecfb Rudimentary movement strategy for non-living entities 2020-07-27 15:56:42 +08:00
fullwall 9d2cad098a Implement new bounding box checker for pathfinding 2020-06-30 20:39:40 +08:00
fullwall c2467b7a25 Adjust horse pathfinding 2020-05-12 16:48:21 +08:00
fullwall cc14768607 New finder now sets the passenger movement for horses 2020-05-11 20:36:35 +08:00
fullwall c72016046b Fix player movement speed and add iterations per tick setting for new pathfinder 2020-05-06 18:08:12 +08:00
fullwall 14ebf26935 Try to avoid water more 2020-04-08 23:59:49 +08:00
fullwall 63a88acf81 Fix distance calculations for new pathfinder 2019-10-17 18:04:20 +08:00
fullwall 72002e96fa Don't fall through 2019-10-17 17:38:57 +08:00
fullwall d7e1110d46 Normalise distance margin calculations across implementations and loosen up the y distance restriction 2019-10-16 18:04:55 +08:00
fullwall d9afd7ebdf Don't use door code 2019-05-23 17:32:38 +08:00
fullwall 86f4118683 Set destVector for doors as well 2019-04-25 16:57:36 +08:00
fullwall 0f45b85ca3 Compare to destination vector not block vector for A* 2019-04-25 16:55:48 +08:00
fullwall fd7b6c6fbf Add new pathfinder maximum iterations setting 2018-03-15 16:46:57 +08:00
fullwall 680af76457 Make the new pathfinder go through door corners instead of the middle of the door to avoid getting caught 2018-03-15 15:46:10 +08:00
fullwall f33804609e Add -l flag to /npc spawn and add /npc metadata
Add /npc remove --owner
2018-01-01 14:41:10 +08:00
fullwall e3981a15a6 Implement debug NavigatorParameter and change some Player yaw code 2016-12-10 19:53:55 +08:00
fullwall 97feb5390e Only pathfind on update 2016-09-05 19:23:18 +08:00
fullwall 449a7bd46a Convert to multi module 2016-08-03 19:19:24 +08:00