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

Method init

src/main/java/gregapi/data/ANY.java:92–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 _Metal = any("Any Metal" );
91
92 protected static void init() {
93 if (INITIALIZED) return;
94 INITIALIZED = T;
95
96 Glowstone .stealLooks(MT.Glowstone ).steal(MT.Glowstone ).setLocal("Glowstone" ).setAllToTheOutputOf(MT.Glowstone ).put(CRYSTAL, GLOWING, LIGHTING );
97 Diamond .stealLooks(MT.Diamond ).steal(MT.Diamond ).setLocal("Diamond" ).setAllToTheOutputOf(MT.Diamond ).put(CRYSTAL, VALUABLE ).addReRegistrationToThis(MT.Diamantine);
98 Sapphire .stealLooks(MT.BlueSapphire ).steal(MT.Sapphire ).setLocal("Sapphire" ).setAllToTheOutputOf(MT.Sapphire ).put(CRYSTAL, VALUABLE );
99 Emerald .stealLooks(MT.Emerald ).steal(MT.Emerald ).setLocal("Emerald" ).setAllToTheOutputOf(MT.Emerald ).put(CRYSTAL, VALUABLE ).addReRegistrationToThis(MT.Emeradic);
100 Amethyst .stealLooks(MT.Amethyst ).steal(MT.Amethyst ).setLocal("Amethyst" ).setAllToTheOutputOf(MT.Amethyst ).put(CRYSTAL, VALUABLE ).addReRegistrationToThis(MT.Amethyst, MT.EnderAmethyst);
101 Garnet .stealLooks(MT.Spessartine ).steal(MT.Spessartine ).setLocal("Garnet" ).put(CRYSTAL, VALUABLE );
102 Jasper .stealLooks(MT.Jasper ).steal(MT.Jasper ).setLocal("Jasper" ).put(CRYSTAL, VALUABLE );
103 TigerEye .stealLooks(MT.TigerEyeYellow ).steal(MT.TigerEyeYellow ).setLocal("Tiger Eye" ).put(CRYSTAL, VALUABLE );
104 Aventurine .stealLooks(MT.AventurineGreen).steal(MT.AventurineGreen).setLocal("Aventurine" ).put(CRYSTAL, VALUABLE );
105 Amber .stealLooks(MT.Amber ).steal(MT.Amber ).setLocal("Amber" ).put(CRYSTAL, VALUABLE ).addReRegistrationToThis(MT.AmberGolden, MT.AmberDominican);
106 Fluorite .stealLooks(MT.CaF2 ).steal(MT.CaF2 ).setLocal("Fluorite" ).setAllToTheOutputOf(MT.CaF2 ).put(CRYSTAL, MORTAR, MELTING, BRITTLE, ACID );
107 Phosphorus .stealLooks(MT.Phosphorus ).steal(MT.Phosphorus ).setLocal("Phosphorus" ).setAllToTheOutputOf(MT.Phosphorus ).put(CRYSTAL, MORTAR, MELTING, BRITTLE, FLAMMABLE, EXPLOSIVE).addReRegistrationToThis(MT.Phosphorus, MT.PhosphorusBlue, MT.PhosphorusRed, MT.PhosphorusWhite);
108 Blaze .stealLooks(MT.Blaze ).steal(MT.Blaze ).setLocal("Blaze" ).put(GLOWING, MAGICAL, BRITTLE, MORTAR );
109 Prismarine .stealLooks(MT.PrismarineLight).steal(MT.PrismarineLight).setLocal("Prismarine" ).setAllToTheOutputOf(MT.PrismarineLight).put(CRYSTAL ).addReRegistrationToThis(MT.PrismarineLight, MT.PrismarineDark);
110 Grains .stealLooks(MT.Wheat ).steal(MT.Wheat ).setLocal("Grains" ).setAllToTheOutputOf(MT.Wheat ).put(FOOD, MORTAR, FLAMMABLE );
111 Flour .stealLooks(MT.Wheat ).steal(MT.Wheat ).setLocal("Flour" ).setAllToTheOutputOf(MT.Wheat ).put(FOOD, MORTAR, FLAMMABLE ).addReRegistrationToThis(MT.Wheat, MT.Rye, MT.Oat, MT.OatAbyssal, MT.Barley, MT.Potato, MT.Corn);
112 FlourGrains .stealLooks(MT.Wheat ).steal(MT.Wheat ).setLocal("Flour and Grains" ).setAllToTheOutputOf(MT.Wheat ).put(FOOD, MORTAR, FLAMMABLE ).addReRegistrationToThis(MT.Potato);
113 Wax .stealLooks(MT.Wax ).steal(MT.Wax ).setLocal("Wax" ).setAllToTheOutputOf(MT.Wax ).put( );
114 Stone .stealLooks(MT.Stone ).steal(MT.Stone ).setLocal("Stone" ).setAllToTheOutputOf(MT.Stone ).put(STONE, BRITTLE, UNRECYCLABLE );
115 Calcite .stealLooks(MT.CaCO3 ).steal(MT.CaCO3 ).setLocal("Calcite" ).setAllToTheOutputOf(MT.CaCO3 ).put(STONE, BRITTLE, UNRECYCLABLE ).addReRegistrationToThis(MT.CaCO3, MT.STONES.Marble, MT.Chalk, MT.STONES.Limestone, MT.Dolomite);
116 Clay .stealLooks(MT.ClayBrown ).steal(MT.Clay ).setLocal("Clay" ).setAllToTheOutputOf(MT.Clay ).put(MORTAR ).addReRegistrationToThis(MT.Clay);
117 Salt .stealLooks(MT.NaCl ).steal(MT.NaCl ).setLocal("Salt" ).setAllToTheOutputOf(MT.NaCl ).put(BRITTLE ).addReRegistrationToThis(MT.NaCl, MT.KCl, MT.LiCl, MT.MgCl2, MT.CaCl2);
118 Fe .stealLooks(MT.Fe ).steal(MT.Fe ).setLocal("Iron" ).setAllToTheOutputOf(MT.Fe ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.Fe, MT.WroughtIron, MT.IronCast, MT.IronCompressed, MT.PigIron, MT.MeteoricIron, MT.Meteorite, MT.Enori);
119 Iron .stealLooks(MT.Fe ).steal(MT.Fe ).setLocal("Iron" ).setAllToTheOutputOf(MT.Fe ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.Fe, MT.WroughtIron, MT.IronCast, MT.IronCompressed, MT.PigIron, MT.MeteoricIron, MT.Meteorite, MT.Enori, MT.Steel, MT.Knightmetal, MT.MeteoricSteel);
120 Steel .stealLooks(MT.Steel ).steal(MT.Steel ).setLocal("Steel" ).setAllToTheOutputOf(MT.Steel ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.Steel, MT.Knightmetal, MT.MeteoricSteel);
121 BlackSteel .stealLooks(MT.BlackSteel ).steal(MT.BlackSteel ).setLocal("Black Steel" ).setAllToTheOutputOf(MT.BlackSteel ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.BlackSteel, MT.MeteoricBlackSteel, MT.MeteoflameBlackSteel);
122 BlueSteel .stealLooks(MT.BlueSteel ).steal(MT.BlueSteel ).setLocal("Blue Steel" ).setAllToTheOutputOf(MT.BlueSteel ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.BlueSteel, MT.MeteoricBlueSteel, MT.MeteoflameBlueSteel);
123 RedSteel .stealLooks(MT.RedSteel ).steal(MT.RedSteel ).setLocal("Red Steel" ).setAllToTheOutputOf(MT.RedSteel ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.RedSteel, MT.MeteoricRedSteel, MT.MeteoflameRedSteel);
124 MagicIron .stealLooks(MT.Manasteel ).steal(MT.Manasteel ).setLocal("Magic Iron" ).setAllToTheOutputOf(MT.Fe ).put(SMITHABLE, MELTING, MAGICAL ).addReRegistrationToThis(MT.Manasteel, MT.Thaumium, MT.DarkThaumium, MT.SpectreIron, MT.FierySteel, MT.MeteoflameSteel);
125 Cu .stealLooks(MT.Cu ).steal(MT.Cu ).setLocal("Copper" ).setAllToTheOutputOf(MT.Cu ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.Cu, MT.AnnealedCopper);
126 Ash .stealLooks(MT.Ash ).steal(MT.Ash ).setLocal("Ashes" ).setAllToTheOutputOf(MT.Ash ).put(BRITTLE ).addReRegistrationToThis(MT.Ash, MT.DarkAsh, MT.VolcanicAsh);
127 C .stealLooks(MT.C ).steal(MT.C ).setLocal("Carbon" ).setAllToTheOutputOf(MT.C ).put( ).addReRegistrationToThis(MT.C, MT.Graphite, MT.Graphene);
128 Coal .stealLooks(MT.C ).steal(MT.C ).setLocal("Carbon" ).setAllToTheOutputOf(MT.C ).put( ).addReRegistrationToThis(MT.C, MT.Graphite, MT.Graphene, MT.CoalCoke, MT.Coal, MT.Charcoal);
129 Si .stealLooks(MT.Si ).steal(MT.Si ).setLocal("Silicon" ).setAllToTheOutputOf(MT.Si ).put(SMITHABLE, MELTING ).addReRegistrationToThis(MT.Si);
130 SiO2 .stealLooks(MT.SiO2 ).steal(MT.SiO2 ).setLocal("Silicon Dioxide" ).setAllToTheOutputOf(MT.SiO2 ).put(BRITTLE, MELTING ).addReRegistrationToThis(MT.STONES.Quartzite, MT.SiO2, MT.Sand, MT.RedSand, MT.EndSandWhite, MT.EndSandBlack, MT.Glass, MT.Flint);
131 Quartz .stealLooks(MT.MilkyQuartz ).steal(MT.MilkyQuartz ).setLocal("Quartz" ).setAllToTheOutputOf(MT.SiO2 ).put(BRITTLE, MELTING, QUARTZ ).addReRegistrationToThis(MT.STONES.Quartzite);
132 Sand .stealLooks(MT.Sand ).steal(MT.Sand ).setLocal("Sand" ).setAllToTheOutputOf(MT.Sand ).put(BRITTLE, MELTING ).addReRegistrationToThis(MT.Sand, MT.RedSand);
133 W .stealLooks(MT.W ).steal(MT.W ).setLocal("Tungsten" ).setAllToTheOutputOf(MT.W ).put(SMITHABLE, MELTING, UNBURNABLE ).addReRegistrationToThis(MT.W, MT.TungstenSintered);
134 ThaumCrystal .stealLooks(MT.InfusedBalance ).steal(MT.InfusedDull ).put(DONT_SHOW_THIS_COMPONENT );
135 Hexorium .stealLooks(MT.HexoriumWhite ).steal(MT.HexoriumWhite ).put(DONT_SHOW_THIS_COMPONENT );
136 WoodDefault .stealLooks(MT.WOODS.Spruce ).steal(MT.Wood ).setLocal("Normal Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE ).addReRegistrationToThis(MT.Wood, MT.Peanutwood).setFurnaceBurnTime(TICKS_PER_SMELT/2);
137 WoodNormal .stealLooks(MT.WOODS.Spruce ).steal(MT.Wood ).setLocal("Normal Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE ).addReRegistrationToThis(ANY.WoodDefault.mToThis.toArray(ZL_MT)).addReRegistrationToThis(MT.WoodRubber, MT.Weedwood, MT.Skyroot, MT.Bamboo).setFurnaceBurnTime(TICKS_PER_SMELT/2);
138 WoodMagical .stealLooks(MT.Greatwood ).steal(MT.Wood ).setLocal("Magical Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE, MAGICAL ).addReRegistrationToThis(MT.Greatwood, MT.Silverwood, MT.Livingwood, MT.Dreamwood, MT.Shimmerwood, MT.WOODS.Magic, MT.WOODS.Tainted, MT.WOODS.Witchwood, MT.WOODS.Rainbowood).setFurnaceBurnTime(TICKS_PER_SMELT*2L);
139 WoodTreated .stealLooks(MT.WoodTreated ).steal(MT.Wood ).setLocal("Treated Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE ).addReRegistrationToThis(MT.WoodTreated, MT.WoodPolished).setFurnaceBurnTime(TICKS_PER_SMELT/2);
140 WoodUntreated .stealLooks(MT.WOODS.Spruce ).steal(MT.Wood ).setLocal("Untreated Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE ).addReRegistrationToThis(ANY.WoodMagical.mToThis.toArray(ZL_MT)).addReRegistrationToThis(ANY.WoodNormal.mToThis.toArray(ZL_MT)).setFurnaceBurnTime(TICKS_PER_SMELT/2);
141 Wood .stealLooks(MT.WOODS.Spruce ).steal(MT.Wood ).setLocal("Wood" ).setAllToTheOutputOf(MT.Wood ).put(WOOD, FLAMMABLE ).setFurnaceBurnTime(TICKS_PER_SMELT/2);
142 PlasticHard .stealLooks(MT.Polycarbonate ).steal(MT.Polycarbonate ).setLocal("Hard Plastic" ).setAllToTheOutputOf(MT.Plastic ).put( ).addReRegistrationToThis(MT.Polycarbonate, MT.PVC);
143 Plastic .stealLooks(MT.Plastic ).steal(MT.Plastic ).setLocal("Plastic" ).setAllToTheOutputOf(MT.Plastic ).put( ).addReRegistrationToThis(MT.Polycarbonate, MT.PVC, MT.Teflon, MT.Bakelite, MT.Plastic);
144 Rubber .stealLooks(MT.Rubber ).steal(MT.Rubber ).setLocal("Rubber" ).setAllToTheOutputOf(MT.Rubber ).put( ).addReRegistrationToThis(MT.Rubber);
145 WoodPlastic .stealLooks(MT.WOODS.Spruce ).steal(MT.Wood ).put(DONT_SHOW_THIS_COMPONENT ).addReRegistrationToThis(ANY.Plastic, MT.PetrifiedWood);
146
147 _Steel .stealLooks(MT.Steel ).put(DONT_SHOW_THIS_COMPONENT);
148 _Bronze .stealLooks(MT.Bronze ).put(DONT_SHOW_THIS_COMPONENT);
149 _Metal .stealLooks(MT.Fe ).put(DONT_SHOW_THIS_COMPONENT);

Callers 1

initMethod · 0.95

Calls 7

setAllToTheOutputOfMethod · 0.80
setLocalMethod · 0.80
stealMethod · 0.80
stealLooksMethod · 0.80
setFurnaceBurnTimeMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected