Skip to content
AleXndrTheGr8st edited this page Aug 8, 2015 · 1 revision

Use

ConfigBlock is used to create config entries for most blocks. It includes a number of built in values which can all be configured. Not all of them are shown in the Config file by default.

Primary Block Values

  • Hardness (DataType=@F, Name="Hardness"): The hardness of a block specifies how long it takes to break the block. A higher hardness will cause the block to take longer to break.
  • Resistance (DataType=@F, Name="Resistance"): The resistance of a block is how resistant it is to explosions, such as creeper and TNT explosions. A higher resistance will result in the block being less likely to be destroyed by explosions.
  • Light Value (DataType=@F, Name="LightValue"): The light value of a block is the level of light it emits. The minimum value of 0.0 emits no light, while the maximum value of 1.0 emits the highest level of light (15).
  • Harvest Level (DataType=@I, Name="HarvestLevel"): The harvest level of a block is the level of pickaxe required to harvest it. 0=wood, 1=stone, 2=iron, 3=diamond.
  • Harvest Tool (DataType=@S, Name="HarvestTool"): The tool required to effectively harvest the block. Valid values are "pickaxe", "axe" and "shovel".
  • Creative Tab (DataType=@S, Name="CreativeTab"): The creative tab the block will be placed in. For the valid tabs, see Creative Tabs.

World Generation Values

All of the following values only affect blocks which will generate in the world.

  • Spawn Rate (DataType=@I, Name="SpawnRate"): Controls the max number of the block that can spawn per chunk. I'd advise not putting this over a couple of thousand if you don't want the game to crash.
  • Max Vein Size (DataType=@I, Name="VeinSize"): Controls the max number of blocks that can spawn together in a vein.
  • Minimum Spawn Height (DataType=@I, Name="MinHeight"): Controls the minimum world height the block can spawn at. Essentially a lower bound for the spawn height range.
  • Maximum Spawn Height (DataType=@I, Name="MaxHeight"): Controls the maximum world height the block can spawn at. Essentially an upper bound for the spawn height range.

Additional Block Values

  • Drop Item? (DataType=@B, Name="DropItem"): Not

Clone this wiki locally