Removed Print Statements

Fixed Custom Entity's not loading Url64
This commit is contained in:
KAMKEEL committed 2021-05-10 16:11:50 -04:00
1 parent 0a665a46be
commit 63f448b67d
3 files changed
+2 -67

No files matched your search

-65
View File
@@ -1,65 +0,0 @@
package kam.npcs;
import net.minecraft.client.model.ModelBase;
import noppes.npcs.client.model.util.Model2DRenderer;
public class LegacyCode {
// Old MPM Model : Unused
// public ModelMPM(float par1) {
// super(par1);
// isArmor = par1 > 0;
// float par2 = 0;
// this.bipedCloak = new ModelRenderer(this, 0, 0);
// this.bipedCloak.addBox(-5.0F, 0.0F, -1.0F, 10, 16, 1, par1);
// this.bipedEars = new ModelRenderer(this, 24, 0);
// this.bipedEars.addBox(-3.0F, -6.0F, -1.0F, 6, 6, 1, par1);
// this.bipedHead = new ModelScaleRenderer(this, 0, 0);
// this.bipedHead.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, par1);
// this.bipedHead.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
// this.bipedHeadwear = new ModelScaleRenderer(this, 32, 0);
// this.bipedHeadwear.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, par1 + 0.5F);
// this.bipedHeadwear.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
// this.bipedBody = new ModelScaleRenderer(this, 16, 16);
// this.bipedBody.addBox(-4.0F, 0.0F, -2.0F, 8, 12, 4, par1);
// this.bipedBody.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
// this.bipedRightArm = new ModelScaleRenderer(this, 40, 16);
// this.bipedRightArm.addBox(-3.0F, -2.0F, -2.0F, 4, 12, 4, par1);
// this.bipedRightArm.setRotationPoint(-5.0F, 2.0F + par2, 0.0F);
// this.bipedLeftArm = new ModelScaleRenderer(this, 40, 16);
// this.bipedLeftArm.mirror = true;
// this.bipedLeftArm.addBox(-1.0F, -2.0F, -2.0F, 4, 12, 4, par1);
// this.bipedLeftArm.setRotationPoint(5.0F, 2.0F + par2, 0.0F);
// this.bipedRightLeg = new ModelScaleRenderer(this, 0, 16);
// this.bipedRightLeg.addBox(-2.0F, 0.0F, -2.0F, 4, 12, 4, par1);
// this.bipedRightLeg.setRotationPoint(-1.9F, 12.0F + par2, 0.0F);
// this.bipedLeftLeg = new ModelScaleRenderer(this, 0, 16);
// this.bipedLeftLeg.mirror = true;
// this.bipedLeftLeg.addBox(-2.0F, 0.0F, -2.0F, 4, 12, 4, par1);
// this.bipedLeftLeg.setRotationPoint(1.9F, 12.0F + par2, 0.0F);
//
// headwear = new ModelHeadwear(this);
// legs = new ModelLegs(this, (ModelScaleRenderer)bipedRightLeg, (ModelScaleRenderer)bipedLeftLeg);
//
// this.bipedBody.addChild(breasts = new ModelBreasts(this));
// if(!isArmor){
// this.bipedHead.addChild(ears = new ModelEars(this));
// this.bipedHead.addChild(mohawk = new ModelMohawk(this));
// this.bipedHead.addChild(hair = new ModelHair(this));
// this.bipedHead.addChild(beard = new ModelBeard(this));
// this.bipedHead.addChild(snout = new ModelSnout(this));
// this.bipedHead.addChild(horns = new ModelHorns(this));
//
// tail = new ModelTail(this);
//
// this.bipedBody.addChild(wings = new ModelWings(this));
// this.bipedBody.addChild(skirt = new ModelSkirt(this));
// this.bipedBody.addChild(fin = new ModelFin(this));
//
// this.bipedLeftArm.addChild(clawsL = new ModelClaws(this, false));
// this.bipedRightArm.addChild(clawsR = new ModelClaws(this, true));
// }
// }
}
@@ -134,7 +134,7 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
}
if(button.id == 2){
display.skinType = (byte) button.getValue();
System.out.println("Skin Type set to:" + display.skinType);
// System.out.println("Skin Type set to:" + display.skinType);
// SKIN CHANGE
if (display.skinType != 3){
display.url = "";
@@ -25,7 +25,7 @@ public class ImageBufferDownloadAlt extends ImageBufferDownload {
imageWidth = bufferedimage.getWidth(null);
imageHeight = bufferedimage.getHeight(null);
BufferedImage bufferedimage1 = new BufferedImage(imageWidth, imageWidth, 2);
BufferedImage bufferedimage1 = new BufferedImage(imageWidth, imageHeight, 2);
Graphics g = bufferedimage1.getGraphics();
g.drawImage(bufferedimage, 0, 0, null);
g.dispose();