Added MarkovNameGenerator, Added Disable Body Part Feature

Two New Features >>

+ Added Markov Name Generate
+ Corrected Hide Body Parts
This commit is contained in:
KAMKEEL committed 2021-06-13 19:26:00 -04:00
1 parent f155ef2481
commit 3a36be0ae4
47 files changed
+14517 -93

No files matched your search

@@ -12,6 +12,7 @@ public class GuiModelHead extends GuiModelInterface{
private GuiScreen parent;
private final String[] arrHead = new String[]{"gui.no","gui.yes"};
private final String[] arrHeadwear = new String[]{"gui.no","gui.yes","Solid"};
private final String[] arrHair = new String[]{"gui.no","Player","Long","Thin","Stylish","Ponytail"};
private final String[] arrBeard = new String[]{"gui.no","Player","Standard","Viking","Long","Short"};
@@ -33,6 +34,9 @@ public class GuiModelHead extends GuiModelInterface{
int y = guiTop + 20;
addButton(new GuiNpcButton(30, guiLeft + 50, y += 22, 70, 20, arrHead, playerdata.hideHead));
addLabel(new GuiNpcLabel(30, "Hide", guiLeft, y + 5, 0xFFFFFF));
addButton(new GuiNpcButton(0, guiLeft + 50, y += 22, 70, 20, arrHeadwear, playerdata.headwear));
addLabel(new GuiNpcLabel(0, "Headwear", guiLeft, y + 5, 0xFFFFFF));
@@ -108,6 +112,10 @@ public class GuiModelHead extends GuiModelInterface{
playerdata.headwear = (byte) button.getValue();
}
if(button.id == 30){
playerdata.hideHead = (byte) button.getValue();
}
if(button.id == 1){
if(button.getValue() == 0)
playerdata.removePart("hair");