From 41366b26834904d500f38ef9acce7ced40691f77 Mon Sep 17 00:00:00 2001 From: Astoria Date: Fri, 31 Mar 2023 15:08:34 -0500 Subject: [PATCH] Textures! --- .../net/brokenmoon/afloydwiremod/WireMod.java | 11 ++++++----- .../resources/assets/afloydwiremod/block/chip.png | Bin 0 -> 349 bytes .../assets/afloydwiremod/block/linkOff.png | Bin 0 -> 321 bytes .../assets/afloydwiremod/block/linkOn.png | Bin 0 -> 325 bytes .../assets/afloydwiremod/item/progtool.png | Bin 0 -> 329 bytes .../assets/afloydwiremod/item/wiretool.png | Bin 0 -> 328 bytes src/main/resources/lang/afloydwiremod/en_US.lang | 8 ++++++-- 7 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 src/main/resources/assets/afloydwiremod/block/chip.png create mode 100644 src/main/resources/assets/afloydwiremod/block/linkOff.png create mode 100644 src/main/resources/assets/afloydwiremod/block/linkOn.png create mode 100644 src/main/resources/assets/afloydwiremod/item/progtool.png create mode 100644 src/main/resources/assets/afloydwiremod/item/wiretool.png diff --git a/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java b/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java index 0f60847..7d85f96 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java @@ -18,16 +18,17 @@ public class WireMod implements ModInitializer { public static final String MOD_ID = "afloydwiremod"; public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID); - public static Block ChipTile = BlockHelper.createBlock(MOD_ID, new ChipTile(905, Material.iron), "chipTile", "testTexture.png", Block.soundMetalFootstep,5, 5, 0 ); + public static Block ChipTile = BlockHelper.createBlock(MOD_ID, new ChipTile(905, Material.iron), "chipTile", "chip.png", Block.soundMetalFootstep,5, 5, 0 ); - public static Item ToolProgrammer = ItemHelper.createItem(MOD_ID, new ToolProgrammer(906), "toolProgrammer", "testTexture.png"); - public static Item ToolWiring = ItemHelper.createItem(MOD_ID, new ToolWiring(907), "toolWiring", "testTexture.png"); + public static Item ToolProgrammer = ItemHelper.createItem(MOD_ID, new ToolProgrammer(906), "toolProgrammer", "progtool.png"); + public static Item ToolWiring = ItemHelper.createItem(MOD_ID, new ToolWiring(907), "toolWiring", "wiretool.png"); - public static Block LinkTileInactive = BlockHelper.createBlock(MOD_ID, new RedstoneLinkTile(908, Material.iron, false), "linkTile", "testTexture.png", Block.soundStoneFootstep, 5, 5, 0); - public static Block LinkTileActive = BlockHelper.createBlock(MOD_ID, new RedstoneLinkTile(909, Material.iron, true), "linkTile", "testTexture.png", Block.soundStoneFootstep, 5, 5, 0); + public static Block LinkTileInactive = BlockHelper.createBlock(MOD_ID, new RedstoneLinkTile(908, Material.iron, false), "linkTile", "linkOff.png", Block.soundStoneFootstep, 5, 5, 0); + public static Block LinkTileActive = BlockHelper.createBlock(MOD_ID, new RedstoneLinkTile(909, Material.iron, true), "linkTile", "linkOn.png", Block.soundStoneFootstep, 5, 5, 0); @Override public void onInitialize() { LOGGER.info("WireMod initialized."); + LinkTileInactive.notInCreativeMenu = true; } } diff --git a/src/main/resources/assets/afloydwiremod/block/chip.png b/src/main/resources/assets/afloydwiremod/block/chip.png new file mode 100644 index 0000000000000000000000000000000000000000..9588be73647cce127d8c069c16b0b6fe9b1c2952 GIT binary patch literal 349 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1Igx&WULS49bF zYX$XM3**&+2Iot)KWugU|E~GOmDuFf_SUuj`r*MErVi5birU()R`zi|8Lj?Hc1(J4 z;OqYv_aD4iy!=o`{!9nYVjWXo5eYqS*`Q37lsQ@jXY{N82bKRnwD5nY@iSM;wfe3V zvi|{NEPLRC``cL1$m@O1TaS?83{ F1OU|)n_&O| literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/afloydwiremod/block/linkOff.png b/src/main/resources/assets/afloydwiremod/block/linkOff.png new file mode 100644 index 0000000000000000000000000000000000000000..451f8684262f0dd2b0d7131e0efc778ff7938e01 GIT binary patch literal 321 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1Igx&WULS49bF zYX$XM3**&+2Iot)KWugU|E~GOmDuFf_SUuj`r*MErVi5birU()R`zi|8Lj?Hc1(J4 z;OqYv_aD4iy!=o`{!9nYVjWXo5eYqS*`Q37lsQ@jXY{N82bKRnwD5nY@iSM;wfe3V zvi|zopr0Qgyu+5i9m literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/afloydwiremod/item/wiretool.png b/src/main/resources/assets/afloydwiremod/item/wiretool.png new file mode 100644 index 0000000000000000000000000000000000000000..32f59a27cba9bcb6c9d1f44eaa88c0c99dc88eda GIT binary patch literal 328 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1Igx&WULS49bF zYX$XM3**&+2Iot)KWugU|E~GOmDuFf_SUuj`r*MErVi5birU()R`zi|8Lj?Hc1(J4 z;OqYv_aD4iy!=o`{!9nYVjWXo5eYqS*`Q37lsQ@jXY{N82bKRnwD5nY@iSM;wfe3V zvi|7kzkxNheiMHmY jH*1vB?p>Gokx~*@V9R70bg82ZXc~j3tDnm{r-UW|tBaCz literal 0 HcmV?d00001 diff --git a/src/main/resources/lang/afloydwiremod/en_US.lang b/src/main/resources/lang/afloydwiremod/en_US.lang index 8f8ba75..380b9e0 100644 --- a/src/main/resources/lang/afloydwiremod/en_US.lang +++ b/src/main/resources/lang/afloydwiremod/en_US.lang @@ -1,4 +1,8 @@ item.afloydwiremod.toolProgrammer.name=Programming Tool -item.afloydwiremod.toolProgrammer.disc=Used to program chips. +item.afloydwiremod.toolProgrammer.desc=Used to program chips. +item.afloydwiremod.toolWiring.name=Wiring Tool +item.afloydwiremod.toolWiring.desc=Used to connect outputs to inputs. tile.afloydwiremod.chipTile.name=Chip -tile.afloydwiremod.chipTile.disc=Used to preform mathematical calculations. \ No newline at end of file +tile.afloydwiremod.chipTile.desc=Used to preform mathematical calculations. +tile.afloydwiremod.linkTile.name=Redstone Link +tile.afloydwiremod.linkTile.desc=Used to interface chips with redstone devices. \ No newline at end of file