Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nodes:
- drawtype = plant, block, torch, fence, glass, leaves and rail
- is_mesecon_powered = receptor, effector, always_on, inverter, uscript, false
- minetest_modname = "foobar",
- minetest_nodename = "permadirt",
- light_emmitting = 1-14
- texture = "trollface.png",
- end_node_register
- start_node_register,
- crafting = a,b,c,d,e,f,g,h,i //See http://i.imgur.com/irt0R.png
- cooking = "CONTENT_SAND",
- Example Code:
- start_node_register,
- minetest_modname = "WOOL",
- minetest_nodename = "WHITE",
- is_mesecon_powered = "false",
- drawtype = "block",
- texture = "wool_white.png",
- cooking = "CONTENT_TREE",
- end_node_register
- Comments can be added with // or --
- So
- //Comment
- or
- -- Comment
- will work.
- Mobs:
- start_mob_register
- spawn_on = "WOOL_WHITE",
- image = "enderman.png",
- spawn_light = 1-14\
- aggressive = true, false, if_attacked
- drop = "CONTENT_APPLE",
- attack_type = punch, fireball
- attack_damage = 1-20 -- 20 is instant kill, while 1 = half a heart.
- movement_pattern = chase, move_around, flee, stay_put, stop_n_go
- end_mob_register
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement