Commit Graph
611 Commits
Author SHA1 Message Date
Luis C.M b17a425dd8 ScriptLivingBase & ScriptWorld:
-Added additional IEntity[] ignoreEntities parameter to ignore those entities when creating lists.
-For ScriptLivingBase, the entity using getLookingAtEntities is ignored.
2023-06-01 22:02:27 -05:00
Luis C.M 0692c4362f ScriptWorld:
-Made offset parameter for rayCastEntities() have a use again
2023-06-01 21:29:29 -05:00
Luis C.M 414818ab8d ScriptWorld:
-Made rayCastEntities() use a function similar to rayCastPos() to create its entity list.
2023-06-01 21:24:59 -05:00
Luis C.M b191ede19c Merge branch 'patch' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/fx/CustomFX.java
2023-06-01 18:15:54 -05:00
Luis C.M 6febeeea02 ScriptCustomItem:
-Fixed custom item visually disappearing after editing a script.
2023-06-01 18:12:15 -05:00
Luis C.M f5ac14b93e Merge branch 'patch' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiButton.java
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiTexturedRect.java
#	src/main/java/noppes/npcs/client/renderer/customitem/CustomItemRenderer.java
2023-06-01 16:35:04 -05:00
Luis C.M 01339e7baf ScriptLivingBase:
-Reverted previous change, not worth the inaccuracies it would cause on servers
2023-06-01 00:49:33 -05:00
Luis C.M 62ee42a23d ScriptLivingBase:
-Slightly improved getLookingAtPos() results
2023-06-01 00:36:40 -05:00
Luis C.M a8a0528275 ScriptWorld:
-Increased the accuracy of rayCastPos().
2023-05-31 23:59:11 -05:00
Luis C.M 7000b525f3 Fixed entity custom item rendering, and rendering of textures for custom GUI buttons and rectangles. 2023-05-31 18:55:06 -05:00
Luis C.M 118d79f3ad Added synchronization blocks to functions retrieving objects from CacheHashMaps and made the API use one for caching item stacks as well. 2023-05-31 00:35:57 -05:00
Luis C.M ab8e966f71 NpcAPI:
-Made item cache key removal a synchronized code block
2023-05-30 01:46:29 -05:00
Luis C.M 45a139ea68 NpcAPI:
-Further fix to concurrent modification exception
2023-05-30 01:37:08 -05:00
Luis C.M 65f3f8fc74 NpcAPI:
-Fixed concurrent modification exception
2023-05-30 01:33:18 -05:00
Luis C.M 500034f5f5 Merge branch 'patch' into dev 2023-05-30 01:28:02 -05:00
Luis C.M 895d20335f DataScript:
-Now doesn't create a new instance of NpcAPI
2023-05-30 01:27:34 -05:00
Luis C.M f260bb688a ScriptItemStack & NpcAPI:
-Created a cache for scripted item stacks
2023-05-30 01:25:20 -05:00
Luis C.M 1ce5b7b302 ScriptCustomItem:
-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
2023-05-30 00:56:39 -05:00
Luis C.M 7c4965d368 ScriptCustomItem:
-Made engine for containers also set on saving
2023-05-29 23:59:57 -05:00
Luis C.M a0adf0d7bd Fixed item toss event not being cancellable. Setting a script container's engine doesn't happen on every script call now, reducing lag. 2023-05-29 23:57:45 -05:00
Luis C.M 8df94aaf67 IDBCPlayer:
-Created separate mastery functions for racial and non-racial forms.
2023-05-20 16:13:15 -05:00
Luis C.M ed5cfad00d IDBCPlayer:
-Changed mastery functions to use a boolean for racial or non-racial forms.
2023-05-20 15:00:58 -05:00
Kam fa7fb7f734 ??? Fix Quest Cooldown Times ??? 2023-05-11 11:57:39 -04:00
Luis C.M a3de45cd55 IDBCPlayer:
-Implemented form mastery functions.
2023-04-14 15:42:34 -05:00
Luis C.M 8b0431340c Crash fixes for custom items 2023-04-12 00:18:43 -05:00
Luis C.M a10e427c1c More IPos implementations for IWorld and IPos scripted objects 2023-04-11 23:26:10 -05:00
Luis C.M 947314787f Removed console from NBT data for scripted items 2023-03-29 21:35:16 -05:00
Luis C.M ef4ec4aca0 Removed scala import 2023-03-29 02:19:04 -05:00
Luis C.M 84286794aa Fixes to recent custom item changes, width wasn't rendering properly 2023-03-19 02:32:09 -05:00
Luis C.M 39a40c9603 Fixed URL support for scripted items, weird 3d visibility bug still present that needs to be fixed. 2023-03-19 02:04:47 -05:00
Luis C.M 80352741b9 Fixed custom gui slot behavior 2023-03-18 15:52:50 -05:00
Luis C.M e3405d22e9 Fixed null pointer exceptions from new custom gui slot commit. 2023-03-18 03:47:24 -05:00
Luis C.M 586c451f06 ICustomGui:
-Added IDs to custom GUI slots.
2023-03-18 03:04:46 -05:00
Luis C.M 6913cadc79 IModelData:
-Implemented hidePart() abd hidden() functions
2023-03-17 02:59:33 -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 fd7f550316 IEntityItem added 2023-03-16 05:07:38 -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 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
Luis C.M 22a4082890 IWorld:
-Added isPlaceCancelled and isBreakCancelled functions
2023-03-15 22:50:50 -05:00
Luis C.M daada3cb8a IEntity:
-Added setDimension function for all entities (not just players now).
2023-03-15 19:17:39 -05:00
Luis C.M f165e5172c IDBCPlayer:
-Had to remove getMaxMeleeStrength and getMeleeStrength functions.
2023-02-21 22:03:14 -06:00
Luis C.M 23cfe66ecb IDBCPlayer:
-Made getMeleeStrength an overriding function to IEntityLivingBase
2023-02-21 12:55:04 -06:00
Luis C.M 9b330007fd IDBCPlayer:
-Added getMeleeDamage() and getMaxMeleeDamage() functions
2023-02-21 12:43:09 -06:00
Luis C.M 0db96f9040 Fixed forge, player, & npc scripts not being able to be deleted or added. 2023-02-19 16:22:28 -06:00
Luis C.M de6375c4cb Fixed script console not appearing with the new global script tab saving method. 2023-02-19 15:20:51 -06:00
Luis C.M b8dc090db8 Player, Forge, & NPC scripts are saved in separate packets for separate tabs now, so script save/get packets aren't too big for the server. 2023-02-19 13:38:43 -06:00
Luis C.M bcfd44d8fe Fixed scripted GUI button text alignments. 2023-02-17 11:28:37 -06:00
Luis C.M cacb4ebf85 Added X & Y scale functions for particles, replaces overall scale. 2023-02-16 18:43:22 -06:00
Luis C.M 30d73f91cf Fixed textured GUI buttons not working with images of different sizes. 2023-02-04 11:14:49 -06:00