Skip to content

Commit f133078

Browse files
committed
Add extraText to NEUForgeRecipe
1 parent fb61a43 commit f133078

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/io/github/moulberry/repo/data/NEUForgeRecipe.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
import lombok.Getter;
5+
import org.checkerframework.checker.nullness.qual.Nullable;
56

67
import java.util.Collection;
78
import java.util.Collections;
@@ -16,10 +17,16 @@ public class NEUForgeRecipe implements NEURecipe {
1617
int duration;
1718
@Getter
1819
transient NEUIngredient outputStack;
20+
@Getter
21+
@Nullable
22+
String extraText;
1923

2024

2125
@Override
2226
public void fillItemInfo(NEUItem item) {
27+
if (extraText == null) {
28+
extraText = item.crafttext;
29+
}
2330
if (overrideOutputId == null) {
2431
outputStack = NEUIngredient.fromString(item.skyblockItemId);
2532
} else {

0 commit comments

Comments
 (0)