Added code formatter
This commit is contained in:
parent
710f9c04e7
commit
b9448d5d90
444 changed files with 32383 additions and 26254 deletions
|
@ -3,30 +3,47 @@ package techreborn.init;
|
|||
import net.minecraft.util.WeightedRandomChestContent;
|
||||
|
||||
//TODO 1.9 nope
|
||||
public class ModLoot {
|
||||
//
|
||||
// public static WeightedRandomChestContent rubberSaplingLoot = new WeightedRandomChestContent(new ItemStack(ModBlocks.rubberSapling), 1, 3, 25);
|
||||
// public static WeightedRandomChestContent copperIngotLoot = new WeightedRandomChestContent(ItemIngots.getIngotByName("copper"), 1, 4, 20);
|
||||
// public static WeightedRandomChestContent tinIngotLoot = new WeightedRandomChestContent(ItemIngots.getIngotByName("tin"), 1, 4, 20);
|
||||
// public static WeightedRandomChestContent steelIngotLoot = new WeightedRandomChestContent(ItemIngots.getIngotByName("steel"), 1, 3, 5);
|
||||
|
||||
public static void init(){
|
||||
// if(ConfigTechReborn.RubberSaplingLoot){
|
||||
// generate(rubberSaplingLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.CopperIngotsLoot){
|
||||
// generate(copperIngotLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.TinIngotsLoot){
|
||||
// generate(tinIngotLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.SteelIngotsLoot){
|
||||
// generate(steelIngotLoot);
|
||||
// }
|
||||
public class ModLoot
|
||||
{
|
||||
//
|
||||
// public static WeightedRandomChestContent rubberSaplingLoot = new
|
||||
// WeightedRandomChestContent(new ItemStack(ModBlocks.rubberSapling), 1, 3,
|
||||
// 25);
|
||||
// public static WeightedRandomChestContent copperIngotLoot = new
|
||||
// WeightedRandomChestContent(ItemIngots.getIngotByName("copper"), 1, 4,
|
||||
// 20);
|
||||
// public static WeightedRandomChestContent tinIngotLoot = new
|
||||
// WeightedRandomChestContent(ItemIngots.getIngotByName("tin"), 1, 4, 20);
|
||||
// public static WeightedRandomChestContent steelIngotLoot = new
|
||||
// WeightedRandomChestContent(ItemIngots.getIngotByName("steel"), 1, 3, 5);
|
||||
|
||||
public static void init()
|
||||
{
|
||||
// if(ConfigTechReborn.RubberSaplingLoot){
|
||||
// generate(rubberSaplingLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.CopperIngotsLoot){
|
||||
// generate(copperIngotLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.TinIngotsLoot){
|
||||
// generate(tinIngotLoot);
|
||||
// }
|
||||
// if(ConfigTechReborn.SteelIngotsLoot){
|
||||
// generate(steelIngotLoot);
|
||||
// }
|
||||
}
|
||||
|
||||
public static void generate(WeightedRandomChestContent chestContent)
|
||||
{
|
||||
// for (String category :
|
||||
// Arrays.asList(ChestGenHooks.VILLAGE_BLACKSMITH,
|
||||
// ChestGenHooks.MINESHAFT_CORRIDOR, ChestGenHooks.PYRAMID_DESERT_CHEST,
|
||||
// ChestGenHooks.PYRAMID_JUNGLE_CHEST,
|
||||
// ChestGenHooks.PYRAMID_JUNGLE_DISPENSER,
|
||||
// ChestGenHooks.STRONGHOLD_CORRIDOR, ChestGenHooks.STRONGHOLD_LIBRARY,
|
||||
// ChestGenHooks.STRONGHOLD_CROSSING, ChestGenHooks.BONUS_CHEST,
|
||||
// ChestGenHooks.DUNGEON_CHEST)) {
|
||||
// ChestGenHooks.addItem(category, chestContent);
|
||||
// }
|
||||
}
|
||||
public static void generate(WeightedRandomChestContent chestContent) {
|
||||
// for (String category : Arrays.asList(ChestGenHooks.VILLAGE_BLACKSMITH, ChestGenHooks.MINESHAFT_CORRIDOR, ChestGenHooks.PYRAMID_DESERT_CHEST, ChestGenHooks.PYRAMID_JUNGLE_CHEST, ChestGenHooks.PYRAMID_JUNGLE_DISPENSER, ChestGenHooks.STRONGHOLD_CORRIDOR, ChestGenHooks.STRONGHOLD_LIBRARY, ChestGenHooks.STRONGHOLD_CROSSING, ChestGenHooks.BONUS_CHEST, ChestGenHooks.DUNGEON_CHEST)) {
|
||||
// ChestGenHooks.addItem(category, chestContent);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue