aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/bartworks[1.7.10]-0.5.13_pre8-API.jar (renamed from libs/bartworks[1.7.10]-0.5.13_pre5-API.jar)bin117709 -> 118171 bytes
-rw-r--r--src/main/java/gregtech/GT_Mod.java6
-rw-r--r--src/main/java/gregtech/api/GregTech_API.java1458
-rw-r--r--src/main/java/gregtech/api/enums/MaterialBuilder.java520
-rw-r--r--src/main/java/gregtech/api/enums/Materials.java5671
-rw-r--r--src/main/java/gregtech/api/enums/OrePrefixes.java2237
-rw-r--r--src/main/java/gregtech/api/enums/TextureSet.java366
-rw-r--r--src/main/java/gregtech/api/enums/Textures.java3362
-rw-r--r--src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java38
-rw-r--r--src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntityItemPipe.java202
-rw-r--r--src/main/java/gregtech/api/items/GT_CoolantCell_Item.java170
-rw-r--r--src/main/java/gregtech/api/items/GT_Generic_Item.java322
-rw-r--r--src/main/java/gregtech/api/items/GT_MetaBase_Item.java1232
-rw-r--r--src/main/java/gregtech/api/items/GT_MetaGenerated_Item_X01.java380
-rw-r--r--src/main/java/gregtech/api/items/GT_MetaGenerated_Item_X32.java394
-rw-r--r--src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java1448
-rw-r--r--src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java324
-rw-r--r--src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java2864
-rw-r--r--src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java1686
-rw-r--r--src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java1192
-rw-r--r--src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Fluid.java1316
-rw-r--r--src/main/java/gregtech/api/util/GT_BartWorks_Compat.java21
-rw-r--r--src/main/java/gregtech/api/util/GT_Recipe.java3664
-rw-r--r--src/main/java/gregtech/common/GT_Client.java1374
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java2766
-rw-r--r--src/main/java/gregtech/common/GT_Worldgen_GT_Ore_Layer.java872
-rw-r--r--src/main/java/gregtech/common/GT_Worldgenerator.java1044
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Casings8.java94
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Casings_Abstract.java244
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Machines.java1096
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Metal.java86
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Ores_Abstract.java552
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java300
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Item_Casings8.java20
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Item_Machines.java406
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Item_Ores.java108
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Item_Storage.java80
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_ItemMeter.java158
-rw-r--r--src/main/java/gregtech/common/gui/GT_Container_Regulator.java334
-rw-r--r--src/main/java/gregtech/common/items/GT_FluidDisplayItem.java184
-rw-r--r--src/main/java/gregtech/common/items/GT_IntegratedCircuit_Item.java224
-rw-r--r--src/main/java/gregtech/common/items/GT_MetaGenerated_Item_01.java18
-rw-r--r--src/main/java/gregtech/common/items/GT_MetaGenerated_Item_02.java962
-rw-r--r--src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java480
-rw-r--r--src/main/java/gregtech/common/items/GT_MetaGenerated_Tool_01.java364
-rw-r--r--src/main/java/gregtech/common/items/GT_SensorCard_Item.java192
-rw-r--r--src/main/java/gregtech/common/items/behaviors/Behaviour_Plunger_Fluid.java128
-rw-r--r--src/main/java/gregtech/common/items/behaviors/Behaviour_Sense.java94
-rw-r--r--src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java274
-rw-r--r--src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_TypeFilter.java284
-rw-r--r--src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Lava.java294
-rw-r--r--src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Steel.java136
-rw-r--r--src/main/java/gregtech/common/tileentities/generators/GT_MetaTileEntity_DieselGenerator.java264
-rw-r--r--src/main/java/gregtech/common/tileentities/generators/GT_MetaTileEntity_SteamTurbine.java272
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Disassembler.java214
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Massfabricator.java250
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java222
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Scanner.java732
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_BronzeBlastFurnace.java120
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OilDrill2.java100
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OilDrill3.java100
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java178
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java178
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java178
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java178
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java242
-rw-r--r--src/main/java/gregtech/common/tools/GT_Tool_Scoop.java216
-rw-r--r--src/main/java/gregtech/loaders/load/GT_FuelLoader.java122
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingPipe.java114
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_BW_VoidminerLoader.java38
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java12
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_Worldgenloader.java622
-rw-r--r--src/main/java/gregtech/loaders/preload/GT_Loader_ItemData.java354
-rw-r--r--src/main/java/gregtech/loaders/preload/GT_Loader_MetaTileEntities.java3372
-rw-r--r--src/main/java/gregtech/loaders/preload/GT_Loader_OreProcessing.java232
-rw-r--r--src/main/java/gregtech/nei/GT_NEI_AssLineHandler.java836
-rw-r--r--src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java1692
-rw-r--r--src/main/resources/assets/gregtech/textures/items/gt.metaitem.03/149.pngbin2927 -> 1816 bytes
78 files changed, 26475 insertions, 26404 deletions
diff --git a/libs/bartworks[1.7.10]-0.5.13_pre5-API.jar b/libs/bartworks[1.7.10]-0.5.13_pre8-API.jar
index 062de8bd67..5cc3a61c3f 100644
--- a/libs/bartworks[1.7.10]-0.5.13_pre5-API.jar
+++ b/libs/bartworks[1.7.10]-0.5.13_pre8-API.jar
Binary files differ
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java
index 156825c11c..6d5c9e375c 100644
--- a/src/main/java/gregtech/GT_Mod.java
+++ b/src/main/java/gregtech/GT_Mod.java
@@ -766,6 +766,7 @@ public class GT_Mod implements IGT_Mod {
new GT_Worldgenloader().run();
new GT_CoverLoader().run();
new GT_AE2EnergyTunnelLoader().run();
+
LoadArmorComponents.init();
GT_RecipeRegistrator.registerUsagesForMaterials(null, false, new ItemStack(Blocks.planks, 1), new ItemStack(Blocks.cobblestone, 1), new ItemStack(Blocks.stone, 1), new ItemStack(Items.leather, 1));
@@ -970,7 +971,7 @@ public class GT_Mod implements IGT_Mod {
}
}
}
- Materials.getMaterialsMap().values().parallelStream().forEach(tMaterial -> {
+ Materials.getMaterialsMap().values().stream().forEach(tMaterial -> {
if ((tMaterial.mElement != null) && (!tMaterial.mElement.mIsIsotope) && (tMaterial != Materials.Magic) && (tMaterial.getMass() > 0L)) {
ItemStack tOutput = ItemList.Tool_DataOrb.get(1L);
Behaviour_DataOrb.setDataTitle(tOutput, "Elemental-Scan");
@@ -1007,6 +1008,9 @@ public class GT_Mod implements IGT_Mod {
}
}
+ if (Loader.isModLoaded("bartworks"))
+ GT_BW_VoidminerLoader.initDeepDark();
+
addSolidFakeLargeBoilerFuels();
achievements = new GT_Achievements();
diff --git a/src/main/java/gregtech/api/GregTech_API.java b/src/main/java/gregtech/api/GregTech_API.java
index b42c7768c8..dac494d9bc 100644
--- a/src/main/java/gregtech/api/GregTech_API.java
+++ b/src/main/java/gregtech/api/GregTech_API.java
@@ -1,729 +1,729 @@
-package gregtech.api;
-
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import gregtech.api.enums.Materials;
-import gregtech.api.enums.Textures;
-import gregtech.api.interfaces.IDamagableItem;
-import gregtech.api.interfaces.ITexture;
-import gregtech.api.interfaces.internal.IGT_RecipeAdder;
-import gregtech.api.interfaces.internal.IThaumcraftCompat;
-import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
-import gregtech.api.items.GT_CoolantCellIC_Item;
-import gregtech.api.items.GT_CoolantCell_Item;
-import gregtech.api.items.GT_Tool_Item;
-import gregtech.api.metatileentity.BaseMetaTileEntity;
-import gregtech.api.objects.GT_Cover_Default;
-import gregtech.api.objects.GT_Cover_None;
-import gregtech.api.objects.GT_HashSet;
-import gregtech.api.objects.GT_ItemStack;
-import gregtech.api.threads.GT_Runnable_MachineBlockUpdate;
-import gregtech.api.util.*;
-import gregtech.api.world.GT_Worldgen;
-import net.minecraft.block.Block;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.creativetab.CreativeTabs;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.world.World;
-import net.minecraftforge.fluids.Fluid;
-
-import java.util.*;
-import java.util.concurrent.ConcurrentHashMap;
-
-import static gregtech.api.enums.GT_Values.*;
-
-/**
- * Please do not include this File in your Mod-download as it ruins compatiblity, like with the IC2-API
- * You may just copy those Functions into your Code, or better call them via reflection.
- * <p/>
- * The whole API is the basic construct of my Mod. Everything is dependent on it.
- * I change things quite often so please don't include any File inside your Mod, even if it is an Interface.
- * Since some Authors were stupid enough to break this simple Rule, I added Version checks to enforce it.
- * <p/>
- * In these Folders are many useful Functions. You can use them via reflection if you want.
- * I know not everything is compilable due to API's of other Mods, but these are easy to fix in your Setup.
- * <p/>
- * You can use this to learn about Modding, but I would recommend simpler Mods.
- * You may even copypaste Code from these API-Files into your Mod, as I have nothing against that, but you should look exactly at what you are copying.
- *
- * @author Gregorius Techneticies
- */
-@SuppressWarnings("ALL")
-public class GregTech_API {
-
- @Deprecated
- public static final long MATERIAL_UNIT = M, FLUID_MATERIAL_UNIT = L;
- /**
- * Fixes the HashMap Mappings for ItemStacks once the Server started
- */
- public static final Collection<Map<GT_ItemStack, ?>> sItemStackMappings = new ArrayList<>();
- public static final Collection<Map<Fluid, ?>> sFluidMappings = new ArrayList<>();
- /**
- * The MetaTileEntity-ID-List-Length
- */
- public static final short MAXIMUM_METATILE_IDS = Short.MAX_VALUE - 1;
- /**
- * My Creative Tab
- */
- public static final CreativeTabs
- TAB_GREGTECH = new GT_CreativeTab("Main", "Main"),
- TAB_GREGTECH_MATERIALS = new GT_CreativeTab("Materials", "Materials"),
- TAB_GREGTECH_ORES = new GT_CreativeTab("Ores", "Ores");
- /**
- * A List of all registered MetaTileEntities
- * <p/>
- * 0 - 749 are used by GregTech.
- * 750 - 999 are reserved for Alkalus.
- * 1000 - 2047 are used by GregTech.
- * 2048 - 2559 are reserved for OvermindDL.
- * 2560 - 3071 are reserved for Immibis.
- * 3072 - 3583 are reserved for LinusPhoenix.
- * 3584 - 4095 are reserved for BloodyAsp.
- * 4096 - 5095 are used for GregTech Frames.
- * 5096 - 6099 are used for GregTech Pipes.
- * 6100 - 8191 are used for GregTech Decoration Blocks.
- * 8192 - 8703 are reserved for ZL123.
- * 8704 - 9215 are reserved for Mr10Movie.
- * 9216 - 9727 are used for GregTech Automation Machines.
- * 9728 - 10239 are reserved for 28Smiles.
- * 10240 - 10751 are reserved for VirMan.
- * 10752 - 11263 are reserved for Briareos81.
- * 11264 - 12000 are reserved for the next one who asks me.
- * 9728 - 32766 are currently free.
- * <p/>
- * Contact me if you need a free ID-Range, which doesn't conflict with other Addons.
- * You could make an ID-Config, but we all know, what "stupid" customers think about conflicting ID's
- */
- public static final IMetaTileEntity[] METATILEENTITIES = new IMetaTileEntity[MAXIMUM_METATILE_IDS];
- /**
- * The Icon List for Covers
- */
- public static final Map<GT_ItemStack, ITexture> sCovers = new ConcurrentHashMap<>();
- /**
- * The List of Cover Behaviors for the Covers
- */
- public static final Map<GT_ItemStack, GT_CoverBehavior> sCoverBehaviors = new ConcurrentHashMap<>();
- /**
- * The List of Circuit Behaviors for the Redstone Circuit Block
- */
- public static final Map<Integer, GT_CircuitryBehavior> sCircuitryBehaviors = new ConcurrentHashMap<>();
- /**
- * The List of Blocks, which can conduct Machine Block Updates
- */
- public static final Map<Block, Integer> sMachineIDs = new ConcurrentHashMap<>();
- /**
- * The Redstone Frequencies
- */
- public static final Map<Integer, Byte> sWirelessRedstone = new ConcurrentHashMap<>();
- /**
- * The IDSU Frequencies
- */
- public static final Map<Integer, Integer> sIDSUList = new ConcurrentHashMap<>();
- /**
- * A List of all Books, which were created using @GT_Utility.getWrittenBook the original Title is the Key Value
- */
- public static final Map<String, ItemStack> sBookList = new ConcurrentHashMap<>();
- /**
- * The List of all Sounds used in GT, indices are in the static Block at the bottom
- */
- public static final Map<Integer, String> sSoundList = new ConcurrentHashMap<>();
- /**
- * The List of Tools, which can be used. Accepts regular damageable Items and Electric Items
- */
- public static final GT_HashSet<GT_ItemStack>
- sToolList = new GT_HashSet<>(),
- sCrowbarList = new GT_HashSet<>(),
- sScrewdriverList = new GT_HashSet<>(),
- sWrenchList = new GT_HashSet<>(),
- sSoftHammerList = new GT_HashSet<>(),
- sHardHammerList = new GT_HashSet<>(),
- sWireCutterList = new GT_HashSet<>(),
- sSolderingToolList = new GT_HashSet<>(),
- sSolderingMetalList = new GT_HashSet<>();
- /**
- * The List of Hazmat Armors
- */
- public static final GT_HashSet<GT_ItemStack>
- sGasHazmatList = new GT_HashSet<>(),
- sBioHazmatList = new GT_HashSet<>(),
- sFrostHazmatList = new GT_HashSet<>(),
- sHeatHazmatList = new GT_HashSet<>(),
- sRadioHazmatList = new GT_HashSet<>(),
- sElectroHazmatList = new GT_HashSet<>();
- /**
- * The List of Dimensions, which are Whitelisted for the Teleporter. This list should not contain other Planets.
- * Mystcraft Dimensions and other Dimensional Things should be allowed.
- * Mystcraft and Twilight Forest are automatically considered a Dimension, without being in this List.
- */
- public static final Collection<Integer> sDimensionalList = new HashSet<>();
- /**
- * Lists of all the active World generation Features, these are getting Initialized in Postload!
- */
- public static final List<GT_Worldgen> sWorldgenList = new ArrayList<>();
- /**
- * A List containing all the Materials, which are somehow in use by GT and therefor receive a specific Set of Items.
- */
- public static final Materials[] sGeneratedMaterials = new Materials[1000];
- /**
- * This is the generic Cover behavior. Used for the default Covers, which have no Behavior.
- */
- public static final GT_CoverBehavior
- sDefaultBehavior = new GT_Cover_Default(),
- sNoBehavior = new GT_Cover_None();
- /**
- * For the API Version check
- */
- public static volatile int VERSION = 509;
-
- @Deprecated
- public static IGT_RecipeAdder sRecipeAdder;
- /**
- * Used to register Aspects to ThaumCraft, this Object might be null if ThaumCraft isn't installed
- */
- public static IThaumcraftCompat sThaumcraftCompat;
- /**
- * These Lists are getting executed at their respective timings. Useful if you have to do things right before/after I do them, without having to control the load order. Add your "Commands" in the Constructor or in a static Code Block of your Mods Main Class. These are not Threaded, I just use a native Java Interface for their execution. Implement just the Method run() and everything should work
- */
- public static List<Runnable>
- sBeforeGTPreload = new ArrayList<>(),
- sAfterGTPreload = new ArrayList<>(),
- sBeforeGTLoad = new ArrayList<>(),
- sAfterGTLoad = new ArrayList<>(