forked from MineClone5/MineClone5
Water mobs now swim in river water
This commit is contained in:
parent
135a214213
commit
2093a6b5c2
|
@ -81,6 +81,7 @@ mobs_mc.items = {
|
||||||
gunpowder = "tnt:gunpowder",
|
gunpowder = "tnt:gunpowder",
|
||||||
flint_and_steel = "fire:flint_and_steel",
|
flint_and_steel = "fire:flint_and_steel",
|
||||||
water_source = "default:water_source",
|
water_source = "default:water_source",
|
||||||
|
river_water_source = "default:river_water_source",
|
||||||
black_dye = "dye:black",
|
black_dye = "dye:black",
|
||||||
poppy = "flowers:rose",
|
poppy = "flowers:rose",
|
||||||
dandelion = "flowers:dandelion_yellow",
|
dandelion = "flowers:dandelion_yellow",
|
||||||
|
|
|
@ -73,7 +73,7 @@ mobs:register_mob("mobs_mc:guardian", {
|
||||||
max = 1,},
|
max = 1,},
|
||||||
},
|
},
|
||||||
fly = true,
|
fly = true,
|
||||||
fly_in = mobs_mc.items.water_source,
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
water_damage = 0,
|
water_damage = 0,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
|
|
|
@ -78,7 +78,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
|
||||||
max = 1,},
|
max = 1,},
|
||||||
},
|
},
|
||||||
fly = true,
|
fly = true,
|
||||||
fly_in = mobs_mc.items.water_source,
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
water_damage = 0,
|
water_damage = 0,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
light_damage = 0,
|
light_damage = 0,
|
||||||
|
|
|
@ -43,8 +43,7 @@ mobs:register_mob("mobs_mc:squid", {
|
||||||
makes_footstep_sound = false,
|
makes_footstep_sound = false,
|
||||||
stepheight = 1.1,
|
stepheight = 1.1,
|
||||||
fly = true,
|
fly = true,
|
||||||
-- fly_in = mobs_mc.items.water_source, fuck this
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
fly_in = {"mcl_core:water_source", "default:water_source"},
|
|
||||||
jump = true,
|
jump = true,
|
||||||
jump_height = 1.25,
|
jump_height = 1.25,
|
||||||
jump_chance = 98,
|
jump_chance = 98,
|
||||||
|
|
|
@ -55,6 +55,7 @@ mobs_mc.override.items = {
|
||||||
gunpowder = "mcl_mobitems:gunpowder",
|
gunpowder = "mcl_mobitems:gunpowder",
|
||||||
flint_and_steel = "mcl_fire:flint_and_steel",
|
flint_and_steel = "mcl_fire:flint_and_steel",
|
||||||
water_source = "mcl_core:water_source",
|
water_source = "mcl_core:water_source",
|
||||||
|
river_water_source = "mclx_core:river_water_source",
|
||||||
black_dye = "mcl_dye:black",
|
black_dye = "mcl_dye:black",
|
||||||
poppy = "mcl_flowers:poppy",
|
poppy = "mcl_flowers:poppy",
|
||||||
dandelion = "mcl_flowers:dandelion",
|
dandelion = "mcl_flowers:dandelion",
|
||||||
|
|
Loading…
Reference in New Issue