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.

mrdare360

Members
  • Joined

  • Last visited

  1. /** * Load up */ @Override public void load() { ModLoader.setInGameHook(this, true, false); ModLoader.setInGUIHook(this, true, false); } /** * Handle ingame ticks * @return */ int create = 0; int i, j, k; public boolean onTickInGame(float time, Minecraft minecraftInstance) { if(mc.theWorld != null) { i = (int) mc.thePlayer.posX; j = (int) mc.thePlayer.posY; k = (int) mc.thePlayer.posZ; } create++; System.out.println(create); if(mc.theWorld != null && create == 50 && mc.thePlayer != null) { Do Stuff Here } return true; } /** * Handle GUI ticks */ public boolean onTickInGUI(float tick, Minecraft game, GuiScreen gui) { boolean mainmenu = mc.currentScreen instanceof GuiMainMenu; if(mainmenu) { create = 0; } return true; } Hope that helps, that is how I do it.
  2. mrdare360 posted a topic in Suggestions
    Simple idea, a hook for adding AI tasks to entities without editing the class, would work on vanilla mobs also
  3. Now i'm even more confused
  4. I still can't figure out how to spawn the particle in the world without naming it inside RenderGlobal, i use the addEffect method but can't spawn the particle because it doesn't have a name.
  5. To add a name to my particle effect? I'll have a look at EffectRenderer and come back if i don't understand.
  6. But wouldn't editing RenderGlobal cause incomatibility with some mods?
  7. Could you add a hook to add particle effects to the game?

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.