Renamed Modtweaker2 to Modtweaker

This commit is contained in:
Jared 2016-07-16 23:06:28 +02:00
parent 4504f48ac9
commit ab83bbb250
68 changed files with 228 additions and 233 deletions

View file

@ -1,4 +1,4 @@
package modtweaker2;
package modtweaker;
import minetweaker.api.item.IItemStack;
import minetweaker.api.minecraft.MineTweakerMC;
@ -8,7 +8,7 @@ import net.minecraft.client.settings.GameSettings;
import net.minecraftforge.event.entity.player.ItemTooltipEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import static modtweaker2.helpers.LogHelper.print;
import static modtweaker.helpers.LogHelper.print;
public class ClientEvents {
public static int cooldown;

View file

@ -1,9 +1,9 @@
package modtweaker2;
package modtweaker;
import minetweaker.MineTweakerAPI;
import minetweaker.api.player.IPlayer;
import minetweaker.api.server.ICommandFunction;
import modtweaker2.commands.EntityMappingLogger;
import modtweaker.commands.EntityMappingLogger;
public class Commands {
@ -26,6 +26,6 @@ public class Commands {
public static void registerMineTweakerCommand(String commandName, String[] usages, ICommandFunction commandFunction) {
MineTweakerAPI.server.addMineTweakerCommand(commandName, usages, commandFunction);
ModTweaker2.logger.info("\nRegistering command " + commandName + ".");
ModTweaker.logger.info("\nRegistering command " + commandName + ".");
}
}

View file

@ -1,9 +1,9 @@
package modtweaker2;
package modtweaker;
public class ModProps {
public static final String NAME = "Mod Tweaker 2", name = NAME;
public static final String MODID = "modtweaker2", modid = MODID;
public static final String NAME = "Mod Tweaker", name = NAME;
public static final String MODID = "modtweaker", modid = MODID;
public static final String VERSION = "@modVersion@", version = VERSION;
public static final String DEPENDENCIES = "required-after:MineTweaker3;", dependencies = DEPENDENCIES;
}

View file

@ -1,14 +1,14 @@
package modtweaker2;
package modtweaker;
import minetweaker.MineTweakerImplementationAPI;
import minetweaker.MineTweakerImplementationAPI.ReloadEvent;
import minetweaker.runtime.providers.ScriptProviderDirectory;
import minetweaker.util.IEventHandler;
import modtweaker2.mods.forestry.Forestry;
import modtweaker2.mods.randomthings.RandomThings;
import modtweaker2.mods.tconstruct.TConstruct;
import modtweaker2.proxy.CommonProxy;
import modtweaker2.utils.TweakerPlugin;
import modtweaker.mods.forestry.Forestry;
import modtweaker.mods.randomthings.RandomThings;
import modtweaker.mods.tconstruct.TConstruct;
import modtweaker.proxy.CommonProxy;
import modtweaker.utils.TweakerPlugin;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.*;
import net.minecraftforge.fml.common.Mod.EventHandler;
@ -24,15 +24,15 @@ import org.apache.logging.log4j.Logger;
import java.io.File;
@Mod(modid = ModProps.modid, version = ModProps.version, dependencies = ModProps.dependencies)
public class ModTweaker2 {
public class ModTweaker {
public static Logger logger = LogManager.getLogger(ModProps.modid);
@SidedProxy(clientSide = "modtweaker2.proxy.ClientProxy", serverSide = "modtweaker2.proxy.CommonProxy")
@SidedProxy(clientSide = "modtweaker.proxy.ClientProxy", serverSide = "modtweaker.proxy.CommonProxy")
public static CommonProxy proxy;
@Instance(ModProps.modid)
public ModTweaker2 instance;
public ModTweaker instance;
@EventHandler
public void preInit(FMLPreInitializationEvent event) {

View file

@ -1,11 +1,11 @@
package modtweaker2.brackets;
package modtweaker.brackets;
import minetweaker.IBracketHandler;
import minetweaker.MineTweakerAPI;
import minetweaker.annotations.BracketHandler;
import minetweaker.api.item.IngredientAny;
import modtweaker2.brackets.util.IMaterial;
import modtweaker2.brackets.util.MCMaterial;
import modtweaker.brackets.util.IMaterial;
import modtweaker.brackets.util.MCMaterial;
import slimeknights.tconstruct.library.TinkerRegistry;
import stanhebben.zenscript.compiler.IEnvironmentGlobal;
import stanhebben.zenscript.expression.ExpressionCallStatic;

View file

@ -1,4 +1,4 @@
package modtweaker2.brackets.util;
package modtweaker.brackets.util;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;

View file

@ -1,4 +1,4 @@
package modtweaker2.brackets.util;
package modtweaker.brackets.util;
import stanhebben.zenscript.annotations.*;

View file

@ -1,7 +1,7 @@
package modtweaker2.brackets.util;
package modtweaker.brackets.util;
import minetweaker.MineTweakerAPI;
import modtweaker2.mods.tconstruct.actions.*;
import modtweaker.mods.tconstruct.actions.*;
import slimeknights.tconstruct.library.materials.HandleMaterialStats;
import slimeknights.tconstruct.library.materials.HeadMaterialStats;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,4 +1,4 @@
package modtweaker2.brackets.util;
package modtweaker.brackets.util;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,10 +1,10 @@
package modtweaker2.commands;
package modtweaker.commands;
import minetweaker.MineTweakerAPI;
import minetweaker.MineTweakerImplementationAPI;
import minetweaker.api.player.IPlayer;
import minetweaker.api.server.ICommandFunction;
import modtweaker2.ModTweaker2;
import modtweaker.ModTweaker;
import net.minecraft.entity.EntityList;
import java.util.Set;
@ -20,7 +20,7 @@ public class EntityMappingLogger implements ICommandFunction {
System.out.println("Mob Keys: " + keys.size());
for (String key : keys) {
ModTweaker2.logger.info("Mob Key " + key);
ModTweaker.logger.info("Mob Key " + key);
MineTweakerAPI.logCommand("Mob Key " + key);
}

View file

@ -1,4 +1,4 @@
package modtweaker2.helpers;
package modtweaker.helpers;
import net.minecraft.item.ItemStack;
import net.minecraft.util.text.translation.I18n;
@ -10,7 +10,7 @@ import net.minecraftforge.fml.relauncher.Side;
import java.util.List;
import java.util.Map;
import static modtweaker2.helpers.ReflectionHelper.*;
import static modtweaker.helpers.ReflectionHelper.*;
public class ForgeHelper {
@SuppressWarnings("rawtypes")

View file

@ -1,4 +1,4 @@
package modtweaker2.helpers;
package modtweaker.helpers;
import minetweaker.api.entity.IEntity;
import minetweaker.api.item.IIngredient;

View file

@ -1,4 +1,4 @@
package modtweaker2.helpers;
package modtweaker.helpers;
import minetweaker.MineTweakerAPI;
import minetweaker.MineTweakerImplementationAPI;
@ -38,19 +38,19 @@ public class LogHelper {
}
public static void logError(String message) {
MineTweakerAPI.logError("[ModTweaker2] " + message);
MineTweakerAPI.logError("[ModTweaker] " + message);
}
public static void logError(String message, Throwable exception) {
MineTweakerAPI.logError("[ModTweaker2] " + message, exception);
MineTweakerAPI.logError("[ModTweaker] " + message, exception);
}
public static void logWarning(String message) {
MineTweakerAPI.logWarning("[ModTweaker2] " + message);
MineTweakerAPI.logWarning("[ModTweaker] " + message);
}
public static void logInfo(String message) {
MineTweakerAPI.logInfo("[ModTweaker2] " + message);
MineTweakerAPI.logInfo("[ModTweaker] " + message);
}
/**

View file

@ -1,4 +1,4 @@
package modtweaker2.helpers;
package modtweaker.helpers;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;

View file

@ -1,12 +1,8 @@
package modtweaker2.helpers;
import static modtweaker2.helpers.InputHelper.toStack;
package modtweaker.helpers;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.item.IngredientAny;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.utils.TweakerPlugin;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;

View file

@ -1,4 +1,4 @@
package modtweaker2.helpers;
package modtweaker.helpers;
import java.util.List;
import java.util.ListIterator;

View file

@ -1,13 +1,13 @@
package modtweaker2.mods.forestry;
package modtweaker.mods.forestry;
import minetweaker.MineTweakerAPI;
import modtweaker2.mods.forestry.handlers.Carpenter;
import modtweaker2.mods.forestry.handlers.Centrifuge;
import modtweaker2.mods.forestry.handlers.Fermenter;
import modtweaker2.mods.forestry.handlers.Moistener;
import modtweaker2.mods.forestry.handlers.Squeezer;
import modtweaker2.mods.forestry.handlers.Still;
import modtweaker2.mods.forestry.handlers.ThermionicFabricator;
import modtweaker.mods.forestry.handlers.Carpenter;
import modtweaker.mods.forestry.handlers.Centrifuge;
import modtweaker.mods.forestry.handlers.Fermenter;
import modtweaker.mods.forestry.handlers.Moistener;
import modtweaker.mods.forestry.handlers.Squeezer;
import modtweaker.mods.forestry.handlers.Still;
import modtweaker.mods.forestry.handlers.ThermionicFabricator;
public class Forestry {
public Forestry() {

View file

@ -1,9 +1,9 @@
package modtweaker2.mods.forestry;
package modtweaker.mods.forestry;
import forestry.api.recipes.ICraftingProvider;
import forestry.api.recipes.IForestryRecipe;
import modtweaker2.helpers.LogHelper;
import modtweaker2.utils.BaseListAddition;
import modtweaker.helpers.LogHelper;
import modtweaker.utils.BaseListAddition;
import java.util.ArrayList;
import java.util.List;

View file

@ -1,9 +1,9 @@
package modtweaker2.mods.forestry;
package modtweaker.mods.forestry;
import forestry.api.recipes.ICraftingProvider;
import forestry.api.recipes.IForestryRecipe;
import modtweaker2.helpers.LogHelper;
import modtweaker2.utils.BaseListRemoval;
import modtweaker.helpers.LogHelper;
import modtweaker.utils.BaseListRemoval;
import java.util.ArrayList;
import java.util.List;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.recipes.ICarpenterManager;
import forestry.api.recipes.ICarpenterRecipe;
@ -8,11 +8,11 @@ import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.CarpenterRecipe;
import modtweaker2.mods.forestry.recipes.DescriptiveRecipe;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.CarpenterRecipe;
import modtweaker.mods.forestry.recipes.DescriptiveRecipe;
import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.Optional;
import stanhebben.zenscript.annotations.ZenClass;
@ -21,8 +21,8 @@ import stanhebben.zenscript.annotations.ZenMethod;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.*;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.*;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Carpenter")
public class Carpenter {

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.recipes.ICentrifugeManager;
import forestry.api.recipes.ICentrifugeRecipe;
@ -7,10 +7,10 @@ import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.item.WeightedItemStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.CentrifugeRecipe;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.CentrifugeRecipe;
import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;
@ -20,9 +20,9 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import static modtweaker2.helpers.InputHelper.toIItemStack;
import static modtweaker2.helpers.InputHelper.toStack;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.toIItemStack;
import static modtweaker.helpers.InputHelper.toStack;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Centrifuge")

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.fuels.FermenterFuel;
import forestry.api.fuels.FuelManager;
@ -9,12 +9,12 @@ import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.FermenterRecipe;
import modtweaker2.utils.BaseMapAddition;
import modtweaker2.utils.BaseMapRemoval;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.FermenterRecipe;
import modtweaker.utils.BaseMapAddition;
import modtweaker.utils.BaseMapRemoval;
import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;
@ -25,8 +25,8 @@ import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import static modtweaker2.helpers.InputHelper.*;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.*;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Fermenter")
public class Fermenter {

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.fuels.FuelManager;
import forestry.api.fuels.MoistenerFuel;
@ -8,12 +8,12 @@ import forestry.api.recipes.RecipeManagers;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.MoistenerRecipe;
import modtweaker2.utils.BaseMapAddition;
import modtweaker2.utils.BaseMapRemoval;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.MoistenerRecipe;
import modtweaker.utils.BaseMapAddition;
import modtweaker.utils.BaseMapRemoval;
import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;
@ -24,9 +24,9 @@ import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import static modtweaker2.helpers.InputHelper.toIItemStack;
import static modtweaker2.helpers.InputHelper.toStack;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.toIItemStack;
import static modtweaker.helpers.InputHelper.toStack;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Moistener")
public class Moistener {

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.recipes.ISqueezerManager;
import forestry.api.recipes.ISqueezerRecipe;
@ -8,10 +8,10 @@ import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.item.WeightedItemStack;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.SqueezerRecipe;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.SqueezerRecipe;
import stanhebben.zenscript.annotations.Optional;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;
@ -19,8 +19,8 @@ import stanhebben.zenscript.annotations.ZenMethod;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.*;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.*;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Squeezer")
public class Squeezer {

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.recipes.IStillManager;
import forestry.api.recipes.IStillRecipe;
@ -6,10 +6,10 @@ import forestry.api.recipes.RecipeManagers;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.StillRecipe;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.StillRecipe;
import stanhebben.zenscript.annotations.Optional;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;
@ -17,9 +17,9 @@ import stanhebben.zenscript.annotations.ZenMethod;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.toFluid;
import static modtweaker2.helpers.InputHelper.toILiquidStack;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.toFluid;
import static modtweaker.helpers.InputHelper.toILiquidStack;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.Still")
public class Still {

View file

@ -1,16 +1,15 @@
package modtweaker2.mods.forestry.handlers;
package modtweaker.mods.forestry.handlers;
import forestry.api.recipes.*;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.forestry.ForestryListAddition;
import modtweaker2.mods.forestry.ForestryListRemoval;
import modtweaker2.mods.forestry.recipes.DescriptiveRecipe;
import modtweaker2.mods.forestry.recipes.FabricatorRecipe;
import modtweaker2.mods.forestry.recipes.FabricatorSmeltingRecipe;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.forestry.ForestryListAddition;
import modtweaker.mods.forestry.ForestryListRemoval;
import modtweaker.mods.forestry.recipes.DescriptiveRecipe;
import modtweaker.mods.forestry.recipes.FabricatorRecipe;
import modtweaker.mods.forestry.recipes.FabricatorSmeltingRecipe;
import net.minecraftforge.fluids.FluidRegistry;
import stanhebben.zenscript.annotations.Optional;
import stanhebben.zenscript.annotations.ZenClass;
@ -19,8 +18,8 @@ import stanhebben.zenscript.annotations.ZenMethod;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.*;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.*;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.forestry.ThermionicFabricator")
public class ThermionicFabricator {

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import forestry.api.recipes.ICarpenterRecipe;
import forestry.api.recipes.IDescriptiveRecipe;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import com.google.common.collect.ImmutableMap;
import forestry.api.recipes.ICentrifugeRecipe;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import forestry.api.recipes.IDescriptiveRecipe;
import net.minecraft.inventory.InventoryCrafting;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import forestry.api.recipes.IDescriptiveRecipe;
import forestry.api.recipes.IFabricatorRecipe;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.forestry.recipes;
package modtweaker.mods.forestry.recipes;
import net.minecraftforge.fluids.FluidStack;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.randomthings;
package modtweaker.mods.randomthings;
import minetweaker.MineTweakerAPI;
import modtweaker2.mods.randomthings.handlers.ImbuingStation;
import modtweaker.mods.randomthings.handlers.ImbuingStation;
/**
* Created by Jared on 7/16/2016.

View file

@ -1,13 +1,13 @@
package modtweaker2.mods.randomthings.handlers;
package modtweaker.mods.randomthings.handlers;
import lumien.randomthings.recipes.imbuing.ImbuingRecipe;
import lumien.randomthings.recipes.imbuing.ImbuingRecipeHandler;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IItemStack;
import modtweaker2.helpers.InputHelper;
import modtweaker2.helpers.LogHelper;
import modtweaker2.utils.BaseListAddition;
import modtweaker2.utils.BaseListRemoval;
import modtweaker.helpers.InputHelper;
import modtweaker.helpers.LogHelper;
import modtweaker.utils.BaseListAddition;
import modtweaker.utils.BaseListRemoval;
import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct;
package modtweaker.mods.tconstruct;
import minetweaker.MineTweakerAPI;
import modtweaker2.brackets.MaterialBracketHandler;
import modtweaker.brackets.MaterialBracketHandler;
public class TConstruct {
public TConstruct() {

View file

@ -1,6 +1,6 @@
package modtweaker2.mods.tconstruct;
package modtweaker.mods.tconstruct;
import modtweaker2.helpers.ReflectionHelper;
import modtweaker.helpers.ReflectionHelper;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
import slimeknights.tconstruct.library.DryingRecipe;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct.actions;
package modtweaker.mods.tconstruct.actions;
import minetweaker.IUndoableAction;
import modtweaker2.brackets.util.IMaterial;
import modtweaker.brackets.util.IMaterial;
import slimeknights.tconstruct.library.materials.HeadMaterialStats;
import slimeknights.tconstruct.library.materials.IMaterialStats;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct.actions;
package modtweaker.mods.tconstruct.actions;
import minetweaker.IUndoableAction;
import modtweaker2.brackets.util.IMaterial;
import modtweaker.brackets.util.IMaterial;
import slimeknights.tconstruct.library.materials.*;
/**

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct.actions;
package modtweaker.mods.tconstruct.actions;
import minetweaker.IUndoableAction;
import modtweaker2.brackets.util.IMaterial;
import modtweaker.brackets.util.IMaterial;
import slimeknights.tconstruct.library.materials.HeadMaterialStats;
import slimeknights.tconstruct.library.materials.IMaterialStats;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct.actions;
package modtweaker.mods.tconstruct.actions;
import minetweaker.IUndoableAction;
import modtweaker2.brackets.util.IMaterial;
import modtweaker.brackets.util.IMaterial;
import slimeknights.tconstruct.library.materials.HeadMaterialStats;
import slimeknights.tconstruct.library.materials.IMaterialStats;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,7 +1,7 @@
package modtweaker2.mods.tconstruct.actions;
package modtweaker.mods.tconstruct.actions;
import minetweaker.IUndoableAction;
import modtweaker2.brackets.util.IMaterial;
import modtweaker.brackets.util.IMaterial;
import slimeknights.tconstruct.library.materials.HandleMaterialStats;
import slimeknights.tconstruct.library.materials.IMaterialStats;
import slimeknights.tconstruct.library.materials.Material;

View file

@ -1,4 +1,4 @@
package modtweaker2.mods.tconstruct.commands;
package modtweaker.mods.tconstruct.commands;
import minetweaker.MineTweakerAPI;
import minetweaker.api.player.IPlayer;
@ -6,7 +6,7 @@ import minetweaker.api.server.ICommandFunction;
import slimeknights.tconstruct.library.TinkerRegistry;
import slimeknights.tconstruct.library.materials.Material;
import static modtweaker2.helpers.LogHelper.logPrinted;
import static modtweaker.helpers.LogHelper.logPrinted;
public class MaterialLogger implements ICommandFunction {
@Override

View file

@ -1,12 +1,12 @@
package modtweaker2.mods.tconstruct.commands;
package modtweaker.mods.tconstruct.commands;
import minetweaker.MineTweakerAPI;
import minetweaker.api.player.IPlayer;
import minetweaker.api.server.ICommandFunction;
import modtweaker2.mods.tconstruct.TConstructHelper;
import modtweaker.mods.tconstruct.TConstructHelper;
import slimeknights.tconstruct.library.modifiers.IModifier;
import static modtweaker2.helpers.LogHelper.logPrinted;
import static modtweaker.helpers.LogHelper.logPrinted;
public class ModifierLogger implements ICommandFunction{
@Override

View file

@ -1,12 +1,12 @@
package modtweaker2.mods.tconstruct.commands;
package modtweaker.mods.tconstruct.commands;
import minetweaker.MineTweakerAPI;
import minetweaker.MineTweakerImplementationAPI;
import minetweaker.api.player.IPlayer;
import minetweaker.api.server.ICommandFunction;
import modtweaker2.helpers.LogHelper;
import modtweaker2.helpers.StringHelper;
import modtweaker2.mods.tconstruct.TConstructHelper;
import modtweaker.helpers.LogHelper;
import modtweaker.helpers.StringHelper;
import modtweaker.mods.tconstruct.TConstructHelper;
import slimeknights.tconstruct.library.DryingRecipe;
import slimeknights.tconstruct.library.TinkerRegistry;
import slimeknights.tconstruct.library.smeltery.AlloyRecipe;

View file

@ -1,14 +1,14 @@
package modtweaker2.mods.tconstruct.handlers;
package modtweaker.mods.tconstruct.handlers;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import minetweaker.api.item.IngredientAny;
import minetweaker.api.liquid.ILiquidStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.tconstruct.TConstructHelper;
import modtweaker2.utils.BaseListAddition;
import modtweaker2.utils.BaseListRemoval;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.tconstruct.TConstructHelper;
import modtweaker.utils.BaseListAddition;
import modtweaker.utils.BaseListRemoval;
import slimeknights.mantle.util.RecipeMatch;
import slimeknights.tconstruct.library.smeltery.CastingRecipe;
import stanhebben.zenscript.annotations.Optional;
@ -19,8 +19,8 @@ import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.*;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.*;
import static modtweaker.helpers.StackHelper.matches;
@ZenClass("mods.tconstruct.Casting")
public class Casting {

View file

@ -1,12 +1,12 @@
package modtweaker2.mods.tconstruct.handlers;
package modtweaker.mods.tconstruct.handlers;
import minetweaker.MineTweakerAPI;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import modtweaker2.helpers.LogHelper;
import modtweaker2.mods.tconstruct.TConstructHelper;
import modtweaker2.utils.BaseListAddition;
import modtweaker2.utils.BaseListRemoval;
import modtweaker.helpers.LogHelper;
import modtweaker.mods.tconstruct.TConstructHelper;
import modtweaker.utils.BaseListAddition;
import modtweaker.utils.BaseListRemoval;
import slimeknights.tconstruct.library.DryingRecipe;
import slimeknights.tconstruct.library.TinkerRegistry;
import stanhebben.zenscript.annotations.ZenClass;
@ -15,8 +15,8 @@ import stanhebben.zenscript.annotations.ZenMethod;
import java.util.LinkedList;
import java.util.List;
import static modtweaker2.helpers.InputHelper.toIItemStack;
import static modtweaker2.helpers.InputHelper.toStack;
import static modtweaker.helpers.InputHelper.toIItemStack;
import static modtweaker.helpers.InputHelper.toStack;
@ZenClass("mods.tconstruct.Drying")
public class Drying {

View file

@ -4,9 +4,9 @@
//import java.util.List;
//
//import minetweaker.MineTweakerAPI;
//import modtweaker2.helpers.LogHelper;
//import modtweaker2.mods.tconstruct.TConstructHelper;
//import modtweaker2.utils.BaseListRemoval;
//import modtweaker.helpers.LogHelper;
//import modtweaker.mods.tconstruct.TConstructHelper;
//import modtweaker.utils.BaseListRemoval;
//import stanhebben.zenscript.annotations.ZenClass;
//import stanhebben.zenscript.annotations.ZenMethod;
//import tconstruct.library.modifier.ItemModifier;

View file

@ -1,12 +1,12 @@
//package modtweaker2.mods.tconstruct.handlers;
//
//import static modtweaker2.helpers.InputHelper.isABlock;
//import static modtweaker2.helpers.InputHelper.toFluid;
//import static modtweaker2.helpers.InputHelper.toFluids;
//import static modtweaker2.helpers.InputHelper.toIItemStack;
//import static modtweaker2.helpers.InputHelper.toILiquidStack;
//import static modtweaker2.helpers.InputHelper.toStack;
//import static modtweaker2.helpers.StackHelper.matches;
//import static modtweaker.helpers.InputHelper.isABlock;
//import static modtweaker.helpers.InputHelper.toFluid;
//import static modtweaker.helpers.InputHelper.toFluids;
//import static modtweaker.helpers.InputHelper.toIItemStack;
//import static modtweaker.helpers.InputHelper.toILiquidStack;
//import static modtweaker.helpers.InputHelper.toStack;
//import static modtweaker.helpers.StackHelper.matches;
//
//import java.util.ArrayList;
//import java.util.Arrays;
@ -20,12 +20,12 @@
//import minetweaker.api.item.IIngredient;
//import minetweaker.api.item.IItemStack;
//import minetweaker.api.liquid.ILiquidStack;
//import modtweaker2.helpers.LogHelper;
//import modtweaker2.mods.tconstruct.TConstructHelper;
//import modtweaker2.utils.BaseListAddition;
//import modtweaker2.utils.BaseListRemoval;
//import modtweaker2.utils.BaseMapAddition;
//import modtweaker2.utils.BaseMapRemoval;
//import modtweaker.helpers.LogHelper;
//import modtweaker.mods.tconstruct.TConstructHelper;
//import modtweaker.utils.BaseListAddition;
//import modtweaker.utils.BaseListRemoval;
//import modtweaker.utils.BaseMapAddition;
//import modtweaker.utils.BaseMapRemoval;
//import net.minecraft.block.Block;
//import net.minecraft.item.ItemStack;
//import net.minecraftforge.fluids.Fluid;

View file

@ -1,7 +1,7 @@
//package modtweaker2.mods.tconstruct.handlers;
//
//import static modtweaker2.helpers.InputHelper.toIItemStack;
//import static modtweaker2.helpers.InputHelper.toStack;
//import static modtweaker.helpers.InputHelper.toIItemStack;
//import static modtweaker.helpers.InputHelper.toStack;
//
//import java.util.LinkedList;
//import java.util.List;
@ -9,10 +9,10 @@
//import minetweaker.MineTweakerAPI;
//import minetweaker.api.item.IIngredient;
//import minetweaker.api.item.IItemStack;
//import modtweaker2.helpers.LogHelper;
//import modtweaker2.mods.tconstruct.TConstructHelper;
//import modtweaker2.utils.BaseListAddition;
//import modtweaker2.utils.BaseListRemoval;
//import modtweaker.helpers.LogHelper;
//import modtweaker.mods.tconstruct.TConstructHelper;
//import modtweaker.utils.BaseListAddition;
//import modtweaker.utils.BaseListRemoval;
//import net.minecraft.item.ItemStack;
//import stanhebben.zenscript.annotations.Optional;
//import stanhebben.zenscript.annotations.ZenClass;

View file

@ -2,8 +2,8 @@
//
//import minetweaker.IUndoableAction;
//import minetweaker.MineTweakerAPI;
//import modtweaker2.helpers.ReflectionHelper;
//import modtweaker2.mods.tconstruct.TConstructHelper;
//import modtweaker.helpers.ReflectionHelper;
//import modtweaker.mods.tconstruct.TConstructHelper;
//import slimeknights.tconstruct.library.TinkerRegistry;
//import slimeknights.tconstruct.library.materials.Material;
//import slimeknights.tconstruct.tools.TinkerMaterials;

View file

@ -1,6 +1,6 @@
package modtweaker2.proxy;
package modtweaker.proxy;
import modtweaker2.Commands;
import modtweaker.Commands;
public class ClientProxy extends CommonProxy{

View file

@ -1,6 +1,6 @@
package modtweaker2.proxy;
package modtweaker.proxy;
import modtweaker2.Commands;
import modtweaker.Commands;
public class CommonProxy {

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.ArrayList;

View file

@ -1,8 +1,8 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.List;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
import net.minecraft.item.crafting.IRecipe;
public abstract class BaseCraftingAddition extends BaseListAddition<IRecipe> {

View file

@ -1,13 +1,13 @@
package modtweaker2.utils;
package modtweaker.utils;
import static modtweaker2.helpers.InputHelper.toIItemStack;
import static modtweaker2.helpers.StackHelper.matches;
import static modtweaker.helpers.InputHelper.toIItemStack;
import static modtweaker.helpers.StackHelper.matches;
import java.util.LinkedList;
import java.util.List;
import minetweaker.api.item.IIngredient;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
@ -32,4 +32,4 @@ public class BaseCraftingRemoval extends BaseListRemoval<IRecipe> {
return recipes;
}
}
}

View file

@ -1,8 +1,8 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.List;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
public abstract class BaseListAddition<T> extends BaseListModification<T> {
@ -55,11 +55,11 @@ public abstract class BaseListAddition<T> extends BaseListModification<T> {
@Override
public String describe() {
return String.format("[ModTweaker2] Adding %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Adding %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
@Override
public String describeUndo() {
return String.format("[ModTweaker2] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
}
}

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.LinkedList;
import java.util.List;
@ -120,4 +120,4 @@ public abstract class BaseListModification<T> extends BaseUndoable {
return true;
}
}
}

View file

@ -1,6 +1,6 @@
package modtweaker2.utils;
package modtweaker.utils;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
import java.util.List;
@ -54,11 +54,11 @@ public abstract class BaseListRemoval<T> extends BaseListModification<T> {
@Override
public String describe() {
return String.format("[ModTweaker2] Removing %d %s Recipe(s) for %s", this.recipes.size(), this.name, this.getRecipeInfo());
return String.format("[ModTweaker] Removing %d %s Recipe(s) for %s", this.recipes.size(), this.name, this.getRecipeInfo());
}
@Override
public String describeUndo() {
return String.format("[ModTweaker2] Restoring %d %s Recipe(s) for %s", this.recipes.size(), this.name, this.getRecipeInfo());
return String.format("[ModTweaker] Restoring %d %s Recipe(s) for %s", this.recipes.size(), this.name, this.getRecipeInfo());
}
}

View file

@ -1,11 +1,11 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.AbstractMap;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
public abstract class BaseMapAddition<K, V> extends BaseMapModification<K, V> {
@ -67,11 +67,11 @@ public abstract class BaseMapAddition<K, V> extends BaseMapModification<K, V> {
@Override
public String describe() {
return String.format("[ModTweaker2] Adding %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Adding %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
@Override
public String describeUndo() {
return String.format("[ModTweaker2] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
}

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.HashMap;
import java.util.Map;

View file

@ -1,9 +1,9 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.Map;
import java.util.Map.Entry;
import modtweaker2.helpers.LogHelper;
import modtweaker.helpers.LogHelper;
public abstract class BaseMapRemoval<K, V> extends BaseMapModification<K, V> {
@ -52,11 +52,11 @@ public abstract class BaseMapRemoval<K, V> extends BaseMapModification<K, V> {
@Override
public String describe() {
return String.format("[ModTweaker2] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Removing %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
@Override
public String describeUndo() {
return String.format("[ModTweaker2] Restoring %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
return String.format("[ModTweaker] Restoring %d %s Recipe(s) for %s", recipes.size(), name, getRecipeInfo());
}
}

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.LinkedList;

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import minetweaker.IUndoableAction;
@ -25,12 +25,12 @@ public abstract class BaseUndoable implements IUndoableAction {
@Override
public String describe() {
return String.format("[ModTweaker2] Altering %s Recipe(s) for %s", this.name, this.getRecipeInfo());
return String.format("[ModTweaker] Altering %s Recipe(s) for %s", this.name, this.getRecipeInfo());
}
@Override
public String describeUndo() {
return String.format("[ModTweaker2] Reverting %s Recipe(s) changes for %s", this.name, this.getRecipeInfo());
return String.format("[ModTweaker] Reverting %s Recipe(s) changes for %s", this.name, this.getRecipeInfo());
}
@Override
@ -59,4 +59,4 @@ public abstract class BaseUndoable implements IUndoableAction {
public Object getOverrideKey() {
return null;
}
}
}

View file

@ -1,4 +1,4 @@
package modtweaker2.utils;
package modtweaker.utils;
import java.util.ArrayList;

View file

@ -1,6 +1,6 @@
[
{
"modid": "modtweaker2",
"modid": "modtweaker",
"name": "Mod Tweaker 2",
"description": "ModTweaker is an addon for MineTweaker 3.",
"version": "${version}",