diff options
| author | shedaniel <daniel@shedaniel.me> | 2024-09-23 15:49:10 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2024-09-23 16:00:12 +0800 |
| commit | 2a8a1f4a6491daf210bb0bc18abee4530dc9aa8a (patch) | |
| tree | a95972e5e9e11f9f95b7bff6bab72b0ab98e2271 /forge/src | |
| parent | 50e024910e223f41e2e826c193c02ec85a9c256b (diff) | |
| download | RoughlyEnoughItems-2a8a1f4a6491daf210bb0bc18abee4530dc9aa8a.tar.gz RoughlyEnoughItems-2a8a1f4a6491daf210bb0bc18abee4530dc9aa8a.tar.bz2 RoughlyEnoughItems-2a8a1f4a6491daf210bb0bc18abee4530dc9aa8a.zip | |
Update Gradle
Diffstat (limited to 'forge/src')
| -rw-r--r-- | forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java b/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java index 64ce38b62..8c389d3e8 100644 --- a/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java +++ b/forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java @@ -59,9 +59,9 @@ public class DefaultClientPluginImpl extends DefaultClientPlugin { Set<Potion> potions = Sets.newLinkedHashSet(); for (Ingredient container : PotionBrewing.ALLOWED_CONTAINERS) { for (PotionBrewing.Mix<Potion> mix : PotionBrewing.POTION_MIXES) { - Holder.Reference<Potion> from = mix.f_43532_; + Holder.Reference<Potion> from = mix.from; Ingredient ingredient = mix.ingredient; - Holder.Reference<Potion> to = mix.f_43534_; + Holder.Reference<Potion> to = mix.to; Ingredient base = Ingredient.of(Arrays.stream(container.getItems()) .map(ItemStack::copy) .map(stack -> PotionUtils.setPotion(stack, from.get()))); @@ -76,9 +76,9 @@ public class DefaultClientPluginImpl extends DefaultClientPlugin { } for (Potion potion : potions) { for (PotionBrewing.Mix<Item> mix : PotionBrewing.CONTAINER_MIXES) { - Holder.Reference<Item> from = mix.f_43532_; + Holder.Reference<Item> from = mix.from; Ingredient ingredient = mix.ingredient; - Holder.Reference<Item> to = mix.f_43534_; + Holder.Reference<Item> to = mix.to; Ingredient base = Ingredient.of(PotionUtils.setPotion(new ItemStack(from.get()), potion)); ItemStack output = PotionUtils.setPotion(new ItemStack(to.get()), potion); clientPlugin.registerBrewingRecipe(base, ingredient, output); |
