Kam
83a07d8b1d
Check KO
2024-04-11 22:18:23 -04:00
Kam
80569dce51
Remove AI Twist [Does not Work] (Tested)
2024-03-19 22:11:22 -04:00
Kam
0f95307664
Remove Combat Policy Comments
2024-03-13 21:47:33 -04:00
Kam
9f124f721c
Fix Combat Policy Stubborn chances not working
2024-03-13 21:43:10 -04:00
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
90b34127c3
AI World Lines Cooldown
2024-03-12 01:54:44 -04:00
Kam
d9d2481b7f
Attempt to fix AI Sprint
2024-03-12 01:54:32 -04:00
Kam
953d2c1357
Push AI Twist Type
2024-03-04 02:34:59 -05:00
Kam
e46b78ff71
Optimize Imports
2024-02-15 17:54:28 -05:00
Kam
76000ecf55
Change attackDelay variable to be called SwingWarmup | Better Naming
2024-02-12 03:14:23 -05:00
Kam
eb01579f4a
SwingWarmup Time, CobwebAI Change, Change GUI Layout
2024-02-12 02:58:34 -05:00
Kam
8ff3584fad
Readability for Dodge AI
2024-01-31 02:24:26 -05:00
Kam
3485392a38
Should be indented
2024-01-31 01:53:08 -05:00
Kam
173bf91342
Tactical Switcher
2024-01-31 01:48:49 -05:00
Kam
2b5567aab7
Remove Comment
2024-01-31 01:48:36 -05:00
Kam
52cdf91670
Initial Push for new Combat Policy Types [WIP]
2024-01-30 21:50:19 -05:00
Kam
bc0439ee0b
Fly Moving Helper
2024-01-24 00:10:24 -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
da313f6d0a
Compatibility Helper DBC
2023-07-19 11:17:11 -04:00
KAMKEEL
bda76bafe6
Optimize Imports
2023-01-12 21:33:06 -05:00
KAMKEEL
6e92f08851
Config Overhaul
2023-01-07 00:21:08 -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
e1c9b69335
Removed LRU hashmap, increases performance.
2022-11-12 17:43:36 -06:00
Luis C.M
52563f1cfe
Reverted PathNavigateFlying.
2022-11-12 17:25:01 -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
aa4b1dd9fb
PathNavigateFlying:
...
-Significantly improved flight performance using an LRUHashMap.
2022-11-12 12:09:22 -06:00
Luis C.M
c3a0298902
Improved performance of isDirectPathBetweenPoints.
2022-11-11 03:16:56 -06:00
Luis C.M
3f58ef029c
Improved isDirectPathBetweenPoints detection in flight pathing, still need to optimize.
2022-11-11 02:17:54 -06:00
Luis C.M
a69468322e
Added new isDirectPathBetweenPoints function with severely increased performance.
2022-11-10 20:19:36 -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
554bcac4d3
Fixed flying pathfinding not being able to go above/below walls in the air
2022-11-10 00:47:40 -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
45c43a399b
Clean and Refactor Fly Code
2022-11-07 21:23:33 -05:00
KAMKEEL
88b7c43af0
small adjustment
2022-11-07 17:07:35 -05:00
KAMKEEL
054f4d85ee
Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev
2022-11-07 15:40:11 -05:00
KAMKEEL
5ac230ee52
Fix this.NoPath Null Check
2022-11-07 15:40:07 -05:00
Luis C.M
4674f59ae1
Fly pathing size compatibility fix
2022-11-07 14:28:41 -06:00
KAMKEEL
eb9efce68c
Update PathNavigateFlying.java
2022-11-07 15:08:39 -05:00
KAMKEEL
73938d20ab
Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev
2022-11-07 14:48:54 -05:00
KAMKEEL
cd91636993
Update AIMoveSpeed for CheckStuck
2022-11-07 14:48:47 -05:00
Luis C.M
219d0f1802
Fixed strange flight behavior in flying NPCs with sizes below 5.
2022-11-07 13:32:31 -06:00
Luis C.M
a1eb8ff91b
Fixed odd NPC bobbing and NPCs with fly height limits not being able to path
2022-11-07 13:01:57 -06:00
Luis C.M
cc42f1f141
PathNavigateFlying:
...
-Flying fix. :)
2022-11-07 06:46:38 -06:00
KAMKEEL
cdebcc352c
Correct PathNodeType
2022-11-07 03:16:05 -05:00
KAMKEEL
bfb446b0de
Move Helper Public
2022-11-07 01:40:24 -05:00
KAMKEEL
33d7b73cb1
Fix Fly Remote Reset
2022-11-07 01:39:47 -05:00
KAMKEEL
291065024a
Revert "Revert "CostMalus != 0 :D""
...
This reverts commit 8aef214c88 .
2022-11-07 01:08:53 -05:00
KAMKEEL
8aef214c88
Revert "CostMalus != 0 :D"
...
This reverts commit f564a388ad .
2022-11-07 00:57:14 -05:00
KAMKEEL
b223381c29
Remove Cooldown
2022-11-07 00:56:12 -05:00