mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
missed these in refactoring
This commit is contained in:
1 parent
b6da5dcca4
commit
a13b5396d4
4 files changed
+8
-8
No files matched your search
@@ -95,14 +95,14 @@ public class StencilTableGui extends GuiContainer
|
||||
patternIndex++;
|
||||
if (patternIndex == 21)
|
||||
patternIndex++;
|
||||
if (patternIndex >= TContent.patternOutputs.length - 1)
|
||||
if (patternIndex >= TRepo.patternOutputs.length - 1)
|
||||
patternIndex = 0;
|
||||
}
|
||||
else if (button.id == 1)
|
||||
{
|
||||
patternIndex--;
|
||||
if (patternIndex < 0)
|
||||
patternIndex = TContent.patternOutputs.length - 2;
|
||||
patternIndex = TRepo.patternOutputs.length - 2;
|
||||
if (patternIndex == 21)
|
||||
patternIndex--;
|
||||
}
|
||||
|
||||
@@ -3,10 +3,9 @@ package tconstruct.items;
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.common.TRepo;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
@@ -46,7 +45,7 @@ public class Bowstring extends CraftingItem implements IToolPart
|
||||
public void getSubItems (int id, CreativeTabs tab, List list)
|
||||
{
|
||||
list.add(new ItemStack(id, 1, 0));
|
||||
if (TContent.thaumcraftAvailable)
|
||||
if (TRepo.thaumcraftAvailable)
|
||||
list.add(new ItemStack(id, 1, 1));
|
||||
if (Loader.isModLoaded("Natura"))
|
||||
list.add(new ItemStack(id, 1, 2));
|
||||
|
||||
@@ -6,6 +6,7 @@ import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.common.TRepo;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
|
||||
public class ToolPart extends CraftingItem implements IToolPart
|
||||
@@ -69,7 +70,7 @@ public class ToolPart extends CraftingItem implements IToolPart
|
||||
for (int i = 0; i < 19; i++)
|
||||
list.add(new ItemStack(id, 1, i));
|
||||
|
||||
if (TContent.thaumcraftAvailable)
|
||||
if (TRepo.thaumcraftAvailable)
|
||||
list.add(new ItemStack(id, 1, 31));
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package tconstruct.items;
|
||||
import java.util.List;
|
||||
|
||||
import tconstruct.common.TContent;
|
||||
|
||||
import tconstruct.common.TRepo;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -63,7 +63,7 @@ public class ToolShard extends ToolPart
|
||||
for (int i = 10; i < 19; i++)
|
||||
list.add(new ItemStack(id, 1, i));
|
||||
|
||||
if (TContent.thaumcraftAvailable)
|
||||
if (TRepo.thaumcraftAvailable)
|
||||
list.add(new ItemStack(id, 1, 31));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user