
I have posted a video of it here: http://www.youtube.com/watch?v=5QuS3_fTtgw&feature=c4-overview&list=UUfiCyR_SLwfXes59HO6Nwzg
The setup consists of a chest connected to a filter which is connected by pipes to a deployer. The filter and deployer are connected by mesecon wiring and the wiring is powered by a blinking plant. You then place a mob summoner (see below) into the chest and it is sent to the deployer, which repeatedly deploys it, and it seems that it doesn't use up the summoner at all. You could also just use a deployer connected to a blinking plant and manually load the mob summoner in, but I didn't realize it until after a posted this thread and made the example video.
The mob summoner is created by using a code like this, but replacing the images, names of the summoner, and names of the summoned mob:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("neoblocks:summoned", {
description = "Summoned",
tile_images = {"test_block.png"},
inventory_image = "test_block.png",
groups = {dig_immediate=3},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.above then
minetest.env:add_entity(pointed_thing.above, "neoblocks:summoned")
itemstack:take_item()
end
return itemstack
end,
})
minetest.register_abm({
nodenames = {"neoblocks:summoned"},
interval = 1.0,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.env:add_entity(pos, "neoblocks:summoned")
minetest.env:remove_node(pos)
end,
})
I have tried it out on a slightly larger scale, and it is quite interesting to use it to make a battle arena, but you may want to disable it whenever you're not using it so it doesn't keep spawning mobs.

What do you think of it?