made aabb work correctly with 0-height hitboxes, added hitbox for carpet, world will save all data on autosave

This commit is contained in:
GameHerobrine 2024-07-18 05:00:05 +03:00
parent e13b1f28ce
commit 66d847c82f
4 changed files with 17 additions and 12 deletions

View file

@ -74,6 +74,7 @@ class StaticBlock
self::setBlockBounds(SUGARCANE_BLOCK, 0.5 - 0.375, 0, 0.5 - 0.375, 0.5 + 0.375, 1, 0.5 + 0.375);
self::setBlockBounds(SNOW_LAYER, 0, 0, 0, 1, 0.125, 1);
self::setBlockBounds(CARPET, 0, 0, 0, 1, 0, 1);
//Stairs: based on different factors
//Stone wall: based on state