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
Goodbird
54f4ed5c16
Added timer integration
2024-01-22 08:05:03 +03:00
Kam
1e8d2fa1a0
Kill Projectile after a Minute
2024-01-18 16:12:09 -05:00
Goodbird
f2f8b63ae5
Fixed bug with stuck projectiles
2024-01-18 16:10:34 -05:00
Kam
24d12e25a9
Fix IProjectile Events
...
Thank you @somehussar
2023-12-31 16:10:38 -05: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
da313f6d0a
Compatibility Helper DBC
2023-07-19 11:17:11 -04:00
Kam
54b46129a9
Capital "I" for Instance
2023-06-05 19:35:27 -04:00
Luis C.M
864ce6befc
NullPointerException fix when an NPC misses a projectile.
2023-03-29 22:13:58 -05:00
KAMKEEL
a2af8ca0b2
Apply isKilled() to update AI Tasks if NPC dies
2023-03-22 11:52:33 -04:00
Luis C.M
b04a35efc4
Added armwear functions
2023-03-17 04:34:14 -05:00
Luis C.M
58aaaa158a
IModelData:
...
-Added hidePart() comment
2023-03-17 03:04:26 -05:00
Luis C.M
6913cadc79
IModelData:
...
-Implemented hidePart() abd hidden() functions
2023-03-17 02:59:33 -05:00
Luis C.M
9a77e2f146
Made setRotation() function in ModelRotatePart clamp float values.
2023-03-17 02:38:15 -05:00
Luis C.M
f0b33cf913
Moved model scale parts into a single ModelScale class, similar to ModelRotate.
...
Added NPC model data interfaces to the API.
2023-03-17 02:36:28 -05: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
46d668f44c
Added IProjectile and its events.
2023-03-16 02:51:40 -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
Luis C.M
d2611385de
ITimers:
...
-Added timerIds() function, listing all active timer IDs
2023-01-03 19:30:15 -06:00
KAMKEEL
be9ae94163
Start API Branch
2022-11-15 15:25:53 -05:00
KAMKEEL
0500cefa2a
Limg Swing
2022-11-15 00:48:35 -05:00
KAMKEEL
244bde8586
Fix Indents
2022-11-15 00:48:31 -05:00
KAMKEEL
ffbc261a32
Update EntityNPCFlying.java
2022-11-15 00:31:58 -05:00
KAMKEEL
d520c98578
Merge branch 'louis-pathing' into dev
2022-11-15 00:23:11 -05:00
Luis C.M
69afa29e9c
EntityNPCFlying:
...
-Fixed fly height limit
2022-11-14 20:22:50 -06: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
KAMKEEL
5a1be375a0
Refactor Fly Code
2022-11-10 12:34:05 -05: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
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
267bc8b239
Flying NPCs no longer hover slightly above the ground
2022-11-07 12:24:33 -06:00
KAMKEEL
6c20ff2d14
Fix Fly Remote Reset
2022-11-07 01:40:11 -05:00
Luis C.M
9c82e60a6e
EntityNPCFlying:
...
-Re-implemented flying gravity (woops)
2022-11-05 04:10:00 -05:00
Luis C.M
4bad48352c
NPCs no longer constantly pathfind when set to return to their home, and already there.
...
Flying NPCs:
-Pathfinding has a cooldown to decrease the amount of times they create a new path.
-Fly height limit implemented using getTopSolidOrLiquidBlock instead of iterating through blocks below the NPC.
2022-11-04 23:56:09 -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