Add items for more realistic crafting of IC's and PCB's
@ -5,6 +5,7 @@ import com.pjht.ssspcore.item.ModItems;
|
||||
import com.pjht.ssspcore.proxy.CommonProxy;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.client.event.ModelRegistryEvent;
|
||||
import net.minecraftforge.event.RegistryEvent;
|
||||
@ -14,7 +15,6 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
|
||||
@Mod(modid = SSSPCore.modId, name = SSSPCore.name, version = SSSPCore.version)
|
||||
public class SSSPCore {
|
||||
@ -47,7 +47,7 @@ public class SSSPCore {
|
||||
|
||||
@Mod.EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
|
||||
Items.WATER_BUCKET.setContainerItem(null);
|
||||
}
|
||||
|
||||
@Mod.EventBusSubscriber
|
||||
|
@ -21,6 +21,16 @@ public class ModItems {
|
||||
registerItem("housing");
|
||||
registerItem("blank_pcb");
|
||||
registerItem("blank_pcb_blueprint");
|
||||
registerItem("phosphoric_acid");
|
||||
registerItem("salt");
|
||||
registerItem("boron");
|
||||
registerItem("brine_bucket");
|
||||
registerItem("hydrogen_bottle");
|
||||
registerItem("clorine_bottle");
|
||||
registerItem("hydrocloric_acid");
|
||||
registerItem("boric_acid");
|
||||
registerItem("ferric_acid");
|
||||
//NEXT ITEM HERE
|
||||
}
|
||||
|
||||
public static void register(IForgeRegistry<Item> registry) {
|
||||
@ -54,4 +64,4 @@ public class ModItems {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,20 +1,23 @@
|
||||
# Items
|
||||
item.ingot_copper.name=Copper Ingot
|
||||
item.raw_silicon.name=Raw Silicon
|
||||
item.silicon_wafer.name=Silicon Wafer
|
||||
item.coke.name=Coke
|
||||
item.blank_blueprint.name=Blank Blueprint
|
||||
item.blank_chip.name=Blank Chip
|
||||
item.blueprint.name=Blueprint
|
||||
item.chip.name=Chip
|
||||
item.blank_blueprint.name=Blank Blueprint
|
||||
item.housing.name=Housing
|
||||
item.ic.name=IC
|
||||
item.plastic.name=Plastic
|
||||
item.blank_pcb.name=Blank PCB
|
||||
item.blank_pcb_blueprint.name=Blank PCB Blueprint
|
||||
# Blocks
|
||||
tile.ore_copper.name=Copper Ore
|
||||
tile.pedestal.name=Pedestal
|
||||
|
||||
# Creative Tabs
|
||||
itemGroup.ssspcore=SSSP Core
|
||||
itemGroup.ssspcore=SSSP Core
|
||||
item.phosphoric_acid.name=Phosphoric Acid Bottle
|
||||
item.salt.name=Salt
|
||||
item.boron.name=Boron
|
||||
item.brine_bucket.name=Brine Bucket
|
||||
item.hydrogen_bottle.name=Hydrogen Bottle
|
||||
item.clorine_bottle.name=Clorine Bottle
|
||||
item.hydrocloric_acid.name=Hydrocloric Acid Bottle
|
||||
item.boric_acid.name=Boric Acid
|
||||
item.ferric_acid.name=Ferric Acid Bottle
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/boric_acid"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/boron"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/brine_bucket"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/clorine_bottle"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/ferric_acid"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/hydrocloric_acid"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/hydrogen_bottle"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/phosphoric_acid"
|
||||
}
|
||||
}
|
6
src/main/resources/assets/ssspcore/models/item/salt.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/salt"
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
{"type":"minecraft:crafting_shapeless","ingredients":[{"item":"ssspcore:hydrocloric_acid"},{"item":"ssspcore:boron"}],"result":{"item":"ssspcore:boric_acid"}}
|
@ -0,0 +1 @@
|
||||
{"type":"minecraft:crafting_shapeless","ingredients":[{"item":"ssspcore:salt"},{"item":"minecraft:water_bucket"}],"result":{"item":"ssspcore:brine_bucket"}}
|
@ -0,0 +1 @@
|
||||
{"type":"minecraft:crafting_shapeless","ingredients":[{"item":"ssspcore:brine_bucket"},{"item":"minecraft:redstone"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"}],"result":{"item":"ssspcore:clorine_bottle","count":4}}
|
18
src/main/resources/assets/ssspcore/recipes/ferric_acid.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"type":"minecraft:crafting_shapeless",
|
||||
"ingredients":[
|
||||
{
|
||||
"item":"minecraft:iron_nugget"
|
||||
},
|
||||
{
|
||||
"item":"ssspcore:clorine_bottle"
|
||||
},
|
||||
{
|
||||
"item":"minecraft:potion",
|
||||
"nbt":{"Potion":"minecraft:water"}
|
||||
}
|
||||
],
|
||||
"result":{
|
||||
"item":"ssspcore:ferric_acid"
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"type":"minecraft:crafting_shapeless",
|
||||
"ingredients":[
|
||||
{
|
||||
"item":"ssspcore:hydrogen_bottle"
|
||||
},
|
||||
{
|
||||
"item":"ssspcore:clorine_bottle"
|
||||
},
|
||||
{
|
||||
"item":"minecraft:potion",
|
||||
"nbt":{"Potion":"minecraft:water"}
|
||||
}
|
||||
],
|
||||
"result":{
|
||||
"item":"ssspcore:hydrocloric_acid"
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
{"type":"minecraft:crafting_shapeless","ingredients":[{"item":"minecraft:water_bucket"},{"item":"minecraft:redstone"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"},{"item":"minecraft:glass_bottle"}],"result":{"item":"ssspcore:hydrogen_bottle","count":4}}
|
BIN
src/main/resources/assets/ssspcore/textures/items/boric_acid.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 429 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 275 B |