MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / run

Method run

src/main/java/gregtech/loaders/c/Loader_Loot.java:43–553  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42public class Loader_Loot implements Runnable {
43 @Override
44 public void run() {
45 new ChestGenHooksChestReplacer(ChestGenHooks.DUNGEON_CHEST , 32745);
46 new ChestGenHooksChestReplacer(ChestGenHooks.MINESHAFT_CORRIDOR , 500);
47 new ChestGenHooksChestReplacer(ChestGenHooks.STRONGHOLD_LIBRARY , 508);
48 new ChestGenHooksChestReplacer(ChestGenHooks.STRONGHOLD_CROSSING , 509);
49 new ChestGenHooksChestReplacer(ChestGenHooks.STRONGHOLD_CORRIDOR , 510);
50 new ChestGenHooksChestReplacer(ChestGenHooks.PYRAMID_DESERT_CHEST, 2);
51 new ChestGenHooksChestReplacer(ChestGenHooks.PYRAMID_JUNGLE_CHEST, 502);
52 if (!MD.VN4.mLoaded)
53 new ChestGenHooksChestReplacer(ChestGenHooks.VILLAGE_BLACKSMITH , 24);
54
55 if (MD.TF.mLoaded) {
56 TFTreasure.hill1 = TwilightTreasureReplacer.create(TFTreasure.hill1 , 1, "hill1" , ChestGenHooks.MINESHAFT_CORRIDOR , 509);
57 TFTreasure.hill2 = TwilightTreasureReplacer.create(TFTreasure.hill2 , 2, "hill2" , ChestGenHooks.MINESHAFT_CORRIDOR , 558);
58 TFTreasure.hill3 = TwilightTreasureReplacer.create(TFTreasure.hill3 , 3, "hill3" , ChestGenHooks.MINESHAFT_CORRIDOR , 58);
59 TFTreasure.hedgemaze = TwilightTreasureReplacer.create(TFTreasure.hedgemaze , 4, "hedgemaze" , ChestGenHooks.BONUS_CHEST , 516);
60 TFTreasure.tree_cache = TwilightTreasureReplacer.create(TFTreasure.tree_cache , 14, "tree_cache" , ChestGenHooks.BONUS_CHEST , 508);
61 TFTreasure.basement = TwilightTreasureReplacer.create(TFTreasure.basement , 9, "basement" , ChestGenHooks.STRONGHOLD_CROSSING , 9);
62 TFTreasure.labyrinth_room = TwilightTreasureReplacer.create(TFTreasure.labyrinth_room , 5, "labyrinth_room" , ChestGenHooks.PYRAMID_JUNGLE_CHEST , 8);
63 TFTreasure.labyrinth_deadend = TwilightTreasureReplacer.create(TFTreasure.labyrinth_deadend, 6, "labyrinth_deadend", ChestGenHooks.PYRAMID_JUNGLE_CHEST , 508);
64 TFTreasure.labyrinth_vault = TwilightTreasureReplacer.create(TFTreasure.labyrinth_vault , 10, "labyrinth_vault" , ChestGenHooks.VILLAGE_BLACKSMITH , 16);
65 TFTreasure.tower_room = TwilightTreasureReplacer.create(TFTreasure.tower_room , 7, "tower_room" , ChestGenHooks.PYRAMID_DESERT_CHEST , 2);
66 TFTreasure.tower_library = TwilightTreasureReplacer.create(TFTreasure.tower_library , 8, "tower_library" , ChestGenHooks.STRONGHOLD_LIBRARY , 502);
67 TFTreasure.darktower_cache = TwilightTreasureReplacer.create(TFTreasure.darktower_cache , 11, "darktower_cache" , ChestGenHooks.STRONGHOLD_CORRIDOR , 525);
68 TFTreasure.darktower_key = TwilightTreasureReplacer.create(TFTreasure.darktower_key , 12, "darktower_key" , ChestGenHooks.DUNGEON_CHEST , 25);
69 TFTreasure.darktower_boss = TwilightTreasureReplacer.create(TFTreasure.darktower_boss , 13, "darktower_boss" , ChestGenHooks.PYRAMID_JUNGLE_DISPENSER, 59);
70 TFTreasure.stronghold_cache = TwilightTreasureReplacer.create(TFTreasure.stronghold_cache , 15, "stronghold_cache" , ChestGenHooks.STRONGHOLD_CORRIDOR , 510);
71 TFTreasure.stronghold_room = TwilightTreasureReplacer.create(TFTreasure.stronghold_room , 16, "stronghold_room" , ChestGenHooks.DUNGEON_CHEST , 10);
72 TFTreasure.stronghold_boss = TwilightTreasureReplacer.create(TFTreasure.stronghold_boss , 17, "stronghold_boss" , ChestGenHooks.VILLAGE_BLACKSMITH , 559);
73 TFTreasure.aurora_cache = TwilightTreasureReplacer.create(TFTreasure.aurora_cache , 18, "aurora_cache" , ChestGenHooks.DUNGEON_CHEST , 46);
74 TFTreasure.aurora_room = TwilightTreasureReplacer.create(TFTreasure.aurora_room , 19, "aurora_room" , ChestGenHooks.DUNGEON_CHEST , 13);
75 ////TFTreasure.aurora_boss = TwilightTreasureReplacer.create(TFTreasure.aurora_boss , 20, "aurora_boss" , ChestGenHooks.DUNGEON_CHEST , 32745);// This one is actually empty and unused.
76 TFTreasure.troll_garden = TwilightTreasureReplacer.create(TFTreasure.troll_garden , 21, "troll_garden" , ChestGenHooks.DUNGEON_CHEST , 524);
77 TFTreasure.troll_vault = TwilightTreasureReplacer.create(TFTreasure.troll_vault , 22, "troll_vault" , ChestGenHooks.VILLAGE_BLACKSMITH , 24);
78 }
79
80
81 ST.LOOT_TABLES.add("gt.flawless");
82 ChestGenHooks.getInfo("gt.flawless").setMin( 8);
83 ChestGenHooks.getInfo("gt.flawless").setMax(24);
84 addLoot("gt.flawless",2160, 1, 1, OP.gemFlawless.mat(MT.Diamond , 1));
85 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.DiamondPink , 1));
86 addLoot("gt.flawless",1152, 1, 1, OP.gemFlawless.mat(MT.Emerald , 1));
87 addLoot("gt.flawless", 432, 1, 1, OP.gemFlawless.mat(MT.Aquamarine , 1));
88 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Morganite , 1));
89 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Heliodor , 1));
90 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Goshenite , 1));
91 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Bixbite , 1));
92 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Maxixe , 1));
93 addLoot("gt.flawless", 720, 1, 1, OP.gemFlawless.mat(MT.Ruby , 1));
94 addLoot("gt.flawless", 576, 1, 1, OP.gemFlawless.mat(MT.BlueSapphire , 1));
95 addLoot("gt.flawless", 576, 1, 1, OP.gemFlawless.mat(MT.GreenSapphire , 1));
96 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.PurpleSapphire, 1));
97 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.YellowSapphire, 1));
98 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.OrangeSapphire, 1));
99 addLoot("gt.flawless", 144, 1, 1, OP.gemFlawless.mat(MT.Craponite , 1));
100 addLoot("gt.flawless", 576, 1, 1, OP.gemFlawless.mat(MT.Amethyst , 1));

Callers

nothing calls this directly

Calls 15

createMethod · 0.95
addLootMethod · 0.95
makeMethod · 0.95
validMetaMethod · 0.95
bookMethod · 0.95
updateMethod · 0.95
setMinMethod · 0.80
getInfoMethod · 0.80
setMaxMethod · 0.80
matMethod · 0.80
ownsMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected