User Tools

Site Tools


tutorial:terms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:terms [2019/05/22 22:29] – [Tags] falseresynctutorial:terms [2019/08/11 23:03] – language table yanis48
Line 5: Line 5:
  
 ==== Mod ID ==== ==== Mod ID ====
-Throughout the tutorial, we'll often refer to a Mod ID, or modid in code. Mod ID stands for "Mod Identifier," and it is the compact version of your full mod nameSome of the starter tutorials will register items and blocks under this basic namespace, and you can think of it as starter template-- keep it for testing if you wantor change it if you feel comfortable to do so+Throughout the documentation, we'll often refer to a Mod ID, or modid in code. Mod ID stands for "Mod Identifier," and it is a string that should uniquely identify your mod. Mod IDs are commonly associated with identifier namespaces of the same name, and as such, follow the same restrictions. Mod IDs can consist only of lowercase characters ''a-z'', numbers ''0-9''and the symbols ''_-''. For example, Minecraft uses the ''minecraft'' namespace. Additionally, a mod ID must consist of at least two characters.
  
-Mod IDs can't have capital letters or spaces. Minecraft's modid is simply minecraft. Let's take project with the name "My Project--" how should we name it? Most community members prefer something like __myproject__; in some cases, __my-project__ also works but dashes in modids can be a slight pain to deal with at times. If you do choose to use your own Mod ID, replace all instances of "modid" with it when you're following along in our basic tutorials.+A mod ID is often compact version of the name of the mod which makes it short but recognizeable and prevents naming conflicts. Conventionally, a project named "My Project--" could be called ''myproject'', ''my_project'', or in some cases, ''my-project'' also worksbut dashes in modids can be a slight pain to deal with at times [citation needed]This mod would register items and blocks using this mod ID as a registry namespace. 
 + 
 +Some of the starter tutorials will use a placeholder mod ID and register items and blocks under a placeholder namespaceand you can think of it as a starter template-- while leaving this unchanged is not dangerous for testing, remember to change it if you intend to release your project.
  
 ==== Tags ==== ==== Tags ====
Line 13: Line 15:
  
 Convention namespace for tags is ''c''. Convention namespace for tags is ''c''.
 +
 +----
 +
 +| [[tutorial:terms|English]] | [[fr:tutoriel:termes|Français]] |
tutorial/terms.txt · Last modified: 2022/12/22 18:51 by basil4088