Change recipe of storage disks
This commit is contained in:
@@ -354,9 +354,9 @@ public class CommonProxy {
|
|||||||
|
|
||||||
// Storage Parts
|
// Storage Parts
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_1K),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_1K),
|
||||||
"ESE",
|
"SES",
|
||||||
"GRG",
|
"GRG",
|
||||||
"EGE",
|
"SGS",
|
||||||
'R', new ItemStack(Items.REDSTONE),
|
'R', new ItemStack(Items.REDSTONE),
|
||||||
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
||||||
'S', "itemSilicon",
|
'S', "itemSilicon",
|
||||||
@@ -364,9 +364,9 @@ public class CommonProxy {
|
|||||||
));
|
));
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_4K),
|
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_4K),
|
||||||
"EPE",
|
"PEP",
|
||||||
"SRS",
|
"SRS",
|
||||||
"ESE",
|
"PSP",
|
||||||
'R', new ItemStack(Items.REDSTONE),
|
'R', new ItemStack(Items.REDSTONE),
|
||||||
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
||||||
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_BASIC),
|
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_BASIC),
|
||||||
@@ -374,9 +374,9 @@ public class CommonProxy {
|
|||||||
);
|
);
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_16K),
|
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_16K),
|
||||||
"EPE",
|
"PEP",
|
||||||
"SRS",
|
"SRS",
|
||||||
"ESE",
|
"PSP",
|
||||||
'R', new ItemStack(Items.REDSTONE),
|
'R', new ItemStack(Items.REDSTONE),
|
||||||
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
||||||
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_IMPROVED),
|
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_IMPROVED),
|
||||||
@@ -384,9 +384,9 @@ public class CommonProxy {
|
|||||||
);
|
);
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_64K),
|
GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_64K),
|
||||||
"EPE",
|
"PEP",
|
||||||
"SRS",
|
"SRS",
|
||||||
"ESE",
|
"PSP",
|
||||||
'R', new ItemStack(Items.REDSTONE),
|
'R', new ItemStack(Items.REDSTONE),
|
||||||
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON),
|
||||||
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_ADVANCED),
|
'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_ADVANCED),
|
||||||
|
|||||||
@@ -50,9 +50,9 @@ public class TileSolderer extends TileMachine {
|
|||||||
if (newRecipe == null) {
|
if (newRecipe == null) {
|
||||||
stop();
|
stop();
|
||||||
} else if (newRecipe != recipe) {
|
} else if (newRecipe != recipe) {
|
||||||
boolean isSameItem = items.getStackInSlot(3) != null ? RefinedStorageUtils.compareStackNoQuantity(items.getStackInSlot(3), newRecipe.getResult()) : false;
|
boolean sameItem = items.getStackInSlot(3) != null ? RefinedStorageUtils.compareStackNoQuantity(items.getStackInSlot(3), newRecipe.getResult()) : false;
|
||||||
|
|
||||||
if (items.getStackInSlot(3) == null || (isSameItem && ((items.getStackInSlot(3).stackSize + newRecipe.getResult().stackSize) <= items.getStackInSlot(3).getMaxStackSize()))) {
|
if (items.getStackInSlot(3) == null || (sameItem && ((items.getStackInSlot(3).stackSize + newRecipe.getResult().stackSize) <= items.getStackInSlot(3).getMaxStackSize()))) {
|
||||||
recipe = newRecipe;
|
recipe = newRecipe;
|
||||||
progress = 0;
|
progress = 0;
|
||||||
working = true;
|
working = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user