mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 22:14:44 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54d442ed90 | ||
|
|
5eef112fbe |
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ configurations {
|
|||||||
|
|
||||||
apply plugin: 'forge'
|
apply plugin: 'forge'
|
||||||
|
|
||||||
version = "1.6.2"
|
version = "1.6.3"
|
||||||
group= "com.kamkeel.customnpc-plus" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group= "com.kamkeel.customnpc-plus" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = "CustomNPC-Plus"
|
archivesBaseName = "CustomNPC-Plus"
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
@Mod(modid = "customnpcs", name = "CustomNpcs", version = "1.6.2")
|
@Mod(modid = "customnpcs", name = "CustomNpcs", version = "1.6.3")
|
||||||
public class CustomNpcs {
|
public class CustomNpcs {
|
||||||
|
|
||||||
@ConfigProp(info = "Disable Chat Bubbles")
|
@ConfigProp(info = "Disable Chat Bubbles")
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
|
|||||||
}
|
}
|
||||||
else if(button.id == 11){
|
else if(button.id == 11){
|
||||||
npc.display.skinOverlayData.overlayList.get(0).setGlow(button.getValue() == 0);
|
npc.display.skinOverlayData.overlayList.get(0).setGlow(button.getValue() == 0);
|
||||||
|
npc.display.skinOverlayData.overlayList.get(0).setBlend(button.getValue() == 0);
|
||||||
initGui();
|
initGui();
|
||||||
}
|
}
|
||||||
else if(button.id == 14){
|
else if(button.id == 14){
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ public class RenderNPCHumanMale extends RenderNPCInterface
|
|||||||
GL11.glRotatef(-100.0F, 1.0F, 0.0F, 0.0F);
|
GL11.glRotatef(-100.0F, 1.0F, 0.0F, 0.0F);
|
||||||
GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
|
GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
|
||||||
}
|
}
|
||||||
else if (itemstack2.getItem().isFull3D() && (customRenderer == null || pluginMod))
|
else if (itemstack2.getItem().isFull3D() && !is3D)
|
||||||
{
|
{
|
||||||
var6 = 0.625F;
|
var6 = 0.625F;
|
||||||
|
|
||||||
@@ -367,7 +367,7 @@ public class RenderNPCHumanMale extends RenderNPCInterface
|
|||||||
GL11.glRotatef(-100.0F, 1.0F, 0.0F, 0.0F);
|
GL11.glRotatef(-100.0F, 1.0F, 0.0F, 0.0F);
|
||||||
GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
|
GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
|
||||||
}
|
}
|
||||||
else if (itemstack2.getItem().isFull3D())
|
else if (itemstack2.getItem().isFull3D() && !is3D)
|
||||||
{
|
{
|
||||||
var6 = 0.625F;
|
var6 = 0.625F;
|
||||||
|
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ public class ItemSoulstoneFilled extends Item {
|
|||||||
EntityNPCInterface npc = (EntityNPCInterface) entity;
|
EntityNPCInterface npc = (EntityNPCInterface) entity;
|
||||||
npc.ai.startPos = new int[]{x, y, z};
|
npc.ai.startPos = new int[]{x, y, z};
|
||||||
npc.setHealth(npc.getMaxHealth());
|
npc.setHealth(npc.getMaxHealth());
|
||||||
npc.setPosition((float)x + 0.5F, npc.getStartYPos(), (float)z + 0.5F);
|
npc.setPosition((float)x + 0.5F, npc.getStartYPos() - 0.5, (float)z + 0.5F);
|
||||||
npc.advanced.soulStonePlayerName = player.getDisplayName();
|
npc.advanced.soulStonePlayerName = player.getDisplayName();
|
||||||
npc.advanced.soulStoneInit = true;
|
npc.advanced.soulStoneInit = true;
|
||||||
if(npc.advanced.role == EnumRoleType.Companion && player != null){
|
if(npc.advanced.role == EnumRoleType.Companion && player != null){
|
||||||
PlayerData data = PlayerDataController.instance.getPlayerData(player);
|
PlayerData data = PlayerDataController.instance.getPlayerData(player);
|
||||||
|
|||||||
Reference in new issue
Block a user