From fc08d4d213eb363aee264e17ea2e3267a7bb72c3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 4 Jan 2017 07:19:15 +0100 Subject: [PATCH] Tweak slime block behaviour --- mods/default/nodes.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index e9e68e5ecb..7313afdeb5 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -759,7 +759,9 @@ minetest.register_node("default:slimeblock", { use_texture_alpha = true, sunlight_propagates = true, stack_max = 64, - groups = {oddly_breakable_by_hand=3,dig_immediate=2,bouncy=70,disable_jump=1, fall_damage_add_percent=-100}, + -- 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. + groups = {oddly_breakable_by_hand=3,dig_immediate=2,bouncy=44,fall_damage_add_percent=-100}, }) minetest.register_node("default:glass", {