| 1 | package net.minecraft.data.recipes.packs;
|
| 2 |
|
| 3 | import net.minecraft.data.recipes.BrewingProvider;
|
| 4 | import net.minecraft.data.recipes.RecipeOutput;
|
| 5 | import net.minecraft.world.item.Items;
|
| 6 | import net.minecraft.world.item.alchemy.Potions;
|
| 7 |
|
| 8 | public class VanillaBrewingProvider extends BrewingProvider {
|
| 9 | protected VanillaBrewingProvider(final RecipeOutput recipeOutput) {
|
| 10 | super(recipeOutput);
|
| 11 | }
|
| 12 |
|
| 13 | @Override
|
| 14 | protected void addContainers() {
|
| 15 | this.addContainer(Items.LINGERING_POTION);
|
| 16 | this.addContainer(Items.POTION);
|
| 17 | this.addContainer(Items.SPLASH_POTION);
|
| 18 | }
|
| 19 |
|
| 20 | @Override
|
| 21 | protected void addContainerTransformations() {
|
| 22 | this.addContainerTransformation(Items.POTION, Items.GUNPOWDER, Items.SPLASH_POTION);
|
| 23 | this.addContainerTransformation(Items.SPLASH_POTION, Items.DRAGON_BREATH, Items.LINGERING_POTION);
|
| 24 | }
|
| 25 |
|
| 26 | @Override
|
| 27 | protected void buildMixes() {
|
| 28 | this.buildMix(Potions.WATER, Items.GLOWSTONE_DUST, Potions.THICK);
|
| 29 | this.buildMix(Potions.WATER, Items.REDSTONE, Potions.MUNDANE);
|
| 30 | this.buildMix(Potions.WATER, Items.NETHER_WART, Potions.AWKWARD);
|
| 31 | this.buildStartMix(Items.BREEZE_ROD, Potions.WIND_CHARGED);
|
| 32 | this.buildStartMix(Items.SLIME_BLOCK, Potions.OOZING);
|
| 33 | this.buildStartMix(Items.STONE, Potions.INFESTED);
|
| 34 | this.buildStartMix(Items.COBWEB, Potions.WEAVING);
|
| 35 | this.buildMix(Potions.AWKWARD, Items.GOLDEN_CARROT, Potions.NIGHT_VISION);
|
| 36 | this.buildMix(Potions.NIGHT_VISION, Items.REDSTONE, Potions.LONG_NIGHT_VISION);
|
| 37 | this.buildMix(Potions.NIGHT_VISION, Items.FERMENTED_SPIDER_EYE, Potions.INVISIBILITY);
|
| 38 | this.buildMix(Potions.LONG_NIGHT_VISION, Items.FERMENTED_SPIDER_EYE, Potions.LONG_INVISIBILITY);
|
| 39 | this.buildMix(Potions.INVISIBILITY, Items.REDSTONE, Potions.LONG_INVISIBILITY);
|
| 40 | this.buildStartMix(Items.MAGMA_CREAM, Potions.FIRE_RESISTANCE);
|
| 41 | this.buildMix(Potions.FIRE_RESISTANCE, Items.REDSTONE, Potions.LONG_FIRE_RESISTANCE);
|
| 42 | this.buildStartMix(Items.RABBIT_FOOT, Potions.LEAPING);
|
| 43 | this.buildMix(Potions.LEAPING, Items.REDSTONE, Potions.LONG_LEAPING);
|
| 44 | this.buildMix(Potions.LEAPING, Items.GLOWSTONE_DUST, Potions.STRONG_LEAPING);
|
| 45 | this.buildMix(Potions.LEAPING, Items.FERMENTED_SPIDER_EYE, Potions.SLOWNESS);
|
| 46 | this.buildMix(Potions.LONG_LEAPING, Items.FERMENTED_SPIDER_EYE, Potions.LONG_SLOWNESS);
|
| 47 | this.buildMix(Potions.SLOWNESS, Items.REDSTONE, Potions.LONG_SLOWNESS);
|
| 48 | this.buildMix(Potions.SLOWNESS, Items.GLOWSTONE_DUST, Potions.STRONG_SLOWNESS);
|
| 49 | this.buildMix(Potions.AWKWARD, Items.TURTLE_HELMET, Potions.TURTLE_MASTER);
|
| 50 | this.buildMix(Potions.TURTLE_MASTER, Items.REDSTONE, Potions.LONG_TURTLE_MASTER);
|
| 51 | this.buildMix(Potions.TURTLE_MASTER, Items.GLOWSTONE_DUST, Potions.STRONG_TURTLE_MASTER);
|
| 52 | this.buildMix(Potions.SWIFTNESS, Items.FERMENTED_SPIDER_EYE, Potions.SLOWNESS);
|
| 53 | this.buildMix(Potions.LONG_SWIFTNESS, Items.FERMENTED_SPIDER_EYE, Potions.LONG_SLOWNESS);
|
| 54 | this.buildStartMix(Items.SUGAR, Potions.SWIFTNESS);
|
| 55 | this.buildMix(Potions.SWIFTNESS, Items.REDSTONE, Potions.LONG_SWIFTNESS);
|
| 56 | this.buildMix(Potions.SWIFTNESS, Items.GLOWSTONE_DUST, Potions.STRONG_SWIFTNESS);
|
| 57 | this.buildMix(Potions.AWKWARD, Items.PUFFERFISH, Potions.WATER_BREATHING);
|
| 58 | this.buildMix(Potions.WATER_BREATHING, Items.REDSTONE, Potions.LONG_WATER_BREATHING);
|
| 59 | this.buildStartMix(Items.GLISTERING_MELON_SLICE, Potions.HEALING);
|
| 60 | this.buildMix(Potions.HEALING, Items.GLOWSTONE_DUST, Potions.STRONG_HEALING);
|
| 61 | this.buildMix(Potions.HEALING, Items.FERMENTED_SPIDER_EYE, Potions.HARMING);
|
| 62 | this.buildMix(Potions.STRONG_HEALING, Items.FERMENTED_SPIDER_EYE, Potions.STRONG_HARMING);
|
| 63 | this.buildMix(Potions.HARMING, Items.GLOWSTONE_DUST, Potions.STRONG_HARMING);
|
| 64 | this.buildMix(Potions.POISON, Items.FERMENTED_SPIDER_EYE, Potions.HARMING);
|
| 65 | this.buildMix(Potions.LONG_POISON, Items.FERMENTED_SPIDER_EYE, Potions.HARMING);
|
| 66 | this.buildMix(Potions.STRONG_POISON, Items.FERMENTED_SPIDER_EYE, Potions.STRONG_HARMING);
|
| 67 | this.buildStartMix(Items.SPIDER_EYE, Potions.POISON);
|
| 68 | this.buildMix(Potions.POISON, Items.REDSTONE, Potions.LONG_POISON);
|
| 69 | this.buildMix(Potions.POISON, Items.GLOWSTONE_DUST, Potions.STRONG_POISON);
|
| 70 | this.buildStartMix(Items.GHAST_TEAR, Potions.REGENERATION);
|
| 71 | this.buildMix(Potions.REGENERATION, Items.REDSTONE, Potions.LONG_REGENERATION);
|
| 72 | this.buildMix(Potions.REGENERATION, Items.GLOWSTONE_DUST, Potions.STRONG_REGENERATION);
|
| 73 | this.buildStartMix(Items.BLAZE_POWDER, Potions.STRENGTH);
|
| 74 | this.buildMix(Potions.STRENGTH, Items.REDSTONE, Potions.LONG_STRENGTH);
|
| 75 | this.buildMix(Potions.STRENGTH, Items.GLOWSTONE_DUST, Potions.STRONG_STRENGTH);
|
| 76 | this.buildMix(Potions.WATER, Items.FERMENTED_SPIDER_EYE, Potions.WEAKNESS);
|
| 77 | this.buildMix(Potions.WEAKNESS, Items.REDSTONE, Potions.LONG_WEAKNESS);
|
| 78 | this.buildMix(Potions.AWKWARD, Items.PHANTOM_MEMBRANE, Potions.SLOW_FALLING);
|
| 79 | this.buildMix(Potions.SLOW_FALLING, Items.REDSTONE, Potions.LONG_SLOW_FALLING);
|
| 80 | }
|
| 81 | }
|
| 82 |
|