Luis C.M
c950dcfa5a
Adjusted puppet arm pivots based on body angles.
2022-12-22 16:31:28 -06:00
Luis C.M
bb7b33bf95
Added puppet offsets and adjusted puppet leg pivots based on body angles.
2022-12-22 15:24:39 -06:00
Luis C.M
4f553a9ee4
Fixed legs being dislocated from body for puppet NPCs when the body's Y-rotation is modified.
2022-12-22 10:54:56 -06:00
Luis C.M
343721c87a
Fixed arms being dislocated from body for puppet NPCs when the body's Y-rotation is modified.
2022-12-22 10:40:54 -06:00
Luis C.M
74ed9d9de9
Very small fix to setRotation function
2022-12-22 10:15:08 -06:00
Luis C.M
c0ad318573
Added setRotation function to set all three rotations for parts.
2022-12-22 10:02:21 -06:00
Luis C.M
1d6499ea48
Added puppet animations and more functions for the IJobPuppet interface.
2022-12-22 01:36:50 -06:00
Luis C.M
5d520837b1
Implemented a way to play ISound(s) to players without using a sound ID.
2022-12-21 19:07:19 -06:00
Luis C.M
a895c8bd24
NpcAPI:
...
-Added millisToTime(long) and ticksToTime(long) functions to return time formatted strings from long values.
IPlayerQuestData:
-Added last completed time functions for repeating quests.
IQuest:
-Added repeat functions for repeating quests.
ServerCloneController:
-Fixed cloned NPCs having identical UUIDs.
2022-12-20 09:21:39 -06:00
Luis C.M
73ceeab907
Tracked quest data is sent for the next quest when a quest is completed now.
2022-12-19 17:18:28 -06:00
Luis C.M
808de24db4
Player data is now saved to disk when a quest is finished. Removed an unused packet.
2022-12-19 17:07:50 -06:00
Luis C.M
cfac349265
Fixed quest reward null pointer exception.
2022-12-19 16:09:18 -06:00
Luis C.M
3d498814f9
Implemented custom commands.
2022-12-18 15:54:14 -06:00
Luis C.M
a47af08d0f
Fixed spawning clones without checking for region protection.
2022-12-18 02:58:12 -06:00
Luis C.M
6f33b9df92
NpcAPI:
...
++ hasGlobalObject(String)
2022-12-16 19:36:39 -06:00
Luis C.M
7a715ef308
NpcAPI:
...
Added functions for adding keywords to global script running
++ addGlobalObject(String,Object)
++ removeGlobalObject(String)
++ getEngineObjects()
2022-12-14 17:53:57 -06:00
Luis C.M
3945e7ffb8
NpcAPI:
...
Added createItemFromNBT(INbt) function.
2022-12-14 16:44:13 -06:00
Luis C.M
3152cf2379
ScriptController:
...
-Fixed engine test null pointer exception.
2022-12-14 01:55:32 -06:00
Luis C.M
958aeea46a
ScriptNpc:
...
-Fixed setRole and setJob functions.
2022-12-07 23:38:15 -06:00
Luis C.M
68600d7d00
Added additional GraalJS flags
2022-11-27 23:56:38 -06:00
Luis C.M
57920b02b7
Merge remote-tracking branch 'origin/dev' into dev
2022-11-27 21:43:36 -06:00
Luis C.M
8e6f5b10d1
Implemented GraalJS support.
2022-11-27 21:43:29 -06:00
KAMKEEL
4226fcf0e1
Update Config
2022-11-26 03:11:38 -05:00
KAMKEEL
00f6308666
Update VersionChecker.java
2022-11-26 02:51:09 -05:00
Luis C.M
7094ed28f1
IScoreboard & IScoreboardTeam:
...
-Added functions that use IPlayer objects instead of player names (strings).
2022-11-25 21:37:19 -06:00
Luis C.M
ed0290217f
Added config to optionally enable/disable the ECMA6 Javascript standard in scripts.
2022-11-25 21:33:43 -06:00
Luis C.M
c5d6179b95
Updated nashorn to use ECMA6
2022-11-25 20:53:03 -06:00
Luis C.M
681f62eeb6
Added getHookName() function
2022-11-24 16:46:20 -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
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
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
7425e935f1
EntityNPCInterface:
...
-Fixed flying NPCs not returning to mid-air start y positions.
2022-11-11 16:57:06 -06:00
Pétrus Pradella
85a01a40d7
Remove missed debug message from PlayerDataConller.savePlayerData()
2022-11-11 15:21:58 -03:00
Pétrus Pradella
79e20b07db
Properly save PlayerData on json only on 'PlayerEvent.SaveToFile'
2022-11-11 15:15:42 -03:00