update base pack

This commit is contained in:
MihailRis 2024-11-26 08:40:15 +03:00
parent d9277e1b31
commit a5a9a4b9ce
4 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@
],
"hitbox": [0.4, 0.25, 0.4],
"sensors": [
["aabb", -0.2, -0.2, -0.2, 0.2, 0.2, 0.2],
["radius", 0.3],
["radius", 1.6]
],
"blocking": false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -2,7 +2,9 @@ function inventory_share_func(invid, slotid)
local blockinv = hud.get_block_inventory()
if blockinv ~= 0 then
inventory.move(invid, slotid, blockinv)
else
elseif rules.get("allow-content-access") then
inventory.set(invid, slotid, 0, 0)
else
inventory.move(invid, slotid, invid)
end
end

View File

@ -39,8 +39,8 @@ SOFTWARE.
#define ABSORPTION_FALLOFF 4e3 /* how much the absorption decreases the further away it gets from the maximum height */
// and the steps (more looks better, but is slower)
// the primary step has the most effect on looks
#define PRIMARY_STEPS 12
#define LIGHT_STEPS 4
#define PRIMARY_STEPS 6
#define LIGHT_STEPS 2
vec3 calculate_scattering(
vec3 start, // the start of the ray (the camera position)