diff options
| author | Daniel She <shekwancheung0528@gmail.com> | 2019-05-12 18:10:21 +0800 |
|---|---|---|
| committer | Daniel She <shekwancheung0528@gmail.com> | 2019-05-12 18:10:21 +0800 |
| commit | d979cb8b465c73eabca4e32be2ffa26648471fee (patch) | |
| tree | 8aac9df58b40052b6b19c0c3ac7da66076dc5b1c /src/main/java/me/shedaniel/rei/gui/widget/DetailedButtonWidget.java | |
| parent | 54f120195a63dbc145b74485e410abcd4c5acdf4 (diff) | |
| parent | a98d9191f1a97925a8a3e2e23c0a07867540a93a (diff) | |
| download | RoughlyEnoughItems-d979cb8b465c73eabca4e32be2ffa26648471fee.tar.gz RoughlyEnoughItems-d979cb8b465c73eabca4e32be2ffa26648471fee.tar.bz2 RoughlyEnoughItems-d979cb8b465c73eabca4e32be2ffa26648471fee.zip | |
Merge branch '1.14-dev' into 1.14
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 02f8cfbd1..b803ff0a9 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.text.TextComponent; +import net.minecraft.network.chat.Component; import java.awt.*; @@ -13,7 +13,7 @@ public class DetailedButtonWidget extends ButtonWidget { private DetailedButtonWidget.PressAction pressAction; - public DetailedButtonWidget(Rectangle rectangle, TextComponent text, PressAction pressAction) { + public DetailedButtonWidget(Rectangle rectangle, Component 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, TextComponent text, PressAction pressAction) { + public DetailedButtonWidget(int x, int y, int width, int height, Component text, PressAction pressAction) { super(x, y, width, height, text); this.pressAction = pressAction; } |
