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.

First_jenkins

Members
  • Joined

  • Last visited

Everything posted by First_jenkins

  1. Guys, when I call some method (GuiNewChat) to call previous chat history in custom chat method. Here's the result .. public void onRenderGui(RenderGameOverlayEvent.Post event) {if (Minecraft.getInstance().currentScreen instanceof NewChat) { Minecraft.getInstance().ingameGUI.getChatGUI().drawChat(1); } } How can I fix its location? I tried to add some glstatemanager class from referring some previous classes like forgeingamegui.class in that class... there the codes look like.. protected void renderChat(int width, int height) { mc.profiler.startSection("chat"); RenderGameOverlayEvent.Chat event = new RenderGameOverlayEvent.Chat(eventParent, 0, height - 48); if (MinecraftForge.EVENT_BUS.post(event)) return; GlStateManager.pushMatrix(); GlStateManager.translatef((float) event.getPosX(), (float) event.getPosY(), 0.0F); persistantChatGUI.drawChat(ticks); GlStateManager.popMatrix(); post(CHAT); mc.profiler.endSection(); }
  2. I'm trying to develop foreign language typing system. So, I want to intercept typewriting event to insert this additional typing function.
  3. Hello. I want to replace vanilla method. Also, I found Access Transformers ,but don't know how to do. I'm a noob. Here's what I want to do. Proposal: Replace charTyped method in GuiTextField.class (located in net.minecraft.client.gui) into another custom charTyped method that I created. [removed copyrighted code] This is the full code of GuiTextField.class And that method is [removed copyrighted code] What I tried is just replace whole class (Block displayguiscreen event and poped custom one) Anyone..know how to replace or overwrite it? I have custom chartyped method(not above).

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.