forked from VoxeLibre/VoxeLibre
11 lines
426 B
Lua
11 lines
426 B
Lua
mcl_util.registered_blacklisted_entities = {}
|
|
function mcl_util.register_blacklisted_entities(type)
|
|
mcl_util.registered_blacklisted_entities[type] = true
|
|
end
|
|
function mcl_util.get_real_entities()
|
|
for key, val in pairs(minetest.luaentities) do
|
|
local def = minetest.registered_entities[minetest.luaentities[key].name]
|
|
if not mcl_util.registered_blacklisted_entities[def.type] then
|
|
end
|
|
end
|
|
end |