/** * Used for the sharpening kit. Allows to register a toolpart that is not part of a tool. */ public static void registerToolPart(IToolPart part) { toolParts.add(part); if(part instanceof Item) { if(part.canBeCrafted()) { addPatternForItem((Item) part); } if(part.canBeCasted()) { addCastForItem((Item) part); } } }
TinkerRegistry.addCastForItem(TinkerRegistry.getShard()); castShard = new ItemStack(cast); Cast.setTagForPart(castShard, TinkerRegistry.getShard());