added ingots and oxidized copper powder
@ -27,6 +27,10 @@ public class ModBlocks {
|
||||
ModIdentifiers.BLOCK_QUICKIEPOWDER, new ItemStack[] { new ItemStack(ModItems.ITEM_QUICKIEPOWDER, 9) }));
|
||||
public static final Block BLOCK_SPEEDPOWDER = registerBlock(ModIdentifiers.BLOCK_SPEEDPOWDER, new BlockPowder(
|
||||
ModIdentifiers.BLOCK_SPEEDPOWDER, new ItemStack[] { new ItemStack(ModItems.ITEM_SPEEDPOWDER, 9) }));
|
||||
public static final Block BLOCK_SALPETER = registerBlock(ModIdentifiers.BLOCK_SALPETER, new BlockPowder(
|
||||
ModIdentifiers.BLOCK_SALPETER, new ItemStack[] { new ItemStack(ModItems.ITEM_SALPETER, 9) }));
|
||||
public static final Block BLOCK_SULFOR = registerBlock(ModIdentifiers.BLOCK_SULFOR, new BlockPowder(
|
||||
ModIdentifiers.BLOCK_SULFOR, new ItemStack[] { new ItemStack(ModItems.ITEM_SULFOR, 9) }));
|
||||
|
||||
private static final Block registerBlock(Identifier identifier, Block block) {
|
||||
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new Item.Settings()
|
||||
@ -40,6 +44,8 @@ public class ModBlocks {
|
||||
List<Block> blocks = new ArrayList<>();
|
||||
blocks.add(BLOCK_QUICKIEPOWDER);
|
||||
blocks.add(BLOCK_SPEEDPOWDER);
|
||||
blocks.add(BLOCK_SALPETER);
|
||||
blocks.add(BLOCK_SULFOR);
|
||||
return blocks;
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,14 @@ public class ModIdentifiers {
|
||||
public static final Identifier ITEM_STUB = Identifier.of(Quickiemod.MOD_ID, "stub");
|
||||
public static final Identifier ITEM_SPEEDPOWDER = Identifier.of(Quickiemod.MOD_ID, "speedpowder");
|
||||
public static final Identifier ITEM_QUICKIEPOWDER = Identifier.of(Quickiemod.MOD_ID, "quickiepowder");
|
||||
public static final Identifier ITEM_SALPETER = Identifier.of(Quickiemod.MOD_ID, "salpeter");
|
||||
public static final Identifier ITEM_SULFOR = Identifier.of(Quickiemod.MOD_ID, "sulphor");
|
||||
public static final Identifier ITEM_OXIDIZEDCOPPERPOWDER = Identifier.of(Quickiemod.MOD_ID, "oxidizedcopperpowder");
|
||||
public static final Identifier ITEM_SPEEDINGOT = Identifier.of(Quickiemod.MOD_ID, "speedingot");
|
||||
public static final Identifier ITEM_QUICKIEINGOT = Identifier.of(Quickiemod.MOD_ID, "quickieingot");
|
||||
|
||||
public static final Identifier BLOCK_QUICKIEPOWDER = Identifier.of(Quickiemod.MOD_ID, "blockquickiepowder");
|
||||
public static final Identifier BLOCK_SPEEDPOWDER = Identifier.of(Quickiemod.MOD_ID, "blockspeedpowder");
|
||||
public static final Identifier BLOCK_SALPETER = Identifier.of(Quickiemod.MOD_ID, "blocksalpeter");
|
||||
public static final Identifier BLOCK_SULFOR = Identifier.of(Quickiemod.MOD_ID, "blocksulphor");
|
||||
}
|
||||
|
@ -19,6 +19,11 @@ public class ModItems {
|
||||
public static final Item ITEM_STUB = registerItem(ModIdentifiers.ITEM_STUB, new Item64Stack(ModIdentifiers.ITEM_STUB));
|
||||
public static final Item ITEM_SPEEDPOWDER = registerItem(ModIdentifiers.ITEM_SPEEDPOWDER, new Item64Stack(ModIdentifiers.ITEM_SPEEDPOWDER));
|
||||
public static final Item ITEM_QUICKIEPOWDER = registerItem(ModIdentifiers.ITEM_QUICKIEPOWDER, new Item64Stack(ModIdentifiers.ITEM_QUICKIEPOWDER));
|
||||
public static final Item ITEM_SALPETER = registerItem(ModIdentifiers.ITEM_SALPETER, new Item64Stack(ModIdentifiers.ITEM_SALPETER));
|
||||
public static final Item ITEM_SULFOR = registerItem(ModIdentifiers.ITEM_SULFOR, new Item64Stack(ModIdentifiers.ITEM_SULFOR));
|
||||
public static final Item ITEM_OXIDIZEDCOPPERPOWDER = registerItem(ModIdentifiers.ITEM_OXIDIZEDCOPPERPOWDER, new Item64Stack(ModIdentifiers.ITEM_OXIDIZEDCOPPERPOWDER));
|
||||
public static final Item ITEM_SPEEDINGOT = registerItem(ModIdentifiers.ITEM_SPEEDINGOT, new Item64Stack(ModIdentifiers.ITEM_SPEEDINGOT));
|
||||
public static final Item ITEM_QUICKIEINGOT = registerItem(ModIdentifiers.ITEM_QUICKIEINGOT, new Item64Stack(ModIdentifiers.ITEM_QUICKIEINGOT));
|
||||
|
||||
private static final Item registerItem(Identifier identifier, Item item) {
|
||||
return Registry.register(Registries.ITEM, identifier, item);
|
||||
@ -31,6 +36,11 @@ public class ModItems {
|
||||
items.add(ITEM_STUB);
|
||||
items.add(ITEM_SPEEDPOWDER);
|
||||
items.add(ITEM_QUICKIEPOWDER);
|
||||
items.add(ITEM_SALPETER);
|
||||
items.add(ITEM_SULFOR);
|
||||
items.add(ITEM_OXIDIZEDCOPPERPOWDER);
|
||||
items.add(ITEM_SPEEDINGOT);
|
||||
items.add(ITEM_QUICKIEINGOT);
|
||||
return items;
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "quickiemod:block/blocksalpeter"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "quickiemod:block/blocksulphor"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "quickiemod:block/blocksalpeter"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "quickiemod:block/blocksulphor"
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "quickiemod:block/blocksalpeter",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [ 10, -45, 170 ],
|
||||
"translation": [ 0, 1.5, -2.75 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "quickiemod:block/blocksulphor",
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [ 10, -45, 170 ],
|
||||
"translation": [ 0, 1.5, -2.75 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/coal",
|
||||
"textures": {
|
||||
"layer0": "quickiemod:item/oxidizedcopperpowder"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/coal",
|
||||
"textures": {
|
||||
"layer0": "quickiemod:item/quickieingot"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/coal",
|
||||
"textures": {
|
||||
"layer0": "quickiemod:item/salpeter"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/coal",
|
||||
"textures": {
|
||||
"layer0": "quickiemod:item/speedingot"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/coal",
|
||||
"textures": {
|
||||
"layer0": "quickiemod:item/sulphor"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 779 B |
BIN
src/main/resources/assets/quickiemod/textures/item/salpeter.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 799 B |
BIN
src/main/resources/assets/quickiemod/textures/item/sulphor.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "minecraft:oxidized_copper",
|
||||
"result": {
|
||||
"id": "quickiemod:oxidizedcopperpowder"
|
||||
},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "minecraft:oxidized_cut_copper",
|
||||
"result": {
|
||||
"id": "quickiemod:oxidizedcopperpowder"
|
||||
},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "minecraft:oxidized_cut_copper_stairs",
|
||||
"result": {
|
||||
"id": "quickiemod:oxidizedcopperpowder"},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "minecraft:oxidized_cut_copper_slab",
|
||||
"result": {
|
||||
"id": "quickiemod:oxidizedcopperpowder"},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "quickiemod:quickiepowder",
|
||||
"result": {"id":"quickiemod:quickieingot"},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"group": "ores",
|
||||
"ingredient": [
|
||||
"minecraft:dead_brain_coral_block"
|
||||
],
|
||||
"result": {
|
||||
"id":"quickiemod:salpeter"
|
||||
},
|
||||
"count": 3,
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"group": "ores",
|
||||
"ingredient": [
|
||||
"minecraft:dead_bubble_coral_block"
|
||||
],
|
||||
"result": {
|
||||
"id":"quickiemod:salpeter"
|
||||
},
|
||||
"count": 3,
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"group": "ores",
|
||||
"ingredient": [
|
||||
"minecraft:dead_fire_coral_block"
|
||||
],
|
||||
"result": {
|
||||
"id":"quickiemod:salpeter"
|
||||
},
|
||||
"count": 3,
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"group": "ores",
|
||||
"ingredient": [
|
||||
"minecraft:dead_horn_coral_block"
|
||||
],
|
||||
"result": {
|
||||
"id":"quickiemod:salpeter"
|
||||
},
|
||||
"count": 3,
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"group": "ores",
|
||||
"ingredient": [
|
||||
"minecraft:dead_tube_coral_block"
|
||||
],
|
||||
"result": {
|
||||
"id":"quickiemod:salpeter"
|
||||
},
|
||||
"count": 3,
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": "quickiemod:speedpowder",
|
||||
"result": {"id":"quickiemod:speedingot"},
|
||||
"experience": 0.1,
|
||||
"cookingtime": 200
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"sss",
|
||||
"sss",
|
||||
"sss"
|
||||
],
|
||||
"key": {
|
||||
"s": "quickiemod:salpeter"
|
||||
},
|
||||
"result": {
|
||||
"id": "quickiemod:blocksalpeter",
|
||||
"count": 1
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"sss",
|
||||
"sss",
|
||||
"sss"
|
||||
],
|
||||
"key": {
|
||||
"s": "quickiemod:sulphor"
|
||||
},
|
||||
"result": {
|
||||
"id": "quickiemod:blocksulphor",
|
||||
"count": 1
|
||||
}
|
||||
}
|
@ -3,7 +3,8 @@
|
||||
"ingredients": [
|
||||
"quickiemod:blocksalpeter",
|
||||
"quickiemod:blocksulphor",
|
||||
"minecraft:coal_block"
|
||||
"minecraft:coal_block",
|
||||
"minecraft:redstone_block"
|
||||
],
|
||||
"result": {
|
||||
"id": "quickiemod:blockspeedpowder",
|
||||
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
"minecraft:coal",
|
||||
"quickiemod:sulphor",
|
||||
"quickiemod:salpeter"
|
||||
],
|
||||
"result": {
|
||||
"id": "minecraft:gunpowder",
|
||||
"count": 1
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
"quickiemod:blocksalpeter"
|
||||
],
|
||||
"result": {
|
||||
"id": "quickiemod:salpeter",
|
||||
"count": 9
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
"minecraft:white_wool"
|
||||
],
|
||||
"result": {
|
||||
"id": "minecraft:string",
|
||||
"count": 4
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
"quickiemod:blocksulphor"
|
||||
],
|
||||
"result": {
|
||||
"id": "quickiemod:sulphor",
|
||||
"count": 9
|
||||
}
|
||||
}
|