Commit Graph
147 Commits
Author SHA1 Message Date
Kam 3c225f74db GeckoLib Addon is now an OPTIONAL Supported Addon [WIP] 2024-01-22 20:32:03 -05:00
Kam bfb6e968ee Dev into Experimental 2024-01-22 15:31:18 -05:00
Kam 651c8db576 Fix GlStateManager to GL11 2024-01-22 13:49:47 -05:00
Goodbird 75f16702fd Fixed scripted block rendering 2024-01-21 23:38:34 +03:00
Goodbird 9fb58981c4 Fixed scripted block rendering 2024-01-21 18:48:22 +03:00
Goodbird a3d59164c2 Added and registered scripted block renderer 2024-01-21 10:58:14 +03:00
Kam fc4685583e Fix Yaw Offset issue for Custom Models 2023-11-18 15:11:19 -05:00
Kam ff49b1ffbd Refactor all Gecko Internal support to CustomModel 2023-11-16 17:46:12 -05:00
Kam c67a8e43cb Add GeckoLib Support 2023-11-16 16:01:32 -05:00
Kam d8097368cc Refactor Overlays to support URL 2023-11-06 03:56:09 -05:00
Luis C.M 2c905d29b5 Fixed custom items rendering differently in item frames from vanilla items. 2023-08-01 17:34:39 -05:00
Kam ee8e876e79 Fix Blocks not showing in Hanging Banners 2023-08-01 17:33:49 -04:00
Kam f36ba7fb3f Add Block/Custom entity item support to Banners and Signs 2023-07-27 02:26:34 -04:00
Kam f95bf94d7e IsBlock 2023-07-27 02:09:23 -04:00
Kam da313f6d0a Compatibility Helper DBC 2023-07-19 11:17:11 -04:00
Luis C.M 9de16f1eef Fixed custom items jittering in item frames and not being scaled correctly. 2023-06-30 19:30:24 -05:00
Luis C.M 6ea19ed752 Fixed custom item bobbing when multiple items are dropped. Custom items now ignore frustum checks, so larger custom items can be rendered properly. 2023-06-29 14:06:57 -05:00
Luis C.M 6470c8317b Client-side cache is now cleared when leaving or joining worlds 2023-06-05 18:50:41 -05:00
Kam 189692a090 getNPCTexture for ClientCache 2023-06-02 04:22:00 -04:00
Luis C.M a21ce47a60 CustomFX:
-Now uses image caching
2023-06-01 17:26:42 -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 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 f5e4d702b1 ClientCache renamed to ClientCacheHandler, moved ImageData into the client package. 2023-05-31 00:56:15 -05:00
Luis C.M 46febe5c0a CacheHashMap:
-New class extending from the HashMap class, only takes CacheHashMap.CachedObject as values, which itself is a template class.
-On every call to get(), it goes through its values and removes any that are past a set age in millis.

ClientCache:
-New class with static CacheHashMap and function to get image data, will do more caching later on.
2023-05-30 23:41:37 -05:00
Luis C.M b49402f8bd Implemented ImageData object caching for custom GUI button & rect elements 2023-05-20 19:23:54 -05:00
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