From ac4884c3d677ef51bcce47f95ccd49d874022692 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Thu, 24 Aug 2017 09:01:16 +0100 Subject: Make entity selection and collision boxes independently settable (#6218) * Make entity selection and collision boxes independently settable --- doc/lua_api.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7af935056..32dab9d00 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3986,6 +3986,9 @@ Definition tables collide_with_objects = true, -- collide with other objects if physical = true weight = 5, collisionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5}, + selectionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5}, + -- ^ Default, uses collision box dimensions when not set + pointable = true, -- overrides selection box when false visual = "cube" / "sprite" / "upright_sprite" / "mesh" / "wielditem", visual_size = {x = 1, y = 1}, mesh = "model", -- cgit v1.2.3