aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/plugin/brewing
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-06-26 20:51:01 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-06-26 20:51:01 +0800
commit431cfdf77ba306f5e147c7b2d70e15c4b3c729a6 (patch)
tree4528e5482bc1360e02df0e766c254477288ecdbf /src/main/java/me/shedaniel/rei/plugin/brewing
parent281a472337c9510f2c13d5eef61a3889b1794ea0 (diff)
downloadRoughlyEnoughItems-431cfdf77ba306f5e147c7b2d70e15c4b3c729a6.tar.gz
RoughlyEnoughItems-431cfdf77ba306f5e147c7b2d70e15c4b3c729a6.tar.bz2
RoughlyEnoughItems-431cfdf77ba306f5e147c7b2d70e15c4b3c729a6.zip
Update mappings to 1.14.3
Diffstat (limited to 'src/main/java/me/shedaniel/rei/plugin/brewing')
-rw-r--r--src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java
index 9d77ff2b0..bb291f9bf 100644
--- a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java
+++ b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java
@@ -12,13 +12,13 @@ import me.shedaniel.rei.gui.widget.RecipeBaseWidget;
import me.shedaniel.rei.gui.widget.SlotWidget;
import me.shedaniel.rei.gui.widget.Widget;
import me.shedaniel.rei.plugin.DefaultPlugin;
-import net.minecraft.ChatFormat;
import net.minecraft.block.Blocks;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.GuiLighting;
import net.minecraft.client.resource.language.I18n;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
+import net.minecraft.util.Formatting;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.MathHelper;
@@ -66,31 +66,31 @@ public class DefaultBrewingCategory implements RecipeCategory<DefaultBrewingDisp
widgets.add(new SlotWidget(startPoint.x + 63, startPoint.y + 1, recipeDisplay.getInput().get(0), false, true, true) {
@Override
protected List<String> getExtraToolTips(ItemStack stack) {
- return Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("category.rei.brewing.input"));
+ return Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("category.rei.brewing.input"));
}
});
widgets.add(new SlotWidget(startPoint.x + 40, startPoint.y + 1, recipeDisplay.getInput().get(1), false, true, true) {
@Override
protected List<String> getExtraToolTips(ItemStack stack) {
- return Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("category.rei.brewing.reactant"));
+ return Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("category.rei.brewing.reactant"));
}
});
widgets.add(new SlotWidget(startPoint.x + 40, startPoint.y + 35, recipeDisplay.getOutput(0), false, true, true) {
@Override
protected List<String> getExtraToolTips(ItemStack stack) {
- return Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
+ return Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
}
});
widgets.add(new SlotWidget(startPoint.x + 63, startPoint.y + 42, recipeDisplay.getOutput(1), false, true, true) {
@Override
protected List<String> getExtraToolTips(ItemStack stack) {
- return Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
+ return Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
}
});
widgets.add(new SlotWidget(startPoint.x + 86, startPoint.y + 35, recipeDisplay.getOutput(2), false, true, true) {
@Override
protected List<String> getExtraToolTips(ItemStack stack) {
- return Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
+ return Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("category.rei.brewing.result"));
}
});
return widgets;