Add dragon egg
parent
7dc275365c
commit
dae21ed777
|
@ -34,6 +34,37 @@ minetest.register_node("mcl_end:purpur_pillar", {
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_end:dragon_egg", {
|
||||
description = "Dragon Egg",
|
||||
tiles = {
|
||||
"mcl_end_dragon_egg.png",
|
||||
"mcl_end_dragon_egg.png",
|
||||
"mcl_end_dragon_egg.png",
|
||||
"mcl_end_dragon_egg.png",
|
||||
"mcl_end_dragon_egg.png",
|
||||
"mcl_end_dragon_egg.png",
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
light_source = 1,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.375, -0.5, -0.375, 0.375, -0.4375, 0.375},
|
||||
{-0.5, -0.4375, -0.5, 0.5, -0.1875, 0.5},
|
||||
{-0.4375, -0.1875, -0.4375, 0.4375, 0, 0.4375},
|
||||
{-0.375, 0, -0.375, 0.375, 0.125, 0.375},
|
||||
{-0.3125, 0.125, -0.3125, 0.3125, 0.25, 0.3125},
|
||||
{-0.25, 0.25, -0.25, 0.25, 0.3125, 0.25},
|
||||
{-0.1875, 0.3125, -0.1875, 0.1875, 0.375, 0.1875},
|
||||
{-0.125, 0.375, -0.125, 0.125, 0.4375, 0.125},
|
||||
{-0.0625, 0.4375, -0.0625, 0.0625, 0.5, 0.0625},
|
||||
}
|
||||
},
|
||||
groups = { oddly_breakable_by_hand = 3, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1 },
|
||||
-- TODO: Make dragon egg teleport on punching
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_end:end_bricks 4",
|
||||
recipe = {
|
||||
|
|
Loading…
Reference in New Issue