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.

Abbadon696

Members
  • Joined

  • Last visited

Everything posted by Abbadon696

  1. I use the FTBQuests mod as the main adventure lines of the game. So I wanted to change the functionality of the the advancements button from the pause menu when I pressed it, but the code complains about the absence of "field_146127_k" "func_71410_x" import com.feed_the_beast.ftbquests.client.ClientQuestFile; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraftforge.client.event.GuiOpenEvent; import net.minecraftforge.client.event.GuiScreenEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) @EventBusSubscriber(value = {Side.CLIENT}, modid = "gmrmod") public final class ClientRegisterEvents { @SubscribeEvent public static void DisableOpeningAdvancementsGui(GuiOpenEvent event) { if (event.getGui() instanceof net.minecraft.client.gui.advancements.GuiScreenAdvancements) event.setCanceled(true); } @SubscribeEvent public static void OpenQuestGui(GuiScreenEvent.ActionPerformedEvent.Post event) { if (event.getGui() instanceof net.minecraft.client.gui.GuiIngameMenu) if ((event.getButton()).field_146127_k == 5) ClientQuestFile.INSTANCE.openQuestGui((EntityPlayer)(Minecraft.func_71410_x()).field_71439_g); } }

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.