Feature/new greens and browns (#2653)
* New greens and browns * huh * Revert "huh" This reverts commit 75d84143c447f8c3eba8efbbaabfc693de7510e6. * huh
This commit is contained in:
parent
fddf28c13a
commit
11544b1cce
4 changed files with 298 additions and 290 deletions
|
|
@ -1,188 +1,188 @@
|
||||||
|
|
||||||
#Screen Config
|
#Screen Config
|
||||||
[screen]
|
[screen]
|
||||||
#The duration of GUI background color and blur radius animation in milliseconds. (0 = OFF)
|
#The duration of GUI background color and blur radius animation in milliseconds. (0 = OFF)
|
||||||
#Range: 0 ~ 800
|
#Range: 0 ~ 800
|
||||||
animationDuration = 200
|
animationDuration = 200
|
||||||
#The GUI background color in #RRGGBB or #AARRGGBB format. Default value: #99000000
|
#The GUI background color in #RRGGBB or #AARRGGBB format. Default value: #99000000
|
||||||
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
||||||
#Multiple values produce a gradient effect, whereas one value produce a solid color.
|
#Multiple values produce a gradient effect, whereas one value produce a solid color.
|
||||||
#When values is less than 4, the rest of the corner color will be replaced by the last value.
|
#When values is less than 4, the rest of the corner color will be replaced by the last value.
|
||||||
backgroundColor = ["#99000000"]
|
backgroundColor = ["#99000000"]
|
||||||
#Add Gaussian blur effect to GUI background when opened.
|
#Add Gaussian blur effect to GUI background when opened.
|
||||||
#Disable this if you run into a problem or are on low-end PCs
|
#Disable this if you run into a problem or are on low-end PCs
|
||||||
blurEffect = true
|
blurEffect = true
|
||||||
#This option means that blur effect only applies to GUI screens with a background.
|
#This option means that blur effect only applies to GUI screens with a background.
|
||||||
#Similar to Minecraft 1.20.6. Enable this for better optimization & compatibility.
|
#Similar to Minecraft 1.20.6. Enable this for better optimization & compatibility.
|
||||||
blurWithBackground = true
|
blurWithBackground = true
|
||||||
#The kernel radius for gaussian convolution blur effect, 0 = disable.
|
#The kernel radius for gaussian convolution blur effect, 0 = disable.
|
||||||
#samples per pixel = ((radius * 2) + 1) * 2, sigma = radius / 2.
|
#samples per pixel = ((radius * 2) + 1) * 2, sigma = radius / 2.
|
||||||
#Range: 0 ~ 18
|
#Range: 0 ~ 18
|
||||||
blurRadius = 7
|
blurRadius = 7
|
||||||
#A list of GUI screen superclasses that won't activate blur effect when opened.
|
#A list of GUI screen superclasses that won't activate blur effect when opened.
|
||||||
blurBlacklist = ["net.minecraft.client.gui.screens.ChatScreen"]
|
blurBlacklist = ["net.minecraft.client.gui.screens.ChatScreen"]
|
||||||
#(Beta) Pause the game when inventory (also includes creative mode) opened.
|
#(Beta) Pause the game when inventory (also includes creative mode) opened.
|
||||||
inventoryPause = false
|
inventoryPause = false
|
||||||
#Framerate limit on window inactive (out of focus or minimized), 0 = no change.
|
#Framerate limit on window inactive (out of focus or minimized), 0 = no change.
|
||||||
#Range: 0 ~ 255
|
#Range: 0 ~ 255
|
||||||
framerateInactive = 10
|
framerateInactive = 10
|
||||||
#Framerate limit on window minimized, 0 = same as framerate inactive.
|
#Framerate limit on window minimized, 0 = same as framerate inactive.
|
||||||
#This value will be no greater than framerate inactive.
|
#This value will be no greater than framerate inactive.
|
||||||
#Range: 0 ~ 255
|
#Range: 0 ~ 255
|
||||||
framerateMinimized = 0
|
framerateMinimized = 0
|
||||||
#Master volume multiplier on window inactive (out of focus or minimized), 1 = no change.
|
#Master volume multiplier on window inactive (out of focus or minimized), 1 = no change.
|
||||||
#Range: 0.0 ~ 1.0
|
#Range: 0.0 ~ 1.0
|
||||||
masterVolumeInactive = 0.5
|
masterVolumeInactive = 0.5
|
||||||
#Master volume multiplier on window minimized, 1 = same as master volume inactive.
|
#Master volume multiplier on window minimized, 1 = same as master volume inactive.
|
||||||
#This value will be no greater than master volume inactive.
|
#This value will be no greater than master volume inactive.
|
||||||
#Range: 0.0 ~ 1.0
|
#Range: 0.0 ~ 1.0
|
||||||
masterVolumeMinimized = 0.25
|
masterVolumeMinimized = 0.25
|
||||||
|
|
||||||
#Tooltip Config
|
#Tooltip Config
|
||||||
[tooltip]
|
[tooltip]
|
||||||
#Whether to enable Modern UI enhanced tooltip, or back to vanilla default.
|
#Whether to enable Modern UI enhanced tooltip, or back to vanilla default.
|
||||||
enable = true
|
enable = true
|
||||||
#Whether to use rounded tooltip shapes, or to use vanilla style.
|
#Whether to use rounded tooltip shapes, or to use vanilla style.
|
||||||
roundedShape = false
|
roundedShape = false
|
||||||
#True to center the tooltip title if rendering an item's tooltip.
|
#True to center the tooltip title if rendering an item's tooltip.
|
||||||
#Following lines are not affected by this option.
|
#Following lines are not affected by this option.
|
||||||
centerTitle = true
|
centerTitle = true
|
||||||
#True to add a title break below the tooltip title line.
|
#True to add a title break below the tooltip title line.
|
||||||
#TitleBreak and CenterTitle will work/appear at the same time.
|
#TitleBreak and CenterTitle will work/appear at the same time.
|
||||||
titleBreak = true
|
titleBreak = true
|
||||||
#True to exactly position tooltip to pixel grid, smoother movement.
|
#True to exactly position tooltip to pixel grid, smoother movement.
|
||||||
exactPositioning = true
|
exactPositioning = true
|
||||||
#The tooltip background color in #RRGGBB or #AARRGGBB format. Default: #E6000000
|
#The tooltip background color in #RRGGBB or #AARRGGBB format. Default: #E6000000
|
||||||
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
||||||
#Multiple values produce a gradient effect, whereas one value produces a solid color.
|
#Multiple values produce a gradient effect, whereas one value produces a solid color.
|
||||||
#If less than 4 are provided, repeat the last value.
|
#If less than 4 are provided, repeat the last value.
|
||||||
colorFill = ["#E6000000"]
|
colorFill = ["#E6000000"]
|
||||||
#The tooltip border color in #RRGGBB or #AARRGGBB format. Default: #F0AADCF0, #F0DAD0F4, #F0FFC3F7 and #F0DAD0F4
|
#The tooltip border color in #RRGGBB or #AARRGGBB format. Default: #F0AADCF0, #F0DAD0F4, #F0FFC3F7 and #F0DAD0F4
|
||||||
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
#Can be one to four values representing top left, top right, bottom right and bottom left color.
|
||||||
#Multiple values produce a gradient effect, whereas one value produces a solid color.
|
#Multiple values produce a gradient effect, whereas one value produces a solid color.
|
||||||
#If less than 4 are provided, repeat the last value.
|
#If less than 4 are provided, repeat the last value.
|
||||||
colorStroke = ["#FFC2D0D6", "#FFE7DAE5", "#FFCCDAC8", "#FFC8B9AC"]
|
colorStroke = ["#FFC2D0D6", "#FFE7DAE5", "#FFCCDAC8", "#FFC8B9AC"]
|
||||||
#The cycle time of tooltip border color in milliseconds. (0 = OFF)
|
#The cycle time of tooltip border color in milliseconds. (0 = OFF)
|
||||||
#Range: 0 ~ 5000
|
#Range: 0 ~ 5000
|
||||||
borderCycleTime = 1000
|
borderCycleTime = 1000
|
||||||
#The width of tooltip border, if rounded, in GUI Scale Independent Pixels.
|
#The width of tooltip border, if rounded, in GUI Scale Independent Pixels.
|
||||||
#Range: 0.5 ~ 2.5
|
#Range: 0.5 ~ 2.5
|
||||||
borderWidth = 1.3333333333333333
|
borderWidth = 1.3333333333333333
|
||||||
#The corner radius of tooltip border, if rounded, in GUI Scale Independent Pixels.
|
#The corner radius of tooltip border, if rounded, in GUI Scale Independent Pixels.
|
||||||
#Range: 0.0 ~ 8.0
|
#Range: 0.0 ~ 8.0
|
||||||
cornerRadius = 4.0
|
cornerRadius = 4.0
|
||||||
#The shadow radius of tooltip, if rounded, in GUI Scale Independent Pixels.
|
#The shadow radius of tooltip, if rounded, in GUI Scale Independent Pixels.
|
||||||
#No impact on performance.
|
#No impact on performance.
|
||||||
#Range: 0.0 ~ 32.0
|
#Range: 0.0 ~ 32.0
|
||||||
shadowRadius = 10.0
|
shadowRadius = 10.0
|
||||||
#The shadow opacity of tooltip, if rounded. No impact on performance.
|
#The shadow opacity of tooltip, if rounded. No impact on performance.
|
||||||
#Range: 0.0 ~ 1.0
|
#Range: 0.0 ~ 1.0
|
||||||
shadowOpacity = 0.25
|
shadowOpacity = 0.25
|
||||||
#When true, tooltip border colors adapt to item's name and rarity.
|
#When true, tooltip border colors adapt to item's name and rarity.
|
||||||
adaptiveColors = true
|
adaptiveColors = true
|
||||||
#Amount to scroll the tooltip in response to a arrow key pressed event.
|
#Amount to scroll the tooltip in response to a arrow key pressed event.
|
||||||
#Range: 0 ~ 320
|
#Range: 0 ~ 320
|
||||||
arrowScrollFactor = 60
|
arrowScrollFactor = 60
|
||||||
|
|
||||||
#General Config
|
#General Config
|
||||||
[general]
|
[general]
|
||||||
#Play a sound effect when the game is loaded.
|
#Play a sound effect when the game is loaded.
|
||||||
ding = true
|
ding = true
|
||||||
#Specify a sound event to custom the ding sound effect.
|
#Specify a sound event to custom the ding sound effect.
|
||||||
#The default is "minecraft:entity.experience_orb.pickup"
|
#The default is "minecraft:entity.experience_orb.pickup"
|
||||||
dingSound = ""
|
dingSound = ""
|
||||||
#Specify a volume multiplier to the ding sound effect.
|
#Specify a volume multiplier to the ding sound effect.
|
||||||
#Range: 0.0 ~ 10.0
|
#Range: 0.0 ~ 10.0
|
||||||
dingVolume = 0.25
|
dingVolume = 0.25
|
||||||
#Press 'C' key (by default) to zoom 4x, the same as OptiFine's.
|
#Press 'C' key (by default) to zoom 4x, the same as OptiFine's.
|
||||||
#This is auto disabled when OptiFine is installed.
|
#This is auto disabled when OptiFine is installed.
|
||||||
zoom = false
|
zoom = false
|
||||||
#Control the window mode, normal mode does nothing.
|
#Control the window mode, normal mode does nothing.
|
||||||
#Allowed Values: NORMAL, FULLSCREEN, FULLSCREEN_BORDERLESS, MAXIMIZED, MAXIMIZED_BORDERLESS, WINDOWED, WINDOWED_BORDERLESS
|
#Allowed Values: NORMAL, FULLSCREEN, FULLSCREEN_BORDERLESS, MAXIMIZED, MAXIMIZED_BORDERLESS, WINDOWED, WINDOWED_BORDERLESS
|
||||||
windowMode = "NORMAL"
|
windowMode = "NORMAL"
|
||||||
#Whether to replace vanilla GUI scale button to slider with tips.
|
#Whether to replace vanilla GUI scale button to slider with tips.
|
||||||
useNewGuiScale = true
|
useNewGuiScale = true
|
||||||
#Remove telemetry event of client behaviors.
|
#Remove telemetry event of client behaviors.
|
||||||
removeTelemetry = false
|
removeTelemetry = false
|
||||||
#Allow Slack or Discord shortcodes to replace Unicode Emoji Sequences in chat.
|
#Allow Slack or Discord shortcodes to replace Unicode Emoji Sequences in chat.
|
||||||
emojiShortcodes = true
|
emojiShortcodes = true
|
||||||
|
|
||||||
#View Config
|
#View Config
|
||||||
[view]
|
[view]
|
||||||
#Force layout direction to RTL, otherwise, the current Locale setting.
|
#Force layout direction to RTL, otherwise, the current Locale setting.
|
||||||
forceRtl = false
|
forceRtl = false
|
||||||
#The global font scale used with sp units.
|
#The global font scale used with sp units.
|
||||||
#Range: 0.5 ~ 2.0
|
#Range: 0.5 ~ 2.0
|
||||||
fontScale = 1.1
|
fontScale = 1.1
|
||||||
#Default scrollbar size in dips.
|
#Default scrollbar size in dips.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
scrollbarSize = 4
|
scrollbarSize = 4
|
||||||
#Distance a touch can wander before we think the user is scrolling in dips.
|
#Distance a touch can wander before we think the user is scrolling in dips.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
touchSlop = 4
|
touchSlop = 4
|
||||||
#Distance a hover can wander while it is still considered "stationary" in dips.
|
#Distance a hover can wander while it is still considered "stationary" in dips.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
hoverSlop = 4
|
hoverSlop = 4
|
||||||
#Minimum size of the touch target for a scrollbar in dips.
|
#Minimum size of the touch target for a scrollbar in dips.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
minScrollbarTouchTarget = 16
|
minScrollbarTouchTarget = 16
|
||||||
#Minimum velocity to initiate a fling in dips per second.
|
#Minimum velocity to initiate a fling in dips per second.
|
||||||
#Range: 0 ~ 32767
|
#Range: 0 ~ 32767
|
||||||
minimumFlingVelocity = 50
|
minimumFlingVelocity = 50
|
||||||
#Maximum velocity to initiate a fling in dips per second.
|
#Maximum velocity to initiate a fling in dips per second.
|
||||||
#Range: 0 ~ 32767
|
#Range: 0 ~ 32767
|
||||||
maximumFlingVelocity = 8000
|
maximumFlingVelocity = 8000
|
||||||
#The coefficient of friction applied to flings/scrolls.
|
#The coefficient of friction applied to flings/scrolls.
|
||||||
#Range: 0.001 ~ 7.389
|
#Range: 0.001 ~ 7.389
|
||||||
scrollFriction = 0.014999999664723873
|
scrollFriction = 0.014999999664723873
|
||||||
#Max distance in dips to overscroll for edge effects.
|
#Max distance in dips to overscroll for edge effects.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
overscrollDistance = 0
|
overscrollDistance = 0
|
||||||
#Max distance in dips to overfling for edge effects.
|
#Max distance in dips to overfling for edge effects.
|
||||||
#Range: 0 ~ 1024
|
#Range: 0 ~ 1024
|
||||||
overflingDistance = 12
|
overflingDistance = 12
|
||||||
#Amount to scroll in response to a vertical scroll event, in dips per axis value.
|
#Amount to scroll in response to a vertical scroll event, in dips per axis value.
|
||||||
#Range: 0.0 ~ 1024.0
|
#Range: 0.0 ~ 1024.0
|
||||||
verticalScrollFactor = 64.0
|
verticalScrollFactor = 64.0
|
||||||
#Amount to scroll in response to a horizontal scroll event, in dips per axis value.
|
#Amount to scroll in response to a horizontal scroll event, in dips per axis value.
|
||||||
#Range: 0.0 ~ 1024.0
|
#Range: 0.0 ~ 1024.0
|
||||||
horizontalScrollFactor = 64.0
|
horizontalScrollFactor = 64.0
|
||||||
#The duration in milliseconds before a hover event causes a tooltip to be shown.
|
#The duration in milliseconds before a hover event causes a tooltip to be shown.
|
||||||
#Range: 0 ~ 1200
|
#Range: 0 ~ 1200
|
||||||
hoverTooltipShowTimeout = 500
|
hoverTooltipShowTimeout = 500
|
||||||
#The duration in milliseconds before mouse inactivity causes a tooltip to be hidden.
|
#The duration in milliseconds before mouse inactivity causes a tooltip to be hidden.
|
||||||
#Range: 3000 ~ 120000
|
#Range: 3000 ~ 120000
|
||||||
hoverTooltipHideTimeout = 30000
|
hoverTooltipHideTimeout = 30000
|
||||||
|
|
||||||
#Font Config
|
#Font Config
|
||||||
[font]
|
[font]
|
||||||
#The first font family to use. See fallbackFontFamilyList
|
#The first font family to use. See fallbackFontFamilyList
|
||||||
firstFontFamily = ".\\config\\ModernUI\\unifont-17.0.03.otf"
|
firstFontFamily = ".\\config\\ModernUI\\unifont-17.0.03.otf"
|
||||||
#A set of fallback font families to determine the typeface to use.
|
#A set of fallback font families to determine the typeface to use.
|
||||||
#The order is first > fallbacks. TrueType & OpenType are supported.
|
#The order is first > fallbacks. TrueType & OpenType are supported.
|
||||||
#Each element can be one of the following two cases:
|
#Each element can be one of the following two cases:
|
||||||
#1) Name of registered font family, for instance: Segoe UI
|
#1) Name of registered font family, for instance: Segoe UI
|
||||||
#2) Path of font files on your PC, for instance: /usr/shared/fonts/x.otf
|
#2) Path of font files on your PC, for instance: /usr/shared/fonts/x.otf
|
||||||
#Registered font families include:
|
#Registered font families include:
|
||||||
#1) OS builtin fonts.
|
#1) OS builtin fonts.
|
||||||
#2) Font files in fontRegistrationList.
|
#2) Font files in fontRegistrationList.
|
||||||
#3) Font files in '/resourcepacks' directory.
|
#3) Font files in '/resourcepacks' directory.
|
||||||
#4) Font files under 'modernui:font' in resource packs.
|
#4) Font files under 'modernui:font' in resource packs.
|
||||||
#Note that for TTC/OTC font, you should register it and select one of font families.
|
#Note that for TTC/OTC font, you should register it and select one of font families.
|
||||||
#Otherwise, only the first font family from the TrueType/OpenType Collection will be used.
|
#Otherwise, only the first font family from the TrueType/OpenType Collection will be used.
|
||||||
#This is only read once when the game is loaded, you can reload via in-game GUI.
|
#This is only read once when the game is loaded, you can reload via in-game GUI.
|
||||||
fallbackFontFamilyList = ["Source Han Sans CN Medium", "Noto Sans", "Segoe UI Variable", "Segoe UI", "San Francisco", "Open Sans", "SimHei", "STHeiti", "Segoe UI Symbol", "mui-i18n-compat"]
|
fallbackFontFamilyList = ["Source Han Sans CN Medium", "Noto Sans", "Segoe UI Variable", "Segoe UI", "San Francisco", "Open Sans", "SimHei", "STHeiti", "Segoe UI Symbol", "mui-i18n-compat"]
|
||||||
#A set of additional font files (or directories) to register.
|
#A set of additional font files (or directories) to register.
|
||||||
#For TrueType/OpenType Collections, all contained font families will be registered.
|
#For TrueType/OpenType Collections, all contained font families will be registered.
|
||||||
#Registered fonts can be referenced in Modern UI and Minecraft (Modern Text Engine).
|
#Registered fonts can be referenced in Modern UI and Minecraft (Modern Text Engine).
|
||||||
#For example, "E:/Fonts" means all font files in that directory will be registered.
|
#For example, "E:/Fonts" means all font files in that directory will be registered.
|
||||||
#System requires random access to these files, you should not remove them while running.
|
#System requires random access to these files, you should not remove them while running.
|
||||||
#This is only read once when the game is loaded, i.e. registration.
|
#This is only read once when the game is loaded, i.e. registration.
|
||||||
fontRegistrationList = []
|
fontRegistrationList = []
|
||||||
#Whether to use Google Noto Color Emoji, otherwise grayscale emoji (faster).
|
#Whether to use Google Noto Color Emoji, otherwise grayscale emoji (faster).
|
||||||
#See Unicode 15.0 specification for details on how this affects text layout.
|
#See Unicode 15.0 specification for details on how this affects text layout.
|
||||||
useColorEmoji = true
|
useColorEmoji = true
|
||||||
#When enabled, text layout uses fractional metrics with no font hinting and applies sub-pixel positioning.
|
#When enabled, text layout uses fractional metrics with no font hinting and applies sub-pixel positioning.
|
||||||
#When disabled, text layout uses integer metrics with full font hinting.
|
#When disabled, text layout uses integer metrics with full font hinting.
|
||||||
linearMetrics = true
|
linearMetrics = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,102 +1,102 @@
|
||||||
|
|
||||||
#Text Engine Config
|
#Text Engine Config
|
||||||
[text]
|
[text]
|
||||||
#Allow text renderer to drop shadow, setting to false can improve performance.
|
#Allow text renderer to drop shadow, setting to false can improve performance.
|
||||||
allowShadow = true
|
allowShadow = true
|
||||||
#Fix resolution level at 2. When the GUI scale increases, the resolution level remains.
|
#Fix resolution level at 2. When the GUI scale increases, the resolution level remains.
|
||||||
#Then GUI scale should be even numbers (2, 4, 6...), based on Minecraft GUI system.
|
#Then GUI scale should be even numbers (2, 4, 6...), based on Minecraft GUI system.
|
||||||
#If your fonts are not bitmap fonts, then you should keep this setting false.
|
#If your fonts are not bitmap fonts, then you should keep this setting false.
|
||||||
fixedResolution = false
|
fixedResolution = false
|
||||||
#Control base font size, in GUI scaled pixels. The default and vanilla value is 8.
|
#Control base font size, in GUI scaled pixels. The default and vanilla value is 8.
|
||||||
#For bitmap fonts, 8 represents a glyph size of 8x or 16x if fixed resolution.
|
#For bitmap fonts, 8 represents a glyph size of 8x or 16x if fixed resolution.
|
||||||
#This option only applies to TrueType fonts.
|
#This option only applies to TrueType fonts.
|
||||||
#Range: 6.5 ~ 9.5
|
#Range: 6.5 ~ 9.5
|
||||||
baseFontSize = 7.4
|
baseFontSize = 7.4
|
||||||
#Control vertical baseline for vanilla text layout, in GUI scaled pixels.
|
#Control vertical baseline for vanilla text layout, in GUI scaled pixels.
|
||||||
#The vanilla default value is 7.
|
#The vanilla default value is 7.
|
||||||
#Range: 4.0 ~ 10.0
|
#Range: 4.0 ~ 10.0
|
||||||
baselineShift = 7.0
|
baselineShift = 7.0
|
||||||
#Control the text shadow offset for vanilla text rendering, in GUI scaled pixels.
|
#Control the text shadow offset for vanilla text rendering, in GUI scaled pixels.
|
||||||
#Range: 0.20000000298023224 ~ 2.0
|
#Range: 0.20000000298023224 ~ 2.0
|
||||||
shadowOffset = 0.5
|
shadowOffset = 0.5
|
||||||
#Control the text outline offset for vanilla text rendering, in GUI scaled pixels.
|
#Control the text outline offset for vanilla text rendering, in GUI scaled pixels.
|
||||||
#Range: 0.20000000298023224 ~ 2.0
|
#Range: 0.20000000298023224 ~ 2.0
|
||||||
outlineOffset = 0.5
|
outlineOffset = 0.5
|
||||||
#Control the horizontal offset for bitmap fonts, in GUI scaled pixels.
|
#Control the horizontal offset for bitmap fonts, in GUI scaled pixels.
|
||||||
#Range: 0.0 ~ 1.0
|
#Range: 0.0 ~ 1.0
|
||||||
bitmapOffset = 0.5
|
bitmapOffset = 0.5
|
||||||
#Set the recycle time of layout cache in seconds, using least recently used algorithm.
|
#Set the recycle time of layout cache in seconds, using least recently used algorithm.
|
||||||
#Range: 2 ~ 15
|
#Range: 2 ~ 15
|
||||||
cacheLifespan = 6
|
cacheLifespan = 6
|
||||||
#The bidirectional text heuristic algorithm. The default is FirstStrong (Locale).
|
#The bidirectional text heuristic algorithm. The default is FirstStrong (Locale).
|
||||||
#This will affect which BiDi algorithm to use during text layout.
|
#This will affect which BiDi algorithm to use during text layout.
|
||||||
#Allowed Values: FIRST_STRONG, ANY_RTL, LTR, RTL, LOCALE, FIRST_STRONG_LTR, FIRST_STRONG_RTL
|
#Allowed Values: FIRST_STRONG, ANY_RTL, LTR, RTL, LOCALE, FIRST_STRONG_LTR, FIRST_STRONG_RTL
|
||||||
textDirection = "FIRST_STRONG"
|
textDirection = "FIRST_STRONG"
|
||||||
#Whether to use Modern UI text rendering pipeline in 3D world.
|
#Whether to use Modern UI text rendering pipeline in 3D world.
|
||||||
#Disabling this means that SDF text and rendering optimization are no longer effective.
|
#Disabling this means that SDF text and rendering optimization are no longer effective.
|
||||||
#But text rendering can be compatible with OptiFine Shaders and Iris Shaders.
|
#But text rendering can be compatible with OptiFine Shaders and Iris Shaders.
|
||||||
#This does not affect text rendering in GUI.
|
#This does not affect text rendering in GUI.
|
||||||
#This option only applies to TrueType fonts.
|
#This option only applies to TrueType fonts.
|
||||||
useTextShadersInWorld = true
|
useTextShadersInWorld = true
|
||||||
#For "minecraft:default" font, should we keep some glyph providers of them?
|
#For "minecraft:default" font, should we keep some glyph providers of them?
|
||||||
#Ignore All: Only use Modern UI typeface list.
|
#Ignore All: Only use Modern UI typeface list.
|
||||||
#Keep ASCII: Include minecraft:font/ascii.png, minecraft:font/accented.png, minecraft:font/nonlatin_european.png
|
#Keep ASCII: Include minecraft:font/ascii.png, minecraft:font/accented.png, minecraft:font/nonlatin_european.png
|
||||||
#Keep Other: Include providers other than ASCII and Unicode font.
|
#Keep Other: Include providers other than ASCII and Unicode font.
|
||||||
#Keep All: Include all except Unicode font.
|
#Keep All: Include all except Unicode font.
|
||||||
#Only Include: Only include providers that specified by defaultFontRuleSet.
|
#Only Include: Only include providers that specified by defaultFontRuleSet.
|
||||||
#Only Exclude: Only exclude providers that specified by defaultFontRuleSet.
|
#Only Exclude: Only exclude providers that specified by defaultFontRuleSet.
|
||||||
#Allowed Values: IGNORE_ALL, KEEP_ASCII, KEEP_OTHER, KEEP_ALL, ONLY_INCLUDE, ONLY_EXCLUDE
|
#Allowed Values: IGNORE_ALL, KEEP_ASCII, KEEP_OTHER, KEEP_ALL, ONLY_INCLUDE, ONLY_EXCLUDE
|
||||||
defaultFontBehavior = "KEEP_ALL"
|
defaultFontBehavior = "KEEP_ALL"
|
||||||
#Used when defaultFontBehavior is either ONLY_INCLUDE or ONLY_EXCLUDE.
|
#Used when defaultFontBehavior is either ONLY_INCLUDE or ONLY_EXCLUDE.
|
||||||
#This specifies a set of regular expressions to match the glyph provider name.
|
#This specifies a set of regular expressions to match the glyph provider name.
|
||||||
#For bitmap providers, this is the texture path without 'textures/'.
|
#For bitmap providers, this is the texture path without 'textures/'.
|
||||||
#For TTF providers, this is the TTF file path without 'font/'.
|
#For TTF providers, this is the TTF file path without 'font/'.
|
||||||
#For space providers, this is "font_name / minecraft:space",
|
#For space providers, this is "font_name / minecraft:space",
|
||||||
#where font_name is font definition path without 'font/'.
|
#where font_name is font definition path without 'font/'.
|
||||||
defaultFontRuleSet = ["^minecraft:font\\/(nonlatin_european|accented|ascii|element_ideographs|cjk_punctuations|ellipsis|2em_dash)\\.png$", "^minecraft:include\\/space \\/ minecraft:space$", "^minecraft:font\\/(mcsans|emoji)_05_00\\d.png$", "minecraft:uniform"]
|
defaultFontRuleSet = ["^minecraft:font\\/(nonlatin_european|accented|ascii|element_ideographs|cjk_punctuations|ellipsis|2em_dash)\\.png$", "^minecraft:include\\/space \\/ minecraft:space$", "^minecraft:font\\/(mcsans|emoji)_05_00\\d.png$", "minecraft:uniform"]
|
||||||
#Whether to use text component object as hash key to lookup in layout cache.
|
#Whether to use text component object as hash key to lookup in layout cache.
|
||||||
#If you find that Modern UI text rendering is not compatible with some mods,
|
#If you find that Modern UI text rendering is not compatible with some mods,
|
||||||
#you can disable this option for compatibility, but this will decrease performance a bit.
|
#you can disable this option for compatibility, but this will decrease performance a bit.
|
||||||
#Modern UI will use another cache strategy if this is disabled.
|
#Modern UI will use another cache strategy if this is disabled.
|
||||||
useComponentCache = true
|
useComponentCache = true
|
||||||
#Allow text layout to be computed from background threads (not cached).
|
#Allow text layout to be computed from background threads (not cached).
|
||||||
#Otherwise, block the current thread and wait for main thread.
|
#Otherwise, block the current thread and wait for main thread.
|
||||||
allowAsyncLayout = true
|
allowAsyncLayout = true
|
||||||
#See CSS line-break property, https://developer.mozilla.org/en-US/docs/Web/CSS/line-break
|
#See CSS line-break property, https://developer.mozilla.org/en-US/docs/Web/CSS/line-break
|
||||||
#Allowed Values: AUTO, LOOSE, NORMAL, STRICT
|
#Allowed Values: AUTO, LOOSE, NORMAL, STRICT
|
||||||
lineBreakStyle = "AUTO"
|
lineBreakStyle = "AUTO"
|
||||||
#Allowed Values: AUTO, PHRASE
|
#Allowed Values: AUTO, PHRASE
|
||||||
lineBreakWordStyle = "AUTO"
|
lineBreakWordStyle = "AUTO"
|
||||||
#When enabled, Modern UI will compute texel density in device-space to determine whether to use SDF text or bilinear sampling.
|
#When enabled, Modern UI will compute texel density in device-space to determine whether to use SDF text or bilinear sampling.
|
||||||
#This feature requires GLSL 400 or has no effect.
|
#This feature requires GLSL 400 or has no effect.
|
||||||
#This generally decreases performance but provides better rendering quality.
|
#This generally decreases performance but provides better rendering quality.
|
||||||
#This option only applies to TrueType fonts. May not be compatible with OptiFine.
|
#This option only applies to TrueType fonts. May not be compatible with OptiFine.
|
||||||
smartSDFShaders = true
|
smartSDFShaders = true
|
||||||
#When rendering in 2D, this option allows Modern UI to exactly compute font size in device-space from the current coordinate transform matrix.
|
#When rendering in 2D, this option allows Modern UI to exactly compute font size in device-space from the current coordinate transform matrix.
|
||||||
#This provides perfect text rendering for scaling-down texts in vanilla, but may increase GPU memory usage.
|
#This provides perfect text rendering for scaling-down texts in vanilla, but may increase GPU memory usage.
|
||||||
#When disabled, Modern UI will use SDF text rendering if appropriate.
|
#When disabled, Modern UI will use SDF text rendering if appropriate.
|
||||||
#This option only applies to TrueType fonts.
|
#This option only applies to TrueType fonts.
|
||||||
computeDeviceFontSize = true
|
computeDeviceFontSize = true
|
||||||
#When enabled, Modern UI will use SDF text rendering if appropriate.
|
#When enabled, Modern UI will use SDF text rendering if appropriate.
|
||||||
#Otherwise, it uses nearest-neighbor or bilinear sampling based on texel density.
|
#Otherwise, it uses nearest-neighbor or bilinear sampling based on texel density.
|
||||||
#This option only applies to TrueType fonts.
|
#This option only applies to TrueType fonts.
|
||||||
allowSDFTextIn2D = true
|
allowSDFTextIn2D = true
|
||||||
#When enabled, the outline of the experience level text will be tweaked.
|
#When enabled, the outline of the experience level text will be tweaked.
|
||||||
tweakExperienceText = true
|
tweakExperienceText = true
|
||||||
#Control the anti-aliasing of raw glyph rasterization.
|
#Control the anti-aliasing of raw glyph rasterization.
|
||||||
antiAliasing = false
|
antiAliasing = false
|
||||||
#When enabled, text layout uses fractional metrics with no font hinting.
|
#When enabled, text layout uses fractional metrics with no font hinting.
|
||||||
#When disabled, text layout uses integer metrics with full font hinting.
|
#When disabled, text layout uses integer metrics with full font hinting.
|
||||||
#Disable if on low-res monitor; enable for linear text.
|
#Disable if on low-res monitor; enable for linear text.
|
||||||
linearMetrics = false
|
linearMetrics = false
|
||||||
#Control the minimum pixel density for SDF text and text in 3D world rendering.
|
#Control the minimum pixel density for SDF text and text in 3D world rendering.
|
||||||
#This value will be no less than current GUI scale.
|
#This value will be no less than current GUI scale.
|
||||||
#Recommend setting a higher value on high-res monitor and powerful PC hardware.
|
#Recommend setting a higher value on high-res monitor and powerful PC hardware.
|
||||||
#Range: 4 ~ 10
|
#Range: 4 ~ 10
|
||||||
minPixelDensityForSDF = 10
|
minPixelDensityForSDF = 10
|
||||||
#Enable linear sampling for A8 font atlases with mipmaps, mag filter will be always
|
#Enable linear sampling for A8 font atlases with mipmaps, mag filter will be always
|
||||||
#NEAREST. We prefer computeDeviceFontSize and allowSDFTextIn2D, then setting this to
|
#NEAREST. We prefer computeDeviceFontSize and allowSDFTextIn2D, then setting this to
|
||||||
#false can improve performance. If either of the above two is false or Shaders are active,
|
#false can improve performance. If either of the above two is false or Shaders are active,
|
||||||
#then setting this to true can improve readability.
|
#then setting this to true can improve readability.
|
||||||
linearSamplingA8Atlas = false
|
linearSamplingA8Atlas = false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,9 @@ function registerGTCEUItemTags(event) {
|
||||||
// @ts-expect-error According to KJS docs adding tags to tags is supported.
|
// @ts-expect-error According to KJS docs adding tags to tags is supported.
|
||||||
event.add("gtceu:molds", "#gtceu:casting_molds", "#gtceu:extruder_molds", "gtceu:empty_mold");
|
event.add("gtceu:molds", "#gtceu:casting_molds", "#gtceu:extruder_molds", "gtceu:empty_mold");
|
||||||
|
|
||||||
|
//greens
|
||||||
|
event.add('tfc:compost_greens', 'gtceu:bio_chaff');
|
||||||
|
event.add('tfc:compost_greens', 'gtceu:plant_ball');
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param {TagEvent.Block} event */
|
/** @param {TagEvent.Block} event */
|
||||||
|
|
|
||||||
|
|
@ -407,6 +407,11 @@ function registerTFCItemTags(event) {
|
||||||
event.add('tfc:knives', 'tfc:stone/knife/metamorphic')
|
event.add('tfc:knives', 'tfc:stone/knife/metamorphic')
|
||||||
event.add('tfc:knives', 'tfc:stone/knife/igneous_intrusive')
|
event.add('tfc:knives', 'tfc:stone/knife/igneous_intrusive')
|
||||||
event.add('tfc:knives', 'tfc:stone/knife/igneous_extrusive')
|
event.add('tfc:knives', 'tfc:stone/knife/igneous_extrusive')
|
||||||
|
|
||||||
|
//greens and browns
|
||||||
|
event.remove('tfc:compost_browns_low', '#tfc:fallen_leaves')
|
||||||
|
event.add('tfc:compost_greens_low', '#tfc:fallen_leaves')
|
||||||
|
event.add('tfc:compost_greens_low', '#minecraft:leaves')
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param {TagEvent.Block} event */
|
/** @param {TagEvent.Block} event */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue