From eb156b9764bfc6ddad553feb120bbb52a32db6d8 Mon Sep 17 00:00:00 2001 From: 08draven Date: Sun, 17 Nov 2024 23:22:28 -0500 Subject: [PATCH] sugar --- app/bin/main/net/xuyezo/main/Main.class | Bin 3607 -> 3946 bytes app/src/main/java/net/xuyezo/main/Main.java | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/app/bin/main/net/xuyezo/main/Main.class b/app/bin/main/net/xuyezo/main/Main.class index b363b9f392f693a9f0907da205ecab734ee9f2b6..f9a83e784a770564418d7ad37e823de1912bdc31 100644 GIT binary patch delta 928 zcma))O-vI(6vzKFQ_6O`Bm@H*G1!=33_|o`j3S1mtpvfAuvDxGVnHGmD9{$vsHuYZ z6{E1;z&_} zD_=G)Y3Q82!%{!ci7Onl~efPhwS34C&r+TwdslS(}=icy+OLJ#G>{-fvlAyJ2`uN!f-s zP8?C>lw~FA<2WFFS&4b$=#Z0I-{NGykgk;rXm=NjXGGCqA}Mh40<9sEO)@uFP(mFrs2d*Y#ZKCUGI|8N zXghY(4wTa#?4bkLOUK}&Z%|3!p^AP)HT{Ab`U8GCgIcCUP{(YjXBlW<8_>jZ5oCo3 zGY^_sJzCg79Ad3F46FD_Gv+=tG$e?pR91ug7y!X)R*naF2#WR0z#txhiRus@i!)x3 z+eC+nsKhYroy6#<$SG8Dnh_x)9GlhK=Ae1Kz%hn#p^({x$f(Gl;OW28sE|JUTPkN- Y|IfKxXrBw5VhS-4RiSUh3rxfE2gSO|h5!Hn delta 788 zcma))T}YE*6vzM1+1lQ{dlwis5KD%T#Bi)GA_ytoePS+W+iHzSd(D>`=_cEvkBcGg>wq)w(;A zse?uGtb%hTGORYWMb(y2V{@=rA5bt@tQ&oek(h+@{D-Ns>7s(6MXef%`rFFAVFrWh zaY*0{{3#dsrSDl_iZK!~Ci9GtbL)pah)>^iLS6J=r5+71(#NDo3UV^R& z$j%p()&KB~ETO%BP#&~Z8Sw?1d510C)4+~mE9=8Hb^$6Ifrm}O%jV%@?-5`h(a1hy zJ6k}Aea8+mqnRoYrfTe@I>cxrc2NW36u=&8MS>1tFJ-ZhPNJ0tu%9?InnXLjLI=Ht z4y*VW&hk@0feq+EHI3s2Zi1nXMlp(8AZ(yv+{PUkMD;H2iPJ0w1EOOPQ7T|8F^31! zA}7e=GzkJomh_G?Q`Q%0JjA0?U&6S^NaT<4WYMYpC7lq`$>q}2e@Y3@O6xqw3lU|Z K@5U5nVEGN`9<6r( diff --git a/app/src/main/java/net/xuyezo/main/Main.java b/app/src/main/java/net/xuyezo/main/Main.java index 8026320..8031c2b 100644 --- a/app/src/main/java/net/xuyezo/main/Main.java +++ b/app/src/main/java/net/xuyezo/main/Main.java @@ -50,6 +50,17 @@ public class Main extends JavaPlugin { getServer().addRecipe(recipe); + key = new NamespacedKey(this, "SandCane"); + item = new ItemStack(Material.SUGAR_CANE,1); + + recipe = new ShapedRecipe(key, item); + recipe.shape("AAA", "ABA", "ACA"); + recipe.setIngredient('A', Material.SAND); + recipe.setIngredient('B', Material.BONE_MEAL); + recipe.setIngredient('C', new RecipeChoice.MaterialChoice(Material.COAL,Material.CHARCOAL)); + + getServer().addRecipe(recipe); + key = new NamespacedKey(this, "StoneStick"); item = new ItemStack(Material.STICK,4); @@ -67,6 +78,15 @@ public class Main extends JavaPlugin { recipe.setIngredient('A', Material.BONE_MEAL); recipe.setIngredient('B', Material.DIRT); + + key = new NamespacedKey(this, "SandCactus"); + item = new ItemStack(Material.CACTUS); + + recipe = new ShapedRecipe(key, item); + recipe.shape("AAA", "ABA", "AAA"); + recipe.setIngredient('A', Material.BONE_MEAL); + recipe.setIngredient('B', Material.SAND); + getServer().addRecipe(recipe);