pencil/README.md

898 B

Pencil: The Minetest Mod

Pencil is a minetest mod api that can make tools to change the infotext in a block.

Screenshot

API usage

pencil.register_pencil(id,name,text,image)

  • id = the name of pencil (e.g. mod:foobar )
  • name = the name that display in inventory (e.g. FooBar Pencil ). The default is text.."Pencil".
  • text = The text hat display in the block which right-clicked by the pencil. The default is Unconfiged.
  • image = the image that show in hudbar and inventory (e.g. foobar.png). The default is pencil.png

Links