633 Commits
Author SHA1 Message Date
c0508383 ab0c4a48c3 Merge remote-tracking branch 'origin/dev' into dev 2022-08-17 13:36:52 -05:00
c0508383 f30adfc00b Fixed NPCs with old glow textures not loading them. 2022-08-17 13:36:45 -05:00
KAMKEEL 77a7030320 Version 1.6.1 2022-08-17 14:14:17 -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
Luis C.M d9a07cae86 Delete src/api/noppes/npcs/api directory 2022-08-16 11:50:01 -05:00
c0508383 2c20ca6891 Removed api package. 2022-08-16 11:48:51 -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
KAMKEEL e96b43be0c Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-08-15 02:45:02 -04:00
KAMKEEL 3543e433df update version 1.6 2022-08-15 02:44:59 -04: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 bad6c3e9e4 CustomFX:
-Added compatibility for images with uneven widths & heights.
2022-07-22 03:56:04 -05:00
c0508383 1b5b6cac6d CustomOverlayTexturedRect:
-Fixed texture rectangle rendering
2022-07-20 16:42:40 -05:00
c0508383 41a6803e2e PlayerQuestData:
-Fixed concurrent modification error
2022-07-20 16:26:09 -05:00
c0508383 088ffe23a5 GuiQuestLog:
-Fixed quest tracking not being able to be removed
2022-07-20 16:07:51 -05:00
c0508383 95f889f92b CustomGuiTexturedRect:
-Fixed uv values for textures.

CustomGuiButton:
-Fixed hover text
2022-07-20 15:17:16 -05:00
c0508383 8cda6fbea8 Merge remote-tracking branch 'origin/dev' into dev 2022-07-20 13:33:32 -05:00
c0508383 87818a3dbe EntityNPCInterface & EntityAIReturn:
-Fixed follower role
2022-07-20 13:33:21 -05:00
KAMKEEL c3e5b5e9db Fix 64x64 Entity - Restore Textures
Restore Textures to fix conflicts with Zombie, Skeleton and other entities.
2022-07-18 18:25:42 -04:00
c0508383 abf70368e1 ClickTickEvent:
-Fixed held keys not registering for click events.
2022-07-18 01:03:22 -05:00
c0508383 4a4f01581f ClickTickEvent:
-Fixed bug not allowing mouse wheel to trigger mouse events.
2022-07-17 16:41:52 -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 e6e266f3b6 NPCs with entity models can now also use overlays. 2022-07-13 02:12:59 -05:00
c0508383 f440912854 Fixed text area typing 2022-07-12 13:05:21 -05:00
c0508383 eba8d96bf3 Fixed crouching with DBC models, and female DBC model rendering 2022-07-12 12:57:45 -05:00
c0508383 9fc408e598 Added a configurable expansion to scripts' length, adding 65535 more characters with every additional increase. 2022-07-12 11:58:54 -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
c0508383 1110748504 IBlock:
-Fixed canCollide function, added maxVolume parameter.
2022-07-07 21:17:44 -05:00
c0508383 d54035687c IEntityLivingBase:
-Added stopOnBlock, stopOnLiquid, and stopOnCollision options for getLookingAtEntities()

IWorld:
-Added stopOnBlock, stopOnLiquid, and stopOnCollision options for rayCastBlock & rayCastPos
2022-07-07 20:49:03 -05:00
c0508383 4e5ed2d758 IEntityLivingBase:
-Fixed duplicate entity entries when using getLookingAtEntities()
2022-07-07 19:37:43 -05:00
c0508383 83b7e4f73d CustomNpcs:
-Fixed some spelling errors
2022-07-07 16:26:37 -05:00
c0508383 22e01bba1f CustomNpcs:
-Added ScriptOpsOnly config, which controls if only ops can see and edit scripts.
-Added ScriptDevs config, a list of the UUIDs of players who should be able to see and edit scripts. If left empty and ScriptOpsOnly is false, everyone can see and edit scripts with a scripter.

IPlayer:
-Added isScriptDev() function to check if the player can see and edit scripts.
2022-07-07 16:22:50 -05:00
c0508383 5fdef1cd0c IPlayer:
-Removed vector functions, moved to IEntityLivingBase

IEntityLivingBase:
-Added vector functions from IPlayer
2022-07-07 13:58:08 -05:00
c0508383 c554251165 IPlayer:
-Added getLookingAtEntities
2022-07-07 13:05:56 -05:00
c0508383 12a3fffeab PlayerEvent:
-Added PlayerEvent.AttackEvent & PlayerEvent.AttackedEvent, preventing any knockback from happening from attacks.
2022-07-07 12:49:30 -05:00
c0508383 5e0b1282f7 Faction:
-Removed unnecessary CustomNPCsException throw in addEnemyFaction.
2022-07-07 01:15:22 -05:00
c0508383 9bd644f84a PlayerEvent.MouseClickedEvent:
-Added isCtrlPressed, isAltPressed, isShiftPressed, isMetaPressed, and keysDown fields for button combinations.
2022-07-06 18:41:39 -05:00
c0508383 1c10f2ebf1 IWorld:
-getEntitiesNear sorts by which one is nearest to the position.
2022-07-06 18:12:32 -05:00
c0508383 6a852d9578 IPlayer:
-Added getLookPos, which uses the rayCastPos function in IWorld.

IWorld:
-Added getEntitiesNear function with 3 double or one IPos parameter, and a range parameter for checking what entities are near a position.
-Added rayCastPos, for cases where rayCastBlock returns null.
2022-07-06 17:51:26 -05:00
c0508383 84958cfd02 DataTimers:
-Prevented concurrent modification error when removing a ticking timer.
2022-07-06 15:28:25 -05:00
c0508383 a3b5f5993e IWorld:
-Implemented spawnClone() with a boolean parameter to check entity protection from mods & plugins correctly (for real this time).

ICloneHandler:
-Implemented ignoreProtection boolean value for the spawn() function.
2022-07-06 01:29:43 -07:00
c0508383 a4585fdf4d IWorld:
-Undid previous commit, not implemented correctly.
2022-07-06 00:24:14 -07:00
c0508383 43e41a0e95 IWorld:
-Added new spawnClone function with an extra boolean parameter to check for spawn protection or not.
2022-07-05 22:55:38 -07:00
c0508383 5fd3cc37ef Merge remote-tracking branch 'origin/dev' into dev 2022-07-05 16:32:11 -07:00
c0508383 bd0d7cecf9 Fixed misspelling of "setRangedRange" from "setRangedRage". Kept old function name as a deprecated function not visible in the interface. 2022-07-05 16:31:39 -07:00
Luis C.M 8e0b5d042c Fixed null error when sending skin overlay data to update players' clients. 2022-07-05 14:18:40 -05:00
Luis C.M 34dd42f0db Removed redundant loop variables and casts. 2022-07-04 13:13:08 -05:00