Skip to content

Commit

Permalink
wood ash cement
Browse files Browse the repository at this point in the history
  • Loading branch information
MBatt1 committed Aug 14, 2023
1 parent f20e3a2 commit afda08c
Show file tree
Hide file tree
Showing 20 changed files with 164 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/net/cr24/primeval/item/PrimevalItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public class PrimevalItems {
public static final Item ROCK = registerItem("rock", new WeightedItem(GROUP_ITEMS(), Weight.LIGHT, Size.SMALL));
public static final Item STONE_BRICK = registerItem("stone_brick", new WeightedItem(GROUP_ITEMS(), Weight.LIGHT, Size.SMALL));
public static final Item ASHES = registerItem("ashes", new WeightedItem(GROUP_ITEMS(), Weight.VERY_LIGHT, Size.SMALL));
public static final Item CRUSHED_TERRACOTTA = registerItem("crushed_terracotta", new WeightedItem(GROUP_ITEMS(), Weight.NORMAL, Size.SMALL));
public static final Item CEMENT_MIX = registerItem("cement_mix", new WeightedItem(GROUP_ITEMS(), Weight.NORMAL, Size.SMALL));
public static final Item CEMENT = registerItem("cement", new WeightedItem(GROUP_ITEMS(), Weight.NORMAL, Size.SMALL));
public static final Item BONE = registerItem("bone", new WeightedItem(GROUP_ITEMS(), Weight.VERY_LIGHT, Size.SMALL));
public static final Item BONEMEAL = registerItem("bonemeal", new FertilizerItem(GROUP_ITEMS(), Weight.VERY_LIGHT, Size.SMALL, 4, PrimevalFarmlandBlockFertilizerType.BONEMEAL));
public static final Item ANIMAL_FAT = registerItem("animal_fat", new WeightedItem(GROUP_ITEMS(), Weight.VERY_LIGHT, Size.SMALL));
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/assets/primeval/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@
"item.primeval.rock": "Rock",
"item.primeval.stone_brick": "Stone Brick",
"item.primeval.ashes": "Ashes",
"item.primeval.crushed_terracotta": "Crushed Terracotta",
"item.primeval.cement_mix": "Cement Mix",
"item.primeval.cement": "Cement Ball",
"item.primeval.bone": "Bone",
"item.primeval.bonemeal": "Bonemeal",
"item.primeval.animal_fat": "Animal Fat",
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/assets/primeval/models/item/cement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "primeval:item/cement"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "primeval:item/cement_mix"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "primeval:item/crushed_terracotta"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/main/resources/data/primeval/recipes/ashes_campfire_log.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:open_fire",
"input": {
"tag": "primeval:logs"
},
"result": {
"item": "primeval:ashes",
"count": 4
},
"cook_time": 200
}
11 changes: 11 additions & 0 deletions src/main/resources/data/primeval/recipes/ashes_campfire_stick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:open_fire",
"input": {
"item": "primeval:stick"
},
"result": {
"item": "primeval:ashes",
"count": 1
},
"cook_time": 200
}
20 changes: 20 additions & 0 deletions src/main/resources/data/primeval/recipes/cement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#D#",
"###"
],
"key": {
"#": {
"item": "primeval:cement_mix"
},
"D": {
"item": "primeval:water_wooden_bucket"
}
},
"result": {
"item": "primeval:cement",
"count": 12
}
}
18 changes: 18 additions & 0 deletions src/main/resources/data/primeval/recipes/cement_mix_ashes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "primeval:crushed_terracotta"
},
{
"item": "primeval:ashes"
},
{
"item": "primeval:ashes"
}
],
"result": {
"item": "primeval:cement_mix",
"count": 4
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"item": "primeval:fired_clay_bowl"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 3
},
"wheelDamage":2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"item": "primeval:fired_clay_brick"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 1
},
"wheelDamage":2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"item": "primeval:fired_clay_jug"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 6
},
"wheelDamage":2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"tag": "primeval:fired_clay_molds"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 3
},
"wheelDamage":2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"item": "primeval:fired_clay_tile"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 2
},
"wheelDamage":2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "primeval:quern_grinding",
"input": {
"item": "primeval:fired_clay_vessel"
},
"result": {
"item": "primeval:crushed_terracotta",
"count": 5
},
"wheelDamage":2
}
13 changes: 13 additions & 0 deletions src/main/resources/data/primeval/tags/items/fired_clay_molds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"replace": false,
"values": [
"primeval:fired_clay_mold_ingot",
"primeval:fired_clay_mold_axe_head",
"primeval:fired_clay_mold_chisel_head",
"primeval:fired_clay_mold_knife_blade",
"primeval:fired_clay_mold_pickaxe_head",
"primeval:fired_clay_mold_shovel_head",
"primeval:fired_clay_mold_sword_blade",
"primeval:fired_clay_mold_hoe_head"
]
}
2 changes: 1 addition & 1 deletion src/main/resources/data/primeval/tags/items/mortar.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
"primeval:clay_ball"
"primeval:cement"
]
}

0 comments on commit afda08c

Please sign in to comment.