aboutsummaryrefslogtreecommitdiff
path: root/forge/src/main/java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-04-13 23:23:59 +0800
committershedaniel <daniel@shedaniel.me>2022-04-13 23:43:03 +0800
commitf0d7bae62780a85d026cd4cce57563361660947d (patch)
treeafa58eed148c1d917c78447d6f18a9f3d48e58b0 /forge/src/main/java
parent6bc798092a5833d771d07743429750c8afeb0ebe (diff)
downloadRoughlyEnoughItems-f0d7bae62780a85d026cd4cce57563361660947d.tar.gz
RoughlyEnoughItems-f0d7bae62780a85d026cd4cce57563361660947d.tar.bz2
RoughlyEnoughItems-f0d7bae62780a85d026cd4cce57563361660947d.zip
Add internal loggers
Diffstat (limited to 'forge/src/main/java')
-rw-r--r--forge/src/main/java/me/shedaniel/rei/plugin/client/forge/DefaultClientPluginImpl.java8
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 3c7d805d4..29a358e17 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
@@ -57,9 +57,9 @@ public class DefaultClientPluginImpl {
Set<Potion> potions = Sets.newLinkedHashSet();
for (Ingredient container : PotionBrewing.ALLOWED_CONTAINERS) {
for (PotionBrewing.Mix<Potion> mix : PotionBrewing.POTION_MIXES) {
- IRegistryDelegate<Potion> from = mix.from;
+ IRegistryDelegate<Potion> from = mix.a;
Ingredient ingredient = mix.ingredient;
- IRegistryDelegate<Potion> to = mix.to;
+ IRegistryDelegate<Potion> to = mix.c;
Ingredient base = Ingredient.of(Arrays.stream(container.getItems())
.map(ItemStack::copy)
.map(stack -> PotionUtils.setPotion(stack, from.get())));
@@ -74,9 +74,9 @@ public class DefaultClientPluginImpl {
}
for (Potion potion : potions) {
for (PotionBrewing.Mix<Item> mix : PotionBrewing.CONTAINER_MIXES) {
- IRegistryDelegate<Item> from = mix.from;
+ IRegistryDelegate<Item> from = mix.a;
Ingredient ingredient = mix.ingredient;
- IRegistryDelegate<Item> to = mix.to;
+ IRegistryDelegate<Item> to = mix.c;
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);