mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 09:15:09 +00:00
Make use_texture_alpha an mobs_mc.entity setting
This commit is contained in:
parent
89e55e9065
commit
512765a37d
2 changed files with 2 additions and 1 deletions
|
@ -3712,7 +3712,7 @@ end
|
||||||
|
|
||||||
minetest.register_entity(name, {
|
minetest.register_entity(name, {
|
||||||
|
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = def.use_texture_alpha,
|
||||||
stepheight = def.stepheight or 0.6,
|
stepheight = def.stepheight or 0.6,
|
||||||
name = name,
|
name = name,
|
||||||
type = def.type,
|
type = def.type,
|
||||||
|
|
|
@ -110,6 +110,7 @@ local slime_big = {
|
||||||
spawn_small_alternative = "mobs_mc:slime_small",
|
spawn_small_alternative = "mobs_mc:slime_small",
|
||||||
on_die = spawn_children_on_die("mobs_mc:slime_small", 4, 1.0, 1.5),
|
on_die = spawn_children_on_die("mobs_mc:slime_small", 4, 1.0, 1.5),
|
||||||
fire_resistant = true,
|
fire_resistant = true,
|
||||||
|
use_texture_alpha = true,
|
||||||
}
|
}
|
||||||
mobs:register_mob("mobs_mc:slime_big", slime_big)
|
mobs:register_mob("mobs_mc:slime_big", slime_big)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue