Luis C.M
28a1650c05
Added setRotation(float rotationYaw, float rotationPitch) function for IEntity & ICustomNpc
2023-01-03 23:36:53 -06:00
Luis C.M
b167755cc0
Fixed a small puppet offset client update bug.
2022-12-31 18:47:13 -06:00
Luis C.M
d638c98d81
Added alternate distanceTo function using three double values instead of an IPos object.
2022-12-28 00:45:27 -06:00
Luis C.M
1df7819931
Added a few more functions having to do with capturing picked up drops to IEntity.
2022-12-27 20:27:36 -06:00
Luis C.M
828d03a0cb
ScriptEntity:
...
-Fix to getStoredDataKeys()
2022-12-27 17:29:22 -06:00
Luis C.M
7d4a59d45a
IEntity & IWorld:
...
-Added getStoredDataKeys() & getTempDataKeys() functions.
2022-12-27 16:46:59 -06:00
Luis C.M
1ac0b3b0a3
Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal.
2022-12-26 01:13:28 -06:00
Luis C.M
699b24e467
More fixes to global NPC scripts not executing on servers, and added more functions to IEntityLivingBase.
2022-12-24 01:46:43 -06:00
Luis C.M
2588f14105
Changed the functionality of the new variable that allows for larger angles.
2022-12-22 17:15:40 -06:00
Luis C.M
678ee8fc02
Added more API functions to IJobPuppet, and a "limitAngles" variable that lets puppet parts use full angles.
2022-12-22 17:04:53 -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
3d498814f9
Implemented custom commands.
2022-12-18 15:54:14 -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
958aeea46a
ScriptNpc:
...
-Fixed setRole and setJob functions.
2022-12-07 23:38:15 -06: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
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
d520c98578
Merge branch 'louis-pathing' into dev
2022-11-15 00:23:11 -05: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
af2c2a03e6
IBlock:
...
-Added new collision functions.
2022-11-11 00:42:56 -06:00
Luis C.M
c8a8e866cb
IPos:
...
-Added crossProduct(IPos), divide(scalar), and to/FromLong functions.
NpcAPI:
-Added getAllInBox(from,to)
IBlock:
-Added setPosition functions
IBlock, IPos, IEntity, IWorld: -Added a readable toString() function
2022-11-06 15:08:58 -06:00
Luis C.M
084e6e4149
ScriptBlock:
...
-More checks for null tile entities.
2022-11-06 01:36:01 -06:00
Luis C.M
0291fd44a5
Merge remote-tracking branch 'origin/louis' into dev
2022-11-06 01:27:45 -06:00
Luis C.M
8d3cd3fd82
Revert "Merge remote-tracking branch 'origin/dev' into dev"
...
This reverts commit 66edbcea80 , reversing
changes made to 3fd962289c .
2022-11-06 01:25:28 -06:00
Luis C.M
5cb5770a20
Fixed NullPointerException crash from breaking blocks that have no tile entities.
2022-11-06 01:23:54 -06:00
Luis C.M
66edbcea80
Merge remote-tracking branch 'origin/dev' into dev
...
# Conflicts:
# src/main/java/noppes/npcs/scripted/NpcAPI.java
# src/main/java/noppes/npcs/scripted/ScriptWorld.java
# src/main/java/noppes/npcs/scripted/interfaces/AbstractNpcAPI.java
2022-11-06 01:00:47 -06:00
Luis C.M
3fd962289c
NpcAPI:
...
-Added getPlayer() function
-Added getChunkLoadingNPCs function
-Added getCurrentPlayerCount, getMaxPlayers, and kickAllPlayers, isHardcore, getFile(path), and getServerOwner functions
2022-11-06 01:59:34 -05:00
KAMKEEL
6ae465c5d0
Revert "Added several more functions to pre-existing classes:"
...
This reverts commit e9a8f8cebc .
2022-11-06 00:10:04 -04:00
Luis C.M
e9a8f8cebc
Added several more functions to pre-existing classes:
...
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -05:00
Luis C.M
112e82a09d
Made NPC projectile and death events cancellable.
2022-11-05 04:21:30 -05:00
Luis C.M
6782a5b9ba
Made NPC dialog event cancellable
2022-11-05 04:19:03 -05:00
c0508383
2917de36c0
ScriptBlock:
...
-Changed ScriptBlockPos to IPos type for bPos parameter
2022-09-07 23:06:57 -05:00
c0508383
558bc70bf5
ScriptBlock:
...
-Fixed tile entity dupe.
2022-09-07 23:06:15 -05:00
c0508383
05b84b467c
IWorld & IPos: Removed getMCBlockPos() to better organize NpcAPI. Removed unnecessary imports.
...
ITileEntity: Removed unnecessary imports.
2022-08-16 11:43:46 -05:00
c0508383
0f5df933ae
IPlayer:
...
-Added kick function
2022-08-02 13:50:18 -05:00
c0508383
2819c76d0a
ICustomNpc:
...
-Fix for setRetaliateType
2022-07-27 18:47:20 -05:00
c0508383
9c9e9c0a40
IPlayer:
...
-Added dialog functions that use IDialog objects as parameters.
-Added quest functions that use IQuest objects as parameters.
2022-07-14 20:18:45 -05:00
c0508383
d1762654ba
ISound:
...
-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc.
NpcAPI, IPlayer, IWorld:
-Added more sound functions, with sounds that can be stopped and started based on an ID.
2022-07-13 19:27:27 -05:00
c0508383
b4f112ee89
IWorld:
...
-Fixed offset not working right on rayCastEntities()
2022-07-11 21:16:32 -05:00
c0508383
80916de553
IWorld:
...
-Added rayTraceEntities() functions, and added an offset parameter.
IEntityLivingBase:
-Made getLookingAtEntities() function use IWorld's rayTraceEntities() function, and added an offset parameter.
2022-07-10 23:17:17 -05:00
c0508383
e048496e4d
IParticle:
...
-Replaced spawnOnEntity and spawnInWorld with a single function name "spawn". Deprecated the others.
2022-07-08 12:03:15 -05:00