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.

JustDreaming

Members
  • Joined

  • Last visited

  1. To check if a player has received damage, you need to use an event. These events are named differently in different versions of the game. To understand which creature attacked the player, you need to use "instanceof" operator. For example: if(e.getLivingEntity() instanceof EnityMod) { //some code } The above code is just an example of using an operator in an event. You will have to find the event you need yourself and get the entity that attacked the player
  2. Hi. Maybe you didn't set the attributes of the mob quite correctly. Or mod's attributes are not applied
  3. JustDreaming changed their profile photo
  4. Using Mixin if your gonna make something really serios, It depends on your goals. First of all in forge we have a events that can be useful for you. If you have no java skills you better stay out of modding and learn basic java knowledges. Good luck my man
  5. For example, is it possible to make it so that when you press the bone meal on the block, it changes to something else Game Version 1.12.2
  6. Event Handler is in the package "net.minecraftforge.fml.common.Mod.EventHandler", and SubscribeEvent is in the package "net.minecraftforge.fml.common.eventhandler.SubscribeEvent" Game Version is 1.12.2
  7. I can't undestand why some events caught using EventHandler and other using SubscribeEvent. What's the difference between them?
  8. I catch events using SubscribeEvent, but i've seen how someone catchs one using EventHander(Plus, In main class all FML event is catched using EventHandler). Why So? I don't speak English. The text was compiled in the Google translator

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.