David Dörner

Results 4 comments of David Dörner

Sure! `new AnvilGUI.Builder() .onClickAsync((slot, stateSnapshot) -> CompletableFuture.supplyAsync(() -> { if (slot == AnvilGUI.Slot.OUTPUT) { bukkitPlayer.removeMetaData("selling"); bukkitPlayer.addEco("DEFAULT", price, "ITEM-SELL"); ScoreboardService.getInstance().updateMoney(bukkitPlayer); bukkitPlayer.sendLangMessage("cb_messages", "cb.sell.sold", new Replacement("%DOLLAR%", "" + price)); bukkitPlayer.playSound(Sound.ENTITY_PLAYER_LEVELUP, 1, 5); }...

bump Server: 1.20.4 Client: 1.20.4 & 1.21

This is the current code. Its possible to shift-left click the items. Then you receive them in the inventory. This is the only implementation of anvil gui. There is not...