So start the minteset and then enable the mode for specific world you are going to play. Since your mod is already under ~/.minetest/mods you don't have to do anything else to be loaded. order of tiles while defining node in case you want the block to look different each side.Īt this point our mod is ready to be used. At this point my folder structure looks like this Then added it under the folder called textures. I created a 16x16 pixel art and then exported into 100px X 100px png image. I created the image using an online tool called piskelapp. To keep it simple, I have used the same image on all sides. A block has six sides and hence one has to define six images in the tiles. That's it, the block is ready to be used.īlockBut wait we have used minetest_block.png in our tiles set. Then we are defining images for the tiles. Here as you can see we are defining an item 4 for the mod thej and name of it is squares. For this we will create a and define our block there. The contents of mod.conf will look like thisĭescriptions = Thej own mod add a new brink called squares Our module is dependent only on 'default' mod. mod.conf is a simple key value configuration file. We will create a new mod called 'thej', so start with creating a folder called 'thej' under mods folder, i.e ~/.minetest/mods/thej and then create a mod.conf file to define our mod. With that let's start our first mod which is just an introduction of a new block type into the game. You can try this 15 mins tutorial if you are short on time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |