Pattern item..
This commit is contained in:
@@ -10,4 +10,5 @@ public final class RefinedStorageItems {
|
|||||||
public static final ItemSilicon SILICON = new ItemSilicon();
|
public static final ItemSilicon SILICON = new ItemSilicon();
|
||||||
public static final ItemProcessor PROCESSOR = new ItemProcessor();
|
public static final ItemProcessor PROCESSOR = new ItemProcessor();
|
||||||
public static final ItemStoragePart STORAGE_PART = new ItemStoragePart();
|
public static final ItemStoragePart STORAGE_PART = new ItemStoragePart();
|
||||||
|
public static final ItemPattern PATTERN = new ItemPattern();
|
||||||
}
|
}
|
||||||
|
7
src/main/java/refinedstorage/item/ItemPattern.java
Executable file
7
src/main/java/refinedstorage/item/ItemPattern.java
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
package refinedstorage.item;
|
||||||
|
|
||||||
|
public class ItemPattern extends ItemBase {
|
||||||
|
public ItemPattern() {
|
||||||
|
super("pattern");
|
||||||
|
}
|
||||||
|
}
|
@@ -82,6 +82,8 @@ public class ClientProxy extends CommonProxy {
|
|||||||
|
|
||||||
ModelLoader.setCustomModelResourceLocation(RefinedStorageItems.WIRELESS_GRID, 0, new ModelResourceLocation("refinedstorage:wireless_grid", "inventory"));
|
ModelLoader.setCustomModelResourceLocation(RefinedStorageItems.WIRELESS_GRID, 0, new ModelResourceLocation("refinedstorage:wireless_grid", "inventory"));
|
||||||
|
|
||||||
|
ModelLoader.setCustomModelResourceLocation(RefinedStorageItems.PATTERN, 0, new ModelResourceLocation("refinedstorage:pattern", "inventory"));
|
||||||
|
|
||||||
// Blocks
|
// Blocks
|
||||||
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.CABLE), 0, new ModelResourceLocation("refinedstorage:cable", "inventory"));
|
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"));
|
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.GRID), EnumGridType.NORMAL.getId(), new ModelResourceLocation("refinedstorage:grid", "inventory"));
|
||||||
|
@@ -88,6 +88,7 @@ public class CommonProxy {
|
|||||||
registerItem(RefinedStorageItems.SILICON);
|
registerItem(RefinedStorageItems.SILICON);
|
||||||
registerItem(RefinedStorageItems.PROCESSOR);
|
registerItem(RefinedStorageItems.PROCESSOR);
|
||||||
registerItem(RefinedStorageItems.STORAGE_PART);
|
registerItem(RefinedStorageItems.STORAGE_PART);
|
||||||
|
registerItem(RefinedStorageItems.PATTERN);
|
||||||
|
|
||||||
// Processors
|
// Processors
|
||||||
SoldererRegistry.addRecipe(new SoldererRecipePrintedProcessor(ItemProcessor.TYPE_PRINTED_BASIC));
|
SoldererRegistry.addRecipe(new SoldererRecipePrintedProcessor(ItemProcessor.TYPE_PRINTED_BASIC));
|
||||||
@@ -342,6 +343,16 @@ public class CommonProxy {
|
|||||||
'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON)
|
'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
|
// Storage Blocks
|
||||||
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_1K, ItemStoragePart.TYPE_1K));
|
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_1K, ItemStoragePart.TYPE_1K));
|
||||||
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_4K, ItemStoragePart.TYPE_4K));
|
SoldererRegistry.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_4K, ItemStoragePart.TYPE_4K));
|
||||||
|
@@ -110,4 +110,5 @@ item.refinedstorage:processor.6.name=Printed Silicon
|
|||||||
item.refinedstorage:storage_part.0.name=1k Storage Part
|
item.refinedstorage:storage_part.0.name=1k Storage Part
|
||||||
item.refinedstorage:storage_part.1.name=4k Storage Part
|
item.refinedstorage:storage_part.1.name=4k Storage Part
|
||||||
item.refinedstorage:storage_part.2.name=16k 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
|
@@ -110,4 +110,5 @@ item.refinedstorage:processor.6.name=Gedrukte Silicon
|
|||||||
item.refinedstorage:storage_part.0.name=1k Opslagdeel
|
item.refinedstorage:storage_part.0.name=1k Opslagdeel
|
||||||
item.refinedstorage:storage_part.1.name=4k Opslagdeel
|
item.refinedstorage:storage_part.1.name=4k Opslagdeel
|
||||||
item.refinedstorage:storage_part.2.name=16k 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
|
6
src/main/resources/assets/refinedstorage/models/item/pattern.json
Executable file
6
src/main/resources/assets/refinedstorage/models/item/pattern.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "refinedstorage:items/pattern"
|
||||||
|
}
|
||||||
|
}
|
BIN
src/main/resources/assets/refinedstorage/textures/items/pattern.png
Executable file
BIN
src/main/resources/assets/refinedstorage/textures/items/pattern.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 483 B |
Reference in New Issue
Block a user