Skip to content

Instantly share code, notes, and snippets.

@coolsquid
Last active May 26, 2016 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolsquid/1159a75c1276c2c35fc39ce49af3f8a2 to your computer and use it in GitHub Desktop.
Save coolsquid/1159a75c1276c2c35fc39ce49af3f8a2 to your computer and use it in GitHub Desktop.
blocks = [
{
id = "minecraft:stone"
hardness = 1.5 # How long it takes to break the block. Most blocks use a value between 0.5 and 5.
resistance = 30.0 # The blast resistance of the block. See the gamepedia article on explosions: http://minecraft.gamepedia.com/Explosion
lightLevel = 0 # 0 means the block won't emit any light, ~15 is used for most lights (torches, glowstone, pumpkin lights).
slipperiness = 0.6 # 0.6 is used for most blocks.
lightOpacity = 255 # 0 for air, 255 for fully opaque, 10ish to let some light through.
creativeTab = "buildingBlocks" # Most tab ids are camelCase versions of the ingame names.
}
]
items = [
{
id = "minecraft:stick"
maxStackSize = 64 # How many items can be in one stack. Usually 64.
durability = 0 # Used for tools and armor. 0 for all non-damageable items.
creativeTab = "materials" # Most tab ids are camelCase versions of the ingame names.
},
{
id = "minecraft:wooden_pickaxe"
attackDamage = 1
attackSpeed = -2.8
efficiency = 2.0
durability = 60
},
{
id = "minecraft:golden_chestplate"
damageReduceAmount = 5
toughness = 0
durability = 112
}
]
biomes = [
{
id = "plains"
baseHeight = 0.125 # The base height of the biome. Usually between 0 and 0.5. Can be a negative.
heightVariation = 0.05 # The height variation in the biome. Usually around 0.3.
enableRain = true # Whether rain is allowed in the biome.
enableSnow = true # Whether snow is allowed in the biome.
rainfall = 0.4 # How rainy the biome is.
temperature = 0.8 # Affects snow and rain. See the Gamepedia article on biomes: http://minecraft.gamepedia.com/Biome#Temperature
waterColor = 16777215 # The color applied to all water blocks in the biome. Usually 16777215.
}
]
achievements = [
{
id = "achievement.openInventory"
displayColumn = 0 # Which column to display the achievement in.
displayRow = 0 # Which row to display the achievement in.
parentAchievement = "no_parent" # The "Open Inventory" achievement doesn't have a parent.
icon = "minecraft:book" # The item to use as achievement icon.
isSpecial = false # The hardest achievements in the game, with spikes around their icons.
}
]
damageSources = [
{
id = "lava"
hungerDamage = 0.3 # How much food is consumed by the damage.
damageIsAbsolute = false # Whether the damage ignores modification by potion effects or enchantments.
difficultyScaled = false # Whether this damage source will have its damage amount scaled based on the current difficulty.
explosion = false # Whether this damage is explosion damage.
fireDamage = true # Whether this damage is fire damage.
isDamageAllowedInCreativeMode = false # Whether this damage source is allowed in creative mode. Usually only enabled for "outOfWorld" damage.
isUnblockable = false # Whether this kind of damage can be blocked.
magicDamage = false # Whether this damage is magic damage.
projectile = false # Whether this damage is projectile damage.
}
]
toolMaterials = [
{
id = "IRON"
enchantability = 14
}
]
armorMaterials = [
{
id = "IRON"
enchantability = 9
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment