更新于:

4.7 购买和回收分开的增量购买菜单

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
title: 'Select Amount'

layout:
- '000000000'
- '012304560'
- '0000B0000'
- '000000000'
- '000D0E000'
- '00000000A'

amount-items:
1:
display-item:
material: GREEN_WOOL
name: '&a+1'
lore:
- '&7Click to add 1 amount.'
add-amount: 1
2:
display-item:
material: GREEN_WOOL
name: '&a+10'
lore:
- '&7Click to add 10 amount.'
add-amount: 10
3:
display-item:
material: GREEN_WOOL
name: '&a+32'
lore:
- '&7Click to add 32 amount.'
add-amount: 32
4:
display-item:
material: RED_WOOL
name: '&c-1'
lore:
- '&7Click to remove 1 amount.'
add-amount: -1
5:
display-item:
material: RED_WOOL
name: '&c-10'
lore:
- '&7Click to remove 10 amount.'
add-amount: -10
6:
display-item:
material: RED_WOOL
name: '&c-32'
lore:
- '&7Click to remove 32 amount.'
add-amount: -32

display-item: B

confirm-items:
D:
display-item:
material: PAPER
name: '&aConfirm'
lore:
- '&7Click to buy!'
click-action: buy
E:
display-item:
material: PAPER
name: '&aConfirm'
lore:
- '&7Click to sell!'
click-action: sell

buttons:
A:
display-item:
material: ARROW
name: '&cBack'
lore:
- '&7Click to back shop!'
actions:
- 'shop_menu: {shop}'