Go to file
Emojigit 77f11331fc
Create mod.conf
2020-08-02 15:15:14 +08:00
textures Add files via upload 2020-08-02 14:25:11 +08:00
.gitignore Initial commit 2020-08-02 14:24:40 +08:00
Inkedscreenshot_20200709_185325_LI.jpg Add files via upload 2020-08-02 14:25:11 +08:00
LICENSE Add files via upload 2020-08-02 14:25:11 +08:00
README.md Add files via upload 2020-08-02 14:25:11 +08:00
init.lua Update init.lua 2020-08-02 14:26:30 +08:00
mod.conf Create mod.conf 2020-08-02 15:15:14 +08:00

README.md

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