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.
This commit is contained in:
KAMKEEL committed 2021-04-29 20:13:16 -04:00
1 parent aeb807cea7
commit 97dc3e9f13
12 files changed
+81 -92

No files matched your search

@@ -46,8 +46,9 @@ public class GuiEntitySelection extends GuiNPCInterface
list.add("CustomNPC");
Collections.sort(list,String.CASE_INSENSITIVE_ORDER);
slot = new GuiNPCStringSlot(list,this,false,18);
if(playerdata.getEntityClass() != null)
slot.selected = (String) EntityList.classToStringMapping.get(playerdata.getEntityClass());
if(playerdata.getEntityClass() != null){
slot.selected = (String) EntityList.classToStringMapping.get(playerdata.getEntityClass());
}
else{
slot.selected = "CustomNPC";
}
@@ -121,6 +122,7 @@ public class GuiEntitySelection extends GuiNPCInterface
if(entity != null){
RendererLivingEntity render = (RendererLivingEntity) RenderManager.instance.getEntityRenderObject(entity);
npc.display.texture = NPCRendererHelper.getTexture(render,entity);
npc.display.modelType = 0;
}
else{
npc.display.texture = "customnpcs:textures/entity/humanmale/Steve.png";