|
3 | 3 | import gregtech.api.GTValues; |
4 | 4 | import gregtech.api.GregTechAPI; |
5 | 5 | import gregtech.api.block.VariantItemBlock; |
6 | | -import gregtech.api.block.coil.CoilManager; |
7 | 6 | import gregtech.api.block.coil.CoilRegistry; |
8 | 7 | import gregtech.api.block.coil.CustomCoilBlock; |
9 | 8 | import gregtech.api.block.machines.MachineItemBlock; |
|
15 | 14 | import gregtech.api.recipes.ingredients.GTRecipeOreInput; |
16 | 15 | import gregtech.api.recipes.properties.impl.FusionEUToStartProperty; |
17 | 16 | import gregtech.api.unification.material.Material; |
18 | | -import gregtech.api.unification.material.Materials; |
19 | 17 | import gregtech.api.unification.material.info.MaterialFlags; |
20 | 18 | import gregtech.api.unification.material.properties.DustProperty; |
21 | 19 | import gregtech.api.unification.material.properties.PropertyKey; |
@@ -228,31 +226,6 @@ public static void registerBlocksLast(RegistryEvent.Register<Block> event) { |
228 | 226 | FLUID_BLOCKS.forEach(event.getRegistry()::register); |
229 | 227 | } |
230 | 228 |
|
231 | | - // todo REMOVE, THIS IS FOR TESTING |
232 | | - @SubscribeEvent |
233 | | - public static void registerCoils(CoilManager.CoilRegistryEvent event) { |
234 | | - final String modid = "test"; |
235 | | - CoilRegistry registry = CoilManager.getInstance().createRegistry(modid); |
236 | | - |
237 | | - registry.makeBuilder(0, "coil_block") |
238 | | - .addCoilType(b -> b |
239 | | - .coilTemp(42069) |
240 | | - .generic() |
241 | | - .tooltip((stack, world, strings, advanced) -> { |
242 | | - strings.add("this is a custom coil!"); |
243 | | - }) |
244 | | - .tier(GTValues.UHV) |
245 | | - .multiSmelter(69, 98) |
246 | | - .material(Materials.Chlorine)) |
247 | | - .addCoilType(b -> b |
248 | | - .coilTemp(696969) |
249 | | - .generic() |
250 | | - .tier(GTValues.UHV) |
251 | | - .multiSmelter(69, 99) |
252 | | - .material(Materials.Neutronium)) |
253 | | - .build(); |
254 | | - } |
255 | | - |
256 | 229 | @SubscribeEvent |
257 | 230 | public static void registerItems(RegistryEvent.Register<Item> event) { |
258 | 231 | GTLog.logger.info("Registering Items..."); |
|
0 commit comments