Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Notes:
- //languageKey does not require "tile." or ".name"
- //If this doesn't work for you, you should always try it with those parts, instead.
- //No meta value is specified anywhere. That's because it always defaults to 0.
- //"minecraft" isn't explicitly written for either drop. It is the default namespace.
- //dropRange only has one value. This effectively sets to the min and max drop to 1. The same works for xpRange.
- //You can add as many values as you want to these arrays. It will just find the highest and lowest values and use those instead.
- //Setting "addToDefaultCustomPropertyGroup" to true is the same as setting "addToCustomPropertyGroup" to "custom"
- //It is a shorthand method.
- //"chance" is a double type percentage chance that the additional drop will be selected when the block is broken.
- //Whatever you type will actually be divided by 100.
- //"useBlendedTexture" refers to a second texture style which can now be created by the mod itself. Set it to true if you want your ores to be shaded like BOP or Glass Hearts' ores.
- {
- "addToDefaultCustomPropertyGroup" : false,
- "addToCustomPropertyGroup" : "minecraft",
- "originalTexture" : "assets/minecraft/textures/blocks/coal_ore.png",
- "backgroundMatcher" : "assets/minecraft/textures/blocks/stone.png",
- "useBlendedTexture" : true,
- "languageKey" : "oreCoal",
- "hardness" : 3.0F,
- "harvestLevel" : 0,
- "lightLevel" : 0F,
- "drop" : "coal",
- "dropSilkTouch" : "coal_ore",
- "dropRange" : [1],
- "xpRange" : [0, 2],
- "additionalDropKeys" : ["poisonousPotato", "extraDiamond"],
- "poisonousPotato" :
- {
- "drop" : "poisonous_potato",
- "dropRange" : [1],
- "xpRange" : [100000],
- "chance" : 5.0
- },
- "extraDiamond" :
- {
- "drop" : "diamond",
- "dropRange" : [1],
- "xpRange" : [3, 7],
- "chance" : 25.0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment