Remove support for `use_texture_alpha` bool values (mt 5.3)

This commit is contained in:
AFCMS 2022-12-04 18:38:29 +01:00 committed by Gitea
parent 92261e5fb5
commit bf25fca47d
2 changed files with 6 additions and 1 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"Lua.format.defaultConfig": {
"keep_one_space_between_table_and_bracket": "false"
}
}

View File

@ -48,7 +48,7 @@ minetest.register_node("mcl_core:slimeblock", {
type = "regular",
},
tiles = {"mcl_core_slime.png"},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
use_texture_alpha = "blend",
-- According to Minecraft Wiki, bouncing off a slime block from a height off 255 blocks should result in a bounce height of 50 blocks
-- bouncy=44 makes the player bounce up to 49.6. This value was chosen by experiment.
-- bouncy=80 was chosen because it is higher than 66 (bounciness of bed)