mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 00:53:00 +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, {
|
||||
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = def.use_texture_alpha,
|
||||
stepheight = def.stepheight or 0.6,
|
||||
name = name,
|
||||
type = def.type,
|
||||
|
|
|
@ -110,6 +110,7 @@ local slime_big = {
|
|||
spawn_small_alternative = "mobs_mc:slime_small",
|
||||
on_die = spawn_children_on_die("mobs_mc:slime_small", 4, 1.0, 1.5),
|
||||
fire_resistant = true,
|
||||
use_texture_alpha = true,
|
||||
}
|
||||
mobs:register_mob("mobs_mc:slime_big", slime_big)
|
||||
|
||||
|
|
Loading…
Reference in a new issue