• 0

    posted a message on TNT not boosting me sometimes

    Hello,

    i was in Creative Mode 1.14.4

    and tried TNT and it boosted me. But then i created another World and it didnt boost me anymore. I don‘t if thats like a Gamerule but do you know what it is?
    thanks 4 your help

    Posted in: Creative Mode
  • 0

    posted a message on My Minecraft Client has other textures when im not holding a block in my Hand

    Hi,

    I´m goin to create a Non-Hackclient for me and my friends. See this Video and look whats wrong (Video starts at 0:08):

    My UIButton Code:

    public class UIButtton extends GuiButton {
    	
    	private int fade;
    	
    	public UIButtton(final int buttonId, final int x, final int y, final String buttonText) {
    		this(buttonId, x, y, 200, 20, buttonText);
    	}
    
    	public UIButtton(int buttonId, int x, int y, int i, int j, String buttonText) {
    		super(buttonId, x, y, i, j, buttonText);
    	}
    	
    	@Override
    	public void drawButton(Minecraft mc, int x, int y) {
    		if (this.visible) {
    			this.hovered = (x >= this.xPosition && y >= this.yPosition && x < this.xPosition + this.width && y < this.yPosition + this.height);
    			if (!hovered) {
    				if (this.fade != 100) {
    					this.fade += 5;
    				}
    			} else {
    				if (this.fade <= 40) {
    					return;
    				}
    				
    				if (this.fade != 70) {
    					this.fade -= 5;
    				}
    				
    			}
    			
    			final Color a = new Color(13, 78, 122, this.fade);
    			final FontRenderer var4 = mc.fontRendererObj;
    			
    			
    			Gui.drawRect(this.xPosition, this.yPosition, this.xPosition + this.width, this.yPosition + this.height, a.getRGB());
    			//ImLeqit.f.drawCenteredString(displayString, this.xPosition + this.width / 2, this.yPosition + (this.height - 14) / 2, 0x553592);
    			this.drawCenteredString(var4, displayString, this.xPosition + this.width / 2, this.yPosition + (this.height - 8) / 2, 0x553592);
    		}
    	}
    	
    }


    And this is my GuiMainMenu Code (just one part):

    public void initGui()
     {
     this.field_146445_a = 0;
     this.buttonList.clear();
     byte var1 = -16;
     boolean var2 = true;
     this.buttonList.add(new UIButtton(1, this.width / 2 - 100, this.height / 4 + 120 + var1, I18n.format("menu.returnToMenu", new Object[0])));
    
     if (!this.mc.isIntegratedServerRunning())
     {
     ((UIButtton)this.buttonList.get(0)).displayString = I18n.format("menu.disconnect", new Object[0]);
     }
    
     this.buttonList.add(new UIButtton(4, this.width / 2 - 100, this.height / 4 + 24 + var1, I18n.format("menu.returnToGame", new Object[0])));
     this.buttonList.add(new UIButtton(0, this.width / 2 - 100, this.height / 4 + 96 + var1, 98, 20, I18n.format("menu.options", new Object[0])));
     UIButtton var3;
     this.buttonList.add(var3 = new UIButtton(7, this.width / 2 + 2, this.height / 4 + 96 + var1, 98, 20, I18n.format("menu.shareToLan", new Object[0])));
     this.buttonList.add(new UIButtton(5, this.width / 2 - 100, this.height / 4 + 48 + var1, 98, 20, I18n.format("gui.achievements", new Object[0])));
     this.buttonList.add(new UIButtton(6, this.width / 2 + 2, this.height / 4 + 48 + var1, 98, 20, I18n.format("gui.stats", new Object[0])));
     var3.enabled = this.mc.isSingleplayer() && !this.mc.getIntegratedServer().getPublic();
     }

    Thanks for your Help and Sorry for my bad English. Im German and its morning.

    Posted in: Modification Development
  • To post a comment, please .