srakavs.blogg.se

Minetest mod
Minetest mod






  1. Minetest mod mod#
  2. Minetest mod mods#

This file is used if there are no dependencies in mod.conf.

  • depends.txt - Deprecated: you should use mod.conf instead.
  • Minetest mod mod#

    Markdown page describing and explaining your mod (for example if you are using GitHub). readme.md - Not actually used by Minetest, but good practice.locale - Translation files for the clients.These will be transferred to the client and will be available for use by the mod. textures, sounds, media - Media files (textures, sounds, whatever).models - Models for entities or meshnodes.Subsequent execution depends on Minetest calling the registered callbacks. Running this script should register everything it wants to register.

    Minetest mod mods#

    settingtypes.txt - Mods settings displayed in the settings menu.It should be 3:2 with a minimum size of 300x200px. screenshot.png - Screenshot of your mod (used by mod managers).Like a dependency, but no error if the mod doesn't exist. optional_depends: A comma separated list of optional dependencies. These are mods that must be loaded before this mod. depends: A comma separated list of dependencies. Further information can be put into other sentences. The first sentence should be less than 100 characters. description: A description of your mod to be shown in the Mods tab of the main menu (also used by mod managers). Allows Minetest to determine the mod name even if the folder is wrongly named. mod.conf - A key-value store of mod details:.The following describes the folder structure of a mod. In this tutorial, we will make the node tutorial:decowood.įor example, default:dirt is the unique name for dirt. In this case, the mod is called modname (name is preset by the folder name) and the block is called itemname. The name's format is like this: modname:itemname. Craftitem ( minetest.register_craftitem): A miscellaneous item.Įach Node, Tool and Craftitem needs a unique name to identify it in the API.Tool ( minetest.register_tool): A tool/weapon that can dig and damage things according to tool_capabilities.

    minetest mod

    Node ( minetest.register_node): A block from the world.The type of the object is important as it plays a part in the properties of that object. There are the three types of object that can be defined in Minetest. Suggest a mod idea in the mod request thread.Modding Overview Types of objects in Minetest.Get mod help from the modding questions thread.Check out the Mod Releases forum to see mods that have been published by the community.There's also an unofficial guide/tutorial about Minetest modding: The Minetest Modding Book.Ī very basic overview is written in Modding Overview. It has been proposed to remove those pages as redundant. Ignore them for now, use lua_api.txt instead. WARNING: A huge amount of pages on this wiki regarding Lua methods and objects are extremely outdated. There is also (as of april 2020) a automatically generated version that might be easier to read. This document explains everything you need to know about the Lua API in concise form, but may be daunting for newbies to read. This file is maintained by the core developers of Minetest and every change to it goes through a quality control process.

    minetest mod

    Use this file to look up functions, core features of the Lua API, etc. You can find this file in your Minetest installation, in the doc directory. The only official Lua API documentation is lua_api.txt.








    Minetest mod