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
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);
}
}
}
0
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
0
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:
And this is my GuiMainMenu Code (just one part):
Thanks for your Help and Sorry for my bad English. Im German and its morning.