mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Remove support for use_texture_alpha
bool values (mt 5.3)
This commit is contained in:
parent
92261e5fb5
commit
bf25fca47d
2 changed files with 6 additions and 1 deletions
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"Lua.format.defaultConfig": {
|
||||||
|
"keep_one_space_between_table_and_bracket": "false"
|
||||||
|
}
|
||||||
|
}
|
|
@ -48,7 +48,7 @@ minetest.register_node("mcl_core:slimeblock", {
|
||||||
type = "regular",
|
type = "regular",
|
||||||
},
|
},
|
||||||
tiles = {"mcl_core_slime.png"},
|
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
|
-- 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=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)
|
-- bouncy=80 was chosen because it is higher than 66 (bounciness of bed)
|
||||||
|
|
Loading…
Reference in a new issue