Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/com/github/gtexpert/core/GTExpertMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

import gregtech.GTInternalTags;
import gregtech.api.GregTechAPI;
import gregtech.api.cover.CoverDefinition;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.api.util.GTELog;
import com.github.gtexpert.core.api.util.Mods;
Expand All @@ -26,10 +30,6 @@
import com.github.gtexpert.core.modules.GTEModuleManager;
import com.github.gtexpert.core.modules.GTEModules;

import gregtech.GTInternalTags;
import gregtech.api.GregTechAPI;
import gregtech.api.cover.CoverDefinition;

@Mod(modid = GTEValues.MODID,
name = GTEValues.MODNAME,
acceptedMinecraftVersions = "[1.12.2,1.13)",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.github.gtexpert.core.api.capability;

import com.github.gtexpert.core.integration.deda.recipemaps.RecipeMapDraconicFusion;

import gregtech.api.capability.impl.MultiblockRecipeLogic;
import gregtech.api.metatileentity.multiblock.RecipeMapMultiblockController;

import com.github.gtexpert.core.integration.deda.recipemaps.RecipeMapDraconicFusion;

/**
* This recipe logic disables cache used for speeding up recipe check.
* The reason is we do some special things inside {@link RecipeMapDraconicFusion},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import net.minecraft.init.SoundEvents;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

import gregtech.api.gui.GuiTextures;
import gregtech.api.gui.widgets.ProgressWidget;
import gregtech.api.recipes.RecipeMap;
import gregtech.api.recipes.builders.SimpleRecipeBuilder;
import gregtech.core.sound.GTSoundEvents;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

import crafttweaker.annotations.ZenRegister;
import stanhebben.zenscript.annotations.ZenExpansion;
import stanhebben.zenscript.annotations.ZenProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import static gregtech.api.unification.material.info.MaterialFlags.*;

import com.github.gtexpert.core.api.util.Mods;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.fluids.store.FluidStorageKeys;
import gregtech.api.unification.material.Materials;
import gregtech.api.unification.material.properties.*;
import gregtech.api.unification.ore.OrePrefix;

import com.github.gtexpert.core.api.util.Mods;

public class GTEMaterialFlags {

public static void init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.github.gtexpert.core.api.unification.material;

import gregtech.api.unification.material.Material;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.api.unification.material.ingredients.*;
import com.github.gtexpert.core.api.util.Mods;

import gregtech.api.unification.material.Material;

/**
* Material Registration.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
import static gregtech.api.unification.material.Materials.*;
import static gregtech.api.unification.material.info.MaterialFlags.*;

import com.github.gtexpert.core.api.GTEValues;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.Materials;
import gregtech.api.unification.material.info.MaterialIconSet;
import gregtech.api.unification.material.properties.BlastProperty.GasTier;
import gregtech.api.unification.ore.OrePrefix;

import com.github.gtexpert.core.api.GTEValues;

public class AEFirstDegreeMaterials {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import static gregtech.api.unification.material.Materials.*;
import static gregtech.api.unification.material.info.MaterialFlags.*;

import com.github.gtexpert.core.api.unification.material.info.GTEMaterialIconSet;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.properties.ToolProperty;

import com.github.gtexpert.core.api.unification.material.info.GTEMaterialIconSet;

public class AvaritiaFirstDegreeMaterials {

public static void init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
import static gregtech.api.unification.material.Materials.*;
import static gregtech.api.unification.material.info.MaterialFlags.*;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.api.util.Mods;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.info.MaterialIconSet;
Expand All @@ -18,6 +15,9 @@

import gregicality.multiblocks.api.fluids.GCYMFluidStorageKeys;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.api.util.Mods;

public class DEFirstDegreeMaterials {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import static gregtech.api.unification.material.Materials.*;
import static gregtech.api.unification.material.info.MaterialFlags.*;

import com.github.gtexpert.core.api.GTEValues;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.info.MaterialIconSet;
import gregtech.api.unification.material.properties.BlastProperty.GasTier;

import com.github.gtexpert.core.api.GTEValues;

public class EIOFirstDegreeMaterials {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

import org.jetbrains.annotations.NotNull;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.common.items.GTEMetaItems;

import gregtech.api.GTValues;
import gregtech.api.items.metaitem.MetaItem;
import gregtech.api.unification.OreDictUnifier;
Expand All @@ -24,6 +21,9 @@
import gregtech.api.unification.stack.MaterialStack;
import gregtech.common.items.MetaItems;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.common.items.GTEMetaItems;

public class GTEUtility {

public static @NotNull ItemStack getModItem(String modID, String itemName) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/gtexpert/core/api/util/Mods.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import com.github.gtexpert.core.api.GTEValues;

import gregtech.api.GTValues;

import com.github.gtexpert.core.api.GTEValues;

public enum Mods {

AEAdditions(Names.AE_ADDITIONS),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.relauncher.Side;

import com.github.gtexpert.core.api.GTEValues;

import gregtech.client.renderer.texture.cube.*;

import com.github.gtexpert.core.api.GTEValues;

@Mod.EventBusSubscriber(modid = GTEValues.MODID, value = Side.CLIENT)
public class GTETextures {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

import org.jetbrains.annotations.NotNull;

import gregtech.api.items.armor.ArmorMetaItem;
import gregtech.api.unification.material.event.MaterialEvent;

import com.github.gtexpert.core.api.GTEValues;
import com.github.gtexpert.core.api.unification.material.GTEMaterials;
import com.github.gtexpert.core.common.items.GTEMetaItems;

import gregtech.api.items.armor.ArmorMetaItem;
import gregtech.api.unification.material.event.MaterialEvent;

@Mod.EventBusSubscriber(modid = GTEValues.MODID)
public class GTEEventHandlers {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import com.github.gtexpert.core.api.unification.material.GTEMaterials;

import gregtech.api.block.IHeatingCoilBlockStats;
import gregtech.api.block.VariantActiveBlock;
import gregtech.api.block.VariantItemBlock;
Expand All @@ -30,6 +28,8 @@
import gregtech.common.ConfigHolder;
import gregtech.common.metatileentities.multi.electric.MetaTileEntityMultiSmelter;

import com.github.gtexpert.core.api.unification.material.GTEMaterials;

public class GTEBlockWireCoil extends VariantActiveBlock<GTEBlockWireCoil.GTECoilType> {

public GTEBlockWireCoil() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

import net.minecraft.client.resources.I18n;

import com.github.gtexpert.core.api.util.GTELog;
import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.integration.ae.AEConfigHolder;

import gregtech.api.GTValues;
import gregtech.api.items.metaitem.StandardMetaItem;
import gregtech.api.unification.material.Materials;
import gregtech.api.unification.stack.ItemMaterialInfo;
import gregtech.api.unification.stack.MaterialStack;
import gregtech.common.items.behaviors.TooltipBehavior;

import com.github.gtexpert.core.api.util.GTELog;
import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.integration.ae.AEConfigHolder;

public class GTEMetaItem1 extends StandardMetaItem {

public GTEMetaItem1() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.github.gtexpert.core.common.items;

import com.github.gtexpert.core.common.items.armor.GTEMetaArmor;

import gregtech.api.items.armor.ArmorMetaItem;
import gregtech.api.items.metaitem.MetaItem;

import com.github.gtexpert.core.common.items.armor.GTEMetaArmor;

public final class GTEMetaItems {

private GTEMetaItems() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.EnumRarity;

import com.github.gtexpert.core.common.items.GTEMetaItems;

import gregtech.api.items.armor.ArmorMetaItem;

import com.github.gtexpert.core.common.items.GTEMetaItems;

public class GTEMetaArmor extends ArmorMetaItem<ArmorMetaItem<?>.ArmorMetaValueItem> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import static com.github.gtexpert.core.api.util.GTEUtility.gteId;
import static gregtech.common.covers.CoverBehaviors.registerBehavior;

import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.common.items.GTEMetaItems;

import gregtech.api.GTValues;
import gregtech.common.covers.CoverConveyor;
import gregtech.common.covers.CoverFluidRegulator;
import gregtech.common.covers.CoverPump;
import gregtech.common.covers.CoverRoboticArm;

import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.common.items.GTEMetaItems;

public class GTECoverBehaviors {

public static void init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

import net.minecraft.util.ResourceLocation;

import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.common.metatileentities.multi.*;

import gregtech.api.GTValues;
import gregtech.api.recipes.RecipeMap;
import gregtech.client.renderer.ICubeRenderer;

import com.github.gtexpert.core.common.GTEConfigHolder;
import com.github.gtexpert.core.common.metatileentities.multi.*;

public class GTEMetaTileEntities {

// Single Machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ResourceLocation;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

import gregtech.api.GTValues;
import gregtech.api.gui.GuiTextures;
import gregtech.api.gui.ModularUI;
Expand All @@ -17,6 +15,8 @@
import gregtech.api.recipes.RecipeMap;
import gregtech.client.renderer.ICubeRenderer;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

public class GTESimpleMachineMetaTileEntity extends SimpleMachineMetaTileEntity {

private static final int FONT_HEIGHT = 9; // Minecraft's FontRenderer FONT_HEIGHT value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

import gregtech.api.gui.resources.TextureArea;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.interfaces.IGregTechTileEntity;
Expand All @@ -33,6 +31,8 @@

import gregicality.multiblocks.api.metatileentity.GCYMRecipeMapMultiblockController;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;

public class MetaTileEntityAdvancedChemicalPlant extends GCYMRecipeMapMultiblockController {

public MetaTileEntityAdvancedChemicalPlant(ResourceLocation metaTileEntityId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;
import com.github.gtexpert.core.common.GTEConfigHolder;

import gregtech.api.block.IHeatingCoilBlockStats;
import gregtech.api.gui.resources.TextureArea;
import gregtech.api.metatileentity.MetaTileEntity;
Expand All @@ -43,6 +40,9 @@
import gregicality.multiblocks.api.capability.impl.GCYMMultiblockRecipeLogic;
import gregicality.multiblocks.api.metatileentity.GCYMRecipeMapMultiblockController;

import com.github.gtexpert.core.api.gui.GTEGuiTextures;
import com.github.gtexpert.core.common.GTEConfigHolder;

public class MetaTileEntityLargeCrackingUnit extends GCYMRecipeMapMultiblockController {

private int coilTier;
Expand Down
Loading