mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-03 17:37:59 +01:00
Added recipe for getting pegasus feathers from gryphon feathers
This commit is contained in:
parent
6b3b5c7c86
commit
74a11086d1
2 changed files with 16 additions and 7 deletions
|
@ -63,6 +63,7 @@ public class UAdvancementsProvider extends FabricAdvancementProvider {
|
|||
p.child(Items.CHIPPED_ANVIL).hidden().frame(AdvancementFrame.CHALLENGE).criterion("ding_sun", dingCelestia(Set.of(), Set.of(Race.BAT))).build(consumer, "blasphemy");
|
||||
p.child(Items.CHIPPED_ANVIL).hidden().frame(AdvancementFrame.CHALLENGE).criterion("ding_sun", dingCelestia(Set.of(Race.BAT), Set.of())).build(consumer, "sweet_sweet_revenge");
|
||||
});
|
||||
root.child(UItems.BAITED_FISHING_ROD).showToast().announce().criterion("has_baited_fishing_rod", hasItems(UItems.BAITED_FISHING_ROD)).build(consumer, "bait");
|
||||
root.child(UItems.OATS).showToast().announce().criterion("has_oats", hasItems(UItems.OATS)).build(consumer, "oats_so_easy");
|
||||
root.child(Items.HAY_BLOCK).showToast().announce().criterion("eat_hay", ConsumeItemCriterion.Conditions.item(Items.HAY_BLOCK)).build(consumer, "what_the_hay");
|
||||
root.child(UItems.COPPER_HORSE_SHOE).showToast().announce().criterion("has_horseshoe", hasItems(UTags.HORSE_SHOES)).build(consumer, "blacksmith").children(p -> {
|
||||
|
|
|
@ -76,13 +76,6 @@ public class URecipeProvider extends FabricRecipeProvider {
|
|||
.input(ConventionalItemTags.GLASS_BLOCKS)
|
||||
.input(UItems.SUNGLASSES).criterion("has_broken_sunglasses", conditionsFromItem(UItems.BROKEN_SUNGLASSES))
|
||||
.offerTo(exporter, convertBetween(UItems.SUNGLASSES, UItems.BROKEN_SUNGLASSES));
|
||||
|
||||
// fishing
|
||||
ShapelessRecipeJsonBuilder.create(RecipeCategory.TOOLS, UItems.BAITED_FISHING_ROD)
|
||||
.input(Items.FISHING_ROD).criterion(hasItem(Items.FISHING_ROD), conditionsFromItem(Items.FISHING_ROD))
|
||||
.input(UItems.WHEAT_WORMS)
|
||||
.group("fishing_rod")
|
||||
.offerTo(exporter);
|
||||
}
|
||||
|
||||
private void generateVanillaRecipeExtensions(Consumer<RecipeJsonProvider> exporter) {
|
||||
|
@ -469,6 +462,12 @@ public class URecipeProvider extends FabricRecipeProvider {
|
|||
|
||||
// worms
|
||||
offerReversibleCompactingRecipes(exporter, RecipeCategory.BUILDING_BLOCKS, UItems.WHEAT_WORMS, RecipeCategory.BUILDING_BLOCKS, UBlocks.WORM_BLOCK);
|
||||
// fishing
|
||||
ShapelessRecipeJsonBuilder.create(RecipeCategory.TOOLS, UItems.BAITED_FISHING_ROD)
|
||||
.input(Items.FISHING_ROD).criterion(hasItem(Items.FISHING_ROD), conditionsFromItem(Items.FISHING_ROD))
|
||||
.input(UItems.WHEAT_WORMS)
|
||||
.group("fishing_rod")
|
||||
.offerTo(exporter);
|
||||
|
||||
// utility
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, Items.DIRT)
|
||||
|
@ -480,6 +479,15 @@ public class URecipeProvider extends FabricRecipeProvider {
|
|||
|
||||
offerShapelessRecipe(exporter, Items.BONE_MEAL, UTags.SHELLS, "bonemeal", 3);
|
||||
|
||||
// pegasus feathers for non pegasi
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, UItems.PEGASUS_FEATHER)
|
||||
.input('*', Items.GHAST_TEAR).criterion("has_ghast_tear", conditionsFromItem(Items.GHAST_TEAR))
|
||||
.input('#', UItems.GRYPHON_FEATHER).criterion("has_feather", conditionsFromItem(UItems.GRYPHON_FEATHER))
|
||||
.pattern("***")
|
||||
.pattern("*#*")
|
||||
.pattern("***")
|
||||
.offerTo(exporter);
|
||||
|
||||
offer2x2CompactingRecipe(exporter, RecipeCategory.BUILDING_BLOCKS, Items.COBBLESTONE, UItems.ROCK);
|
||||
offerReversibleCompactingRecipesWithReverseRecipeGroup(exporter, RecipeCategory.MISC, UItems.PEBBLES, RecipeCategory.BUILDING_BLOCKS, Blocks.GRAVEL, convertBetween(UItems.PEBBLES, Blocks.GRAVEL), "pebbles");
|
||||
offerShapelessRecipe(exporter, UItems.PEBBLES, Blocks.SUSPICIOUS_GRAVEL, "pebbles", 9);
|
||||
|
|
Loading…
Reference in a new issue