immune_to example for tree monster

This commit is contained in:
TenPlus1 2018-05-30 10:47:39 +01:00
parent b6dfd802d3
commit 585ccba7a5

View File

@ -40,6 +40,11 @@ mobs:register_mob("mobs_monster:tree_monster", {
lava_damage = 0, lava_damage = 0,
light_damage = 2, light_damage = 2,
fall_damage = 0, fall_damage = 0,
-- immune_to = {
-- {"default:axe_diamond", 5},
-- {"default:sapling", -5}, -- saplings heal
-- {"all", 0},
-- },
animation = { animation = {
speed_normal = 15, speed_normal = 15,
speed_run = 15, speed_run = 15,