|
| 1 | +# BadOptimizations configuration |
| 2 | +# Toggle and configure optimizations here. |
| 3 | +# *All* of these require restarts. |
| 4 | + |
| 5 | +# Whether we should cancel updating the lightmap if not needed. |
| 6 | +enable_lightmap_caching: true |
| 7 | +# How much the in-game time must change in ticks (default tick rate = 1/20th of a second) |
| 8 | +# for the lightmap to update. |
| 9 | +# Higher values will result in less frequent updates |
| 10 | +# to block lighting, but slightly better performance. |
| 11 | +# Values below 2 will disable the optimization. |
| 12 | +lightmap_time_change_needed_for_update: 80 |
| 13 | + |
| 14 | +# Whether the sky's color should be cached unless you're on a biome border. |
| 15 | +enable_sky_color_caching: true |
| 16 | +# How much the in-game time must change in ticks for the sky color to |
| 17 | +# be recalculated when not between biome borders. Higher values will result in |
| 18 | +# the sky updating less frequently, but slightly better performance. |
| 19 | +# Values below 2 will all have the same effect. |
| 20 | +skycolor_time_change_needed_for_update: 3 |
| 21 | + |
| 22 | +# Whether we should avoid calling debug renderers |
| 23 | +# if there are no debug entries to render or process. |
| 24 | +enable_debug_renderer_disable_if_not_needed: true |
| 25 | + |
| 26 | +# |
| 27 | +# Micro optimizations |
| 28 | +# |
| 29 | + |
| 30 | +# Whether we should avoid calling the particle manager |
| 31 | +# and its calculations if there are no particles. |
| 32 | +enable_particle_manager_optimization: true |
| 33 | +# Whether we should avoid calling the toast manager if there are no toasts. |
| 34 | +enable_toast_optimizations: true |
| 35 | +# Whether the result of getSkyAngle should be cached |
| 36 | +# for the entire frame during rendering. |
| 37 | +enable_sky_angle_caching_in_worldrenderer: true |
| 38 | +# Whether entity renderers should be stored directly in EntityType instead of a HashMap. |
| 39 | +# If your entity-adding mod crashes with this mod, it's probably this option's fault. |
| 40 | +enable_entity_renderer_caching: true |
| 41 | +# Whether block entity renderers should be stored in BlockEntityType instead of a HashMap. |
| 42 | +enable_block_entity_renderer_caching: true |
| 43 | +# Whether entity flags should be cached instead of calling DataTracker. |
| 44 | +# Also removes the unnecessary thread lock in DataTracker. |
| 45 | +# Unneeded with Lithium. Has no effect in Minecraft 1.20.5+. |
| 46 | +enable_entity_flag_caching: true |
| 47 | +# Whether we should avoid calling FOV calculations |
| 48 | +# if the FOV effect scale is zero. |
| 49 | +enable_remove_redundant_fov_calculations: true |
| 50 | +# Don't tick the tutorial if the game is not in demo mode. |
| 51 | +enable_remove_tutorial_if_not_demo: true |
| 52 | + |
| 53 | +# |
| 54 | +# Other |
| 55 | +# |
| 56 | + |
| 57 | +# Whether BadOptimizations <version> should be added onto |
| 58 | +# the left text of the F3 menu. |
| 59 | +show_f3_text: false |
| 60 | + |
| 61 | +# Some config options will be force-disabled if certain mods are present |
| 62 | +# due to incompatibilities (e.g. entity rendering caching |
| 63 | +# is disabled w/ Twilight Forest / BedrockSkinUtility / SkinShuffle). |
| 64 | +# However, if you still want to use the optimizations, you can override it |
| 65 | +# by setting this to true. Beware of crashes. And Herobrine. |
| 66 | +ignore_mod_incompatibilities: false |
| 67 | + |
| 68 | +# Whether to log the entire config into console when booting up. |
| 69 | +# If you plan on reporting an issue, please keep this on. |
| 70 | +log_config: true |
| 71 | + |
| 72 | +# Do not change this |
| 73 | +config_version: 4 |
0 commit comments