Make many entities non-pointable
This commit is contained in:
parent
7ca999626d
commit
66c6b373a5
|
@ -13,6 +13,7 @@ minetest.register_entity("drippingwater:drop_water", {
|
|||
physical = true,
|
||||
collide_with_objects = false,
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
pointable = false,
|
||||
visual = "cube",
|
||||
visual_size = {x=0.05, y=0.1},
|
||||
textures = {water_tex, water_tex, water_tex, water_tex, water_tex, water_tex},
|
||||
|
|
|
@ -306,6 +306,7 @@ core.register_entity(":__builtin:item", {
|
|||
physical = true,
|
||||
collide_with_objects = false,
|
||||
collisionbox = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3},
|
||||
pointable = false,
|
||||
visual = "wielditem",
|
||||
visual_size = {x = 0.4, y = 0.4},
|
||||
textures = {""},
|
||||
|
|
|
@ -468,7 +468,7 @@ local entity_standing = {
|
|||
mesh = "amc_banner.b3d",
|
||||
visual_size = { x=2.499, y=2.499 },
|
||||
textures = make_banner_texture(),
|
||||
collisionbox = { 0, 0, 0, 0, 0, 0 },
|
||||
pointable = false,
|
||||
|
||||
_base_color = nil, -- base color of banner
|
||||
_layers = nil, -- table of layers painted over the base color.
|
||||
|
|
|
@ -5,6 +5,7 @@ minetest.register_entity("mcl_end:ender_eye", {
|
|||
textures = {"mcl_end_ender_eye.png"},
|
||||
visual_size = {x=1.5, y=1.5},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
pointable = false,
|
||||
|
||||
-- Save and restore age
|
||||
get_staticdata = function(self)
|
||||
|
|
|
@ -2,8 +2,8 @@ minetest.register_entity("mcl_itemframes:item",{
|
|||
hp_max = 1,
|
||||
visual = "wielditem",
|
||||
visual_size = {x=0.3,y=0.3},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
physical = false,
|
||||
pointable = false,
|
||||
textures = { "empty.png" },
|
||||
_texture = "empty.png",
|
||||
|
||||
|
|
|
@ -318,8 +318,8 @@ minetest.register_node("mcl_mobspawners:spawner", {
|
|||
|
||||
local doll_def = {
|
||||
hp_max = 1,
|
||||
physical = true,
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
physical = false,
|
||||
pointable = false,
|
||||
visual = "mesh",
|
||||
makes_footstep_sound = false,
|
||||
timer = 0,
|
||||
|
|
|
@ -429,7 +429,7 @@ minetest.register_node("mcl_signs:standing_sign67_5", ssign67)
|
|||
|
||||
-- FIXME: Prevent entity destruction by /clearobjects
|
||||
minetest.register_entity("mcl_signs:text", {
|
||||
collisionbox = { 0, 0, 0, 0, 0, 0 },
|
||||
pointable = false,
|
||||
visual = "upright_sprite",
|
||||
textures = {},
|
||||
physical = false,
|
||||
|
|
|
@ -78,6 +78,7 @@ local snowball_ENTITY={
|
|||
textures = {"mcl_throwing_snowball.png"},
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = get_staticdata,
|
||||
on_activate = on_activate,
|
||||
|
@ -90,6 +91,7 @@ local egg_ENTITY={
|
|||
textures = {"mcl_throwing_egg.png"},
|
||||
visual_size = {x=0.45, y=0.45},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = get_staticdata,
|
||||
on_activate = on_activate,
|
||||
|
@ -103,6 +105,7 @@ local pearl_ENTITY={
|
|||
textures = {"mcl_throwing_ender_pearl.png"},
|
||||
visual_size = {x=0.9, y=0.9},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = get_staticdata,
|
||||
on_activate = on_activate,
|
||||
|
|
|
@ -238,6 +238,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
|||
mesh = "3d_armor_entity.obj",
|
||||
visual_size = {x=1, y=1},
|
||||
collisionbox = {-0.1,-0.4,-0.1, 0.1,1.3,0.1},
|
||||
pointable = false,
|
||||
textures = {"3d_armor_trans.png"},
|
||||
pos = nil,
|
||||
timer = 0,
|
||||
|
|
Loading…
Reference in New Issue
Block a user