Commit Graph
3038 Commits
Author SHA1 Message Date
Luis C.M b7eb70dd31 Merge remote-tracking branch 'origin/dev' into dev 2022-11-25 20:53:33 -06:00
Luis C.M c5d6179b95 Updated nashorn to use ECMA6 2022-11-25 20:53:03 -06:00
KAMKEEL 8996713073 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-11-25 18:37:32 -05:00
KAMKEEL 62fb7da77d branch dev 2022-11-25 18:37:22 -05:00
Luis C.M 745a8a8d93 Update api
Mirrored API update
2022-11-25 17:34:35 -06:00
Luis C.M 2f0652bc43 Update api
Test commit
2022-11-25 17:24:42 -06:00
Kamron Vaswani d5f0e0852b Update README.md 2022-11-25 17:16:42 -05:00
KAMKEEL 8f78343726 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-11-25 17:12:26 -05:00
Kamron Vaswani dfb40b626a Update README.md 2022-11-25 17:12:24 -05:00
KAMKEEL 3d4aba05a4 Add Images and Gif 2022-11-25 17:12:18 -05:00
Kamron Vaswani 2cf9a3671a Update README.md 2022-11-25 17:09:46 -05:00
Kamron Vaswani 10ce825096 Update README.md 2022-11-25 16:55:00 -05:00
KAMKEEL 3042b8776a Update Workflow to Pull Git Submodule Information before Building 2022-11-25 16:42:20 -05:00
KAMKEEL 01ff09caf2 Yes 2022-11-25 16:39:55 -05:00
KAMKEEL 803125bcfd Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-11-25 16:20:21 -05:00
KAMKEEL e23a72bc79 Update build.gradle 2022-11-25 16:20:16 -05:00
Kamron Vaswani fdc0bc0e40 Update README.md 2022-11-25 16:08:13 -05:00
KAMKEEL 6202d70fe8 Add GitHub Submodule to SRC/API 2022-11-25 16:03:54 -05:00
KAMKEEL 96cde60428 Remove Submodule 2022-11-25 15:55:25 -05:00
KAMKEEL 8e6124b473 rename 2022-11-25 15:54:45 -05:00
KAMKEEL 55b6519524 Fix Submodule 2022-11-25 15:54:03 -05:00
KAMKEEL 84eb359b3c Add Submodule 2022-11-25 15:53:32 -05:00
KAMKEEL b0ad5d43ca Delete .gitmodules 2022-11-25 15:53:20 -05:00
KAMKEEL 664b70f64b rename to API 2022-11-25 15:50:47 -05:00
KAMKEEL fd6d13e803 Rename to API 2022-11-25 15:50:17 -05:00
KAMKEEL e30f658ef5 Add Git Submodule 2022-11-25 15:48:57 -05:00
KAMKEEL 34dd24fc8d Remove API stuff 2022-11-25 15:48:04 -05:00
KAMKEEL 38b1121cae Attempt to Add Git Submodule 2022-11-25 01:41:29 -05:00
KAMKEEL 8bedd7e7ef Update CNPC+ Java Doc
-- Implemented CNPC+ Api with new Java Doc
2022-11-25 00:41:59 -05:00
Kamron Vaswani b23cda2982 Merge pull request #73 from KAMKEEL/api
Implemented API Package
2022-11-25 00:40:23 -05:00
Luis C.M 681f62eeb6 Added getHookName() function 2022-11-24 16:46:20 -06:00
Luis C.M 8ea98cba9b Made event interfaces extend from their base interfaces. 2022-11-24 16:00:27 -06:00
Luis C.M 1361e6fd18 Implemented scoreboard interfaces. 2022-11-24 14:45:16 -06:00
Luis C.M 0414817673 Implemented event interfaces, made more events cancellable. 2022-11-24 14:36:09 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL 74cb7f979d Update LogWriter.java 2022-11-15 11:46:22 -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 e05f2c8182 1.7 Gradle Change 2022-11-15 00:25:14 -05:00
KAMKEEL d520c98578 Merge branch 'louis-pathing' into dev 2022-11-15 00:23:11 -05:00
KAMKEEL c264c7c9d0 Merge branch 'master' into dev 2022-11-15 00:10:32 -05:00
Kamron Vaswani 7359117bd2 Merge pull request #72 from EverNife/fix-saving
Properly save PlayerData on json only on 'PlayerEvent.SaveToFile'
2022-11-15 00:10:02 -05:00
Luis C.M be654e19e1 ModelWings:
-Fixed wings spazzing out on flying NPCs
2022-11-14 20:47:13 -06:00
Luis C.M a9ade876ef ItemSoulstoneFilled:
-Fixed soulstoned flying NPCs dipping into the ground
2022-11-14 20:28:19 -06: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 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