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.

Featured Replies

Posted

Hi

Does BlockEvent.BlockBreak not working in client-only mods? Or I should place some @ForgeSubscribe or something else

 

Event i of course registered and dont have bugs inside. Start and work corectly during single player game. In multiplayer dont start. I was check with System.out.println("event start"); as a first line in handler.

  • Author

The event fires serverside only.

 

I understand it's no way to gain the same informations on client? With some other event? During syncing? From packets?

  • Author
What are you trying to achieve exactly?

 

Most important thing I try to achieve is event itself. As a trigger to firing my code. Then I need .itemHeld() and breaked Block (coordinates and MetaData).

 

I cannot find clear list of events can be fired in client-only mods. It's a little frustrating.

  • Author

If player harvest crops and have one of crop in hand, crop is planted. If breaked crop is not full mature event is canceled.

  • Author

You most likely have to use

PlayerInteractEvent.LeftClickBlock

.

 

Unfortunately this event not exist in 1.7.10

  • Author

Q: My son have rush on his belly. What can I do?

 

A: Make a new one.

 

It's no other solution for 1.7.10?

  • Author

Hehehehehehe.... nope ;p

 

I'm not writing mods for publish or sell. I sometimes write some simple mods for personal use only. As strictly specified tools. Now I'm playing on 1.7.10 classic server and I need autoplanting mod for 1.7.10. I'm sure, if I will update mod to 1.8 he will be work perfectly. But will be perfectly useless for me at this time. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.