aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-07-18 02:14:24 +0800
committershedaniel <daniel@shedaniel.me>2020-07-18 02:14:24 +0800
commitd57067c1e6cd6fb400d43cfc4149515df1fb8435 (patch)
tree8b69c0f6fb4ee72866a0af029c1aa07bf101cd00 /src/main
parent687e6503f44b504db141ed777588c2bdfa2184ca (diff)
downloadRoughlyEnoughItems-d57067c1e6cd6fb400d43cfc4149515df1fb8435.tar.gz
RoughlyEnoughItems-d57067c1e6cd6fb400d43cfc4149515df1fb8435.tar.bz2
RoughlyEnoughItems-d57067c1e6cd6fb400d43cfc4149515df1fb8435.zip
Add output to information
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationCategory.java2
-rw-r--r--src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationDisplay.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationCategory.java b/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationCategory.java
index ecdd3587f..aa35c1343 100644
--- a/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationCategory.java
+++ b/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationCategory.java
@@ -115,7 +115,7 @@ public class DefaultInformationCategory implements RecipeCategory<DefaultInforma
public List<Widget> setupDisplay(DefaultInformationDisplay recipeDisplay, me.shedaniel.math.Rectangle bounds) {
List<Widget> widgets = Lists.newArrayList();
widgets.add(Widgets.createLabel(new Point(bounds.getCenterX(), bounds.y + 3), recipeDisplay.getName()).noShadow().color(0xFF404040, 0xFFBBBBBB));
- widgets.add(Widgets.createSlot(new Point(bounds.getCenterX() - 8, bounds.y + 15)).entries(recipeDisplay.getEntryStacks()).markInput());
+ widgets.add(Widgets.createSlot(new Point(bounds.getCenterX() - 8, bounds.y + 15)).entries(recipeDisplay.getEntryStacks()));
Rectangle rectangle = new Rectangle(bounds.getCenterX() - (bounds.width / 2), bounds.y + 35, bounds.width, bounds.height - 40);
widgets.add(Widgets.createSlotBase(rectangle));
widgets.add(new ScrollableTextWidget(rectangle, recipeDisplay.getTexts()));
diff --git a/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationDisplay.java b/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationDisplay.java
index f7acd2718..5f9a6738a 100644
--- a/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationDisplay.java
+++ b/src/main/java/me/shedaniel/rei/plugin/information/DefaultInformationDisplay.java
@@ -64,7 +64,7 @@ public class DefaultInformationDisplay implements RecipeDisplay {
@Override
public List<EntryStack> getOutputEntries() {
- return Collections.emptyList();
+ return entryStacks;
}
public DefaultInformationDisplay line(Text line) {