Skip to content

Commit 554742a

Browse files
committed
feat: combat sacks
1 parent 07463f6 commit 554742a

3 files changed

Lines changed: 233 additions & 0 deletions

File tree

commons/src/main/java/net/swofty/commons/skyblock/item/ItemType.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,11 @@ public enum ItemType {
388388
LARGE_FORAGING_SACK(Material.PLAYER_HEAD, Rarity.EPIC),
389389
LARGE_ENCHANTED_FORAGING_SACK(Material.PLAYER_HEAD, Rarity.EPIC),
390390

391+
SMALL_COMBAT_SACK(Material.PLAYER_HEAD, Rarity.UNCOMMON),
392+
MEDIUM_COMBAT_SACK(Material.PLAYER_HEAD, Rarity.RARE),
393+
LARGE_COMBAT_SACK(Material.PLAYER_HEAD, Rarity.EPIC),
394+
LARGE_ENCHANTED_COMBAT_SACK(Material.PLAYER_HEAD, Rarity.EPIC),
395+
391396
/**
392397
* Runes
393398
*/

configuration/skyblock/collections/combat.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@ collections:
491491
- type: XP
492492
data:
493493
xp: 4
494+
- type: RECIPE_UNLOCK
495+
data:
496+
unlockedItemType: SMALL_COMBAT_SACK
494497
- amount: 5000
495498
rewards:
496499
- type: XP
@@ -504,6 +507,9 @@ collections:
504507
- type: XP
505508
data:
506509
xp: 4
510+
- type: RECIPE_UNLOCK
511+
data:
512+
unlockedItemType: MEDIUM_COMBAT_SACK
507513
- amount: 25000
508514
rewards:
509515
- type: XP
@@ -514,11 +520,17 @@ collections:
514520
- type: XP
515521
data:
516522
xp: 4
523+
- type: RECIPE_UNLOCK
524+
data:
525+
unlockedItemType: LARGE_COMBAT_SACK
517526
- amount: 100000
518527
rewards:
519528
- type: XP
520529
data:
521530
xp: 4
531+
- type: RECIPE_UNLOCK
532+
data:
533+
unlockedItemType: LARGE_ENCHANTED_COMBAT_SACK
522534
- itemType: SLIME_BALL
523535
rewards:
524536
- amount: 50
Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
items:
2+
- id: SMALL_COMBAT_SACK
3+
rarity: COMMON
4+
lore:
5+
- '§7Item pickups go directly into your'
6+
- '§7sacks.'
7+
- ''
8+
- '§7Items: §aBlaze Rod§7, §aBone§7, §aChili Pepper§7, §aEnder Pearl§7, §aGhast'
9+
- '§aTear§7, §aGunpowder§7, §aMagma Cream§7, §aRotten Flesh§7, §aSlimeball§7,'
10+
- '§aSpider Eye§7, §aString'
11+
- ''
12+
- '§7Capacity: §e2,240 per item'
13+
- '§8Sacks sum their capacity.'
14+
- ''
15+
- '§eRight Click to open sack!'
16+
components:
17+
- id: SKULL_HEAD
18+
texture: 9b8f452c9d6b6254b5478569a60b0b6fb031c7ad2f06ea3dacf2ce874ca7083
19+
- id: SACK
20+
valid_items:
21+
- BLAZE_ROD
22+
- BONE
23+
- CHILI_PEPPER
24+
- ENDER_PEARL
25+
- GHAST_TEAR
26+
- GUNPOWDER
27+
- MAGMA_CREAM
28+
- ROTTEN_FLESH
29+
- SLIME_BALL
30+
- SPIDER_EYE
31+
- STRING
32+
max_capacity: 2240
33+
- id: DEFAULT_CRAFTABLE
34+
default-craftable: false
35+
recipes:
36+
- type: SHAPED
37+
recipe-type: MINING
38+
pattern:
39+
- AAA
40+
- ABA
41+
- AAA
42+
ingredients:
43+
A:
44+
type: ENCHANTED_ROTTEN_FLESH
45+
amount: 2
46+
B:
47+
type: ENCHANTED_LEATHER
48+
amount: 1
49+
result:
50+
type: SMALL_COMBAT_SACK
51+
amount: 1
52+
53+
- id: MEDIUM_COMBAT_SACK
54+
rarity: RARE
55+
lore:
56+
- '§7Item pickups go directly into your'
57+
- '§7sacks.'
58+
- ''
59+
- '§7Items: §aBlaze Rod§7, §aBone§7, §aChili Pepper§7, §aEnder Pearl§7, §aGhast'
60+
- '§aTear§7, §aGunpowder§7, §aMagma Cream§7, §aRotten Flesh§7, §aSlimeball§7,'
61+
- '§aSpider Eye§7, §aString'
62+
- ''
63+
- '§7Capacity: §e6,720 per item'
64+
- '§8Sacks sum their capacity.'
65+
- ''
66+
- '§eRight Click to open sack!'
67+
components:
68+
- id: SKULL_HEAD
69+
texture: e4b2b79a4e060abb00aa88e7c4cd5c0039f5e5cad2d45c1cff5676cb83a1815e
70+
- id: SACK
71+
valid_items:
72+
- BLAZE_ROD
73+
- BONE
74+
- CHILI_PEPPER
75+
- ENDER_PEARL
76+
- GHAST_TEAR
77+
- GUNPOWDER
78+
- MAGMA_CREAM
79+
- ROTTEN_FLESH
80+
- SLIME_BALL
81+
- SPIDER_EYE
82+
- STRING
83+
max_capacity: 6720
84+
- id: DEFAULT_CRAFTABLE
85+
default-craftable: false
86+
recipes:
87+
- type: SHAPED
88+
recipe-type: MINING
89+
pattern:
90+
- AAA
91+
- ABA
92+
- AAA
93+
ingredients:
94+
A:
95+
type: ENCHANTED_ROTTEN_FLESH
96+
amount: 4
97+
B:
98+
type: SMALL_COMBAT_SACK
99+
amount: 1
100+
result:
101+
type: MEDIUM_COMBAT_SACK
102+
amount: 1
103+
104+
- id: LARGE_COMBAT_SACK
105+
rarity: EPIC
106+
lore:
107+
- '§7Item pickups go directly into your'
108+
- '§7sacks.'
109+
- ''
110+
- '§7Items: §aBlaze Rod§7, §aBone§7, §aChili Pepper§7, §aEnder Pearl§7, §aGhast'
111+
- '§aTear§7, §aGunpowder§7, §aMagma Cream§7, §aRotten Flesh§7, §aSlimeball§7,'
112+
- '§aSpider Eye§7, §aString'
113+
- ''
114+
- '§7Capacity: §e20,160 per item'
115+
- '§8Sacks sum their capacity.'
116+
- ''
117+
- '§eRight Click to open sack!'
118+
components:
119+
- id: SKULL_HEAD
120+
texture: 1c13c4774c82c07071e6d1408717b1e3eac56186042a5803fc174452e32a254a
121+
- id: SACK
122+
valid_items:
123+
- BLAZE_ROD
124+
- BONE
125+
- CHILI_PEPPER
126+
- ENDER_PEARL
127+
- GHAST_TEAR
128+
- GUNPOWDER
129+
- MAGMA_CREAM
130+
- ROTTEN_FLESH
131+
- SLIME_BALL
132+
- SPIDER_EYE
133+
- STRING
134+
max_capacity: 20160
135+
- id: DEFAULT_CRAFTABLE
136+
default-craftable: false
137+
recipes:
138+
- type: SHAPED
139+
recipe-type: MINING
140+
pattern:
141+
- AAA
142+
- ABA
143+
- AAA
144+
ingredients:
145+
A:
146+
type: ENCHANTED_ROTTEN_FLESH
147+
amount: 8
148+
B:
149+
type: MEDIUM_COMBAT_SACK
150+
amount: 1
151+
result:
152+
type: LARGE_COMBAT_SACK
153+
amount: 1
154+
155+
- id: LARGE_ENCHANTED_COMBAT_SACK
156+
rarity: EPIC
157+
lore:
158+
- '§7Item pickups go directly into your'
159+
- '§7sacks.'
160+
- ''
161+
- '§7This sack can contain all enchanted versions'
162+
- '§7of these materials:'
163+
- '§aBlaze Rod§7, §aBone§7, §aChili Pepper§7, §aEnder Pearl§7,'
164+
- '§aGhast Tear§7, §aGunpowder§7, §aMagma Cream§7, §aRotten'
165+
- '§aFlesh§7, §aSlimeball§7, §aSpider Eye§7, §aString'
166+
- ''
167+
- '§7Capacity: §e20,160 per item'
168+
- '§8Sacks sum their capacity.'
169+
- ''
170+
- '§eRight Click to open sack!'
171+
components:
172+
- id: SKULL_HEAD
173+
texture: c2a3420697256517d5361b3463019647c0689725b3489f9dd24a22ddd40bd41f
174+
- id: SACK
175+
valid_items:
176+
- ABSOLUTE_ENDER_PEARL
177+
- ENCHANTED_BLAZE_POWDER
178+
- ENCHANTED_BLAZE_ROD
179+
- ENCHANTED_BONE
180+
- ENCHANTED_BONE_BLOCK
181+
- ENCHANTED_ENDER_PEARL
182+
- ENCHANTED_EYE_OF_ENDER
183+
- ENCHANTED_GHAST_TEAR
184+
- ENCHANTED_GUNPOWDER
185+
- ENCHANTED_MAGMA_CREAM
186+
- ENCHANTED_ROTTEN_FLESH
187+
- ENCHANTED_SLIME_BLOCK
188+
- ENCHANTED_SLIME_BALL
189+
- ENCHANTED_SPIDER_EYE
190+
- ENCHANTED_STRING
191+
- SILVER_FANG
192+
- STUFFED_CHILI_PEPPER
193+
- WHIPPED_MAGMA_CREAM
194+
max_capacity: 20160
195+
- id: DEFAULT_CRAFTABLE
196+
default-craftable: false
197+
recipes:
198+
- type: SHAPED
199+
recipe-type: MINING
200+
pattern:
201+
- ABA
202+
- ACA
203+
- AAA
204+
ingredients:
205+
A:
206+
type: ENCHANTED_ROTTEN_FLESH
207+
amount: 16
208+
B:
209+
type: ENCHANTED_STRING
210+
amount: 16
211+
C:
212+
type: ENCHANTED_LEATHER
213+
amount: 12
214+
result:
215+
type: LARGE_ENCHANTED_COMBAT_SACK
216+
amount: 1

0 commit comments

Comments
 (0)