mirror of
https://github.com/HybridDog/nether-pack.git
synced 2024-12-26 02:30:24 +01:00
Added nether pearls
This commit is contained in:
parent
d9c3f26c87
commit
d707f0a6a3
@ -419,6 +419,16 @@ minetest.register_node("nether:nether_torch_bottom", {
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
-- Nether Pearl
|
||||
minetest.register_craftitem("nether:nether_pearl", {
|
||||
description = "Nether Pearl",
|
||||
wield_image = "nether_pearl.png",
|
||||
inventory_image = "nether_pearl.png",
|
||||
visual = "sprite",
|
||||
physical = true,
|
||||
textures = {"nether_pearl.png"},
|
||||
})
|
||||
|
||||
-- Create the Nether
|
||||
minetest.register_on_generated(function(minp, maxp)
|
||||
local addpos = {}
|
||||
@ -736,6 +746,7 @@ minetest.register_node("nether:nether_portal_creator", {
|
||||
description = "Nether Portal Creator",
|
||||
tile_images = {"nether_portal_creator.png"},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "nether:nether_portal_creator",
|
||||
interval = 1.0,
|
||||
@ -808,7 +819,7 @@ minetest.register_craft({
|
||||
output = "nether:nether_portal_creator",
|
||||
recipe = {
|
||||
{"obsidian:obsidian_block", "obsidian:obsidian_block", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "default:mese", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "nether:nether_pearl", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "obsidian:obsidian_block", "obsidian:obsidian_block"},
|
||||
}
|
||||
})
|
||||
|
@ -24,7 +24,7 @@ NETHER_HEAL_APPLE_FREQ = 10
|
||||
-- Start position for the Throne of Hades (y is relative to the bottom of the nether)
|
||||
HADES_THRONE_STARTPOS = {x=0, y=1, z=0}
|
||||
-- Spawn pos for when the nether hasn't been loaded yet (i.e. no portal in the nether) (y is relative to the bottom of the nether)
|
||||
NETHER_SPAWNPOS = {x=0, y=4, z=0}
|
||||
NETHER_SPAWNPOS = {x=0, y=5, z=0}
|
||||
-- Throne of Hades
|
||||
HADES_THRONE = {
|
||||
-- Floor 1
|
||||
@ -419,6 +419,16 @@ minetest.register_node("nether:nether_torch_bottom", {
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
-- Nether Pearl
|
||||
minetest.register_craftitem("nether:nether_pearl", {
|
||||
description = "Nether Pearl",
|
||||
wield_image = "nether_pearl.png",
|
||||
wield_image = "nether_pearl.png",
|
||||
visual = "sprite",
|
||||
physical = true,
|
||||
textures = {"nether_pearl.png"},
|
||||
})
|
||||
|
||||
-- Create the Nether
|
||||
minetest.register_on_generated(function(minp, maxp)
|
||||
local addpos = {}
|
||||
@ -736,6 +746,7 @@ minetest.register_node("nether:nether_portal_creator", {
|
||||
description = "Nether Portal Creator",
|
||||
tile_images = {"nether_portal_creator.png"},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "nether:nether_portal_creator",
|
||||
interval = 1.0,
|
||||
@ -808,7 +819,7 @@ minetest.register_craft({
|
||||
output = "nether:nether_portal_creator",
|
||||
recipe = {
|
||||
{"obsidian:obsidian_block", "obsidian:obsidian_block", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "default:mese", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "nether:nether_pearl", "obsidian:obsidian_block"},
|
||||
{"obsidian:obsidian_block", "obsidian:obsidian_block", "obsidian:obsidian_block"},
|
||||
}
|
||||
})
|
||||
|
BIN
nether/textures/nether_pearl.png
Normal file
BIN
nether/textures/nether_pearl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 710 B |
Loading…
Reference in New Issue
Block a user