Skip to content

FOV and Block Speed Toggle Config (1.20)#4843

Open
SakuraKitsurugi wants to merge 4 commits into
GregTechCEu:1.20.1from
SakuraKitsurugi:feature/fov_and_block_speed_config_1_20
Open

FOV and Block Speed Toggle Config (1.20)#4843
SakuraKitsurugi wants to merge 4 commits into
GregTechCEu:1.20.1from
SakuraKitsurugi:feature/fov_and_block_speed_config_1_20

Conversation

@SakuraKitsurugi
Copy link
Copy Markdown

@SakuraKitsurugi SakuraKitsurugi commented May 17, 2026

What

Adds 2 configs:

  1. Allows players to disable FOV changes from blocks that modify player speed.
  2. Allows players to disable speed change from blocks that modify player speed.

Implementation Details

  • Readded @YoungOnionMC's Concrete Block FOV speed code.
  • Added one client and one gameplay config in ConfigHolder.java
  • Added an early return in playerTickEvent(TickEvent.PlayerTickEvent event)
  • Added a config check in getValueWithoutWalkingBoost(AttributeInstance attrib) that sets fov to normal as it forces BLOCK_SPEED_BOOST to be included in the calculations.

How Was This Tested

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant