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.

Luis_ST

Members
  • Joined

  • Last visited

Everything posted by Luis_ST

  1. Remove OptiFine or downgrade Forge to 41.0.63, since there no compatible OptiFine version for Forge 41.0.100
  2. Problem with BraincellAPI. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author.
  3. Screen#keyPressed is the way to go in a custom Screen, take a look at this for the parameters
  4. No you have to run the runServer gradle task Note the first time you run the server it stops, since you need to accept the eula, the second time it generate all missing files but you need to stop the server, since you need to disable the online mode in the server.properties file
  5. You can use https://gist.github.com/
  6. i'm not sure as far as I can see in the code, yes test it on a server via runServer it use the reach distance of the player which is 4.5 by default
  7. ForgeIngameGui.rayTraceDistance is just a double value there is nothing special with it yes:
  8. Why did you use ifPresent? Did you assume that your capability is not always present?
  9. It's is a field, you don't need to override any method (this is btw without using Mixin not possible), you need to set LocalPlayer#crouching in MovementInputUpdateEvent to the value you want.
  10. This does not work you need in this case server raytrace, you can take a look at BucketItem#use for an example. why did you use ForgeIngameGui.rayTraceDistance this makes for me no sense, do you know what it is used for?
  11. I hope that the events are located in two different classes, since InputEvent.Key is a client side only Event and TickEvent.PlayerTickEvent is a client and server Event (common)
  12. yeah it does, if this code is called on a DedicatedServer it will crash, since the Minecraft class does not exists on the server. Please show more of your code to understand your usage, ideally the whole class.
  13. This will cause the same issue: Event is fired -> store MobEffectInstance -> add MobEffectInstance in next tick -> Event is fired -> StackOverflowError you need modify the MobEffectInstance before adding it, for example you add a CurativeItem via MobEffectInstance#addCurativeItem (e.g. Items#BARRIER) then you need to check if the given MobEffectInstance of the Event has your CurativeItem if the MobEffectInstance has your CurativeItem you need to ignore it if not you can contine with the your logic Note: the CurativeItem should be a creative only item (e.g. Items#BARRIER, Items#BEDROCK), to make sure you do not have unwanted side effects you also can create a custom Item for this usage, to avoid conflict with other Mods
  14. I would recommend you to not use magic performance Mods. They cause a lot of issues and they mostly increase the performance due breaking game mechanics.
  15. Please show where you call ModMessages.register
  16. Please post debug.log from the logs folder.
  17. Please post debug.log from the logs folder. Note on CurseForge you need to enable the debug.log in the settings.
  18. Delete this client config file if you have not modified it.
  19. Looks like an issue with Jei. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author.
  20. Forge 1.19 has breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge. Please post debug.log from the logs folder for further informations
  21. Please post debug.log from server and client.
  22. Please post debug.log from the logs folder.
  23. This is a terrible idea, do not delete files/folders without to know what's the actual issue.

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.