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

I'm currently trying to create a mechanism on the Minecraft server that allows one player to use one item and stop the other players from moving. As a way of thinking
・ Modify the time tick of each Client game
・ By disabling the key input of all Clients, it becomes immobile.
There are two.
I tried the former with reference to Carpet Mod, but I gave up because it seems that I need to rewrite the Minecraft code of the part that is not supported by Forge. So, for the latter, I tried using KeyBinding # unPressAllKeys () etc., but I can still operate the viewpoint with the mouse, change the items I have, etc. Is there a way to solve these?

  • Author

I tried using MouseHelper#ungrabMouse () and KeyBinding#unPressAllKeys (), referring to the vanilla GUI code. Then, the mouse movement and the player movement became impossible. However, you can still switch items with the F5 key, mouse scroll, etc. (however, these may or may not work when pressed). This is to solve is to think of a thing that we need InputUpdateEvent, Can you tell me how to cancel how to input because they did not see any documents about it.

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.