diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-26 20:51:01 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-26 20:51:01 +0800 |
| commit | 431cfdf77ba306f5e147c7b2d70e15c4b3c729a6 (patch) | |
| tree | 4528e5482bc1360e02df0e766c254477288ecdbf /src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java | |
| parent | 281a472337c9510f2c13d5eef61a3889b1794ea0 (diff) | |
| download | RoughlyEnoughItems-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/gui/widget/DetailedButtonWidget.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java index b803ff0a9..12bd6b9e6 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java @@ -5,7 +5,7 @@ package me.shedaniel.rei.gui.widget; -import net.minecraft.network.chat.Component; +import net.minecraft.text.Text; import java.awt.*; @@ -13,7 +13,7 @@ public class DetailedButtonWidget extends ButtonWidget { private DetailedButtonWidget.PressAction pressAction; - public DetailedButtonWidget(Rectangle rectangle, Component text, PressAction pressAction) { + public DetailedButtonWidget(Rectangle rectangle, Text text, PressAction pressAction) { super(rectangle, text); this.pressAction = pressAction; } @@ -28,7 +28,7 @@ public class DetailedButtonWidget extends ButtonWidget { this.pressAction = pressAction; } - public DetailedButtonWidget(int x, int y, int width, int height, Component text, PressAction pressAction) { + public DetailedButtonWidget(int x, int y, int width, int height, Text text, PressAction pressAction) { super(x, y, width, height, text); this.pressAction = pressAction; } |
