Commit Graph
122 Commits
Author SHA1 Message Date
Luis C.M 8b0431340c Crash fixes for custom items 2023-04-12 00:18:43 -05:00
Luis C.M 116dc23f2b Added functions for safeguarding scripted item textures erroring. 2023-04-11 23:25:29 -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 7fdfd14174 Scripted items now support URLs 2023-03-18 20:37:45 -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
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
Luis C.M cbc0b82356 Undid previous commit, messed with offsets too much. 2023-01-10 15:06:37 -06:00
Luis C.M 4d17df936a Fix for player overlay speeds. 2023-01-09 14:13:20 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
Luis C.M b783d659d3 ModelMPM & RenderNPCInterface:
-Fixed console spam for missing NPC skin and skin overlay textures.
2022-11-04 13:32:08 -05:00
KAMKEEL 5eef112fbe 1.6.3 Pre-Release 2022-10-05 01:21:53 -04:00
c0508383 0a8fc3458d Implemented mixins, used to render skin overlays without conflict with other mods that change rendering like Optifine. 2022-08-31 07:53:35 -05:00
KAMKEEL 90d100cecb 3D Items FIX? 2022-08-26 16:06:53 -04:00
KAMKEEL d3d2e15326 Fix Plugin Mod | Item Renders 2022-08-23 23:05:21 -04:00
c0508383 0707873bce Fixed DBC overlay arm not swinging on obfuscated clients. 2022-08-19 03:47:59 -05:00
c0508383 6393f0f0c9 Removed printing stacktrace when catching obfuscated DBC overlay rendering exceptions. 2022-08-19 03:22:01 -05:00
c0508383 51982e5bee Fixed DBC overlay rendering in obfuscated clients. 2022-08-19 03:20:47 -05:00
c0508383 e6e266f3b6 NPCs with entity models can now also use overlays. 2022-07-13 02:12:59 -05:00
c0508383 eba8d96bf3 Fixed crouching with DBC models, and female DBC model rendering 2022-07-12 12:57:45 -05:00
Luis C.M 1cdc47864b ISkinOverlay:
-Removed set/getLocation, only supposed to be used during rendering.
2022-07-02 03:23:24 -05:00
Luis C.M 496961ccc5 NpcAPI:
-Added getObjectSize() function for calculating object sizes.

RenderCNPCPlayer:
-Added gender & age/child compatibility for DBC rendering.
2022-07-01 17:02:40 -05:00
Luis C.M 96b9fc0a45 RenderCNPCPlayer:
-Fixed faces rendering on top of overlays when rendering with DBC models.
2022-07-01 13:31:31 -05:00
Luis C.M aeef7f98d2 Removed unecessary model and reflection objects from renderDBCModel. 2022-07-01 01:54:15 -05:00
Luis C.M d9b4014cbf Moved reflection functions outside of the overlay for loop in renderDBCModel(). 2022-07-01 01:00:04 -05:00
Luis C.M 51eab97f51 Simplified DBC player overlay rendering. 2022-07-01 00:42:23 -05:00
Luis C.M 35b41d4cf7 Removed several unused lines of code from RenderCNPCPlayer. 2022-06-30 12:35:29 -05:00
Luis C.M 700fff3faf Small fix to scripted item rendering, removed unnecessary blend statement. 2022-06-28 14:11:21 -05:00
Luis C.M 58932ffe55 Fixes to scripted item rendering.
IItemCustom:
-Removed unnecessary setters.
2022-06-28 04:39:50 -05:00
Luis C.M b789c80046 ISkinOverlay:
-Scales to JYCAge now.
2022-06-20 02:08:33 -05:00
Luis C.M 1ca5a306fc IDBCPlayer:
-Items can be set in vanity or armor slots, based on a "vanity" boolean value in setItem().

ISkinOverlay:
-Renamed setScale to setTextureScale.
2022-06-19 15:18:13 -05:00
KAMKEEL ef5ab224e2 Fix Cloak Rendering 2022-06-17 13:16:54 -04:00
KAMKEEL 50e911bd82 Fix TextureLocation Overwrite for Local Texture case 2022-06-15 14:02:03 -04:00
Luis C.M 522b5b884a Scripted Skin Overlay render and packet sending fixes. 2022-06-15 03:48:32 -05:00
KAMKEEL 16edeabb9a Cape Invisibility | MPM Dependency Fix 2022-06-15 01:58:46 -04:00
Luis C.M 7cfc4ccca4 Possible fix for cloak alphas not rendering correctly. 2022-06-14 21:27:21 -05:00
Luis C.M 1293fabca9 RenderCNPCPlayer changes in ClientEventHandler:
-Fixed cancelling an uncancellable armor render event.
-Only RenderPlayerEvent.Specials.Pre is cancelled, rather than trying to cancel both Pre & Post.

RenderCNPCPlayer:
-Now always returns -1 as a render pass.
2022-06-13 00:47:39 -05:00
Luis C.M 31671b0281 Reverted DataDisplay and RenderNPCInterface changes. 2022-06-12 04:50:29 -05:00
Luis C.M 13ddc19522 Merge branch 'master' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/model/ModelMPM.java
#	src/main/java/noppes/npcs/client/renderer/RenderNPCHumanMale.java
2022-06-12 03:40:50 -05:00
Luis C.M 8b77597e27 Overlays don't render over special DBC model parts like antennae & tails. 2022-06-12 03:38:20 -05:00
Luis C.M b70d0ba08f Fixed NPC textures being adjusted if an NPC has an entity model different from the default CNPC model. 2022-06-12 01:52:57 -05:00
Luis C.M f9e92f3172 Added blend attribute to skin overlays. 2022-05-29 05:23:39 -05:00
Luis C.M 0ed5887046 Alex armor now renders correctly for NPCs. 2022-05-29 03:06:57 -05:00
Luis C.M 0028328db4 More fixes to setting NPC model types. 2022-05-28 07:06:38 -05:00
Luis C.M c083412723 Fixed armor error on alex models. 2022-05-28 06:30:10 -05:00
Luis C.M 4aa1799ec3 Alex and Steve skins now switch to x64 or x32 models automatically. 2022-05-28 05:53:14 -05:00
Luis C.M 2b15ba9197 Fixed x64 texture bug, breaking textures after switching the model type from x64 to x32
Fixed crash report handler issue with custom overlays.

Removed "textureGlowLocation" field, which is unused now.
2022-05-28 02:12:33 -05:00
Luis C.M 301e113be2 Added quest tracking, need to add objectives list and turn in info too. 2022-05-27 14:32:24 -05:00
Luis C.M 38e960d475 x32 textures now compatible with x64 models. 2022-05-24 19:30:24 -05:00
Luis C.M d040fa3da7 Overlays blend with alpha values whether glowing or not. 2022-05-24 00:58:12 -05:00