Modded Minecraft Basics: Difference between revisions

Content added Content deleted
m (→‎N: NPE)
m (→‎N: format.)
Line 125: Line 125:
* Namespace ID - Sometimes shortened just to ID, a text string the game uses to identify items/blocks, consisting of a mod ID, colon, and item name string. For example, Cobblestone is <code>minecraft:cobblestone</code>. Namespaces may be shared by differentiating items with metadata values; all vanilla planks share the namespace <code>minecraft:planks</code>. Some commands use namespace IDs to define what to affect. Called Resource location in modern Minecraft.[https://minecraft.wiki/w/Resource_location]
* Namespace ID - Sometimes shortened just to ID, a text string the game uses to identify items/blocks, consisting of a mod ID, colon, and item name string. For example, Cobblestone is <code>minecraft:cobblestone</code>. Namespaces may be shared by differentiating items with metadata values; all vanilla planks share the namespace <code>minecraft:planks</code>. Some commands use namespace IDs to define what to affect. Called Resource location in modern Minecraft.[https://minecraft.wiki/w/Resource_location]
* NBT - Named Binary Tag[https://minecraft.wiki/w/NBT_format]. A nested data format for storing values & properties for an item, block or entity in Minecraft. Examples of NBT use include the contents of a chest, mob health/damage, custom item names, enchantments, rotation/position, and much more. Mods can make use of NBT for storing progress or configurable items like Tinker's Construct tools.
* NBT - Named Binary Tag[https://minecraft.wiki/w/NBT_format]. A nested data format for storing values & properties for an item, block or entity in Minecraft. Examples of NBT use include the contents of a chest, mob health/damage, custom item names, enchantments, rotation/position, and much more. Mods can make use of NBT for storing progress or configurable items like Tinker's Construct tools.
NPE - NullPointerException. A Java error that happens when programming tries to access or change something that doesn't exist or was improperly defined to begin with. Can be caused by badly written code or data corruption.
* NPE - NullPointerException. A Java error that happens when programming tries to access or change something that doesn't exist or was improperly defined to begin with. Can be caused by badly written code or data corruption.


==== O ====
==== O ====