Commit Graph
113 Commits
Author SHA1 Message Date
Kam b17d95edde Combat Policy: Tactical Completed
- Added Normal / Reverse Button

Tactical targets the strongest threat, while Reverse targets the weakest ones
2024-03-13 20:02:38 -04:00
Kam 0f343b66a9 Small Fixes to AI Task handling priorities. Fix Dodge and Orbit to have better speeds 2024-03-12 01:56:06 -04:00
Kam 6f6d4c041b Remove Weird Global Item Givers / Fixes Item Givers 2024-03-05 13:51:03 -05:00
Kam 2dfb383245 Turn in Quests now work for Parties 2024-03-05 01:04:15 -05:00
Kam 1e51d6b243 Change to Hitbox to use Scale instead 2024-02-29 22:41:58 -05:00
Kam 41b65496f1 Include this sectionin Hitbox Refactor 2024-02-29 22:20:59 -05:00
Kam b8c01f8455 Merge branch 'dev' into hitbox-settings 2024-02-29 22:15:26 -05:00
Kam e044889b33 Should already be fixed | Fix Unneeded 2024-02-20 00:43:00 -05:00
Kam 2cc5e31dc7 Fix Dimension ID handling 2024-02-20 00:39:51 -05:00
Goodbird d10d582a18 Linked custom hitbox data to data display and to npc 2024-02-18 17:26:31 +03:00
Kam ec78673fa2 Tell client NPC is being drawn 2024-02-15 17:49:48 -05:00
Kam eb01579f4a SwingWarmup Time, CobwebAI Change, Change GUI Layout 2024-02-12 02:58:34 -05:00
Kam aab5a9ca04 Sync Tactical Chance with Stubborn Combat Policy 2024-02-03 03:51:09 -05:00
Kam 173bf91342 Tactical Switcher 2024-01-31 01:48:49 -05:00
Kam 52cdf91670 Initial Push for new Combat Policy Types [WIP] 2024-01-30 21:50:19 -05:00
Kam ea217dde75 Merge Dev into Experimental 2024-01-25 01:26:16 -05:00
Kam fc34e0a40d Update CNPC+ to Support GeckoLib Mixin with Addon Classes 2024-01-24 22:05:56 -05:00
Kam d82466e281 Remove Print oops 2024-01-23 23:42:12 -05:00
Kam 509d32bfc1 Add two types of Leaps -- Jump and Pounce 2024-01-23 23:32:02 -05:00
Kam ebffc0e80e Create Combat Handler to help Ai to help manage which player should be at tacked 2024-01-23 23:16:42 -05:00
Kam 3c225f74db GeckoLib Addon is now an OPTIONAL Supported Addon [WIP] 2024-01-22 20:32:03 -05:00
Kam 3e43855128 Merge Dev into PR 110 2024-01-18 14:45:08 -05:00
Goodbird 21c16e5341 Implemented a better synchronisation system for left hand item and projectile item, similar to main hand and armor items system for vanilla 2023-12-08 09:47:18 +03:00
Goodbird 8aa9d16d8e Fixed a bug with bodyOffsetY synchronisation 2023-12-08 09:20:36 +03:00
Luis C.M eed9dbb92e Added line support for ICustomNpc 2023-12-03 20:48:37 -06:00
Kam 3f534ee004 URLs on Cloaks 2023-11-15 22:55:15 -05:00
Kam 5a9bf01f7f Invisible NPC Fix? 2023-09-15 14:33:24 -04:00
Kam 54b46129a9 Capital "I" for Instance 2023-06-05 19:35:27 -04:00
KAMKEEL a2af8ca0b2 Apply isKilled() to update AI Tasks if NPC dies 2023-03-22 11:52:33 -04:00
Luis C.M fe780d69ee Added target lost event. Added all new NPC events to the old 1.7.10 script system. 2023-03-16 04:56:33 -05:00
Luis C.M 29935a1c6d Implemented local NPC event scripts. 2023-03-16 04:27:19 -05:00
Luis C.M 19e14983aa IWorld:
-Fixed isPlaceCancelled and isBreakCancelled functions
2023-03-15 23:10:03 -05:00
KAMKEEL 7db4d2649b Typo correction: "companion" 2023-03-02 16:10:22 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
Luis C.M 8905f5f42e Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
2023-01-11 19:12:53 -06:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL 244bde8586 Fix Indents 2022-11-15 00:48:31 -05:00
Luis C.M 51b412a0bf Pathing improvements.
EntityAIReturn:
-Fixed NPC still creating a new path when close to the NPC's home.

EntityNPCInterface:
-Fixed flying NPCs having their home Y position dip into the ground.
-NPCs update their move helpers and navigators when they can't breathe.

FlyingMoveHelper:
-Reduced calls to Math.atan2 (very expensive operation to be unnecessarily calling every tick)

FlyPathFinder:
-Water opens an OPEN path point iff the NPC can swim, not iff the NPC's drowning type != 1.

NPCPath:
-Made PathPoint occurrences use NPCPathPoint

PathNavigateFlying:
-A slightly larger area of blocks with respect to width is checked om rayTraceBlocks(), and the function now also correctly checks for liquids.
2022-11-13 23:49:49 -06:00
Luis C.M d86f571df6 PathNavigateFlying:
-Fixed pathfinder running into lava & water when it shouldn't.
FlyPathFinder:
-Simplified nodeTypeToOffset switch statement, removed unused function, and made air always return an open path node type.
EntityNPCInterface:
-Fixed "In Air" drowning type. Breathes underwater now.
EntityNPCFlying:
-Fixed NPCs still using flight movement when not being able to breathe.
ICustomNpc:
-Added canBreathe() function
2022-11-12 15:53:20 -06:00
Luis C.M 7425e935f1 EntityNPCInterface:
-Fixed flying NPCs not returning to mid-air start y positions.
2022-11-11 16:57:06 -06:00
Luis C.M 2c1a5d330a Improved pathfinding, and made NPCs able to traverse through lava/fire sources and water if immune to fire or able to breathe in water respectively. 2022-11-10 17:38:37 -06:00
Luis C.M 081c47b0aa Path optimizations 2022-11-10 03:26:32 -06:00
Luis C.M 83db114a0d Decreased max safe point tries for flight pathing, and added limit to pathfinding while loop. 2022-11-10 01:18:25 -06:00
Luis C.M 8e023eacfd Fixed flight pathing, merged with some 1.7.10 code. 2022-11-10 00:31:14 -06:00
KAMKEEL cc39e62bd4 Fix Reset Flying NPC to Spawn POINT 2022-11-07 21:23:46 -05:00
KAMKEEL 6c20ff2d14 Fix Fly Remote Reset 2022-11-07 01:40:11 -05:00
KAMKEEL b749ba1dec Add Override to EntityNPCInterface 2022-08-26 15:50:58 -04:00
c0508383 5cbbecf751 Fixed NPCs ignoring knockback resistance when attacked by players that are sprinting or have enchanted items. 2022-08-16 12:30:58 -05:00
c0508383 2819c76d0a ICustomNpc:
-Fix for setRetaliateType
2022-07-27 18:47:20 -05:00