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.

AnaRchX

Members
  • Joined

  • Last visited

  1. Hello, I am using forge version 36.1.0 for MC 1.16.5 and after experimenting a bit with the code below, it seems that when I change the base value of the Players attribute Movement_Speed directly in my eclipse environment the camera FOV does not change at all but after building the mod and testing it with the same forge version with no other mods installed the FOV is behaving like any moving impairing effect does. private void onEntityTick (TickEvent.PlayerTickEvent event) { PlayerEntity ent = (PlayerEntity) event.player; ModifiableAttributeInstance attribute = ent.getAttribute(Attributes.MOVEMENT_SPEED); attribute.setBaseValue(0.1D); } //This code is taken in part of a larger code block from my mod Could this be a problem with how my eclipse is set up? Should I use a different method of handling the players speed? Is there a way to disable the fov change when there is a change in movement speed? I looked into the net.minecraftforge.client.event.FOVUpdateEvent but it does not seem to be a cancelable event. Is overriding it an option I should consider? Many many thanks to the Forge team for their work over the years! Thank you for taking the time to read this.

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.