Skip to content

Commit

Permalink
Autocrafter V3 was improved. Now it accepts different item variations…
Browse files Browse the repository at this point in the history
… fore some crafting recipes (e.g. different wood plank types for pistons). Now the plot wheel closes after you choose a command. /msg tabs has been improved. Now the chat filters for the player tabs include payments and TPA requests.
  • Loading branch information
tmbRandy committed Jan 15, 2025
1 parent 791362d commit 3f91791
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ public static String getVersionizedNbtStringFor(ProtectionItems item) {
case BIRTH_SWORD -> "[0:{lvl:21s,id:16s},1:{lvl:2s,id:20s},2:{lvl:5s,id:61s},3:{lvl:21s,id:21s}]";
case SOS -> "[0:{lvl:-6s,id:18s},1:{lvl:-6s,id:21s},2:{lvl:-6s,id:7s}]";
case BIRTH_BOW -> "[0:{lvl:22s,id:48s},1:{lvl:4s,id:49s},2:{lvl:1s,id:51s},3:{lvl:4s,id:19s},4:{lvl:22s,id:21s}]";
default -> "";
};
case "1.12.2" -> switch (item) {
case BONZE_SWORD -> "[{lvl:21s,id:16s},{lvl:3s,id:34s},{lvl:2s,id:20s},{lvl:5s,id:61s},{lvl:21s,id:21s}]";
case BIRTH_SWORD -> "[{lvl:21s,id:16s},{lvl:2s,id:20s},{lvl:5s,id:61s},{lvl:21s,id:21s}]";
case SOS -> "[{lvl:-6s,id:18s},{lvl:-6s,id:21s},{lvl:-6s,id:7s}]";
case BIRTH_BOW -> "[{lvl:22s,id:48s},{lvl:4s,id:49s},{lvl:1s,id:51s},{lvl:4s,id:19s},{lvl:22s,id:21s}]";
default -> "";
};
default -> "";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ public GameInfoWidget(HudWidgetCategory category) {
public void load(GameInfoWidgetConfig config) {
super.load(config);

config.showBank.addChangeListener(() -> {
bankLine.setState(config.getShowBank().get() ? State.VISIBLE : State.HIDDEN);
});
config.showBank.addChangeListener(() -> bankLine.setState(config.getShowBank().get() ? State.VISIBLE : State.HIDDEN));

moneyLine = createLine(Component.icon(moneyIcon), 0, TextLine::new);
bankLine = createLine(Component.icon(bankIcon), 0, TextLine::new);
Expand Down

0 comments on commit 3f91791

Please sign in to comment.