File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed
src/main/java/com/github/elic0de/thejpspit Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public class ShopMenu {
2020 private static final String [] MENU_LAYOUT = {
2121 " " ,
2222 " SCBofLc " ,
23- " tvue " ,
23+ " tvueG " ,
2424 " "
2525 };
2626
Original file line number Diff line number Diff line change @@ -61,5 +61,6 @@ public static void createItems() {
6161 register (new ItemUltimateSword ());
6262 register (new ItemLavaBucket ());
6363 register (new ItemEnderPearl ());
64+ register (new ItemEnchantedGoldenApple ());
6465 }
6566}
Original file line number Diff line number Diff line change 1+ package com .github .elic0de .thejpspit .item .items ;
2+
3+ import com .github .elic0de .thejpspit .item .PitItemEntry ;
4+ import org .bukkit .Material ;
5+ import org .bukkit .inventory .ItemStack ;
6+
7+ public class ItemEnchantedGoldenApple extends PitItemEntry {
8+
9+ @ Override
10+ public String getId () {
11+ return "enchanted_golden_apple" ;
12+ }
13+
14+ @ Override
15+ public ItemStack getRawItemStack () {
16+ return new ItemStack (Material .ENCHANTED_GOLDEN_APPLE );
17+ }
18+
19+ @ Override
20+ public int getPrice () {
21+ return 200 ;
22+ }
23+
24+ @ Override
25+ public int getRequiredLevel () {
26+ return 0 ;
27+ }
28+
29+ @ Override
30+ public String getName () {
31+ return "上位金りんご" ;
32+ }
33+
34+ @ Override
35+ public char getSlotChar () {
36+ return 'G' ;
37+ }
38+ }
You can’t perform that action at this time.
0 commit comments