mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
most of item/block will now compile
This commit is contained in:
1 parent
ad96fbfa61
commit
3bf37fa6a7
66 files changed
+282
-249
No files matched your search
@@ -158,9 +158,9 @@ public class TConstructRegistry
|
||||
patternPartMapping.put(Arrays.asList(woodPattern, patternMeta, materialID), output);
|
||||
}
|
||||
|
||||
public static ItemStack getPartMapping (int itemID, int metadata, int materialID)
|
||||
public static ItemStack getPartMapping (Item item, int metadata, int materialID)
|
||||
{
|
||||
ItemStack stack = patternPartMapping.get(Arrays.asList(itemID, metadata, materialID));
|
||||
ItemStack stack = patternPartMapping.get(Arrays.asList(item, metadata, materialID));
|
||||
if (stack != null)
|
||||
return stack.copy();
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user