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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. In your MainMod class in the @Mod annotation set clientSideOnly = true not sure if that will fix it, but you should do that anyways.
  2. There are two possible places for this, which are you referring to? Here if (ChatListener.isAFK = false) { ChatListener.isAFK = true; icommandsender.addChatMessage(new ChatComponentText("You are now AFK!")); return; } If this doesn't work it is not being called. I use that and it only comes up with the "Hello" message, not the "You are now AFK!". Then it is never making it into the if statement, or it can't send the message try removing the help message.
  3. When you setup the EventHandler you need to subscribe to HarvestDropsEvent, using the HarvestDropEvent parameter in your method you have access to the block and a list of dropped items you can modify to your liking.
  4. There are two possible places for this, which are you referring to? Here if (ChatListener.isAFK = false) { ChatListener.isAFK = true; icommandsender.addChatMessage(new ChatComponentText("You are now AFK!")); return; } If this doesn't work it is not being called.
  5. You can look at the link in my signature and look at my RegistryHelper class for an example on how that is handled.
  6. EventHandler here is a great tutorial on it by cool alias. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and
  7. I want to say it is at the top of the thread. Never done it...
  8. Didn't have it in my original post.
  9. You can change it delete this thread as it has nothing to do with modding. *Edit In the same place you change your signature.
  10. Honestly you should stop he/she probably doesn't know that you are being sarcastic and if you aren't you should stop, because core mods are not supported by forge.
  11. 1st. Do you know any Java if not learn Java first. 2nd. Post more specific questions please.
  12. What he should reorder would be the registry order, but doing it in the list would be better(less work).
  13. Try putting a return in there
  14. GL11.enable/disableLighting();
  15. new ItemTwigs(twigs)...
  16. Don't put .class
  17. Well I would say the best way to learn on this is to look at examples I would start looking at minecrafts JSON files in the jar under that path assets/minecraft/models/... Just to let you know Blocks need three JSON files a blockstate, block model, item model. Blockstates are under the path assets/minecraft/blockstates
  18. It should be called once the world is loaded.
  19. Yeah I told you that tends to happen eclipse just doesn't care sometimes :3
  20. I don't think you can detect if the player has received a chat message but if you could it would be down with an Event provided by forge.
  21. In edit profile there is an option to see the console.

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.