mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-10-26 14:24:40 +00:00
Added alternate recipe for binder.
Reduced tool tip lag. Updated version for release 0.1.10
This commit is contained in:
1 parent
0f318da1ca
commit
033bf8451e
6 files changed
+17
-6
No files matched your search
@@ -19,7 +19,7 @@
|
||||
|
||||
<property name="mc.version" value="1.6.2"/>
|
||||
<property name="forge.version" value="9.10.0.828"/>
|
||||
<property name="project.version" value="0.1.9"/>
|
||||
<property name="project.version" value="0.1.10"/>
|
||||
|
||||
<property name="forge.name" value="minecraftforge-src-${mc.version}-${forge.version}.zip"/>
|
||||
|
||||
|
||||
@@ -6,11 +6,14 @@ public final class Config {
|
||||
|
||||
static int BID = 700;
|
||||
static int IID = 8524;
|
||||
|
||||
public static boolean useAlternateBinderRecipe;
|
||||
|
||||
public static void load(Configuration config) {
|
||||
for (ModObject e : ModObject.values()) {
|
||||
e.load(config);
|
||||
}
|
||||
useAlternateBinderRecipe = config.get("Settings", "useAlternateBinderRecipe", false).getBoolean(false);
|
||||
}
|
||||
|
||||
private Config() {
|
||||
|
||||
@@ -49,7 +49,7 @@ import crazypants.enderio.material.ItemIndustrialBinder;
|
||||
import crazypants.enderio.material.ItemYetaWrench;
|
||||
import crazypants.enderio.material.MaterialRecipes;
|
||||
|
||||
@Mod(name = "EnderIO", modid = "EnderIO", version = "0.1.9", dependencies = "required-after:Forge@[9.10.0.800,)")
|
||||
@Mod(name = "EnderIO", modid = "EnderIO", version = "0.1.10", dependencies = "required-after:Forge@[9.10.0.800,)")
|
||||
@NetworkMod(clientSideRequired = true, serverSideRequired = true, channels = { "EnderIO" }, packetHandler = PacketHandler.class)
|
||||
public class EnderIO {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import crazypants.enderio.Config;
|
||||
import crazypants.enderio.ModObject;
|
||||
import crazypants.enderio.machine.IMachineRecipe;
|
||||
import crazypants.enderio.machine.MachineRecipeRegistry;
|
||||
@@ -16,8 +17,15 @@ public class MaterialRecipes {
|
||||
|
||||
public static void addRecipes() {
|
||||
|
||||
ItemStack industialBinder = new ItemStack(itemIndustrialBinder.actualId, 4, 0);
|
||||
GameRegistry.addSmelting(Block.gravel.blockID, industialBinder, 0);
|
||||
ItemStack industialBinder;
|
||||
if(Config.useAlternateBinderRecipe) {
|
||||
industialBinder = new ItemStack(itemIndustrialBinder.actualId, 8, 0);
|
||||
GameRegistry.addShapedRecipe(industialBinder, " ", "gg ", "gg ", 'g', Block.gravel);
|
||||
GameRegistry.addShapedRecipe(industialBinder, " ", " gg", " gg", 'g',Block.gravel);
|
||||
} else {
|
||||
industialBinder = new ItemStack(itemIndustrialBinder.actualId, 4, 0);
|
||||
GameRegistry.addSmelting(Block.gravel.blockID, industialBinder, 0);
|
||||
}
|
||||
|
||||
industialBinder = new ItemStack(itemIndustrialBinder.actualId, 1, 0);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.List;
|
||||
|
||||
public class GuiToolTip {
|
||||
|
||||
private static final long DELAY = 500;
|
||||
private static final long DELAY = 200;
|
||||
|
||||
protected Rectangle bounds;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"modid": "EnderIO",
|
||||
"name": "Ender IO",
|
||||
"description": "Compact conduits, painted things and access to your stuff through an eye of ender.",
|
||||
"version": "0.1.9",
|
||||
"version": "0.1.10",
|
||||
"mcversion": "1.6.2",
|
||||
"url": "http://www.minecraftforum.net/topic/1937619-162152-ender-io-how-many-pipes-in-one-block-updated-198/",
|
||||
"updateUrl": "",
|
||||
|
||||
Reference in new issue
Block a user