mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 19:34:49 +00:00
Glow can be disabled/enabled on skin overlays
This commit is contained in:
1 parent
dbfbab7be2
commit
6f9358c1ca
9 files changed
+91
-20
No files matched your search
@@ -316,16 +316,14 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
return MinecraftServer.getServer().getTickCounter();
|
||||
}
|
||||
|
||||
public ICustomGui createCustomGui(int id, int width, int height, boolean pauseGame) {
|
||||
return new ScriptGui(id, width, height, pauseGame);
|
||||
}
|
||||
|
||||
public boolean arePlayerScriptsEnabled() {
|
||||
return CustomNpcs.GlobalPlayerScripts;
|
||||
}
|
||||
|
||||
public boolean areForgeScriptsEnabled() {
|
||||
return CustomNpcs.GlobalForgeScripts;
|
||||
}
|
||||
|
||||
public boolean areGlobalNPCScriptsEnabled() {
|
||||
return CustomNpcs.GlobalNPCScripts;
|
||||
}
|
||||
@@ -333,14 +331,24 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
public void enablePlayerScripts(boolean enable) {
|
||||
CustomNpcs.GlobalPlayerScripts = enable;
|
||||
}
|
||||
|
||||
public void enableForgeScripts(boolean enable) {
|
||||
CustomNpcs.GlobalForgeScripts = enable;
|
||||
}
|
||||
|
||||
public void enableGlobalNPCScripts(boolean enable) {
|
||||
CustomNpcs.GlobalNPCScripts = enable;
|
||||
}
|
||||
|
||||
public ICustomGui createCustomGui(int id, int width, int height, boolean pauseGame) {
|
||||
return new ScriptGui(id, width, height, pauseGame);
|
||||
}
|
||||
|
||||
public ICustomOverlay createCustomOverlay(int id) {
|
||||
return new ScriptOverlay(id);
|
||||
}
|
||||
|
||||
public ISkinOverlay createSkinOverlay(String texture) {
|
||||
return new ScriptSkinOverlay(texture);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user