Pattern item..

This commit is contained in:
Raoul Van den Berge
2016-04-07 14:32:46 +02:00
parent a4f8c94bb4
commit e3706a6c76
8 changed files with 31 additions and 2 deletions

View File

@@ -10,4 +10,5 @@ public final class RefinedStorageItems {
public static final ItemSilicon SILICON = new ItemSilicon();
public static final ItemProcessor PROCESSOR = new ItemProcessor();
public static final ItemStoragePart STORAGE_PART = new ItemStoragePart();
public static final ItemPattern PATTERN = new ItemPattern();
}

View File

@@ -0,0 +1,7 @@
package refinedstorage.item;
public class ItemPattern extends ItemBase {
public ItemPattern() {
super("pattern");
}
}

View File

@@ -82,6 +82,8 @@ public class ClientProxy extends CommonProxy {
ModelLoader.setCustomModelResourceLocation(RefinedStorageItems.WIRELESS_GRID, 0, new ModelResourceLocation("refinedstorage:wireless_grid", "inventory"));
ModelLoader.setCustomModelResourceLocation(RefinedStorageItems.PATTERN, 0, new ModelResourceLocation("refinedstorage:pattern", "inventory"));
// Blocks
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.CABLE), 0, new ModelResourceLocation("refinedstorage:cable", "inventory"));
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.GRID), EnumGridType.NORMAL.getId(), new ModelResourceLocation("refinedstorage:grid", "inventory"));

View File

@@ -88,6 +88,7 @@ public class CommonProxy {
registerItem(RefinedStorageItems.SILICON);
registerItem(RefinedStorageItems.PROCESSOR);
registerItem(RefinedStorageItems.STORAGE_PART);
registerItem(RefinedStorageItems.PATTERN);
// Processors
SoldererRegistry.addRecipe(new SoldererRecipePrintedProcessor(ItemProcessor.TYPE_PRINTED_BASIC));
@@ -342,6 +343,16 @@ public class CommonProxy {
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON)
);
// Pattern
GameRegistry.addRecipe(NBTStorage.initNBT(new ItemStack(RefinedStorageItems.PATTERN)),
"GRG",
"RGR",
"EEE",
'G', new ItemStack(Blocks.glass),
'R', new ItemStack(Items.redstone),
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON)
);
// Storage Blocks
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_1K, ItemStoragePart.TYPE_1K));
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_4K, ItemStoragePart.TYPE_4K));

View File

@@ -110,4 +110,5 @@ item.refinedstorage:processor.6.name=Printed Silicon
item.refinedstorage:storage_part.0.name=1k Storage Part
item.refinedstorage:storage_part.1.name=4k Storage Part
item.refinedstorage:storage_part.2.name=16k Storage Part
item.refinedstorage:storage_part.3.name=64k Storage Part
item.refinedstorage:storage_part.3.name=64k Storage Part
item.refinedstorage:pattern.name=Pattern

View File

@@ -110,4 +110,5 @@ item.refinedstorage:processor.6.name=Gedrukte Silicon
item.refinedstorage:storage_part.0.name=1k Opslagdeel
item.refinedstorage:storage_part.1.name=4k Opslagdeel
item.refinedstorage:storage_part.2.name=16k Opslagdeel
item.refinedstorage:storage_part.3.name=64k Opslagdeel
item.refinedstorage:storage_part.3.name=64k Opslagdeel
item.refinedstorage:pattern.name=Patroon

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "refinedstorage:items/pattern"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B