Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jaffaaaaa

Members
  • Joined

  • Last visited

  1. I'm trying to create a simple gui with a few buttons which open when the player does /zm. The command isn't the problem (and I don't think the initGui() ) is, but drawScreen() never triggers. I have two debuggers to see if they trigger and initGui does but not drawScreen. Code: https://pastebin.com/CMXnWj4E What triggers: https://gyazo.com/c9398a1518962b3d4f17f90e3f990bf5.mp4 Any help is appreciated!
  2. bump. anyone help?
  3. I'm trying to make a gui to edit values and settings using a command, but the gui just does nothing apart from showing me the "init gui" message I put i the initGui() method. package xyz.jaffaaaa.zealotmanager; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.util.ChatComponentText; public class GuiHandler extends GuiScreen { private GuiButton reset; private ZealotManager zm; public GuiHandler(ZealotManager zm) { this.zm=zm; } @Override public void initGui() { super.initGui(); this.buttonList.clear(); Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("init gui")); this.buttonList.add(reset = new GuiButton(0, this.width / 2 - 100, this.height / 2, "Reset Counters")); } @Override protected void actionPerformed(GuiButton button) { if (button == reset) { zm.counter.zealotsSinceLastEye = 0; zm.counter.totalEyes = 0; zm.counter.totalZealots = 0; } } @Override public void drawScreen(int mouseX, int mouseY, float partialTicks) { super.drawScreen(mouseX, mouseY, partialTicks); drawDefaultBackground(); } }
  4. any help on this?
  5. I want to make a keybind where if you activate the keybind while in a chest gui, it transfers all of your cobblestone into the chest as if you were shift clicking them. All of this on clientside btw. I'm just not sure which direction to go with this. Any help is extremely appreciated.
  6. Literally just render a 2D picture over a player. Not a reskin or anything. Just to draw an image on a player (and scale to how big the player is)
  7. I've tried to look for help on how to just render an image over other players but every time I look for threads I can only find examples of people editing their own player's movement etc. Any help would be appreciated.
  8. Jaffaaaaa joined the community
  9. I want to make a keybind where if it's pressed, the player goes forward, and holds left click until the keybind is toggled again. Any help is appreciated

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.