Commit Graph
52 Commits
Author SHA1 Message Date
Kam 189692a090 getNPCTexture for ClientCache 2023-06-02 04:22:00 -04:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05: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
c0508383 e6e266f3b6 NPCs with entity models can now also use overlays. 2022-07-13 02:12:59 -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 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 50e911bd82 Fix TextureLocation Overwrite for Local Texture case 2022-06-15 14:02:03 -04: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 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 0028328db4 More fixes to setting NPC model types. 2022-05-28 07:06:38 -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 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
Luis C.M b6c62332ed Fixed SkinOverlay objects not having their parent object initialized correctly. 2022-05-23 20:47:32 -05:00
Luis C.M 6220a8ce14 -Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.
-Fixed client NPC overlay updates.
2022-05-23 20:41:32 -05:00
Luis C.M 41401d0521 Removed redundant ScriptSkinOverlay, using SkinOverlayData in place of it, which now implements ISkinOverlay. 2022-05-17 04:46:06 -05:00
Luis C.M 8bc3190295 Implemented multiple overlay layers for CNPCs, replaces powered textures. 2022-05-17 04:34:46 -05:00
Luis C.M 6f9358c1ca Glow can be disabled/enabled on skin overlays 2022-05-16 22:04:54 -05:00
Luis C.M d6b1dba9bc Overlays and powered effects now also share visibility with NPCs. 2022-05-16 04:11:31 -05:00
Luis C.M 71aff8f78f Fix for updating overlay and powered textures. 2022-05-16 01:22:33 -05:00
Luis C.M aa9a9499aa Implemented custom powered textures for NPC's, overlays that can have their textures move. 2022-05-15 16:47:48 -05:00
KAMKEEL 77ed924492 Steve32 Fake Framework
Started Creating Steve32 Fake so that 64x64 Textures can be applied to 64x32 Steve
2022-04-09 21:04:09 -04:00
KAMKEEL 465f52b811 Update RenderNPCInterface.java 2022-04-09 01:21:40 -04:00
KAMKEEL 8c677901d0 Reorganized Cape Textures 2022-04-09 01:11:05 -04:00
luisc 743cdb9db7 Revert "Fixed powered texture not showing up when changing NPC model attributes."
This reverts commit 9560228ba8.
2021-12-11 08:38:38 -06:00
luisc fc1c16032f Added RGB and alpha powered texture modifiers:
setPoweredRGBA(r,g,b,alpha)
getPoweredR(),getPoweredG(),getPoweredB(),getPoweredAlpha()
2021-12-10 00:08:47 -06:00
luisc b7d2dab905 Added parameters for texture translation when the NPC is powered, namely npc.display.poweredTranslateX, poweredTranslateY, and poweredTranslateZ, which can all be changed by setPoweredXYZ(x,y,z), and gotten with getPoweredX(), getPoweredY(), and getPoweredZ(). 2021-12-09 23:37:04 -06:00
luisc 9560228ba8 Fixed powered texture not showing up when changing NPC model attributes. 2021-12-09 23:24:36 -06:00
luisc cd5b4c0633 Removed shadow when rendering an NPC that shouldn't be visible to a specific player after using setVisibleTo(). 2021-12-03 21:54:13 -06:00
KAMKEEL 169eba238b Fixed Missing Texture Error
FIxed the Missing Texture Bug
Started to work on Reset Buttons
2021-05-09 02:58:18 -04:00
KAMKEEL df6b631549 ITS WORKING!!!!!
Redesigned Steve 32 Model. Now USERNAMES work. Finally figured out the issue SkinUrls and it was becaused 64s overwrite the 64x32 versions. Needed to store 64x64 in separate folder.
2021-05-06 01:27:24 -04:00
KAMKEEL 66270715ac Updating Texture Sizes
Attempting to implement a selective renderer to allow for 64x64 Skin Url type for mobs.
2021-05-04 03:52:44 -04:00
KAMKEEL 682f2be115 Final Fix to UrlSkins + Working Model Switch
Username Skins will take a long time to implement because of how 1.7.10 pulls skins from Minecraft's Servers.
2021-04-30 04:48:06 -04:00
KAMKEEL 59263e1ad9 Fixed Entity Modeling! 2021-04-30 02:43:35 -04:00
KAMKEEL c60cf023c0 More Edits to Image Buffer and Renderer 2021-04-30 00:30:56 -04:00
KAMKEEL 8f040b7501 4th Version of Model Switcher
Moved code to interiror to check if entity selected was a CustomNPC and not another model.
2021-04-29 23:35:20 -04:00
KAMKEEL 6b832e8af1 Update RenderNPCInterface.java 2021-04-29 20:43:22 -04:00
KAMKEEL ea1672a242 Revert "Revert "WORKING MODEL CHANGER!""
This reverts commit d2b5ce2880.
2021-04-29 20:42:52 -04:00
KAMKEEL 2afbdbf94d Revert "Model Switcher Information + Cleanup"
This reverts commit 82f2323178.
2021-04-29 20:42:38 -04:00
KAMKEEL d2b5ce2880 Revert "WORKING MODEL CHANGER!"
This reverts commit 97dc3e9f13.
2021-04-29 20:41:55 -04:00
KAMKEEL 82f2323178 Model Switcher Information + Cleanup
Removing all attempted methods.

Model Switcher Reasoning: The code Noppes currently has working only allows the basic EntityCustomNpc to have the GUI, Parts and Scaling. If the Model Switcher can simply replace the current model of the EntityCustomNpc  then it will retain all functionality.

SkinUrl and Username are currently still broken with the new model switcher method. Will attempt to fix soon.
2021-04-29 20:18:46 -04:00
KAMKEEL 97dc3e9f13 WORKING MODEL CHANGER!
Added Working Model Changer that allows you to change between Default, Steve 64 x 64, Alex Models. Now instead of selecting a completely different Entity, simply go to the Model Editor to change the Model Type and Version.
2021-04-29 20:13:16 -04:00
KAMKEEL aeb807cea7 Fixed SkinUrl for 64x64 Textures
Must Enable the Square Texture Button on NPC in order to work correct. Local Textures work just fine normally.
2021-04-29 14:37:33 -04:00
KAMKEEL 51b8e34c02 More Changes Attempted
Attempting to figure out how to render 2 versions of one EntityCustomNpc, all attempts failed thus far.
2021-04-29 06:37:35 -04:00
KAMKEEL e7424227e8 Small Changes to ImageBuffer/LoadSkin
Attempting to Fix ImageBuffer add two different versions of LoadSkin
2021-04-29 05:21:54 -04:00
KAMKEEL 5f2b7a0142 CustomNPC64 Created and Completed
Working on editting the code so that the load texture function is called differently for CustomNPC64.
2021-04-29 02:53:19 -04:00