Added a way to make sherds from clay.

This commit is contained in:
ayutac 2023-06-06 19:30:32 +02:00 committed by modmuss
parent 00d30f5a9d
commit 2412f8e093
2 changed files with 41 additions and 0 deletions

View file

@ -60,6 +60,7 @@ class BlastFurnaceRecipesProvider extends TechRebornRecipesProvider {
generatePickaxe() generatePickaxe()
generateGlassFromGlassPane() generateGlassFromGlassPane()
generateAnvil() generateAnvil()
generateSherds()
} }
void generateBoots() { void generateBoots() {
@ -308,4 +309,38 @@ class BlastFurnaceRecipesProvider extends TechRebornRecipesProvider {
} }
} }
} }
void generateSherds() {
[
(Items.FISHING_ROD) : Items.ANGLER_POTTERY_SHERD,
(Items.BOW) : Items.ARCHER_POTTERY_SHERD,
(Items.TOTEM_OF_UNDYING) : Items.ARMS_UP_POTTERY_SHERD,
(Items.IRON_SWORD) : Items.BLADE_POTTERY_SHERD,
(Items.GLASS_BOTTLE) : Items.BREWER_POTTERY_SHERD,
(Items.CAMPFIRE) : Items.BURN_POTTERY_SHERD,
(Items.GUNPOWDER) : Items.DANGER_POTTERY_SHERD,
(Items.MAP) : Items.EXPLORER_POTTERY_SHERD,
(Items.EMERALD) : Items.FRIEND_POTTERY_SHERD,
(Items.HEART_OF_THE_SEA) : Items.HEART_POTTERY_SHERD,
// Items.HEARTBREAK_POTTERY_SHERD is special, uses grinder
(Items.BONE) : Items.HOWL_POTTERY_SHERD,
(Items.IRON_PICKAXE) : Items.MINER_POTTERY_SHERD,
(Items.RECOVERY_COMPASS) : Items.MOURNER_POTTERY_SHERD,
(Items.CHEST) : Items.PLENTY_POTTERY_SHERD,
(Items.DIAMOND) : Items.PRIZE_POTTERY_SHERD,
(Items.WHEAT) : Items.SHEAF_POTTERY_SHERD,
(Items.IRON_DOOR) : Items.SHELTER_POTTERY_SHERD,
(Items.SKELETON_SKULL) : Items.SKULL_POTTERY_SHERD,
(Items.SCUTE) : Items.SNORT_POTTERY_SHERD
].each {material, sherd ->
offerBlastFurnaceRecipe {
ingredients stack(Items.CLAY_BALL, 4), material
outputs sherd
power 128
time 100
heat 1000
criterion getCriterionName(material), getCriterionConditions(material)
}
}
}
} }

View file

@ -592,5 +592,11 @@ class GrinderRecipesProvider extends TechRebornRecipesProvider {
ingredients tag("c:basalt") ingredients tag("c:basalt")
outputs stack("techreborn:basalt_dust") outputs stack("techreborn:basalt_dust")
} }
offerGrinderRecipe {
power 2
time 100
ingredients Items.HEART_POTTERY_SHERD
outputs Items.HEARTBREAK_POTTERY_SHERD
}
} }
} }