This is a representative XML file for blocks for the game 7 days to die. This blocks.xml file is responsible for defining all the available blocks in the game. Each block contains a name, along with various properties that control its behaviour, appearance, or functions. Not all blocks contain the same properties. For example, terrain blocks contain Terrain Indexes and a different shape than other blocks. Some blocks have a various drop events depending on how the block is interacted with. For example, the block called terrStone has a Harvest, Destroy, and Fall events. This controls which resources are given back to the player, or dropped on the ground, when the block is harvested, destroyed, or if it falls. Some properties may have similar names, such as Class and class. The Class version references which C# class controls its behaviour. For blocks, the keyword "Block" is added to the start of the class automatically. For example, actually references to the C# class BlockPlantGrowing. Class references that contain a comma may reference external assembles loaded from mods. In those cases, the value before the comma is the class name, while the value after the comma is the assembly. For example, "MyBlock, SCore" is a C# class called MyBlock, in the SCore DLL. class with a lowercase c allows for group of properties related to an action. For example, an UpgradeBlock's property gets used when a block is being updated. Blocks with the property CreativeMode set to None will now show up in the game's creative menu. If set to Dev, it will only show up in the creative menu when dev block toggle is selected. Terrain blocks have a shape or mesh of terrain, and has a texture id that reads from a texture atlas the game loads Other non-terrain blocks may use this texture atlas as well. Material is a cross reference to another file, materials.xml. Some properties, such as the name of the block, or any property name's value that ends with Key can be used to read the localization file. This translates the value based on the lanauage from the localization file. Here is the version of v1.1 blocks.xml: