MAJ bee.lua from "mobs" mod

(add honey block)
This commit is contained in:
Ombridride 2014-12-09 14:01:36 +01:00
parent 85bd085ab8
commit 254ec74625
1 changed files with 27 additions and 1 deletions

View File

@ -8,7 +8,11 @@ mobs:register_mob("mobs:bee", {
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.2, 0.2},
visual = "mesh",
mesh = "mobs_bee.x",
textures = {"mobs_bee.png"},
--textures = {"mobs_bee.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_bee.png"},
},
makes_footstep_sound = false,
walk_velocity = 1,
armor = 200,
@ -100,3 +104,25 @@ minetest.register_craft({
{"mobs:bee","mobs:bee","mobs:bee"},
}
})
-- Honey Block
minetest.register_node("mobs:honey_block", {
description = "Honey Block",
tiles = {"mobs_honey_block.png"},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_craft({
output = "mobs:honey_block",
recipe = {
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
}
})
minetest.register_craft({
output = "mobs:honey 9",
recipe = {
{"mobs:honey_block"},
}
})