mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-08 12:34:46 +00:00
1 parent
41c2b96c88
commit
514af5669c
1 file changed
+4
-8
@@ -88,23 +88,20 @@ public class PositionedStack implements Cloneable {
|
||||
return this.acceptsLabel;
|
||||
}
|
||||
|
||||
public PositionedStack setBadges(List<Badge> badges) {
|
||||
public void setBadges(List<Badge> badges) {
|
||||
this.badges = badges;
|
||||
return this;
|
||||
}
|
||||
|
||||
public List<Badge> getBadges() {
|
||||
return this.badges;
|
||||
}
|
||||
|
||||
public PositionedStack setTooltip(List<String> tooltip) {
|
||||
public void setTooltip(List<String> tooltip) {
|
||||
this.tooltip = tooltip == null ? null : item -> tooltip;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PositionedStack setTooltipProvider(Function<ItemStack, List<String>> provider) {
|
||||
public void setTooltipProvider(Function<ItemStack, List<String>> provider) {
|
||||
this.tooltip = provider;
|
||||
return this;
|
||||
}
|
||||
|
||||
public List<String> getTooltip() {
|
||||
@@ -115,9 +112,8 @@ public class PositionedStack implements Cloneable {
|
||||
return this.chance;
|
||||
}
|
||||
|
||||
public PositionedStack setChance(int chance) {
|
||||
public void setChance(int chance) {
|
||||
this.chance = chance;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PositionedStack copy() {
|
||||
|
||||
Reference in new issue
Block a user