You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BlingEdit's current version detection works but is not a great solution. It leaves errors in the console and does not work for every version.
BetterBlingEdit's version detection:
It uses the data_version value in player NBT. This supports every major version, minor version, pre-release and snapshot. It also doesn't leave errors in the console. This also helps future-proofing, as we can add features that require newer mechanics while maintaining support for older versions of Minecraft.
Todo
New version detection
Add new scores on load. Line 252 of blingedit:reset would become:
execute store result score $BBlingEdit dataVer run data get entity @p DataVersion
# 1.13.x:
execute if score $BBlingEdit dataVer matches 1444...1900 run scoreboard players set $BBlingEdit clientVer 13
# 1.14.x:
execute if score $BBlingEdit dataVer matches 1901...1976 run scoreboard players set $BBlingEdit clientVer 14
# 1.15.x:
execute if score $BBlingEdit dataVer matches 2200...2230 run scoreboard players set $BBlingEdit clientVer 15
# Other:
execute if score $BBlingEdit clientVer matches 0 run scoreboard players set $BBlingEdit clientVer 0
Update BlingEdit options
Lines 1-3 of blingedit:interface/en/options_2_bottom would become:
execute if score $BBlingEdit clientVer matches 13 run tellraw @s ["",{"text":"Client Version: 1.13.x","color":"white"}]
execute if score $BBlingEdit clientVer matches 14 run tellraw @s ["",{"text":"Client Version: 1.14.x","color":"white"}]
execute if score $BBlingEdit clientVer matches 15 run tellraw @s ["",{"text":"Client Version: 1.15.x","color":"white"}]
execute if score $BBlingEdit clientVer matches 0 run tellraw @s ["",{"text":"Client Version: Unsupported!","color":"white"}]
The text was updated successfully, but these errors were encountered:
BlingEdit's current version detection works but is not a great solution. It leaves errors in the console and does not work for every version.
BetterBlingEdit's version detection:
It uses the
data_version
value in player NBT. This supports every major version, minor version, pre-release and snapshot. It also doesn't leave errors in the console. This also helps future-proofing, as we can add features that require newer mechanics while maintaining support for older versions of Minecraft.Todo
New version detection
Add new scores on load. Line 252 of
blingedit:reset
would become:Add
chkclient
function:Update BlingEdit options
Lines 1-3 of
blingedit:interface/en/options_2_bottom
would become:The text was updated successfully, but these errors were encountered: