From 18d45267c756c76f1f6c49c80f665265e53100bf Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 4 Mar 2023 19:09:10 +0800 Subject: [PATCH 01/59] Add ColorSet to Sheep.java --- src/main/java/minicraft/entity/mob/Sheep.java | 28 +++++++++++++++++++ .../java/minicraft/item/ClothingItem.java | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/main/java/minicraft/entity/mob/Sheep.java b/src/main/java/minicraft/entity/mob/Sheep.java index 5b201888a..880e560f1 100644 --- a/src/main/java/minicraft/entity/mob/Sheep.java +++ b/src/main/java/minicraft/entity/mob/Sheep.java @@ -1,5 +1,6 @@ package minicraft.entity.mob; +import minicraft.gfx.Color; import org.jetbrains.annotations.Nullable; import minicraft.core.Updater; @@ -18,7 +19,34 @@ public class Sheep extends PassiveMob { private static final int WOOL_GROW_TIME = 3 * 60 * Updater.normSpeed; // Three minutes + public enum ColorSet { + BLACK(0x1_1D1D21), + RED(0x1_B02E26), + GREEN(0x1_5E7C16), + BROWN(0x1_835432), + BLUE(0x1_3C44AA), + PURPLE(0x1_8932B8), + CYAN(0x1_169C9C), + LIGHT_GRAY(0x1_9D9D97), + GRAY(0x1_474F52), + PINK(0x1_F38BAA), + LIME(0x1_80C71F), + YELLOW(0x1_FED83D), + LIGHT_BLUE(0x1_3AB3DA), + MAGENTA(0x1_C74EBD), + ORANGE(0x1_F9801D), + WHITE(0x1_F9FFFE), + ; + + public final int color; + + ColorSet(int color) { + this.color = color; + } + } + public boolean cut = false; + public ColorSet color = ColorSet.WHITE; private int ageWhenCut = 0; /** diff --git a/src/main/java/minicraft/item/ClothingItem.java b/src/main/java/minicraft/item/ClothingItem.java index 8441b2f08..0793105e5 100644 --- a/src/main/java/minicraft/item/ClothingItem.java +++ b/src/main/java/minicraft/item/ClothingItem.java @@ -23,7 +23,7 @@ protected static ArrayList getAllInstances() { items.add(new ClothingItem("Orange Clothes", new LinkedSprite(SpriteType.Item, "orange_clothes"), Color.get(1, 255, 102, 0))); items.add(new ClothingItem("Purple Clothes", new LinkedSprite(SpriteType.Item, "purple_clothes"), Color.get(1, 102, 0, 153))); items.add(new ClothingItem("Cyan Clothes", new LinkedSprite(SpriteType.Item, "cyan_clothes"), Color.get(1, 0, 102, 153))); - items.add(new ClothingItem("Reg Clothes", new LinkedSprite(SpriteType.Item, "reg_clothes"), Color.get(1, 51, 51, 0))); + items.add(new ClothingItem("Reg Clothes", new LinkedSprite(SpriteType.Item, "reg_clothes"), Color.get(1, 51, 51, 0))); // Dark Green return items; } From 16f51aaa3015f47170f66ef2c1943e35a62dfc45 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 4 Mar 2023 22:34:55 +0800 Subject: [PATCH 02/59] Update Sheep.java --- src/main/java/minicraft/entity/mob/Sheep.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/minicraft/entity/mob/Sheep.java b/src/main/java/minicraft/entity/mob/Sheep.java index 880e560f1..ba4bd5cf5 100644 --- a/src/main/java/minicraft/entity/mob/Sheep.java +++ b/src/main/java/minicraft/entity/mob/Sheep.java @@ -35,8 +35,7 @@ public enum ColorSet { LIGHT_BLUE(0x1_3AB3DA), MAGENTA(0x1_C74EBD), ORANGE(0x1_F9801D), - WHITE(0x1_F9FFFE), - ; + WHITE(0x1_F9FFFE); public final int color; From 4b2b471ae24fc67c86ddd7abfcd89823323c843a Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Wed, 5 Apr 2023 16:42:10 +0800 Subject: [PATCH 03/59] Add dye items --- src/main/java/minicraft/entity/mob/Sheep.java | 65 +++++++++--------- src/main/java/minicraft/item/DyeItem.java | 51 ++++++++++++++ src/main/java/minicraft/item/Items.java | 1 + .../assets/textures/entity/sheep.png | Bin 701 -> 455 bytes .../assets/textures/item/black_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/blue_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/brown_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/cyan_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/gray_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/green_dye.png | Bin 0 -> 197 bytes .../assets/textures/item/light_blue_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/light_gray_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/lime_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/magenta_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/orange_dye.png | Bin 0 -> 196 bytes .../assets/textures/item/pink_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/purple_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/red_dye.png | Bin 0 -> 202 bytes .../assets/textures/item/white_dye.png | Bin 0 -> 196 bytes .../assets/textures/item/yellow_dye.png | Bin 0 -> 202 bytes 20 files changed, 86 insertions(+), 31 deletions(-) create mode 100644 src/main/java/minicraft/item/DyeItem.java create mode 100644 src/main/resources/assets/textures/item/black_dye.png create mode 100644 src/main/resources/assets/textures/item/blue_dye.png create mode 100644 src/main/resources/assets/textures/item/brown_dye.png create mode 100644 src/main/resources/assets/textures/item/cyan_dye.png create mode 100644 src/main/resources/assets/textures/item/gray_dye.png create mode 100644 src/main/resources/assets/textures/item/green_dye.png create mode 100644 src/main/resources/assets/textures/item/light_blue_dye.png create mode 100644 src/main/resources/assets/textures/item/light_gray_dye.png create mode 100644 src/main/resources/assets/textures/item/lime_dye.png create mode 100644 src/main/resources/assets/textures/item/magenta_dye.png create mode 100644 src/main/resources/assets/textures/item/orange_dye.png create mode 100644 src/main/resources/assets/textures/item/pink_dye.png create mode 100644 src/main/resources/assets/textures/item/purple_dye.png create mode 100644 src/main/resources/assets/textures/item/red_dye.png create mode 100644 src/main/resources/assets/textures/item/white_dye.png create mode 100644 src/main/resources/assets/textures/item/yellow_dye.png diff --git a/src/main/java/minicraft/entity/mob/Sheep.java b/src/main/java/minicraft/entity/mob/Sheep.java index ba4bd5cf5..286d21209 100644 --- a/src/main/java/minicraft/entity/mob/Sheep.java +++ b/src/main/java/minicraft/entity/mob/Sheep.java @@ -1,6 +1,7 @@ package minicraft.entity.mob; import minicraft.gfx.Color; +import minicraft.item.DyeItem; import org.jetbrains.annotations.Nullable; import minicraft.core.Updater; @@ -13,46 +14,44 @@ import minicraft.item.ToolItem; import minicraft.item.ToolType; -public class Sheep extends PassiveMob { - private static final LinkedSprite[][] sprites = Mob.compileMobSpriteAnimations(0, 0, "sheep"); - private static final LinkedSprite[][] cutSprites = Mob.compileMobSpriteAnimations(0, 2, "sheep"); - - private static final int WOOL_GROW_TIME = 3 * 60 * Updater.normSpeed; // Three minutes +import java.util.HashMap; - public enum ColorSet { - BLACK(0x1_1D1D21), - RED(0x1_B02E26), - GREEN(0x1_5E7C16), - BROWN(0x1_835432), - BLUE(0x1_3C44AA), - PURPLE(0x1_8932B8), - CYAN(0x1_169C9C), - LIGHT_GRAY(0x1_9D9D97), - GRAY(0x1_474F52), - PINK(0x1_F38BAA), - LIME(0x1_80C71F), - YELLOW(0x1_FED83D), - LIGHT_BLUE(0x1_3AB3DA), - MAGENTA(0x1_C74EBD), - ORANGE(0x1_F9801D), - WHITE(0x1_F9FFFE); - - public final int color; - - ColorSet(int color) { - this.color = color; +public class Sheep extends PassiveMob { + private static final HashMap sprites = new HashMap<>(); + private static final HashMap cutSprites = new HashMap<>(); + + static { + for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { + LinkedSprite[][] mobSprites = Mob.compileMobSpriteAnimations(0, 0, "sheep"); + for (LinkedSprite[] mobSprite : mobSprites) { + for (LinkedSprite linkedSprite : mobSprite) { + linkedSprite.setColor(color.color); + } + } + sprites.put(color, mobSprites); + mobSprites = Mob.compileMobSpriteAnimations(0, 2, "sheep"); + for (LinkedSprite[] mobSprite : mobSprites) { + for (LinkedSprite linkedSprite : mobSprite) { + linkedSprite.setColor(color.color); + } + } + cutSprites.put(color, mobSprites); } } + private static final int WOOL_GROW_TIME = 3 * 60 * Updater.normSpeed; // Three minutes + public boolean cut = false; - public ColorSet color = ColorSet.WHITE; + public DyeItem.DyeColor color; private int ageWhenCut = 0; /** * Creates a sheep entity. */ - public Sheep() { - super(sprites); + public Sheep() { this(DyeItem.DyeColor.WHITE); } + public Sheep(DyeItem.DyeColor color) { + super(null); + this.color = color; } @Override @@ -60,7 +59,7 @@ public void render(Screen screen) { int xo = x - 8; int yo = y - 11; - LinkedSprite[][] curAnim = cut ? cutSprites : sprites; + LinkedSprite[][] curAnim = cut ? cutSprites.get(color) : sprites.get(color); LinkedSprite curSprite = curAnim[dir.getDir()][(walkDist >> 3) % curAnim[dir.getDir()].length]; if (hurtTime > 0) { @@ -87,6 +86,10 @@ public boolean interact(Player player, @Nullable Item item, Direction attackDir) ((ToolItem) item).payDurability(); return true; } + } else if (item instanceof DyeItem) { + color = ((DyeItem) item).color; + ((DyeItem) item).count--; + return true; } return false; } diff --git a/src/main/java/minicraft/item/DyeItem.java b/src/main/java/minicraft/item/DyeItem.java new file mode 100644 index 000000000..057104e83 --- /dev/null +++ b/src/main/java/minicraft/item/DyeItem.java @@ -0,0 +1,51 @@ +package minicraft.item; + +import minicraft.gfx.SpriteLinker; + +import java.util.ArrayList; + +public class DyeItem extends StackableItem { + + protected static ArrayList getAllInstances() { + ArrayList items = new ArrayList<>(); + + for (DyeColor color : DyeColor.values()) { + items.add(new DyeItem(color.toString() + " Dye", new SpriteLinker.LinkedSprite( + SpriteLinker.SpriteType.Item, color.toString().toLowerCase() + "_dye"), color)); + } + + return items; + } + + public final DyeColor color; + + protected DyeItem(String name, SpriteLinker.LinkedSprite sprite, DyeColor color) { + super(name, sprite); + this.color = color; + } + + public enum DyeColor { + BLACK(0x1_1D1D21), + RED(0x1_B02E26), + GREEN(0x1_5E7C16), + BROWN(0x1_835432), + BLUE(0x1_3C44AA), + PURPLE(0x1_8932B8), + CYAN(0x1_169C9C), + LIGHT_GRAY(0x1_9D9D97), + GRAY(0x1_474F52), + PINK(0x1_F38BAA), + LIME(0x1_80C71F), + YELLOW(0x1_FED83D), + LIGHT_BLUE(0x1_3AB3DA), + MAGENTA(0x1_C74EBD), + ORANGE(0x1_F9801D), + WHITE(0x1_F9FFFE); + + public final int color; + + DyeColor(int color) { + this.color = color; + } + } +} diff --git a/src/main/java/minicraft/item/Items.java b/src/main/java/minicraft/item/Items.java index 1707dc96b..e6445952c 100644 --- a/src/main/java/minicraft/item/Items.java +++ b/src/main/java/minicraft/item/Items.java @@ -44,6 +44,7 @@ private static void addAll(ArrayList items) { addAll(FishingRodItem.getAllInstances()); addAll(SummonItem.getAllInstances()); addAll(HeartItem.getAllInstances()); + addAll(DyeItem.getAllInstances()); } public static ArrayList getAll() { diff --git a/src/main/resources/assets/textures/entity/sheep.png b/src/main/resources/assets/textures/entity/sheep.png index caab8c214de5d2f48aeb088743c28c0389813826..c422f33665665e39501fc9f01989623d0f48048d 100644 GIT binary patch delta 440 zcmV;p0Z0D51;+!B8Gi!+005Okj;3541Yrt$ngK4T-j0FJF)8!2=qt6>wIedpT*An9#rmj6uS|ouoYIzYLBV(Ij$z2G z$jEO6@VO#0z{2br8}0!|3IHpB`ZC~o0_x8Lo?oK$6u`>-TUWM#-XTY394qWqa3w~z z0P=8Twu8koQGY8|6=17gxv?}c+`uv!Z~VF5@ouGn?@vJ=j>LFHrpQeaMmAe({y7ha z?ssl4Y0C&epTLU`J381v&!k)Oi#K|MTN@>TztT8li&ukgw;mCZo>Ziizzp(|7 ihaP4G9v4NP3v?3000018Gi-<005$$euMx300DDSM?wIu&K&6g00MVOL_t(&L+x0tP6I&@ zzBlVqXl;un<|Hh(aXf4aLWIhuh%R2Xe2BGFe2fBg-`8(N7MLHfRF$j#T7v0 zBodwg5L_L+mI#l34!?2&P-5b?^a>E;Spg_hRE}Y3*2!QK6@UP!EyH$55g^2i0!Y2M z3<7}L+$*3JKz~r+zbinRO}s4-t-032PP4N5XMkHdnbj zVc|6aNq+!t9VP)%@oWWfnG4I1y9cxk#ATR@Cq4_U0O>ZeG6ywt$6q zRX`|)M*!_A_u{4Y@m_*nyeU9z$QuBOkcx+W?m46vKw5^V1yk{rT>x*r_7-a-F#OcP zLoft^634R}AN<`~hjZ{V+aTwh$Y>;J`pd<`M=84w3zvs?&Gmj4x@p(pRasl-#q$p| WY=}k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x3i66tng^(<+4_4FON*-mh07+&a|0>1k|4j}{~*AydH<6AKoQOY zkH}&M2EM}}%y>M1MG8<*-_yl0L?T?b`y?-e0ned=OKk44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xvM8rSH9j)Fae=9J n$r7GjEEdzwZM%K8`fQANDZ_;1!<%;jwK90R`njxgN@xNA(g8w$ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/brown_dye.png b/src/main/resources/assets/textures/item/brown_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..06b025ae4aaef9d30a4397d4dc84177ecf593151 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xI?1!nj5V%wQ#{e&o2Od9% literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/cyan_dye.png b/src/main/resources/assets/textures/item/cyan_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..359787ba422d33ae7e80d8f1d86272e2499b83e0 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xiU()d^lnhjpWr?3fOKLjPlBSEK+1^*vo2LnOj=yHD~m81Nh_xb$X!k?hu*4Hic6PFI{XE-=+D mS;Di6#bVmIZMV->pN$bOWtfnBc=IlxRt8U3KbLh*2~7YX_CWIh literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/gray_dye.png b/src/main/resources/assets/textures/item/gray_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..e63e9a6fcf91f1af785e70e190367a25a5fed245 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xhK7btpFX{%rDetP<#BOwKw%Fp)7?Odtt7}V_&*3RY~H_QKTw3T zz$3Dlfr0NZ2s0kfUy%Y7)c16843P-e?LNuNV8C;z;L@A@MY3CKHdq+NJ6&@;w%tBkeKtnClwm^h;mx~%S{XcD{an^LB{Ts5j;2Ay literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/green_dye.png b/src/main/resources/assets/textures/item/green_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..ada3af85b13bbf6eda4b3ad6371ea42c85ebed4b GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`212l#}zDw(o+WlNX^@+PTb h1%g4@*Ur_d@(Vp?D9Qd@-~iOg;OXk;vd$@?2>@7WId}j7 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/light_blue_dye.png b/src/main/resources/assets/textures/item/light_blue_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..7fb58a48d53af9873908212a27ffd2e634a0e68f GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x+NRCw-}$9!&GVht{s%Oj0}B6?65I%+*h+%@g8zd6!{+@<_5(#Y z3p^r=85sBugD~Uq{1qucL48jb#}J8d-R_gT3k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xMub+MIB{avu7fvk-kd*wGf>zr?wvi5Vk-&q3;quR44d~a*$))q zEbxddW?k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x8mDVCUy&(0Ca~tIb<`}70o$jE`T{Aok|4j}{~*AydH<6AKoQOY zkH}&M2EM}}%y>M1MG8<*-_yl0L?T?b`y?-e0ned=OKk44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xR@zUxU3K+z=Fz89?yvJ-0Th1JBCH9d*h+%@g8zd6!{+@<_5(#Y z3p^r=85sBugD~Uq{1qucL48jb#}J8d-R_gT3k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`212l#}zZjRymvdQ7uJkv8(%0Mw`{aiyJ#aa^N7yKUx7=CZ#3kC{s7I;J! zGcfQS24TkI`72U@g1VkAjv*4^y4{X^3ficX-mel#V%n^2RRG2EMZ%f hv*M_9;l1l;ScQHtlkwF;<_!PC{xWt~$(698V>J>UQU literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/pink_dye.png b/src/main/resources/assets/textures/item/pink_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..70597b72dd4ccf126bf79539010addaa87b422cc GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x&hei9ZOgT{%TN72ef@U#7NGFNx7wCKimfEbFZe$QFl^qxWIs@Z zv%n*=n1O-sFbFdq&tH)O6x8>0aSV|N*X=&Z%V5BBsNm9@{YA1{Yc^OI#XDVb(zw7> oyJQK^E*6Vv=eFHGTYWZ0yp&-=^5M<9fLa+mUHx3vIVCg!0F=r__y7O^ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/purple_dye.png b/src/main/resources/assets/textures/item/purple_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..549595b2fc7e324b79ea6dfdc40e9facae452121 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xhU!k;kaA;5@VS$H7n%$<0fkT4{tf_AY$ZW{!T&*kVe|ea`+*{y z1s;*b3=DjSL74G){)!Z!puVSzV~9k!Zud!E1_Pc$1()9JFOuC_v%$hB-sy^y#s#L@ nB};gAu~a#K8r3@324{zQD)XL!L>gTe~DWM4fZ019z literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/red_dye.png b/src/main/resources/assets/textures/item/red_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..1156a4f72530b4c36c09976d328d905d09e1351f GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xRvbT-RubeF{2v4uHt%1uA1K0E z;1OBOz`%DHgc*U+94hDe0#cAw;BFyJ{k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`212l#}zMuyh^`}gnV%a=QLoCbw;UocRBv%n*= zn1O-sFbFdq&tH)O6x8)}aSV|N*X?%XV=&-o_Im#RzRj6qOItFYEp`cWI>=eDWeMA= hoE1l<3-4V&!z%QHp=94Qt5raa44$rjF6*2UngF}PK+*sJ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/yellow_dye.png b/src/main/resources/assets/textures/item/yellow_dye.png new file mode 100644 index 0000000000000000000000000000000000000000..71566275318639bc7ca5a9dc36d2ad6de1451e80 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x_GJq{f39_Plk&F@6Sq!~0t)YvXuSob*h+%@g8zd6!{+@<_5(#Y z3p^r=85sBugD~Uq{1qucL48jb#}J8d-R_gT3 Date: Wed, 5 Apr 2023 20:54:12 +0800 Subject: [PATCH 04/59] Fix sheep dying not working --- src/main/java/minicraft/entity/mob/Sheep.java | 4 +--- src/main/java/minicraft/item/DyeItem.java | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/minicraft/entity/mob/Sheep.java b/src/main/java/minicraft/entity/mob/Sheep.java index 286d21209..5a14c8588 100644 --- a/src/main/java/minicraft/entity/mob/Sheep.java +++ b/src/main/java/minicraft/entity/mob/Sheep.java @@ -76,10 +76,8 @@ public void tick() { } public boolean interact(Player player, @Nullable Item item, Direction attackDir) { - if (cut) return false; - if (item instanceof ToolItem) { - if (((ToolItem) item).type == ToolType.Shears) { + if (!cut && ((ToolItem) item).type == ToolType.Shears) { cut = true; dropItem(1, 3, Items.get("Wool")); ageWhenCut = age; diff --git a/src/main/java/minicraft/item/DyeItem.java b/src/main/java/minicraft/item/DyeItem.java index 057104e83..38ee7bfc7 100644 --- a/src/main/java/minicraft/item/DyeItem.java +++ b/src/main/java/minicraft/item/DyeItem.java @@ -48,4 +48,9 @@ public enum DyeColor { this.color = color; } } + + @Override + public DyeItem clone() { + return new DyeItem(getName(), sprite, color); + } } From 552bb6d694386604ea39a5c23ae3960cc4af464d Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 6 Apr 2023 17:43:24 +0800 Subject: [PATCH 05/59] Add dye item recipes --- src/main/java/minicraft/item/DyeItem.java | 2 +- src/main/java/minicraft/item/Recipes.java | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/java/minicraft/item/DyeItem.java b/src/main/java/minicraft/item/DyeItem.java index 38ee7bfc7..7dd8331b0 100644 --- a/src/main/java/minicraft/item/DyeItem.java +++ b/src/main/java/minicraft/item/DyeItem.java @@ -10,7 +10,7 @@ protected static ArrayList getAllInstances() { ArrayList items = new ArrayList<>(); for (DyeColor color : DyeColor.values()) { - items.add(new DyeItem(color.toString() + " Dye", new SpriteLinker.LinkedSprite( + items.add(new DyeItem(color.toString().replace('_', ' ') + " Dye", new SpriteLinker.LinkedSprite( SpriteLinker.SpriteType.Item, color.toString().toLowerCase() + "_dye"), color)); } diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index d34e29cd0..9a7eae669 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -62,6 +62,23 @@ public class Recipes { workbenchRecipes.add(new Recipe("Leather Armor_1", "leather_10")); workbenchRecipes.add(new Recipe("Snake Armor_1", "scale_15")); + workbenchRecipes.add(new Recipe("white dye_1", "Bone Meal_1")); + workbenchRecipes.add(new Recipe("blue dye_1", "Lapis_1")); + workbenchRecipes.add(new Recipe("green dye_1", "Cactus_1")); + workbenchRecipes.add(new Recipe("yellow dye_1", "Flower_1")); + workbenchRecipes.add(new Recipe("black dye_1", "Coal_1")); + workbenchRecipes.add(new Recipe("red dye_1", "Rose_1")); + workbenchRecipes.add(new Recipe("orange dye_1", "red dye_1", "yellow dye_1")); + workbenchRecipes.add(new Recipe("purple dye_1", "blue dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("cyan dye_1", "blue dye_1", "green dye_1")); + workbenchRecipes.add(new Recipe("brown dye_1", "green dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("pink dye_1", "white dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("light blue dye_1", "white dye_1", "blue dye_1")); + workbenchRecipes.add(new Recipe("lime dye_1", "white dye_1", "green dye_1")); + workbenchRecipes.add(new Recipe("gray dye_1", "white dye_1", "black dye_1")); + workbenchRecipes.add(new Recipe("light gray dye_1", "white dye_1", "gray dye_1")); + workbenchRecipes.add(new Recipe("magenta dye_1", "purple dye_1", "pink dye_1")); + loomRecipes.add(new Recipe("String_2", "Wool_1")); loomRecipes.add(new Recipe("red wool_1", "Wool_1", "rose_1")); loomRecipes.add(new Recipe("blue wool_1", "Wool_1", "Lapis_1")); From a234983e32f3dd8d22d64c8b53449a9af69a142f Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 6 Apr 2023 18:18:38 +0800 Subject: [PATCH 06/59] Update recipes.json for dye recipes --- src/main/resources/resources/recipes.json | 572 ++++++++++++++++++++++ 1 file changed, 572 insertions(+) diff --git a/src/main/resources/resources/recipes.json b/src/main/resources/resources/recipes.json index 335f7e8c2..615fb92e7 100644 --- a/src/main/resources/resources/recipes.json +++ b/src/main/resources/resources/recipes.json @@ -1208,6 +1208,32 @@ } } }, + "minicraft.advancements.recipes.bone_meal": { + "criteria": { + "has_bone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "bone" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_bone" + ] + ], + "rewards": { + "recipes": { + "Bone Meal_3": ["Bone_1"] + } + } + }, "minicraft.advancements.recipes.arrow": { "criteria": { "has_wood": { @@ -1299,6 +1325,552 @@ } } }, + "minicraft.advancements.recipes.white_dye": { + "criteria": { + "has_bone_meal": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "bone meal" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_bone_meal" + ] + ], + "rewards": { + "recipes": { + "white dye_1": ["Bone Meal_1"] + } + } + }, + "minicraft.advancements.recipes.blue_dye": { + "criteria": { + "has_lapis": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "lapis" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_lapis" + ] + ], + "rewards": { + "recipes": { + "blue dye_1": ["Lapis_1"] + } + } + }, + "minicraft.advancements.recipes.green_dye": { + "criteria": { + "has_cactus": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "cactus" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_cactus" + ] + ], + "rewards": { + "recipes": { + "green dye_1": ["Cactus_1"] + } + } + }, + "minicraft.advancements.recipes.yellow_dye": { + "criteria": { + "has_flower": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "flower" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_flower" + ] + ], + "rewards": { + "recipes": { + "yellow dye_1": ["Flower_1"] + } + } + }, + "minicraft.advancements.recipes.black_dye": { + "criteria": { + "has_coal": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "coal" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_coal" + ] + ], + "rewards": { + "recipes": { + "black dye_1": ["Coal_1"] + } + } + }, + "minicraft.advancements.recipes.red_dye": { + "criteria": { + "has_rose": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "rose" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_rose" + ] + ], + "rewards": { + "recipes": { + "red dye_1": ["Rose_1"] + } + } + }, + "minicraft.advancements.recipes.orange_dye": { + "criteria": { + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "red dye" + ] + } + ] + } + }, + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "yellow dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_red_dye", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "orange dye_1": ["red dye_1", "yellow dye_1"] + } + } + }, + "minicraft.advancements.recipes.purple_dye": { + "criteria": { + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "blue dye" + ] + } + ] + } + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "red dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_blue_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "purple dye_1": ["blue dye_1", "red dye_1"] + } + } + }, + "minicraft.advancements.recipes.cyan_dye": { + "criteria": { + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "blue dye" + ] + } + ] + } + }, + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "green dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_blue_dye", + "has_green_dye" + ] + ], + "rewards": { + "recipes": { + "cyan dye_1": ["blue dye_1", "green dye_1"] + } + } + }, + "minicraft.advancements.recipes.brown_dye": { + "criteria": { + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "green dye" + ] + } + ] + } + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "red dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_green_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "brown dye_1": ["green dye_1", "red dye_1"] + } + } + }, + "minicraft.advancements.recipes.pink_dye": { + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "white dye" + ] + } + ] + } + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "red dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_white_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "pink dye_1": ["white dye_1", "red dye_1"] + } + } + }, + "minicraft.advancements.recipes.light_blue_dye": { + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "white dye" + ] + } + ] + } + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "blue dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_white_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "light blue dye_1": ["white dye_1", "blue dye_1"] + } + } + }, + "minicraft.advancements.recipes.lime_dye": { + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "white dye" + ] + } + ] + } + }, + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "green dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_white_dye", + "has_green_dye" + ] + ], + "rewards": { + "recipes": { + "lime dye_1": ["white dye_1", "green dye_1"] + } + } + }, + "minicraft.advancements.recipes.gray_dye": { + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "white dye" + ] + } + ] + } + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "black dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "gray dye_1": ["white dye_1", "black dye_1"] + } + } + }, + "minicraft.advancements.recipes.light_gray_dye": { + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "white dye" + ] + } + ] + } + }, + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "gray dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_white_dye", + "has_gray_dye" + ] + ], + "rewards": { + "recipes": { + "light gray dye_1": ["white dye_1", "gray dye_1"] + } + } + }, + "minicraft.advancements.recipes.magenta_dye": { + "criteria": { + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "purple dye" + ] + } + ] + } + }, + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "pink dye" + ] + } + ] + } + } + }, + "requirements": [ + [ + "has_purple_dye", + "has_pink_dye" + ] + ], + "rewards": { + "recipes": { + "magenta dye_1": ["purple dye_1", "pink dye_1"] + } + } + }, "minicraft.advancements.recipes.string": { "criteria": { "has_wool": { From d8e1289ac85424525b3777e15d8e83feedd6ab96 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:06:11 +0800 Subject: [PATCH 07/59] Natural spawned colored sheep implementation --- src/main/java/minicraft/level/Level.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/java/minicraft/level/Level.java b/src/main/java/minicraft/level/Level.java index e2196b0e4..e646c1f16 100644 --- a/src/main/java/minicraft/level/Level.java +++ b/src/main/java/minicraft/level/Level.java @@ -14,6 +14,7 @@ import minicraft.gfx.Point; import minicraft.gfx.Rectangle; import minicraft.gfx.Screen; +import minicraft.item.DyeItem; import minicraft.item.Item; import minicraft.level.tile.Tile; import minicraft.level.tile.Tiles; @@ -633,7 +634,22 @@ private void trySpawn() { // Spawns the friendly mobs. if (rnd <= (Updater.getTime() == Updater.Time.Night ? 22 : 33)) add((new Cow()), nx, ny); else if (rnd >= 68) add((new Pig()), nx, ny); - else add((new Sheep()), nx, ny); + else { // Sheep spawning + double colorRnd = random.nextDouble(); + if (colorRnd < 0.8) { // 80% for default color, i.e. white + add((new Sheep()), nx, ny); + } else if (colorRnd < 0.85) { // 5% for black + add((new Sheep(DyeItem.DyeColor.BLACK)), nx, ny); + } else if (colorRnd < 0.9) { // 5% for gray + add((new Sheep(DyeItem.DyeColor.GRAY)), nx, ny); + } else if (colorRnd < 0.95) { // 5% for light gray + add((new Sheep(DyeItem.DyeColor.LIGHT_GRAY)), nx, ny); + } else if (colorRnd < 0.98) { // 3% for brown + add((new Sheep(DyeItem.DyeColor.BROWN)), nx, ny); + } else { // 2% for pink + add((new Sheep(DyeItem.DyeColor.PINK)), nx, ny); + } + } spawned = true; } From 6a265f28bdcc85373f9fd548f5481b35af490e22 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 13 Apr 2023 20:46:22 +0800 Subject: [PATCH 08/59] Wool implementation by color system update --- build.gradle | 2 +- src/main/java/minicraft/item/Items.java | 1 + src/main/java/minicraft/item/TileItem.java | 7 --- src/main/java/minicraft/item/WoolItem.java | 30 +++++++++++ src/main/java/minicraft/level/tile/Tiles.java | 28 ++++++++--- .../java/minicraft/level/tile/WoolTile.java | 36 +++++--------- src/main/java/minicraft/saveload/Load.java | 47 +++++++++++------- .../assets/textures/item/black_wool.png | Bin 154 -> 199 bytes .../assets/textures/item/blue_wool.png | Bin 154 -> 199 bytes .../assets/textures/item/brown_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/cyan_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/gray_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/green_wool.png | Bin 164 -> 199 bytes .../assets/textures/item/light_blue_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/light_gray_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/lime_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/magenta_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/orange_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/pink_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/purple_wool.png | Bin 0 -> 199 bytes .../assets/textures/item/red_wool.png | Bin 165 -> 199 bytes .../assets/textures/item/white_wool.png | Bin 0 -> 199 bytes .../resources/assets/textures/item/wool.png | Bin 136 -> 0 bytes .../assets/textures/item/yellow_wool.png | Bin 164 -> 199 bytes .../assets/textures/tile/black_wool.png | Bin 150 -> 294 bytes .../assets/textures/tile/blue_wool.png | Bin 150 -> 256 bytes .../assets/textures/tile/brown_wool.png | Bin 0 -> 290 bytes .../assets/textures/tile/cyan_wool.png | Bin 0 -> 312 bytes .../assets/textures/tile/gray_wool.png | Bin 0 -> 317 bytes .../assets/textures/tile/green_wool.png | Bin 150 -> 268 bytes .../assets/textures/tile/light_blue_wool.png | Bin 0 -> 350 bytes .../assets/textures/tile/light_gray_wool.png | Bin 0 -> 333 bytes .../assets/textures/tile/lime_wool.png | Bin 0 -> 325 bytes .../assets/textures/tile/magenta_wool.png | Bin 0 -> 366 bytes .../assets/textures/tile/orange_wool.png | Bin 0 -> 345 bytes .../assets/textures/tile/pink_wool.png | Bin 0 -> 365 bytes .../assets/textures/tile/purple_wool.png | Bin 0 -> 303 bytes .../assets/textures/tile/red_wool.png | Bin 150 -> 286 bytes .../assets/textures/tile/white_wool.png | Bin 150 -> 256 bytes .../assets/textures/tile/yellow_wool.png | Bin 150 -> 290 bytes 40 files changed, 93 insertions(+), 58 deletions(-) create mode 100644 src/main/java/minicraft/item/WoolItem.java create mode 100644 src/main/resources/assets/textures/item/brown_wool.png create mode 100644 src/main/resources/assets/textures/item/cyan_wool.png create mode 100644 src/main/resources/assets/textures/item/gray_wool.png create mode 100644 src/main/resources/assets/textures/item/light_blue_wool.png create mode 100644 src/main/resources/assets/textures/item/light_gray_wool.png create mode 100644 src/main/resources/assets/textures/item/lime_wool.png create mode 100644 src/main/resources/assets/textures/item/magenta_wool.png create mode 100644 src/main/resources/assets/textures/item/orange_wool.png create mode 100644 src/main/resources/assets/textures/item/pink_wool.png create mode 100644 src/main/resources/assets/textures/item/purple_wool.png create mode 100644 src/main/resources/assets/textures/item/white_wool.png delete mode 100644 src/main/resources/assets/textures/item/wool.png create mode 100644 src/main/resources/assets/textures/tile/brown_wool.png create mode 100644 src/main/resources/assets/textures/tile/cyan_wool.png create mode 100644 src/main/resources/assets/textures/tile/gray_wool.png create mode 100644 src/main/resources/assets/textures/tile/light_blue_wool.png create mode 100644 src/main/resources/assets/textures/tile/light_gray_wool.png create mode 100644 src/main/resources/assets/textures/tile/lime_wool.png create mode 100644 src/main/resources/assets/textures/tile/magenta_wool.png create mode 100644 src/main/resources/assets/textures/tile/orange_wool.png create mode 100644 src/main/resources/assets/textures/tile/pink_wool.png create mode 100644 src/main/resources/assets/textures/tile/purple_wool.png diff --git a/build.gradle b/build.gradle index 6cde376d9..5a4149df2 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } -project.version = '2.2.0-dev3' +project.version = '2.2.0-dev4' group = "java.minicraft" archivesBaseName = "minicraft-plus" diff --git a/src/main/java/minicraft/item/Items.java b/src/main/java/minicraft/item/Items.java index 68330eb16..fc17e8940 100644 --- a/src/main/java/minicraft/item/Items.java +++ b/src/main/java/minicraft/item/Items.java @@ -48,6 +48,7 @@ private static void addAll(ArrayList items) { addAll(WateringCanItem.getAllInstances()); addAll(FertilizerItem.getAllInstances()); addAll(DyeItem.getAllInstances()); + addAll(WoolItem.getAllInstances()); } public static ArrayList getAll() { diff --git a/src/main/java/minicraft/item/TileItem.java b/src/main/java/minicraft/item/TileItem.java index c23fed156..b1eae2dba 100644 --- a/src/main/java/minicraft/item/TileItem.java +++ b/src/main/java/minicraft/item/TileItem.java @@ -44,13 +44,6 @@ protected static ArrayList getAllInstances() { items.add(new TileItem("Obsidian Wall", new LinkedSprite(SpriteType.Item, "obsidian_wall"), new TileModel("Obsidian Wall"), "Obsidian")); items.add(new TileItem("Obsidian Door", new LinkedSprite(SpriteType.Item, "obsidian_door"), new TileModel("Obsidian Door"), "Obsidian")); - items.add(new TileItem("Wool", new LinkedSprite(SpriteType.Item, "wool"), new TileModel("Wool"), "hole", "water")); - items.add(new TileItem("Red Wool", new LinkedSprite(SpriteType.Item, "red_wool"), new TileModel("Red Wool"), "hole", "water")); - items.add(new TileItem("Blue Wool", new LinkedSprite(SpriteType.Item, "blue_wool"), new TileModel("Blue Wool"), "hole", "water")); - items.add(new TileItem("Green Wool", new LinkedSprite(SpriteType.Item, "green_wool"), new TileModel("Green Wool"), "hole", "water")); - items.add(new TileItem("Yellow Wool", new LinkedSprite(SpriteType.Item, "yellow_wool"), new TileModel("Yellow Wool"), "hole", "water")); - items.add(new TileItem("Black Wool", new LinkedSprite(SpriteType.Item, "black_wool"), new TileModel("Black Wool"), "hole", "water")); - items.add(new TileItem("Sand", new LinkedSprite(SpriteType.Item, "sand"), new TileModel("sand"), "hole", "water", "lava")); items.add(new TileItem("Cactus", new LinkedSprite(SpriteType.Item, "cactus"), new TileModel("cactus Sapling"), "sand")); items.add(new TileItem("Cloud", new LinkedSprite(SpriteType.Item, "cloud"), new TileModel("cloud"), "Infinite Fall")); diff --git a/src/main/java/minicraft/item/WoolItem.java b/src/main/java/minicraft/item/WoolItem.java new file mode 100644 index 000000000..1afc2c9e2 --- /dev/null +++ b/src/main/java/minicraft/item/WoolItem.java @@ -0,0 +1,30 @@ +package minicraft.item; + +import minicraft.gfx.SpriteLinker; + +import java.util.ArrayList; + +public class WoolItem extends TileItem { + protected static ArrayList getAllInstances() { + ArrayList items = new ArrayList<>(); + + for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { + items.add(new WoolItem(color.toString().replace('_', ' ') + " Wool", new SpriteLinker.LinkedSprite( + SpriteLinker.SpriteType.Item, color.toString().toLowerCase() + "_wool"), color)); + } + + return items; + } + + public final DyeItem.DyeColor color; + + protected WoolItem(String name, SpriteLinker.LinkedSprite sprite, DyeItem.DyeColor color) { + super(name, sprite, new TileModel(name), "hole", "water"); + this.color = color; + } + + @Override + public TileItem clone() { + return new WoolItem(getName(), sprite, color); + } +} diff --git a/src/main/java/minicraft/level/tile/Tiles.java b/src/main/java/minicraft/level/tile/Tiles.java index 47df0e353..67e06a466 100644 --- a/src/main/java/minicraft/level/tile/Tiles.java +++ b/src/main/java/minicraft/level/tile/Tiles.java @@ -4,6 +4,7 @@ import java.util.HashMap; import minicraft.core.CrashHandler; +import minicraft.item.DyeItem; import minicraft.level.tile.farming.HeavenlyBerriesTile; import minicraft.level.tile.farming.HellishBerriesTile; import minicraft.level.tile.farming.TomatoTile; @@ -36,7 +37,6 @@ public static void initTileList() { tiles.put((short)7, new RockTile("Rock")); tiles.put((short)8, new TreeTile("Tree")); - tiles.put((short)9, new SaplingTile("Tree Sapling", Tiles.get("Grass"), Tiles.get("Oak"))); tiles.put((short)10, new SandTile("Sand")); tiles.put((short)11, new CactusTile("Cactus")); @@ -45,6 +45,7 @@ public static void initTileList() { tiles.put((short)14, new OreTile(OreTile.OreType.Gold)); tiles.put((short)15, new OreTile(OreTile.OreType.Gem)); tiles.put((short)16, new OreTile(OreTile.OreType.Lapis)); + tiles.put((short)18, new LavaBrickTile("Lava Brick")); tiles.put((short)19, new ExplodedTile("Explode")); tiles.put((short)20, new FarmTile("Farmland")); @@ -62,13 +63,26 @@ public static void initTileList() { tiles.put((short)32, new WallTile(Tile.Material.Wood)); tiles.put((short)33, new WallTile(Tile.Material.Stone)); tiles.put((short)34, new WallTile(Tile.Material.Obsidian)); - tiles.put((short)35, new WoolTile(WoolTile.WoolType.NORMAL)); + tiles.put((short)35, new WoolTile(DyeItem.DyeColor.WHITE)); + // These are out of order because of the changes on wool and color system. + tiles.put((short)37, new WoolTile(DyeItem.DyeColor.RED)); + tiles.put((short)38, new WoolTile(DyeItem.DyeColor.BLUE)); + tiles.put((short)39, new WoolTile(DyeItem.DyeColor.GREEN)); + tiles.put((short)40, new WoolTile(DyeItem.DyeColor.YELLOW)); + tiles.put((short)41, new WoolTile(DyeItem.DyeColor.BLACK)); + tiles.put((short)58, new WoolTile(DyeItem.DyeColor.BROWN)); + tiles.put((short)59, new WoolTile(DyeItem.DyeColor.PURPLE)); + tiles.put((short)60, new WoolTile(DyeItem.DyeColor.CYAN)); + tiles.put((short)61, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); + tiles.put((short)62, new WoolTile(DyeItem.DyeColor.GRAY)); + tiles.put((short)63, new WoolTile(DyeItem.DyeColor.PINK)); + tiles.put((short)64, new WoolTile(DyeItem.DyeColor.LIME)); + tiles.put((short)65, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); + tiles.put((short)66, new WoolTile(DyeItem.DyeColor.MAGENTA)); + tiles.put((short)67, new WoolTile(DyeItem.DyeColor.ORANGE)); + tiles.put((short)36, new PathTile("Path")); - tiles.put((short)37, new WoolTile(WoolTile.WoolType.RED)); - tiles.put((short)38, new WoolTile(WoolTile.WoolType.BLUE)); - tiles.put((short)39, new WoolTile(WoolTile.WoolType.GREEN)); - tiles.put((short)40, new WoolTile(WoolTile.WoolType.YELLOW)); - tiles.put((short)41, new WoolTile(WoolTile.WoolType.BLACK)); + tiles.put((short)42, new PotatoTile("Potato")); tiles.put((short)43, new MaterialTile(Tile.Material.Stone)); tiles.put((short)44, new MaterialTile(Tile.Material.Obsidian)); diff --git a/src/main/java/minicraft/level/tile/WoolTile.java b/src/main/java/minicraft/level/tile/WoolTile.java index 0de6bc9af..506e83217 100644 --- a/src/main/java/minicraft/level/tile/WoolTile.java +++ b/src/main/java/minicraft/level/tile/WoolTile.java @@ -6,6 +6,7 @@ import minicraft.entity.mob.Player; import minicraft.gfx.SpriteAnimation; import minicraft.gfx.SpriteLinker.SpriteType; +import minicraft.item.DyeItem; import minicraft.item.Item; import minicraft.item.Items; import minicraft.item.ToolItem; @@ -13,10 +14,19 @@ import minicraft.level.Level; import minicraft.util.AdvancementElement; +import java.util.HashMap; + public class WoolTile extends Tile { + private static final HashMap sprites = new HashMap<>(); - public WoolTile(WoolType woolType) { - super(woolType.name, woolType.sprite); + static { + for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { + sprites.put(color, new SpriteAnimation(SpriteType.Tile, color.toString().toLowerCase() + "_wool")); + } + } + + public WoolTile(DyeItem.DyeColor color) { + super(color.toString().replace('_', ' ') + " Wool", sprites.get(color)); } public boolean interact(Level level, int xt, int yt, Player player, Item item, Direction attackDir) { @@ -41,26 +51,4 @@ public boolean interact(Level level, int xt, int yt, Player player, Item item, D public boolean mayPass(Level level, int x, int y, Entity e) { return e.canWool(); } - - public enum WoolType { - BLACK("Black Wool", new SpriteAnimation(SpriteType.Tile, "black_wool")), - BLUE("Blue Wool", new SpriteAnimation(SpriteType.Tile, "blue_wool")), - GREEN("Green Wool", new SpriteAnimation(SpriteType.Tile, "green_wool")), - NORMAL("Wool", new SpriteAnimation(SpriteType.Tile, "white_wool")), - RED("Red Wool", new SpriteAnimation(SpriteType.Tile, "red_wool")), - YELLOW("Yellow Wool", new SpriteAnimation(SpriteType.Tile, "yellow_wool")); - - public final SpriteAnimation sprite; - public final String name; - - /** - * Create a type of wool. - * - * @param sprite The sprite for the type of wool. - */ - WoolType(String name, SpriteAnimation sprite) { - this.sprite = sprite; - this.name = name; - } - } } diff --git a/src/main/java/minicraft/saveload/Load.java b/src/main/java/minicraft/saveload/Load.java index 4cd6c656a..b83cded40 100644 --- a/src/main/java/minicraft/saveload/Load.java +++ b/src/main/java/minicraft/saveload/Load.java @@ -616,25 +616,29 @@ private void loadWorld(String filename) { } } - if (tilename.equalsIgnoreCase("Wool") && worldVer.compareTo(new Version("2.0.6-dev4")) < 0) { - switch (Integer.parseInt(extradata.get(tileidx))) { - case 1: - tilename = "Red Wool"; - break; - case 2: - tilename = "Yellow Wool"; - break; - case 3: - tilename = "Green Wool"; - break; - case 4: - tilename = "Blue Wool"; - break; - case 5: - tilename = "Black Wool"; - break; - default: - tilename = "Wool"; + if (tilename.equalsIgnoreCase("Wool")) { + if (worldVer.compareTo(new Version("2.0.6-dev4")) < 0) { + switch (Integer.parseInt(extradata.get(tileidx))) { + case 1: + tilename = "Red Wool"; + break; + case 2: + tilename = "Yellow Wool"; + break; + case 3: + tilename = "Green Wool"; + break; + case 4: + tilename = "Blue Wool"; + break; + case 5: + tilename = "Black Wool"; + break; + default: + tilename = "White Wool"; + } + } else if (worldVer.compareTo(new Version("2.2.0-dev4")) < 0) { + tilename = "White Wool"; } } else if (l == World.minLevelDepth+1 && tilename.equalsIgnoreCase("Lapis") && worldVer.compareTo(new Version("2.0.3-dev6")) < 0) { if (Math.random() < 0.8) // don't replace *all* the lapis @@ -855,6 +859,11 @@ protected static String subOldName(String name, Version worldVer) { name = name.replace("Shear", "Shears"); } + if (worldVer.compareTo(new Version("2.2.0-dev4")) < 0) { + if (name.equalsIgnoreCase("Wool")) + name = name.replace("Wool", "White Wool"); + } + return name; } diff --git a/src/main/resources/assets/textures/item/black_wool.png b/src/main/resources/assets/textures/item/black_wool.png index 5e59e97ee415e85e61a5e432f11b7214dff65ac3..fb56015fdeb7eb1c6f24814c3a1a8d34c446765a 100644 GIT binary patch delta 182 zcmbQmc${&9WIZzj1HNS%G|^0G|+7 z0YOm_Q3+l?VNPxV6%`GjaP)GwWFW;>666>B9|RaS?_aVXD8gCb5n0T@z;_sg8IR|$ zNC67!c)B=-NQC>Ib`)Yz5Mc~B@>hTTockueX7`w$JY#3zTcEm8!DUy$>2%|-aVOc7 XHZ%Oty%K&LsFA_b)z4*}Q$iB}bIdrA delta 137 zcmX@kIE!(DWIY=L1H%#ieceEcu{g-xiDBJ2nU_FLh^LEVh(>U7iUNZ~XIMgF;z#+& zkDbEm2WA~)@%Z%m`FV}D!q1NS%G|^0G|+7 zGpo7g*7FUFrs(MP+Ip`83J3Xy*#RlGk|4j}{~*AydH<6AKoQOYkH}&M2EM}}%y>M1 zMG8<*$J50zL?Ybxw4)G%f(T>4k-z%u=iE2(HM__3(jW<>7fRg#0000k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xW;?4^dh4XvE5=*PHv}01h505Ha{?*0k|4j}{~*AydH<6AKoQOY zkH})6{9zDgJf6QI1t_TF>Eak75$=21QHVi7gfZaA-}Q6uoA{dDV|wz8oq=zG>P7{Z hT?MDpjlag7WK-JA@I&`X_;H{<22WQ%mvv4FO#ts6J4OHi literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/cyan_wool.png b/src/main/resources/assets/textures/item/cyan_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..17c516c6a547f0317a3a1e1a19a72f56769a6952 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xYGyVX=5=bMRIA39npDjM3Wuqtwg4%%k|4j}{~*AydH<6AKoQOY zkH}&M2EM}}%y>M1MG8<*$J50zL?Ybxw4)G%f(T>4k-zKb+&A$xyT|n889M{t0@aNQ iF1rd&ryGBbJISWBnc;`-mGI+0eGHzielF{r5}E*_q&&_5 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/gray_wool.png b/src/main/resources/assets/textures/item/gray_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..04f8871485bfbe0028395c1a48233b5bf580f500 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%x+PSzpx_a0+IGb77y88wIg>!$-bpTRqB|(0{|3QFZ^Zq6Kfg+p* z9+AZi419+{nDKc2iWH!rj;D)bh(x&WX-6Rj1rf%8BY)S=xo_fYc8}@FGj;~P1*#hr jTy_R!s literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/green_wool.png b/src/main/resources/assets/textures/item/green_wool.png index 87e0e14355e198bd207e3eadcd9fb11818d85804..b27dde8f6de74c12833359def9f2708521209c9b 100644 GIT binary patch delta 182 zcmZ3&c${&9WIZzj1HNS%G|^0G|-o zz%22IG7+C-InNk{lx7K_aL$JxD}fYSNswRge-L2Uyno4lpa^GyM`SSr1K(i~W;~w1 zA_XX@L4+~j$Y1^SbMBk?n%!f1@{FBQ delta 147 zcmX@kxP)U7iUNZ~XV`=41K;g^ zK0ddeFUhw=h9R3xSmC6({=Eef$Nsg-uHjg7AhGXoeVk|<+XSTvEF3ZOOXfa&x^%h# z>!Yei|4l!eJQPx3^AO5o^%2~}a>lM{9|J=czbdC9Z`KSRpj8Z>u6{1-oD!M<k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xnykKLzwMUx%#$izM|=)G1Pb5$U2z#mv6Te*1^)*DhRyqz><5Z) z7I;J!GcfQS24TkI`72U@f;yfqjv*4^zNa097!*Vp1CIP%Kj*%Quh~7OC(qa!_!g*c kRB+ik44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xc62oK_jlCSmsM96&6+g@DD3#5O%X`3l?3?({|5nv&HI<^2a0eO zctjR6Fz_7)VaDV6D^h@hI-V|$Arj%fryYeD6hs&Uj{IFe=e~)r**&Hw&)6CG7N~Ai jaM@LGI^Fnd+(|a2%?v+uuY?~5>SOS9^>bP0l+XkK^#4Da literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/lime_wool.png b/src/main/resources/assets/textures/item/lime_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..121b0c5420792e12c87fa3e49773921e954a13cd GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xX08`2-XW2=QaEn8SmOz0pz!*1=F32ett7}V_&*3RY~H_QKTw3T zz$3Dlfr0NZ2s0kfUy%Y7)bVt243P-;J?$vOpdi8+aOCg$IrmL`&F(QhdB)Dbw?K8H jg3GRg)9J=v<4&?EZD#nPdnNohP#=S*tDnm{r-UW|CRaV_ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/magenta_wool.png b/src/main/resources/assets/textures/item/magenta_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..b377fc4c2974f9cc6f0b9353b28a1d9437e200a4 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xZn0Z^EMV^jtL4iL=3a_B3lx^I5_trq*h+%@g8zd6!{+@<_5(#Y z3p^r=85sBugD~Uq{1qucK^;#Q#}J8d-_wpl3<@HQ0Z0C>pL5^D*X$nClV|Jv%F1NAX@y85}Sb4q9e0RMk44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzAX}Z+bH)Wo#So-Be8R&X856dCHy#0AA_f>pUXO@geCxz`#!$_ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/pink_wool.png b/src/main/resources/assets/textures/item/pink_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..27890440974fa877bdcb666c032a585b7179cca2 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzVBcCVa?%ZRrBu_O!|M|G*EcO0`&$U#a0sJ7yKUt7&h-;vL7hI zS>O>_%)r2R7=#&*=dVZs3hH>eIEF}s`<`|bVo(ra3^?+4{ha$IzGnBBo;+h`;9H=& kQNd+b!Rd74uW={Ylr}T`(7h6V9H@`M)78&qol`;+0C;0U#{d8T literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/purple_wool.png b/src/main/resources/assets/textures/item/purple_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..39f581597483a10dc462137f9b1dd37c9018fc99 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xmYS_Ug?1hDe0_o^}*sP!M4ZIP!P>ockueX7`w$JY#3zTcEm8 j!DUy$>2%|-aVOc7HZ%Oty%K&LsE@(Z)z4*}Q$iB}XhuGC literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/red_wool.png b/src/main/resources/assets/textures/item/red_wool.png index fb9cf26c57a03f02a2bbe2b02882a32f193b56b4..e951f871f1ac71541f1cfd3fb98f34b6c644f207 100644 GIT binary patch delta 182 zcmZ3=c${&9WIZzj1HNS%G|^0G|-o z`RWRb)fJ~J%J#}BY&OvZ3Y+h0Jq)DSN`m}?|APR-=KV|d14TFsJR*x382Es)e1{p2 z=dVZs3hH>eIEF}s`<`|bVo(ra3^?*vfBl^MCcb9(n4UaiXW(0)x>3PpSHbCYU7iUNZ~XPAM%`*VAr zj~DypC7;>V@m%9kbC~pge~qKzn_KtyC%7iCp4_zQ|Jt8FB^|mPgcJ(iNb?{5y8XH$ zmr1MX|L8(T9|q3`1`nY;Rv*DlENASR_AxNLu+!i?Ws%Rj9B3DVr>mdKI;Vst0Fgm9 AbN~PV diff --git a/src/main/resources/assets/textures/item/white_wool.png b/src/main/resources/assets/textures/item/white_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..402e5293cd0d6e951fea97ee15bef8d7a54d3edd GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xK7RJ>-TM!B??1SD>-Nu|KY_wF($_VB6kAD+ zXMsm#F#`kNVGw3Kp1&dmD5&G<;usgl<_?q2gdh(2&fp3B8 kMg^B$1*g-Ezs8+pQ`*e%L-$JfaiBg1Pgg&ebxsLQ0CW6A%K!iX literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/wool.png b/src/main/resources/assets/textures/item/wool.png deleted file mode 100644 index f1f78c58bfe6b35f9aed9f85b6161e417d255131..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|oIG6|Lo|Yu zQxq5^I>SCZJly{OL>DUy%Yj)3Sv)>{etuq~?c=9UMhzkdMH^BayBvfJ8Wu7v7d6Os iFgcSqBdKX01H+{qQk+$Vvz39SF?hQAxvXNS%G|^0G|-o zce`Z2AJcxnP3rXq@gG-gfx=6}Le2sywvr&f;Qt`NuzCNI{Xh}U0*}aI1_r*vAk26? ze?&ZD>*w4z@in{0^yC>k1K$GGjS4Qi3QngRe~mlI YrnH&ihwhc|<3NoJp00i_>zopr0Dlia`Tzg` delta 147 zcmV;E0Brxq0i*$t8Gi-<006`fzKZ|=00DDSM?wIu&K&6g003S|L_t(2Q)6Tx02ql@ z@cjAW|1iZDF6?0N^jr$o3?@L5U%os;G3?HrOJGG{1>3hr|2Hu3U;rrsNq|6I-64k4 zryoNUn3~G|Z)&oGOMn<4Nw^g-MaU8``w0310H@I@36)U23=9AO002ovPDHLkV1ns5 BH`4$B diff --git a/src/main/resources/assets/textures/tile/black_wool.png b/src/main/resources/assets/textures/tile/black_wool.png index 1c56b01b6111514c0c65b995fdc6534704069d85..7d126d55311be34e5700abd8f37da5e8ade20cec 100644 GIT binary patch delta 279 zcmbQnxQuCnL_G^L0|Ud`yN`l^6k~CayA#8@b22Z19F}xPUq=Rpjs4tz5?O(KtpJ}8 zS59sL0YOm}6%A==d0swY5m5<2Au%CgadB}ePEH4nJ@ErzW#^d=bQhDziJ!J%3)g3kcV^F~rW9B{DSFz%-FuF zo6lp4;zEH{rz{V--WFfd_FT!?V75j;%CbqzZ*hLrQk@XHi0u+j7tcAbJTJY;F;f`) Y9!doYFe|X_2Rezt)78&qol`;+06t_>)&Kwi delta 133 zcmZ3+G>vhBL>&hk0|SHn=l_X7im^Dz-HBn{IhmJ0PJpM2V~B-+@|F!7ew=q;OlXn( z@Kn#7x&KqR$l?h{3r-&9Rk$t~!FwQ0dK2r3PghDAHO&skv|MIABIOpVKS5Y{@ymur kMpdznUaKbu2vDbQ>NPgg&ebxsLQ0H2mIRsaA1 diff --git a/src/main/resources/assets/textures/tile/blue_wool.png b/src/main/resources/assets/textures/tile/blue_wool.png index 51eb7ec89f975ac0424169bc6c64fee6440a9dad..87a93c3c97fc76e28a6d4424dae55a4b8fe3f6b5 100644 GIT binary patch delta 240 zcmbQn*uXSFqMn7Bfq~)e-A6${im^Dz-HBn{IhmJ04okYDuOkD)#(wTUiL5}rM1W6- ztBzi;k;ybmyG7>K^K8A>nOn~{Fq&d!HFuu13Q!3HXMsm#F#`kNVGw3Kp1&dmC|Ky} z;us=vS+#dJS95|$^Jgx1i@AG6?(qI#agUA8>?$i2_#X82=h^isUMHqANcw0Uc<>|g z$C0PJeBaI<>9sBU9Tlma9C9#&>GfHS$RnPM;_UVdt6pbgztYA$&;CH(oPR5WcSYF; lzMU{_)sFo&+q#pETQL6KE*7^t>|rO!O`fiPF6*2Ung9_jTb}>` delta 133 zcmZo*n#MRmqK<=&fq_B(^Z!I3#aJBV?!>U}oXkrgC&1IiF~q_@xuj&y@A-{P2RMu$ zd^|s&XVaTE8g7c+4=1%tJFHXQAk}czEQNc*)0MB8f^yn+axCZWFzwkDr=YIpcA1fx k*-J-2y7WY&?FXQVt%9+$5AJl}0h-O=>FVdQ&MBb@0F;+7!~g&Q diff --git a/src/main/resources/assets/textures/tile/brown_wool.png b/src/main/resources/assets/textures/tile/brown_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..10f3a69105fa44df99b3a8598a1a87f28e6e4e24 GIT binary patch literal 290 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPF!KQOE#DAiSmmpm?W|hsub*PCSna1*>8(@hsb$u}SqxOkS>O=~ zr1=hmFyrz36)8Z$UQZXt5Q)pl2_h*C4ywtj$*zgV6WUsY*ba7d^0o5JI_D|pInnPZ z4^I-SgQ#d_%T0*&M ze5poevvK9LRdcL5fqFR$JR*x382Ao@Fyrz36)8Z$iJmTwArhC969ibCRE3kzNS%G}x0G|+78wY1cR}W`TA2TakJ118=7k78x04Gmx2RBc1YddR4XL}cSHy?i+ zM;9vxXJ;=TQyV*vOs1iB-3tS600)@72+P*C7*}ZnH2?t_+Cr;jV?C|tRlg%NTN&OF2Fz=pX zxv`RE>!NzD$Rw2=wao2vMHh7I__yvpwpafAuc89U7e*p(+t*fc6!}$oe5ljjKKr4s z=E{!SQG6O2Guyk0t^Pk=?Qiuo{vY4m2~8=+$DQx2{>5BygJmbj)gBL^^B6o`{an^L HB{Ts5$y9Bx literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/tile/green_wool.png b/src/main/resources/assets/textures/tile/green_wool.png index 1f448ed38195dee8932671fbf8111d0a1ac99064..928ebdc9c7386fb99eaea0854a685f8a0999dd0a 100644 GIT binary patch delta 252 zcmbQn*uykIqMn7Bfq~)e-A6${im^Dz-HBn{IhmJ04okYDuOkD)#(wTUiL5}rbbwEY zYhaeRcf6Emj6zDYL`0cLVuM(6qohx=oOhzE;c2ro`rnP0Rk-M90&B;PB|$$7B4D&@ytt?lXI)d2S$N=>;XsfzsoI)G`}g? z!1z%8mH8Qt9Rk{R6Vlg5-?q>ZSCKe&#%}Vx=g(RvhAX{4qs6y5FH5%gpRD1ecRhYV yS6d^yHXQjrxBAhNsqVS+P18=i+cGC(z5Q7UiD?>NR~rGH!QkoY=d#Wzp$Pyr!(4{| delta 133 zcmeBSn#MRmqK<=&fq_B(^Z!I3#aJBV?!>U}oXkrgC&1IiF~q_@`HSs?-}4)p4saMh z_&oPK&mOHk8g7c+4=1%tJFHXQAk}czEQNc*)0MB8f^yn+axCZWFzwkDr=YIpcA1fx k*-J-2y7WY&?FXQV!s>~t=2>hPfMzpzy85}Sb4q9e0CKV~SO5S3 diff --git a/src/main/resources/assets/textures/tile/light_blue_wool.png b/src/main/resources/assets/textures/tile/light_blue_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..af710f4ac79b88773e1f3224a633bc4e57ad6950 GIT binary patch literal 350 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G|;0G|+7?U^T4Cmgfgbk%9+J^O99d=5TT={n-J`@YN0`_>z-x$L}au;jeO znyUtj&bsV;;C1kk$?8k?TW-1Ud0@Hr@=mE;IzV$c3p^r=85sBugD~Uq{1quc!PTBF zjv*Ssvi{LRM-(_7D>f}+ef{_Su9Bae#+;rE3@%J5Y)hP2vXtg}Tycqd%g|%7?03}c z`N!1_es;}rJu>gnQ^)5LdInkQcMpcV+V?&6;Hu~aTmPv(U@6Huu|Q{CO42oFQ!Um@ zC%^TTPkZPRkn1_Ca{Y`n?uz)sf4|fu_57KYNS%G}B0G|-o=H}|^>Y|AgyW89A8yhPpPVAaBYs%EAeSLjx9UToVEj4|8?e+C# zGiFTc?QQGt@0dEZzpJZx#&>&=Et~}&k;M!Qe1}1p@p%4<6rkV&PZ!4!jbPJ$ZoVT5 z94?HGE_U0#?|+jtS#_qvqYrG13@ck1k{LD}n6oN-=G}cK-&!59Wzx7T$ZPbu&uZe$ zT?zopr0C>-ZOaK4? literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/tile/lime_wool.png b/src/main/resources/assets/textures/tile/lime_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..c62c69bf8f78d01a33b8e9b584e7d419734c890d GIT binary patch literal 325 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}x0G|-o(%lj{n{^&Im%RCo0MZ@>{1{R_wdOYrtg2hy}lr@f7LIhPx#1ZP1_K>z@;j|==^1poj5OHfQyMXEEPvpuS`KC8b;w!=-iu05sFUd_*2%EeE- zyhgITMzOm^u+d%2#!$VkIHkc#x3W8^usWyDTF9p`oxe!5xIwM4JE+ZA#>Gy%dSlEX z00009a7bBm000id000id0mpBsWB>pFtVu*cR47v|kL$9-AP9sJbukF3v8~PfKk32D z`N3s|UP=M=hm71VB5qGq4qrIH{^RouFc`;RNIE0L})z_E+V9E7DF7pAN5l~-!Yb--n;KL-i+oBb2#|-0~5t00Qj!y9R0ph zZ&S8g!6lq7*?nz_mF9YU_+1LrxFPEEOInwnT~ZJp1yB~Ak4pjm06KUGn)1)|MgRZ+ M07*qoM6N<$f}y9Dq5uE@ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/tile/orange_wool.png b/src/main/resources/assets/textures/tile/orange_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..a6a9e6d68df223b071c2837fb84684c2e2df4393 GIT binary patch literal 345 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G|;0G|-om-+lp(m9@Ha=pyu`_d@?WrEi8Z0>iZq95A~o@H^rZIrv4!1%gA z;BAr6>wJN?#lkQ1_+I7le{5Fx&@BH%^@S$T9L@rd$YKTtzQZ8Qcszea3Q%yFr;B5V zMzE}Zw9pX)4yCm>j<|ik@%w(Muf2?ns{q5&l-TVx5e`8opRe@w5cWKFo74Eal*CpA zHRVHBcKKfOvbc6&t60gUH@;Q@)>N-P#9sd@G;23eMB+I^nV3Wl!bATEkM*^5KI`*|%eef*->AnjG1-n`#6hximtwSL|4I?Zr4N8;Wbt@UBO;VtuZp0nHC m+WX^&iAwUnx@=jIpUekNuooC-hn8DN4&t;ucLK6UvnuXQ? literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/tile/pink_wool.png b/src/main/resources/assets/textures/tile/pink_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..3a393eba3231731e36d0f1d8dcb1e9dc1da22abf GIT binary patch literal 365 zcmV-z0h0cSP)Px#1ZP1_K>z@;j|==^1poj5NKi~vMd*N`?~kkhz{}KVj`5wh?ybe|owwFzj_|C* z?vAb6ZjV%@*aFX$=!SJTP?wPdknYHkTsGM!PQUCw| z32;bRa{vGi!vFvd!vV){sAK>D0Io?yK~yMHEssH#g)j&NAtaa4xB)UcK6mQ@;r&&Gq=F^pAfl7)L`|kzAZDy0H5Q&$IAQ#WY!4sYB1ky00000 LNkvXXu0mjfVP~ZA literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/tile/purple_wool.png b/src/main/resources/assets/textures/tile/purple_wool.png new file mode 100644 index 0000000000000000000000000000000000000000..c0fd2327726785ad1ff6798b89b66ef60a6ee74d GIT binary patch literal 303 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFf$W$h%9Dc;5!V$jK}j=qyPo`JY5_^BrYc>2qX!l2$+iW z*A2$Hn@uzqt1He|SD3CSyHrD=S59G(n!rx0G{o!vY}>^=9WP??PGDm=SEDqiPO(4} Q=p+UXPgg&ebxsLQ0LblGWdHyG delta 133 zcmbQoG>vhBL>&hk0|SHn=l_X7im^Dz-HBn{IhmJ0PJpM2V~B-+@|@+1KhJMuI>2H4 z;N$uEJe%IU(Qs4jemJRJ+F_mY2C0U#W+~hgp00e&6qM7plVdq|hiT8QI0bbzx66#o k%w9SI(xoRFZ9f1_mdKI;Vst0K*zFG5`Po diff --git a/src/main/resources/assets/textures/tile/white_wool.png b/src/main/resources/assets/textures/tile/white_wool.png index 06a15a72520768d605cf2304d2695737b100857d..e87eab9135500ef864f72b466f0daa8cb11808f3 100644 GIT binary patch delta 240 zcmbQn*uXSFqMn7Bfq~)e-A6${im^Dz-HBn{IhmJ04okYDuOkD)#(wTUiL5}rXn;?M z>(8G*U%!2O_x^)-?>}6rC^RtTKT)*p}A(Gj=i+npY@*C^17_o zh}4uVYMXaz>fPyAB|CJ#1ev(iTOae#h?So&P*Ip=ShlFOD#&u~?@gNf7B+jFD|{b& n!a4VIlJwu3Ho7HB+FzI}y2WRU{xmlRI)K5`)z4*}Q$iB}B_Cps delta 133 zcmZo*n#MRmqK<=&fq_B(^Z!I3#aJBV?!>U}oXkrgC&1IiF~q_@`Op9V|LfVf7?jU6 zl)k=Z$im9HP@+|*&08*yVQ1fgEC#dN6LcM>Enmm&u~G7w(i}a7YX+~X8t2TA@MY)W l(b(vab48K;+kxfG4DG)wpL#tm+5na* z*B>Xfeq6DAy+QovIiq*GWWOKR`F>3M{ceTNht$69QhdKn>f3Sk4DJcqK=qsj9+AZi z419+{nDKc2iWHz=yQhm|h{WaO1c4SORpHcR)%xiQ;%scrY=&%(W{GU7$x8*k@-2vhBL>&hk0|SHn=l_X7im^Dz-HBn{IhmJ0PJpM2V~B-+a?KZw|MtwR4T5P0 zuCC6P*s|3%pvOt88aK( kln4d0R}+}4A6#Z+h?LEXRkS%_3^bd;)78&qol`;+0B=hyJOBUy From 87ec11aa58181ba8e74da798dbeb790962693264 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 14 Apr 2023 18:08:24 +0800 Subject: [PATCH 09/59] Resolve problem by merging --- src/main/java/minicraft/item/DyeItem.java | 3 ++- src/main/java/minicraft/item/WoolItem.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/minicraft/item/DyeItem.java b/src/main/java/minicraft/item/DyeItem.java index 7dd8331b0..65a88c934 100644 --- a/src/main/java/minicraft/item/DyeItem.java +++ b/src/main/java/minicraft/item/DyeItem.java @@ -1,6 +1,7 @@ package minicraft.item; import minicraft.gfx.SpriteLinker; +import org.jetbrains.annotations.NotNull; import java.util.ArrayList; @@ -50,7 +51,7 @@ public enum DyeColor { } @Override - public DyeItem clone() { + public @NotNull DyeItem copy() { return new DyeItem(getName(), sprite, color); } } diff --git a/src/main/java/minicraft/item/WoolItem.java b/src/main/java/minicraft/item/WoolItem.java index 1afc2c9e2..754dddcb3 100644 --- a/src/main/java/minicraft/item/WoolItem.java +++ b/src/main/java/minicraft/item/WoolItem.java @@ -1,6 +1,7 @@ package minicraft.item; import minicraft.gfx.SpriteLinker; +import org.jetbrains.annotations.NotNull; import java.util.ArrayList; @@ -24,7 +25,7 @@ protected WoolItem(String name, SpriteLinker.LinkedSprite sprite, DyeItem.DyeCol } @Override - public TileItem clone() { + public @NotNull TileItem copy() { return new WoolItem(getName(), sprite, color); } } From f04df2d21edd9f5777110cb1a081b10cced40c99 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 14 Apr 2023 19:31:59 +0800 Subject: [PATCH 10/59] Changed wool into white wool in chestloot table --- src/main/java/minicraft/saveload/Load.java | 2 +- src/main/resources/resources/data/chestloot/dungeonchest.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/minicraft/saveload/Load.java b/src/main/java/minicraft/saveload/Load.java index 561c9d59c..a802429a4 100644 --- a/src/main/java/minicraft/saveload/Load.java +++ b/src/main/java/minicraft/saveload/Load.java @@ -858,7 +858,7 @@ protected static String subOldName(String name, Version worldVer) { } if (worldVer.compareTo(new Version("2.2.0-dev4")) < 0) { - if (name.equalsIgnoreCase("Wool")) + if (name.startsWith("Wool")) name = name.replace("Wool", "White Wool"); } diff --git a/src/main/resources/resources/data/chestloot/dungeonchest.txt b/src/main/resources/resources/data/chestloot/dungeonchest.txt index 650731148..1eddce7ad 100644 --- a/src/main/resources/resources/data/chestloot/dungeonchest.txt +++ b/src/main/resources/resources/data/chestloot/dungeonchest.txt @@ -1,7 +1,7 @@ 5,steak,6 5,cooked pork,6 4,wood,20 -4,wool,12 +4,white wool,12 2,coal,4 5,gem,7 5,gem,8 @@ -25,4 +25,4 @@ 7,gem sword 4,rock claymore 6,iron claymore -:steak,6:time potion,1:gem axe,1 \ No newline at end of file +:steak,6:time potion,1:gem axe,1 From 616d2ab75232efb82012057d16ecdbfb68233fff Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 14 Apr 2023 19:40:54 +0800 Subject: [PATCH 11/59] Complement of recipes of dye composites --- src/main/java/minicraft/item/Recipes.java | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index c238a0339..20bfec747 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -69,16 +69,19 @@ public class Recipes { workbenchRecipes.add(new Recipe("yellow dye_1", "Flower_1")); workbenchRecipes.add(new Recipe("black dye_1", "Coal_1")); workbenchRecipes.add(new Recipe("red dye_1", "Rose_1")); - workbenchRecipes.add(new Recipe("orange dye_1", "red dye_1", "yellow dye_1")); - workbenchRecipes.add(new Recipe("purple dye_1", "blue dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("cyan dye_1", "blue dye_1", "green dye_1")); - workbenchRecipes.add(new Recipe("brown dye_1", "green dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("pink dye_1", "white dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("light blue dye_1", "white dye_1", "blue dye_1")); - workbenchRecipes.add(new Recipe("lime dye_1", "white dye_1", "green dye_1")); - workbenchRecipes.add(new Recipe("gray dye_1", "white dye_1", "black dye_1")); - workbenchRecipes.add(new Recipe("light gray dye_1", "white dye_1", "gray dye_1")); - workbenchRecipes.add(new Recipe("magenta dye_1", "purple dye_1", "pink dye_1")); + workbenchRecipes.add(new Recipe("orange dye_2", "red dye_1", "yellow dye_1")); + workbenchRecipes.add(new Recipe("purple dye_2", "blue dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("cyan dye_2", "blue dye_1", "green dye_1")); + workbenchRecipes.add(new Recipe("brown dye_2", "green dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("pink dye_2", "white dye_1", "red dye_1")); + workbenchRecipes.add(new Recipe("light blue dye_2", "white dye_1", "blue dye_1")); + workbenchRecipes.add(new Recipe("lime dye_2", "white dye_1", "green dye_1")); + workbenchRecipes.add(new Recipe("gray dye_2", "white dye_1", "black dye_1")); + workbenchRecipes.add(new Recipe("light gray dye_2", "white dye_1", "gray dye_1")); + workbenchRecipes.add(new Recipe("light gray dye_3", "white dye_2", "black dye_1")); + workbenchRecipes.add(new Recipe("magenta dye_2", "purple dye_1", "pink dye_1")); + workbenchRecipes.add(new Recipe("magenta dye_4", "red dye_2", "white dye_1", "blue dye_1")); + workbenchRecipes.add(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1")); loomRecipes.add(new Recipe("String_2", "Wool_1")); loomRecipes.add(new Recipe("red wool_1", "Wool_1", "rose_1")); From 1bdf15950476ce39a2574d9c0275386062f5eeeb Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 14 Apr 2023 20:00:15 +0800 Subject: [PATCH 12/59] Complement of wool recipes --- src/main/java/minicraft/item/Recipes.java | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index 20bfec747..19da28d5d 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -83,12 +83,22 @@ public class Recipes { workbenchRecipes.add(new Recipe("magenta dye_4", "red dye_2", "white dye_1", "blue dye_1")); workbenchRecipes.add(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1")); - loomRecipes.add(new Recipe("String_2", "Wool_1")); - loomRecipes.add(new Recipe("red wool_1", "Wool_1", "rose_1")); - loomRecipes.add(new Recipe("blue wool_1", "Wool_1", "Lapis_1")); - loomRecipes.add(new Recipe("green wool_1", "Wool_1", "Cactus_1")); - loomRecipes.add(new Recipe("yellow wool_1", "Wool_1", "Flower_1")); - loomRecipes.add(new Recipe("black wool_1", "Wool_1", "coal_1")); + loomRecipes.add(new Recipe("String_2", "white wool_1")); + loomRecipes.add(new Recipe("black wool_1", "white wool_1", "black dye_1")); + loomRecipes.add(new Recipe("red wool_1", "white wool_1", "red dye_1")); + loomRecipes.add(new Recipe("green wool_1", "white wool_1", "green dye_1")); + loomRecipes.add(new Recipe("brown wool_1", "white wool_1", "brown dye_1")); + loomRecipes.add(new Recipe("blue wool_1", "white wool_1", "blue dye_1")); + loomRecipes.add(new Recipe("purple wool_1", "white wool_1", "purple dye_1")); + loomRecipes.add(new Recipe("cyan wool_1", "white wool_1", "cyan dye_1")); + loomRecipes.add(new Recipe("light gray wool_1", "white wool_1", "light gray dye_1")); + loomRecipes.add(new Recipe("gray wool_1", "white wool_1", "gray dye_1")); + loomRecipes.add(new Recipe("pink wool_1", "white wool_1", "pink dye_1")); + loomRecipes.add(new Recipe("lime wool_1", "white wool_1", "lime dye_1")); + loomRecipes.add(new Recipe("yellow wool_1", "white wool_1", "yellow dye_1")); + loomRecipes.add(new Recipe("light blue wool_1", "white wool_1", "light blue dye_1")); + loomRecipes.add(new Recipe("magenta wool_1", "white wool_1", "magenta dye_1")); + loomRecipes.add(new Recipe("orange wool_1", "white wool_1", "orange dye_1")); loomRecipes.add(new Recipe("Bed_1", "Wood_5", "Wool_3")); loomRecipes.add(new Recipe("blue clothes_1", "cloth_5", "Lapis_1")); From 4f9430ff7bc11eda99a77836c5ae4cf0daea3137 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 14 Apr 2023 20:01:51 +0800 Subject: [PATCH 13/59] Add string to white wool recipe --- src/main/java/minicraft/item/Recipes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index 19da28d5d..06ed8bf7d 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -84,6 +84,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1")); loomRecipes.add(new Recipe("String_2", "white wool_1")); + loomRecipes.add(new Recipe("white wool_1", "String_3")); loomRecipes.add(new Recipe("black wool_1", "white wool_1", "black dye_1")); loomRecipes.add(new Recipe("red wool_1", "white wool_1", "red dye_1")); loomRecipes.add(new Recipe("green wool_1", "white wool_1", "green dye_1")); From 9b546e163f2f0b9a9137a99c2225efffbe12bb14 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 15 Apr 2023 00:44:56 +0800 Subject: [PATCH 14/59] Colored bed implementation by color system update --- .../java/minicraft/entity/furniture/Bed.java | 25 ++++++++++++++++-- .../java/minicraft/item/FurnitureItem.java | 7 ++++- src/main/java/minicraft/saveload/Load.java | 21 ++++++++++----- src/main/java/minicraft/saveload/Save.java | 23 ++++++---------- .../resources/assets/textures/entity/bed.png | Bin 219 -> 0 bytes .../assets/textures/entity/black_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/blue_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/brown_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/cyan_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/gray_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/green_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/light_blue_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/light_gray_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/lime_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/magenta_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/orange_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/pink_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/purple_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/red_bed.png | Bin 0 -> 242 bytes .../assets/textures/entity/white_bed.png | Bin 0 -> 238 bytes .../assets/textures/entity/yellow_bed.png | Bin 0 -> 242 bytes .../resources/assets/textures/item/bed.png | Bin 167 -> 196 bytes .../assets/textures/item/black_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/blue_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/brown_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/cyan_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/gray_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/green_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/light_blue_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/light_gray_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/lime_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/magenta_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/orange_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/pink_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/purple_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/red_bed.png | Bin 0 -> 197 bytes .../assets/textures/item/white_bed.png | Bin 0 -> 185 bytes .../assets/textures/item/yellow_bed.png | Bin 0 -> 197 bytes 38 files changed, 52 insertions(+), 24 deletions(-) delete mode 100644 src/main/resources/assets/textures/entity/bed.png create mode 100644 src/main/resources/assets/textures/entity/black_bed.png create mode 100644 src/main/resources/assets/textures/entity/blue_bed.png create mode 100644 src/main/resources/assets/textures/entity/brown_bed.png create mode 100644 src/main/resources/assets/textures/entity/cyan_bed.png create mode 100644 src/main/resources/assets/textures/entity/gray_bed.png create mode 100644 src/main/resources/assets/textures/entity/green_bed.png create mode 100644 src/main/resources/assets/textures/entity/light_blue_bed.png create mode 100644 src/main/resources/assets/textures/entity/light_gray_bed.png create mode 100644 src/main/resources/assets/textures/entity/lime_bed.png create mode 100644 src/main/resources/assets/textures/entity/magenta_bed.png create mode 100644 src/main/resources/assets/textures/entity/orange_bed.png create mode 100644 src/main/resources/assets/textures/entity/pink_bed.png create mode 100644 src/main/resources/assets/textures/entity/purple_bed.png create mode 100644 src/main/resources/assets/textures/entity/red_bed.png create mode 100644 src/main/resources/assets/textures/entity/white_bed.png create mode 100644 src/main/resources/assets/textures/entity/yellow_bed.png create mode 100644 src/main/resources/assets/textures/item/black_bed.png create mode 100644 src/main/resources/assets/textures/item/blue_bed.png create mode 100644 src/main/resources/assets/textures/item/brown_bed.png create mode 100644 src/main/resources/assets/textures/item/cyan_bed.png create mode 100644 src/main/resources/assets/textures/item/gray_bed.png create mode 100644 src/main/resources/assets/textures/item/green_bed.png create mode 100644 src/main/resources/assets/textures/item/light_blue_bed.png create mode 100644 src/main/resources/assets/textures/item/light_gray_bed.png create mode 100644 src/main/resources/assets/textures/item/lime_bed.png create mode 100644 src/main/resources/assets/textures/item/magenta_bed.png create mode 100644 src/main/resources/assets/textures/item/orange_bed.png create mode 100644 src/main/resources/assets/textures/item/pink_bed.png create mode 100644 src/main/resources/assets/textures/item/purple_bed.png create mode 100644 src/main/resources/assets/textures/item/red_bed.png create mode 100644 src/main/resources/assets/textures/item/white_bed.png create mode 100644 src/main/resources/assets/textures/item/yellow_bed.png diff --git a/src/main/java/minicraft/entity/furniture/Bed.java b/src/main/java/minicraft/entity/furniture/Bed.java index 41f57fd99..94f545985 100644 --- a/src/main/java/minicraft/entity/furniture/Bed.java +++ b/src/main/java/minicraft/entity/furniture/Bed.java @@ -4,22 +4,43 @@ import minicraft.core.Updater; import minicraft.core.io.Localization; import minicraft.entity.mob.Player; +import minicraft.gfx.SpriteAnimation; import minicraft.gfx.SpriteLinker.LinkedSprite; import minicraft.gfx.SpriteLinker.SpriteType; +import minicraft.item.DyeItem; import minicraft.level.Level; import java.util.HashMap; public class Bed extends Furniture { + private static final HashMap sprites = new HashMap<>(); + private static final HashMap itemSprites = new HashMap<>(); + + @Override + public Furniture clone() { + return new Bed(color); + } + + static { + for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { + sprites.put(color, new LinkedSprite(SpriteType.Entity, color.toString().toLowerCase() + "_bed")); + itemSprites.put(color, new LinkedSprite(SpriteType.Item, color.toString().toLowerCase() + "_bed")); + } + } + private static int playersAwake = 1; private static final HashMap sleepingPlayers = new HashMap<>(); + public final DyeItem.DyeColor color; + /** * Creates a new furniture with the name Bed and the bed sprite and color. */ - public Bed() { - super("Bed", new LinkedSprite(SpriteType.Entity, "bed"), new LinkedSprite(SpriteType.Item, "bed"), 3, 2); + public Bed() { this(DyeItem.DyeColor.WHITE); } + public Bed(DyeItem.DyeColor color) { + super(color.toString().replace('_', ' ') + " Bed", sprites.get(color), itemSprites.get(color), 3, 2); + this.color = color; } /** Called when the player attempts to get in bed. */ diff --git a/src/main/java/minicraft/item/FurnitureItem.java b/src/main/java/minicraft/item/FurnitureItem.java index 878459cdc..3500a644b 100644 --- a/src/main/java/minicraft/item/FurnitureItem.java +++ b/src/main/java/minicraft/item/FurnitureItem.java @@ -51,13 +51,18 @@ protected static ArrayList getAllInstances() { for (Crafter.Type type: Crafter.Type.values()) { items.add(new FurnitureItem(new Crafter(type))); } + // Add the various lanterns for (Lantern.Type type: Lantern.Type.values()) { items.add(new FurnitureItem(new Lantern(type))); } + // Add the various colors of bed + for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { + items.add(new FurnitureItem(new Bed(color))); + } + items.add(new FurnitureItem(new Tnt())); - items.add(new FurnitureItem(new Bed())); items.add(new FurnitureItem(new Composter())); return items; diff --git a/src/main/java/minicraft/saveload/Load.java b/src/main/java/minicraft/saveload/Load.java index a802429a4..68596004e 100644 --- a/src/main/java/minicraft/saveload/Load.java +++ b/src/main/java/minicraft/saveload/Load.java @@ -40,6 +40,7 @@ import minicraft.entity.particle.TextParticle; import minicraft.gfx.Color; import minicraft.item.ArmorItem; +import minicraft.item.DyeItem; import minicraft.item.Inventory; import minicraft.item.Item; import minicraft.item.Items; @@ -972,12 +973,19 @@ public static Entity loadEntity(String entityData, Version worldVer, boolean isL Logging.SAVELOAD.error("Failed to load Spark; owner id doesn't point to a correct entity"); return null; } + } else if (entityName.contains(" Bed")) { // with a space, meaning that the bed has a color name in the front + String colorName = entityName.substring(0, entityName.length() - 4).toUpperCase().replace(' ', '_'); + try { + newEntity = new Bed(DyeItem.DyeColor.valueOf(colorName)); + } catch (IllegalArgumentException e) { + Logging.SAVELOAD.error("Invalid bed variant: `{}`, skipping.", entityName); + return null; + } } else { int mobLvl = 1; - Class c = null; - if (!Crafter.names.contains(entityName)) { + if (!Crafter.names.contains(entityName)) { // Entity missing debugging try { - c = Class.forName("minicraft.entity.mob." + entityName); + Class.forName("minicraft.entity.mob." + entityName); } catch (ClassNotFoundException ignored) {} } @@ -1117,8 +1125,9 @@ public static Entity loadEntity(String entityData, Version worldVer, boolean isL @Nullable private static Entity getEntity(String string, int mobLevel) { switch (string) { - case "Player": return null; - case "RemotePlayer": return null; + case "Player": + case "RemotePlayer": + return null; case "Cow": return new Cow(); case "Sheep": return new Sheep(); case "Pig": return new Pig(); @@ -1151,7 +1160,7 @@ private static Entity getEntity(String string, int mobLevel) { case "TextParticle": return new TextParticle("", 0, 0, 0); case "KnightStatue": return new KnightStatue(0); case "ObsidianKnight": return new ObsidianKnight(0); - default : Logging.SAVELOAD.error("LOAD ERROR: Unknown or outdated entity requested: " + string); + default: Logging.SAVELOAD.error("LOAD ERROR: Unknown or outdated entity requested: " + string); return null; } } diff --git a/src/main/java/minicraft/saveload/Save.java b/src/main/java/minicraft/saveload/Save.java index a5096b15e..bb6ac1e4a 100644 --- a/src/main/java/minicraft/saveload/Save.java +++ b/src/main/java/minicraft/saveload/Save.java @@ -11,6 +11,7 @@ import minicraft.entity.FireSpark; import minicraft.entity.ItemEntity; import minicraft.entity.Spark; +import minicraft.entity.furniture.Bed; import minicraft.entity.furniture.Chest; import minicraft.entity.furniture.Crafter; import minicraft.entity.furniture.DeathChest; @@ -363,9 +364,7 @@ public static String writeEntity(Entity e, boolean isLocalSave) { extradata.append(":").append(((EnemyMob) m).lvl); else if (e instanceof Sheep) extradata.append(":").append(((Sheep) m).cut); // Saves if the sheep is cut. If not, we could reload the save and the wool would regenerate. - } - - if (e instanceof Chest) { + } else if (e instanceof Chest) { Chest chest = (Chest)e; for(int ii = 0; ii < chest.getInventory().invSize(); ii++) { @@ -375,25 +374,19 @@ else if (e instanceof Sheep) if(chest instanceof DeathChest) extradata.append(":").append(((DeathChest) chest).time); if(chest instanceof DungeonChest) extradata.append(":").append(((DungeonChest) chest).isLocked()); - } - - if (e instanceof Spawner) { + } else if (e instanceof Spawner) { Spawner egg = (Spawner)e; String mobname = egg.mob.getClass().getName(); mobname = mobname.substring(mobname.lastIndexOf(".")+1); extradata.append(":").append(mobname).append(":").append(egg.mob instanceof EnemyMob ? ((EnemyMob) egg.mob).lvl : 1); - } - - if (e instanceof Lantern) { + } else if (e instanceof Lantern) { extradata.append(":").append(((Lantern) e).type.ordinal()); - } - - if (e instanceof Crafter) { + } else if (e instanceof Crafter) { name = ((Crafter)e).type.name(); - } - - if (e instanceof KnightStatue) { + } else if (e instanceof KnightStatue) { extradata.append(":").append(((KnightStatue) e).getBossHealth()); + } else if (e instanceof Bed) { + name = ((Bed) e).name; } if (!isLocalSave) { diff --git a/src/main/resources/assets/textures/entity/bed.png b/src/main/resources/assets/textures/entity/bed.png deleted file mode 100644 index ded74f0ca9f822726bbcbc9f00961e8d3fcd7df5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 219 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|rh2+KhFJI~ zrz{XKcyxKap27$D*?-RR%Rl&4AjNQL&#MQHJO1^{+aJ2QvaXKDz?nm;VU1uKlOwak zw)B;&ny%LW_`rBn{B+!Yw$C4TH7GH2WU}4l32MH~YQTJ9E?<$^iJvD78HAiUU6OL# z`@`0-31nM$aeI_nolz|i4>-zDb5hFo!-ic9)0LiN9G2|(AtIQ{uydyr!*i|%L0_Gg Rb3g|&c)I$ztaD0e0szlyPfh>; diff --git a/src/main/resources/assets/textures/entity/black_bed.png b/src/main/resources/assets/textures/entity/black_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..971e271666aff5a5e78918c9780e7a0a2349cb60 GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4j_I39ok(8_%NLeJ(K9`Y+xE=g9=_oGhYwsSoJnmPOY9Pl{$=_Z W#(I@ah4mcJSO!m5KbLh*2~7ZYbx@uF literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/blue_bed.png b/src/main/resources/assets/textures/entity/blue_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..f1055648778110113e38099ed46783c6bdd29c59 GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4NS%G}%0G|-oo@}!_4T}x1&&l0S9yN))W8Za}Hbxll|^g zmfo;`MT1J)p4=rD>zKZ&)QR+^uzX=j6g|_UxNXn;?coc~fB3+a!kN^zvBWO%=wGIv XVXRl#R9Mdejb-q3^>bP0l+XkK9rII9 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/cyan_bed.png b/src/main/resources/assets/textures/entity/cyan_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..940f59bc24bb7297ac7e6e98c9c62b022b09475f GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4lBSEK+1y**tVLo|X*yB&oZ3^NS%G}%0G|-oo@}!_4M1MG8>R+tbA{L?gJg+fk^&fP*=B>xuvIIR`F;$$ob# zOK;e}qCur?PwtY7bxhw>>O}fdSiZ0%ik|6F+_q=__V5MgKYZXy;Y@1VSYnrW^e@xT XFxIPVDy-*##xi)i`njxgN@xNAiU(8w literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/green_bed.png b/src/main/resources/assets/textures/entity/green_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..ebec65363b97a3e981925b7bc4c768d7f2b7486b GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4M1MG8>R+tbA{L?gJg+fk^&fP*=B>xuvIIR`F;$$ob# zOK;e}qCur?PwtY7bxhw>>O}fdSiZ0%ik|6F+_q=__V5MgKYZXy;Y@1VSYnrW^e@xT XFxIPVDy-*##xi)i`njxgN@xNAc6U-S literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/light_blue_bed.png b/src/main/resources/assets/textures/entity/light_blue_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..540481e72911dca3ae4211c7d2cc5a3ade1e38ca GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4^HkQ~W9{tPo XGmP~rn+oeWps@^|u6{1-oD!MNS%G}%0G|-oo@}!_45t zfFanwLI@;S;1OBOz`%DHgc*NS%G}%0G|-oo@}!_45t zfFanwLI@;S;1OBOz`%DHgc*NS%G}%0G|-oo@}!_45t zfFanwLI@;S;1OBOz`%DHgc*NS%G}%0G|-oo@}!_4^HkQ~W9{tPo XGmP~rn+oeWps@^|u6{1-oD!MNS%G}%0G|-oo@}!_4lBSEK+1y**tVLo|X*yB&oZ3^NS%G}%0G|-oo@}!_4iUyUoJ-JIR)-ioksT1i-Vfn(6D0-$xaoe8x+rt-}|L}n;g)^ybV~Jhj(Z5VT X!&tAfsj!{{8q476>gTe~DWM4fB6d?f literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/red_bed.png b/src/main/resources/assets/textures/entity/red_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..0db9761954a3258d461218a4f38c85eb84bc373e GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}%0G|-oo@}!_4E`chcFuq29}=~3LaXa4r^1?N9};7Z|4YTH<1mw5Cq Z)6X#0t86N)=YYmCc)I$ztaD0e0sz2GQmFs{ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/entity/white_bed.png b/src/main/resources/assets/textures/entity/white_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..6118e8ad918098cda80cddfdba11696012ff9455 GIT binary patch literal 238 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G|s0G|-oo@}!_4@f=uQp3Gxg64*?AK zn)gNm#W)K*B8wRq_zrNS%G}%0G|-oo@}!_4@$S?Rm z6fgw)R|tUw3p^r=85sBugD~Uq{1qucL2pkN#}JL+(r!ng1_KV};H@YA$LAcl5GMQG zsVu!=|B42cwmrE^F4i%9Q>hc_OJVuKk|=tnM{(Pp`P;)6od58FD}^(uZDWaD;?ciM YKf_qBvZ=710~*WV>FVdQ&MBb@0KW`ZnE(I) literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/bed.png b/src/main/resources/assets/textures/item/bed.png index c8e77fd3741f3a2291194521924faacacccd8a59..e4302e6653dd18e99663b94f123d1d9a27895020 100644 GIT binary patch delta 155 zcmZ3^c!Y6+VLeN_qpu?a!^VE@KZ&di3=EtF9+AZi419+{nDKc2iWHz=q^FBxh(>U7 zN<-82_3{7PjSf15gox;{hi|C-oF>A$Z{NNGOM@TZ-`}s7sQdClFvc)Obdv(diIXQA zpUya7qcCCO#Kuhlj4=l%tNU-zQo1+M_GVfED~A~~GlPiGS9RA+gYb<&TNpfD{an^L HB{Ts53HdpB delta 125 zcmV-@0D}L-0jB|wF?L}|L_t(2Q)6U61L^_-|3N}GKYU;W(O?1wK$5Et9%T6V@gqa3 zpC4EehJq|rRfZ2AJ}@kM{TfvPNH?-1%o?}}AO%sPqF~!Vx=|FMOTruocO=Z^Fvnt5 f022f$Mpgg--Re9EFfUbk00000NkvXXu0mjf=Fuw$ diff --git a/src/main/resources/assets/textures/item/black_bed.png b/src/main/resources/assets/textures/item/black_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..7bc1fdca6ed49627b9fddb56dc8df520704125e1 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC2$PEJulBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+0HEGBtN;K2 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/blue_bed.png b/src/main/resources/assets/textures/item/blue_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..dce6e78f4d6a04c886bbd998c1b74a6323899207 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC2$+ql}+bDf#v?4E2hpm0pl?=B$4RubeF{2v4uHt%1uA1K0E z;1OBOz`%DHgc*mdKI;Vst0H&xo?*IS* literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/brown_bed.png b/src/main/resources/assets/textures/item/brown_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..ce11ae8697ee1d077f63cb1b9abfd4156e986cd8 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC2W#8j@rTRY21ttZlBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+09qP2N&o-= literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/cyan_bed.png b/src/main/resources/assets/textures/item/cyan_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..212dfad45994625372cb10b5f961817cb8057baf GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3hKRH9JXR>f@b5FJzP*^I1lBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+065P#>Hq)$ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/gray_bed.png b/src/main/resources/assets/textures/item/gray_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..c4991e076386266db4811269844535d80013a04c GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC2$*TC4p)x*-(p(oo6DE#P|wLOqxD+%%o{tp5SoA)o-4;0}n z@Q5sCVBk9p!i>lBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+03`x9(f|Me literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/green_bed.png b/src/main/resources/assets/textures/item/green_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..ef21455c019078b25a0ad4cb81c9cfe73db583a0 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC4M#$PC`K*}dsyeHcXD15Dcu{DrlD+%%o{tp5SoA)o-4;0}n z@Q5sCVBk9p!i>lBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+05xeh^8f$< literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/light_blue_bed.png b/src/main/resources/assets/textures/item/light_blue_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..7918b24f634da8c3062b01a1a094351f78d5d079 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC4MrGInc>3?BcAN6FL0fql*8EXP5wvr&f;Qt`NuzCNI{Xh}U z0*}aI1_r*vAk26?e?k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3>pdfqx{ONst?LFCMK;cQQYv%(gwvr&f;Qt`NuzCNI{Xh}U z0*}aI1_r*vAk26?e?+9qHw;LUF2ni9k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3Bncdvik@qh8AM43B0}5}Q({~C;v6Te*1^)*DhRyqz><5Z) z7I;J!GcfQS24TkI`72U@f?A#~jv*4^$qA{c3``0qPo3gmNnjHe7B-%7kcUM;P@-A# hgj47lCYLp98054Wp3UT5zzfvH;OXk;vd$@?2>|W5JFfr$ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/orange_bed.png b/src/main/resources/assets/textures/item/orange_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..4d1abdd55aeeb6ae179e15fd23e9ed2899fc4624 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3Ba~R*hYLQ2|LOt1LKw+l$v9Ev>TS<^#@P80s*t~zqexL|v zfk$L90|Vb-5N14{zaj-FsO9P67$Om#oRFHzz@%{U)F}>@1U6w|VdEJGc~}GlC7LBq gIE9{Ja#^#6K~9_D*-Y*Qyg*$Hp00i_>zopr015dyx&QzG literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/pink_bed.png b/src/main/resources/assets/textures/item/pink_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..3dc8b604b40cafb8bd55ebcff31be51f6f8d76fb GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3Bb7sT8DO(@4EbPfP0}9_Nx%mx9v6Te*1^)*DhRyqz><5Z) z7I;J!GcfQS24TkI`72U@f?A#~jv*4^$qA{c3``0qPo3gmNnjHe7B-%7kcUM;P@-A# hgj47lCYLp98054Wp3UT5zzfvH;OXk;vd$@?2>?txJcIxM literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/purple_bed.png b/src/main/resources/assets/textures/item/purple_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..24e75b93e5c96cea5d0d2a6c29161dafb0af0445 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC2WS9kg>hijdd`+Ks@fWkR(u7`mXTS<^#@P80s*t~zqexL|v zfk$L90|OsWmhUj*@%$AjKtU}}7sn8Z@Z^NlR0bx6lc!E`uq3bv3kw_1ILN~yASlr+ idBQ3543o>6H4Jjv49{kAFW?30V(@hJb6Mw<&;$SoOgXUt literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/red_bed.png b/src/main/resources/assets/textures/item/red_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..0bfd8392ae69798254db3bd066fcbd1cc6674505 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^93afW3?x5a^xFxf7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3>R$OeOqWnBr>7Hyepl}$sye*JoD+%%o{tp5SoA)o-4;0}n z@Q5sCVBk9p!i>lBSEK+1wLD!MLnOkJ6H-$dm=sQ)I>o_~z$Pp#Y&_#24~u}HM6=`x gr_eJ@E^F2>$Z0b?o5{U^7pRND)78&qol`;+0Im8qs{jB1 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/textures/item/white_bed.png b/src/main/resources/assets/textures/item/white_bed.png new file mode 100644 index 0000000000000000000000000000000000000000..821948bec8b5dd1b2957c7470ff53264cd61da31 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucK|fCy#}JL++9qHw;LUF2ni9 z`8iF5b>F^y1(pUszQ4a;FH!g9gjuR(OHa?wkz{aLw0n;Pdo0D_d!W$Bd b4Hy_6$}4}oI6Zs`&}0TrS3j3^P6k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O_~O1^9%xzJC3BbFaa_6E2T7+4N+a0fn_cNyh*wwvr&f;Qt`NuzCNI{Xh}U z0*}aI1_r*vAk26?e? Date: Sat, 15 Apr 2023 22:07:08 +0800 Subject: [PATCH 15/59] Fix invalid wool request into white wool --- src/main/java/minicraft/entity/mob/Mob.java | 2 +- src/main/java/minicraft/entity/mob/Sheep.java | 4 ++-- src/main/java/minicraft/item/Recipes.java | 4 ++-- src/main/java/minicraft/item/TorchItem.java | 2 +- src/main/java/minicraft/level/tile/Tiles.java | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/minicraft/entity/mob/Mob.java b/src/main/java/minicraft/entity/mob/Mob.java index f0bc64aeb..e8e418ef2 100644 --- a/src/main/java/minicraft/entity/mob/Mob.java +++ b/src/main/java/minicraft/entity/mob/Mob.java @@ -185,7 +185,7 @@ public static LinkedSprite[][] compileMobSpriteAnimations(int sheetX, int sheetY private boolean isWooling() { // supposed to walk at half speed on wool if (level == null) return false; Tile tile = level.getTile(x >> 4, y >> 4); - return tile == Tiles.get("wool"); + return tile == Tiles.get("white wool"); } /** diff --git a/src/main/java/minicraft/entity/mob/Sheep.java b/src/main/java/minicraft/entity/mob/Sheep.java index cf95540eb..56c9e909b 100644 --- a/src/main/java/minicraft/entity/mob/Sheep.java +++ b/src/main/java/minicraft/entity/mob/Sheep.java @@ -89,7 +89,7 @@ public boolean interact(Player player, @Nullable Item item, Direction attackDir) if (item instanceof ToolItem) { if (!cut && ((ToolItem) item).type == ToolType.Shears) { cut = true; - dropItem(1, 3, Items.get("Wool")); + dropItem(1, 3, Items.get(color.toString().replace('_', ' ') + " Wool")); ((ToolItem) item).payDurability(); return true; } @@ -107,7 +107,7 @@ public void die() { if (Settings.get("diff").equals("minicraft.settings.difficulty.normal")) {min = 1; max = 2;} if (Settings.get("diff").equals("minicraft.settings.difficulty.hard")) {min = 0; max = 2;} - if (!cut) dropItem(min, max, Items.get("wool")); + if (!cut) dropItem(min, max, Items.get(color.toString().replace('_', ' ') + " Wool")); dropItem(min, max, Items.get("Raw Beef")); super.die(); diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index 06ed8bf7d..f6f02a685 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -39,7 +39,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("Chest_1", "Wood_20")); workbenchRecipes.add(new Recipe("Anvil_1", "iron_5")); workbenchRecipes.add(new Recipe("Tnt_1", "Gunpowder_10", "Sand_8")); - workbenchRecipes.add(new Recipe("Loom_1", "Wood_10", "Wool_5")); + workbenchRecipes.add(new Recipe("Loom_1", "Wood_10", "White Wool_5")); workbenchRecipes.add(new Recipe("Wood Fishing Rod_1", "Wood_10", "String_3")); workbenchRecipes.add(new Recipe("Iron Fishing Rod_1", "Iron_10", "String_3")); workbenchRecipes.add(new Recipe("Gold Fishing Rod_1", "Gold_10", "String_3")); @@ -100,7 +100,7 @@ public class Recipes { loomRecipes.add(new Recipe("light blue wool_1", "white wool_1", "light blue dye_1")); loomRecipes.add(new Recipe("magenta wool_1", "white wool_1", "magenta dye_1")); loomRecipes.add(new Recipe("orange wool_1", "white wool_1", "orange dye_1")); - loomRecipes.add(new Recipe("Bed_1", "Wood_5", "Wool_3")); + loomRecipes.add(new Recipe("Bed_1", "Wood_5", "White Wool_3")); loomRecipes.add(new Recipe("blue clothes_1", "cloth_5", "Lapis_1")); loomRecipes.add(new Recipe("green clothes_1", "cloth_5", "Cactus_1")); diff --git a/src/main/java/minicraft/item/TorchItem.java b/src/main/java/minicraft/item/TorchItem.java index 324681097..a1a556edc 100644 --- a/src/main/java/minicraft/item/TorchItem.java +++ b/src/main/java/minicraft/item/TorchItem.java @@ -21,7 +21,7 @@ public static ArrayList getAllInstances() { private TorchItem() { this(1); } private TorchItem(int count) { - super("Torch", new LinkedSprite(SpriteType.Item, "torch"), count, new TileModel(""), "dirt", "Wood Planks", "Stone Bricks", "Obsidian", "Wool", "Red Wool", "Blue Wool", "Green Wool", "Yellow Wool", "Black Wool", "grass", "sand","path","ornate stone","ornate obsidian"); + super("Torch", new LinkedSprite(SpriteType.Item, "torch"), count, new TileModel(""), "dirt", "Wood Planks", "Stone Bricks", "Obsidian", "White Wool", "Red Wool", "Blue Wool", "Green Wool", "Yellow Wool", "Black Wool", "grass", "sand","path","ornate stone","ornate obsidian"); } public boolean interactOn(Tile tile, Level level, int xt, int yt, Player player, Direction attackDir) { diff --git a/src/main/java/minicraft/level/tile/Tiles.java b/src/main/java/minicraft/level/tile/Tiles.java index afb13a0f1..cb66c7f90 100644 --- a/src/main/java/minicraft/level/tile/Tiles.java +++ b/src/main/java/minicraft/level/tile/Tiles.java @@ -127,7 +127,7 @@ static void add(int id, Tile tile) { oldids.set(3, "flower"); oldids.set(4, "tree"); oldids.set(5, "dirt"); - oldids.set(41, "wool"); + oldids.set(41, "white wool"); oldids.set(42, "red wool"); oldids.set(43, "blue wool"); oldids.set(45, "green wool"); @@ -185,7 +185,7 @@ static void add(int id, Tile tile) { oldids.set(116, "Obsidian door"); oldids.set(117, "Obsidian door"); oldids.set(119, "hole"); - oldids.set(57, "wool"); + oldids.set(57, "white wool"); oldids.set(58, "red wool"); oldids.set(59, "blue wool"); oldids.set(60, "green wool"); From d11f3733924da3212acb1d6c920f58d2e7983082 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 15 Apr 2023 23:03:10 +0800 Subject: [PATCH 16/59] Complementation on bed recipes --- src/main/java/minicraft/item/Recipes.java | 34 ++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index f6f02a685..f73c12b6c 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -100,7 +100,39 @@ public class Recipes { loomRecipes.add(new Recipe("light blue wool_1", "white wool_1", "light blue dye_1")); loomRecipes.add(new Recipe("magenta wool_1", "white wool_1", "magenta dye_1")); loomRecipes.add(new Recipe("orange wool_1", "white wool_1", "orange dye_1")); - loomRecipes.add(new Recipe("Bed_1", "Wood_5", "White Wool_3")); + + loomRecipes.add(new Recipe("white Bed_1", "Wood_5", "white wool_3")); + loomRecipes.add(new Recipe("black Bed_1", "Wood_5", "black wool_3")); + loomRecipes.add(new Recipe("red Bed_1", "Wood_5", "red wool_3")); + loomRecipes.add(new Recipe("green Bed_1", "Wood_5", "green wool_3")); + loomRecipes.add(new Recipe("brown Bed_1", "Wood_5", "brown wool_3")); + loomRecipes.add(new Recipe("blue Bed_1", "Wood_5", "blue wool_3")); + loomRecipes.add(new Recipe("purple Bed_1", "Wood_5", "purple wool_3")); + loomRecipes.add(new Recipe("cyan Bed_1", "Wood_5", "cyan wool_3")); + loomRecipes.add(new Recipe("light gray Bed_1", "Wood_5", "light gray wool_3")); + loomRecipes.add(new Recipe("gray Bed_1", "Wood_5", "gray wool_3")); + loomRecipes.add(new Recipe("pink Bed_1", "Wood_5", "pink wool_3")); + loomRecipes.add(new Recipe("lime Bed_1", "Wood_5", "lime wool_3")); + loomRecipes.add(new Recipe("yellow Bed_1", "Wood_5", "yellow wool_3")); + loomRecipes.add(new Recipe("light blue Bed_1", "Wood_5", "light blue wool_3")); + loomRecipes.add(new Recipe("magenta Bed_1", "Wood_5", "magenta wool_3")); + loomRecipes.add(new Recipe("orange Bed_1", "Wood_5", "orange wool_3")); + + loomRecipes.add(new Recipe("black Bed_1", "White Bed_1", "black dye_1")); + loomRecipes.add(new Recipe("red Bed_1", "White Bed_1", "red dye_1")); + loomRecipes.add(new Recipe("green Bed_1", "White Bed_1", "green dye_1")); + loomRecipes.add(new Recipe("brown Bed_1", "White Bed_1", "brown dye_1")); + loomRecipes.add(new Recipe("blue Bed_1", "White Bed_1", "blue dye_1")); + loomRecipes.add(new Recipe("purple Bed_1", "White Bed_1", "purple dye_1")); + loomRecipes.add(new Recipe("cyan Bed_1", "White Bed_1", "cyan dye_1")); + loomRecipes.add(new Recipe("light gray Bed_1", "White Bed_1", "light gray dye_1")); + loomRecipes.add(new Recipe("gray Bed_1", "White Bed_1", "gray dye_1")); + loomRecipes.add(new Recipe("pink Bed_1", "White Bed_1", "pink dye_1")); + loomRecipes.add(new Recipe("lime Bed_1", "White Bed_1", "lime dye_1")); + loomRecipes.add(new Recipe("yellow Bed_1", "White Bed_1", "yellow dye_1")); + loomRecipes.add(new Recipe("light blue Bed_1", "White Bed_1", "light blue dye_1")); + loomRecipes.add(new Recipe("magenta Bed_1", "White Bed_1", "magenta dye_1")); + loomRecipes.add(new Recipe("orange Bed_1", "White Bed_1", "orange dye_1")); loomRecipes.add(new Recipe("blue clothes_1", "cloth_5", "Lapis_1")); loomRecipes.add(new Recipe("green clothes_1", "cloth_5", "Cactus_1")); From f7617540389f5b3aebddb8cc4c0e867e35c07d80 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sun, 16 Apr 2023 19:55:35 +0800 Subject: [PATCH 17/59] Add recipe unlocking advancement generator --- src/main/java/minicraft/item/Recipe.java | 7 + src/main/java/minicraft/item/Recipes.java | 335 ++ src/main/resources/resources/recipes.json | 5849 ++++++++------------- 3 files changed, 2537 insertions(+), 3654 deletions(-) diff --git a/src/main/java/minicraft/item/Recipe.java b/src/main/java/minicraft/item/Recipe.java index b798f234e..56b161b5a 100644 --- a/src/main/java/minicraft/item/Recipe.java +++ b/src/main/java/minicraft/item/Recipe.java @@ -4,6 +4,7 @@ import minicraft.entity.mob.Player; import java.util.HashMap; +import java.util.Iterator; import java.util.Map; import java.util.TreeMap; @@ -102,4 +103,10 @@ public int hashCode() { result = 31 * result + amount; return result; } + + @Override + public String toString() { + return product + ":" + amount + + "[" + String.join(";", costs.entrySet().stream().map(e -> e.getKey() + ":" + e.getValue())::iterator) + "]"; + } } diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index f73c12b6c..145838f05 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -1,6 +1,40 @@ package minicraft.item; +import minicraft.entity.furniture.Bed; +import minicraft.saveload.Save; +import org.json.JSONArray; +import org.json.JSONObject; + +import javax.swing.BorderFactory; +import javax.swing.Box; +import javax.swing.BoxLayout; +import javax.swing.JButton; +import javax.swing.JDialog; +import javax.swing.JLabel; +import javax.swing.JOptionPane; +import javax.swing.JPanel; +import javax.swing.JTextArea; +import javax.swing.JTextField; +import javax.swing.Spring; +import javax.swing.SpringLayout; +import javax.swing.UIManager; +import javax.swing.border.EmptyBorder; + +import java.awt.BorderLayout; +import java.awt.Component; +import java.awt.Container; +import java.awt.Dialog; +import java.awt.Frame; +import java.awt.event.WindowEvent; +import java.awt.event.WindowListener; +import java.io.File; +import java.io.IOException; import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.function.Function; public class Recipes { @@ -199,4 +233,305 @@ public class Recipes { enchantRecipes.add(new Recipe("Totem of Air_1", "gold_10", "gem_10", "Lapis_5","Cloud Ore_5")); enchantRecipes.add(new Recipe("Obsidian Poppet_1", "gold_10", "gem_10", "Lapis_5","Shard_15")); } + + public static void main(String[] args) { + HashSet recipes = new HashSet<>(); + recipes.addAll(anvilRecipes); + recipes.addAll(ovenRecipes); + recipes.addAll(furnaceRecipes); + recipes.addAll(workbenchRecipes); + recipes.addAll(enchantRecipes); + recipes.addAll(craftRecipes); + recipes.addAll(loomRecipes); + HashMap recipeMap = new HashMap<>(); + HashMap> duplicatedRecipes = new HashMap<>(); + Function itemNameFixer = item -> { + String name = item.getName(); + return (name.equalsIgnoreCase("gold apple") ? name.replaceAll("(?i)gold", "golden") : + item instanceof ToolItem ? name.replaceAll("(?i)wood", "wooden").replaceAll("(?i)rock", "stone") : name) + .toLowerCase().replace(' ', '_'); + }; + Function recipeNameFixer = recipe -> { // This is applied when duplication occurrs. + Item item = recipe.getProduct(); + String name = itemNameFixer.apply(item); + if (item instanceof DyeItem) { + Map costs = recipe.getCosts(); + if (costs.size() == 2 && costs.containsKey("WHITE DYE")) + return name + "_from_white_dye"; + return name; + } else if (item instanceof FurnitureItem && ((FurnitureItem) item).furniture instanceof Bed) { + if (recipe.getCosts().containsKey("WHITE BED")) + return name + "_from_white_bed"; + return name; + } + return name; + }; + for (Recipe recipe : recipes) { + if (recipes.stream().anyMatch(r -> r != recipe && r.getProduct().equals(recipe.getProduct()))) { + if (recipes.stream().anyMatch(r -> r != recipe && recipeNameFixer.apply(r).equals(recipeNameFixer.apply(recipe)))) { + duplicatedRecipes.compute(recipeNameFixer.apply(recipe), (k, v) -> { + if (v == null) return new HashSet<>(Collections.singletonList(recipe)); + else { + v.add(recipe); + return v; + } + }); + } else { + recipeMap.put(recipeNameFixer.apply(recipe), recipe); + } + } else { + recipeMap.put(itemNameFixer.apply(recipe.getProduct()), recipe); + } + } + for (String key : duplicatedRecipes.keySet()) { + HashSet duplications = duplicatedRecipes.get(key); + HashMap inputs = new HashMap<>(); + JDialog dialog = new JDialog((Frame) null, "Recipe Duplication: " + key); + dialog.setLayout(new BorderLayout()); + dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); + dialog.addWindowListener(new WindowListener() { + @Override + public void windowOpened(WindowEvent e) {} + @Override + public void windowClosing(WindowEvent e) { + dialog.setVisible(false); + JOptionPane.showMessageDialog(null, "Exit Program"); + dialog.dispose(); + System.exit(0); + } + @Override + public void windowClosed(WindowEvent e) {} + @Override + public void windowIconified(WindowEvent e) {} + @Override + public void windowDeiconified(WindowEvent e) {} + @Override + public void windowActivated(WindowEvent e) {} + @Override + public void windowDeactivated(WindowEvent e) {} + }); + + JPanel inputPanel = new JPanel(new SpringLayout()); + inputPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); + for (Recipe recipe : duplications) { + JLabel l = new JLabel(recipe.toString(), JLabel.TRAILING); + inputPanel.add(l); + JTextField textField = new JTextField(key, 20); + l.setLabelFor(textField); + inputPanel.add(textField); + inputs.put(recipe, textField); + } + + makeCompactGrid(inputPanel, + duplications.size(), 2, //rows, cols + 6, 6, //initX, initY + 6, 6); //xPad, yPad + + JPanel buttonPane = new JPanel(); + buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS)); + buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); + buttonPane.add(Box.createHorizontalGlue()); + JButton doneButton = new JButton("Done"); + doneButton.addActionListener(e -> { + inputs.forEach((recipe, text) -> recipeMap.put(text.getText(), recipe)); + dialog.setVisible(false); + dialog.dispose(); + }); + doneButton.setDefaultCapable(true); + buttonPane.add(doneButton); + buttonPane.add(Box.createHorizontalGlue()); + + class JMultilineLabel extends JTextArea { // Reference: https://stackoverflow.com/a/11034405 + private static final long serialVersionUID = 1L; + public JMultilineLabel(String text){ + super(text); // According to Mr. Polywhirl, this might improve it -> text + System.lineSeparator() + setEditable(false); + setCursor(null); + setOpaque(false); + setFocusable(false); + setFont(UIManager.getFont("Label.font")); + setWrapStyleWord(true); + setLineWrap(true); + //According to Mariana this might improve it + setBorder(new EmptyBorder(5, 5, 5, 5)); + setAlignmentY(JLabel.CENTER_ALIGNMENT); + } + } + + Container dialogPane = dialog.getContentPane(); + dialogPane.add(new JMultilineLabel("Recipes:\n" + + String.join("\n", duplicatedRecipes.get(key).stream().map(Recipe::toString)::iterator)), + BorderLayout.NORTH); + dialogPane.add(inputPanel, BorderLayout.CENTER); + dialogPane.add(buttonPane, BorderLayout.SOUTH); + dialog.pack(); + dialog.setLocationRelativeTo(null); + dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL); + dialog.setVisible(true); + } + + JSONObject json = new JSONObject(); + for (String key : recipeMap.keySet()) { + Recipe recipe = recipeMap.get(key); + JSONObject recipeUnlockingJson = new JSONObject(); + + ArrayList costs = new ArrayList<>(); + JSONObject criteriaJson = new JSONObject(); + Map costMap = recipe.getCosts(); + for (String itemKey : costMap.keySet()) { + Item item = Items.get(itemKey); + JSONObject criterionJson = new JSONObject(); + + criterionJson.put("trigger", "inventory_changed"); + + JSONObject conditionsJson = new JSONObject(); + JSONArray itemConditionsJsonArray = new JSONArray(); + JSONObject itemConditionsJson = new JSONObject(); + JSONArray itemsJson = new JSONArray(); + itemsJson.put(item.getName()); + itemConditionsJson.put("items", itemsJson); + itemConditionsJsonArray.put(itemConditionsJson); + conditionsJson.put("items", itemConditionsJsonArray); + criterionJson.put("conditions", conditionsJson); + criteriaJson.put("has_" + itemNameFixer.apply(item), criterionJson); + + costs.add(item.getName() + "_" + costMap.get(itemKey)); + } + recipeUnlockingJson.put("criteria", criteriaJson); + + JSONArray requirementsJson = new JSONArray(); + JSONArray criterionNamesJson = new JSONArray(); + criterionNamesJson.putAll(criteriaJson.keySet()); + requirementsJson.put(criterionNamesJson); + recipeUnlockingJson.put("requirements", requirementsJson); + + JSONObject rewardsJson = new JSONObject(); + JSONObject recipesJson = new JSONObject(); + JSONArray costsJson = new JSONArray(); + costsJson.putAll(costs); + recipesJson.put(recipe.getProduct().getName() + "_" + recipe.getAmount(), costsJson); + rewardsJson.put("recipes", recipesJson); + recipeUnlockingJson.put("rewards", rewardsJson); + + json.put("minicraft.advancements.recipes." + key, recipeUnlockingJson); + } + + try { + Save.writeJSONToFile(new File(System.getProperty("user.dir"), "src/main/resources/resources/recipes.json").toString(), + json.toString(2)); + } catch (IOException e) { + throw new RuntimeException(e); + } + } + + /* Used by makeCompactGrid. */ + private static SpringLayout.Constraints getConstraintsForCell( + int row, int col, + Container parent, + int cols) { + SpringLayout layout = (SpringLayout) parent.getLayout(); + Component c = parent.getComponent(row * cols + col); + return layout.getConstraints(c); + } + + /* + * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * - Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * - Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * - Neither the name of Oracle or the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + /** + * Aligns the first rows * cols + * components of parent in + * a grid. Each component in a column is as wide as the maximum + * preferred width of the components in that column; + * height is similarly determined for each row. + * The parent is made just big enough to fit them all. + * + * @param rows number of rows + * @param cols number of columns + * @param initialX x location to start the grid at + * @param initialY y location to start the grid at + * @param xPad x padding between cells + * @param yPad y padding between cells + */ + @SuppressWarnings("SameParameterValue") + private static void makeCompactGrid(Container parent, + int rows, int cols, + int initialX, int initialY, + int xPad, int yPad) { + SpringLayout layout; + try { + layout = (SpringLayout)parent.getLayout(); + } catch (ClassCastException exc) { + System.err.println("The first argument to makeCompactGrid must use SpringLayout."); + return; + } + + //Align all cells in each column and make them the same width. + Spring x = Spring.constant(initialX); + for (int c = 0; c < cols; c++) { + Spring width = Spring.constant(0); + for (int r = 0; r < rows; r++) { + width = Spring.max(width, + getConstraintsForCell(r, c, parent, cols). + getWidth()); + } + for (int r = 0; r < rows; r++) { + SpringLayout.Constraints constraints = + getConstraintsForCell(r, c, parent, cols); + constraints.setX(x); + constraints.setWidth(width); + } + x = Spring.sum(x, Spring.sum(width, Spring.constant(xPad))); + } + + //Align all cells in each row and make them the same height. + Spring y = Spring.constant(initialY); + for (int r = 0; r < rows; r++) { + Spring height = Spring.constant(0); + for (int c = 0; c < cols; c++) { + height = Spring.max(height, + getConstraintsForCell(r, c, parent, cols). + getHeight()); + } + for (int c = 0; c < cols; c++) { + SpringLayout.Constraints constraints = + getConstraintsForCell(r, c, parent, cols); + constraints.setY(y); + constraints.setHeight(height); + } + y = Spring.sum(y, Spring.sum(height, Spring.constant(yPad))); + } + + //Set the parent's size. + SpringLayout.Constraints pCons = layout.getConstraints(parent); + pCons.setConstraint(SpringLayout.SOUTH, y); + pCons.setConstraint(SpringLayout.EAST, x); + } } diff --git a/src/main/resources/resources/recipes.json b/src/main/resources/resources/recipes.json index 615fb92e7..2342efa19 100644 --- a/src/main/resources/resources/recipes.json +++ b/src/main/resources/resources/recipes.json @@ -1,4409 +1,2950 @@ { - "minicraft.advancements.recipes.workbench": { + "minicraft.advancements.recipes.gem_fishing_rod": { + "requirements": [[ + "has_gem", + "has_string" + ]], "criteria": { - "has_wood": { + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["gem"]}]} + }, + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Workbench_1": ["Wood_10"] + "rewards": {"recipes": {"Gem Fishing Rod_1": [ + "string_3", + "gem_10" + ]}} + }, + "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "requirements": [[ + "has_gray_dye", + "has_white_bed" + ]], + "criteria": { + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GRAY Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } - } + }, + "rewards": {"recipes": {"GRAY Bed_1": [ + "GRAY Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.torch": { + "minicraft.advancements.recipes.health_potion": { + "requirements": [[ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_wood": { + "has_leather_armor": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Leather Armor"]}]} }, - "has_coal": { + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} + }, + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "Torch_2": ["Wood_1", "coal_1"] + "rewards": {"recipes": {"Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" + ]}} + }, + "minicraft.advancements.recipes.green_wool": { + "requirements": [[ + "has_green_dye", + "has_white_wool" + ]], + "criteria": { + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GREEN Dye"]}]} + }, + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } - } + }, + "rewards": {"recipes": {"GREEN Wool_1": [ + "GREEN Dye_1", + "WHITE Wool_1" + ]}} + }, + "minicraft.advancements.recipes.obsidian_brick": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Obsidian Brick_1": ["Raw Obsidian_2"]}} }, "minicraft.advancements.recipes.plank": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Plank_2": ["Wood_1"]}} + }, + "minicraft.advancements.recipes.red_bed_from_white_bed": { + "requirements": [[ + "has_red_dye", + "has_white_bed" + ]], "criteria": { - "has_wood": { + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["RED Dye"]}]} + }, + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "plank_2": ["Wood_1"] - } - } + "rewards": {"recipes": {"RED Bed_1": [ + "RED Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.plank_wall": { + "minicraft.advancements.recipes.purple_wool": { + "requirements": [[ + "has_white_wool", + "has_purple_dye" + ]], "criteria": { - "has_plank": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "plank" - ] - } - ] - } + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} + }, + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PURPLE Dye"]}]} } }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Plank Wall_1": ["plank_3"] - } - } + "rewards": {"recipes": {"PURPLE Wool_1": [ + "PURPLE Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.wood_door": { + "minicraft.advancements.recipes.bone_meal": { + "requirements": [["has_bone"]], + "criteria": {"has_bone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Bone"]}]} + }}, + "rewards": {"recipes": {"Bone Meal_3": ["Bone_1"]}} + }, + "minicraft.advancements.recipes.black_dye": { + "requirements": [["has_coal"]], + "criteria": {"has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }}, + "rewards": {"recipes": {"BLACK Dye_1": ["Coal_1"]}} + }, + "minicraft.advancements.recipes.leather_armor": { + "requirements": [["has_leather"]], + "criteria": {"has_leather": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Leather"]}]} + }}, + "rewards": {"recipes": {"Leather Armor_1": ["Leather_10"]}} + }, + "minicraft.advancements.recipes.lava_potion": { + "requirements": [[ + "has_awkward_potion", + "has_lava_bucket" + ]], "criteria": { - "has_plank": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "plank" - ] - } - ] - } + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} + }, + "has_lava_bucket": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lava Bucket"]}]} } }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Wood Door_1": ["plank_5"] - } - } + "rewards": {"recipes": {"Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ]}} }, - "minicraft.advancements.recipes.lantern": { + "minicraft.advancements.recipes.iron_axe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_slime": { + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "slime" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} + } + }, + "rewards": {"recipes": {"Iron Axe_1": [ + "Wood_5", + "Iron_5" + ]}} + }, + "minicraft.advancements.recipes.black_wool": { + "requirements": [[ + "has_white_wool", + "has_black_dye" + ]], + "criteria": { + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_glass": { + "has_black_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLACK Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_slime", - "has_glass" - ] - ], - "rewards": { - "recipes": { - "Lantern_1": ["Wood_8", "slime_4", "glass_3"] - } - } + "rewards": {"recipes": {"BLACK Wool_1": [ + "BLACK Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.stone_brick": { + "minicraft.advancements.recipes.white_wool": { + "requirements": [["has_string"]], + "criteria": {"has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["string"]}]} + }}, + "rewards": {"recipes": {"WHITE Wool_1": ["string_3"]}} + }, + "minicraft.advancements.recipes.cooked_pork": { + "requirements": [[ + "has_coal", + "has_raw_pork" + ]], "criteria": { - "has_stone": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_raw_pork": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Pork"]}]} } }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Stone Brick_1": ["Stone_2"] - } - } + "rewards": {"recipes": {"Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" + ]}} }, - "minicraft.advancements.recipes.ornate_stone": { + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "requirements": [[ + "has_gray_dye", + "has_white_dye" + ]], "criteria": { - "has_stone": { + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GRAY Dye"]}]} + }, + "has_white_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Dye"]}]} } }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Stone Brick_1": ["Stone_2"] - } - } + "rewards": {"recipes": {"LIGHT GRAY Dye_2": [ + "GRAY Dye_1", + "WHITE Dye_1" + ]}} }, - "minicraft.advancements.recipes.stone_wall": { + "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "requirements": [[ + "has_pink_dye", + "has_white_bed" + ]], "criteria": { - "has_stone_brick": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone brick" - ] - } - ] - } + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PINK Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Wall_1": ["Stone Brick_3"] - } - } + "rewards": {"recipes": {"PINK Bed_1": [ + "PINK Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.stone_door": { + "minicraft.advancements.recipes.magenta_dye": { + "requirements": [[ + "has_pink_dye", + "has_purple_dye" + ]], "criteria": { - "has_stone_brick": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone brick" - ] - } - ] - } + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PINK Dye"]}]} + }, + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PURPLE Dye"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Door_1": ["Stone Brick_5"] - } - } + "rewards": {"recipes": {"MAGENTA Dye_2": [ + "PINK Dye_1", + "PURPLE Dye_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_brick": { + "minicraft.advancements.recipes.wooden_hoe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Hoe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_sword": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw obsidian" - ] - } - ] - } + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Obsidian Brick_1": ["Raw Obsidian_2"] - } - } + "rewards": {"recipes": {"Rock Sword_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.ornate_obsidian": { + "minicraft.advancements.recipes.brown_wool": { + "requirements": [[ + "has_white_wool", + "has_brown_dye" + ]], "criteria": { - "has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw obsidian" - ] - } - ] - } + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} + }, + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BROWN Dye"]}]} } }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Ornate Obsidian_1": ["Raw Obsidian_2"] - } - } + "rewards": {"recipes": {"BROWN Wool_1": [ + "BROWN Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_wall": { + "minicraft.advancements.recipes.snake_armor": { + "requirements": [["has_scale"]], + "criteria": {"has_scale": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Scale"]}]} + }}, + "rewards": {"recipes": {"Snake Armor_1": ["Scale_15"]}} + }, + "minicraft.advancements.recipes.magenta_dye_from_white_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "obsidian brick" - ] - } - ] - } + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Dye"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["RED Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Wall_1": ["Obsidian Brick_3"] - } - } + "rewards": {"recipes": {"MAGENTA Dye_4": [ + "WHITE Dye_1", + "RED Dye_2", + "BLUE Dye_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_door": { + "minicraft.advancements.recipes.shears": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Shears_1": ["Iron_4"]}} + }, + "minicraft.advancements.recipes.wood_door": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Wood Door_1": ["Plank_5"]}} + }, + "minicraft.advancements.recipes.green_clothes": { + "requirements": [[ + "has_cactus", + "has_cloth" + ]], "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "obsidian brick" - ] - } - ] - } + "has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} + }, + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} } }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Door_1": ["Obsidian Brick_5"] - } - } + "rewards": {"recipes": {"Green Clothes_1": [ + "Cactus_1", + "cloth_5" + ]}} }, - "minicraft.advancements.recipes.oven": { + "minicraft.advancements.recipes.red_wool": { + "requirements": [[ + "has_white_wool", + "has_red_dye" + ]], "criteria": { - "has_stone": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["RED Dye"]}]} } }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Oven_1": ["Stone_15"] - } - } + "rewards": {"recipes": {"RED Wool_1": [ + "RED Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.furnace": { + "minicraft.advancements.recipes.stone_bow": { + "requirements": [[ + "has_stone", + "has_wood", + "has_string" + ]], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["string"]}]} } }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Furnace_1": ["Stone_20"] - } - } + "rewards": {"recipes": {"Rock Bow_1": [ + "string_2", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.enchanter": { + "minicraft.advancements.recipes.gem_bow": { + "requirements": [[ + "has_wood", + "has_gem", + "has_string" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_string": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["gem"]}]} }, - "has_lapis": { + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Enchanter_1": ["Wood_5", "String_2", "Lapis_10"] - } - } + "rewards": {"recipes": {"Gem Bow_1": [ + "string_2", + "Wood_5", + "gem_50" + ]}} }, - "minicraft.advancements.recipes.chest": { + "minicraft.advancements.recipes.cyan_dye": { + "requirements": [[ + "has_green_dye", + "has_blue_dye" + ]], "criteria": { - "has_wood": { + "has_green_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["GREEN Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Chest_1": ["Wood_20"] - } - } + "rewards": {"recipes": {"CYAN Dye_2": [ + "BLUE Dye_1", + "GREEN Dye_1" + ]}} }, - "minicraft.advancements.recipes.anvil": { + "minicraft.advancements.recipes.wooden_axe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Axe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.magenta_bed": { + "requirements": [[ + "has_wood", + "has_magenta_wool" + ]], "criteria": { - "has_iron": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_magenta_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["MAGENTA Wool"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Anvil_1": ["iron_5"] - } - } + "rewards": {"recipes": {"MAGENTA Bed_1": [ + "Wood_5", + "MAGENTA Wool_3" + ]}} }, - "minicraft.advancements.recipes.tnt": { + "minicraft.advancements.recipes.stone_brick": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Stone Brick_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.pink_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye" + ]], "criteria": { - "has_gunpowder": { + "has_white_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gunpowder" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Dye"]}]} }, - "has_sand": { + "has_red_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "sand" - ] - } - ] - } + "conditions": {"items": [{"items": ["RED Dye"]}]} } }, - "requirements": [ - [ - "has_gunpowder", - "has_sand" - ] - ], - "rewards": { - "recipes": { - "Tnt_1": ["Gunpowder_10", "Sand_8"] - } - } + "rewards": {"recipes": {"PINK Dye_2": [ + "WHITE Dye_1", + "RED Dye_1" + ]}} }, - "minicraft.advancements.recipes.loom": { + "minicraft.advancements.recipes.workbench": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Workbench_1": ["Wood_10"]}} + }, + "minicraft.advancements.recipes.lantern": { + "requirements": [[ + "has_glass", + "has_wood", + "has_slime" + ]], "criteria": { + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["glass"]}]} + }, "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } - }, - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_wool" - ] - ], - "rewards": { - "recipes": { - "Loom_1": ["Wood_10", "Wool_5"] - } - } + "rewards": {"recipes": {"Lantern_1": [ + "glass_3", + "Slime_4", + "Wood_8" + ]}} }, - "minicraft.advancements.recipes.wood_fishing_rod": { + "minicraft.advancements.recipes.green_dye": { + "requirements": [["has_cactus"]], + "criteria": {"has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} + }}, + "rewards": {"recipes": {"GREEN Dye_1": ["Cactus_1"]}} + }, + "minicraft.advancements.recipes.orange_dye": { + "requirements": [[ + "has_red_dye", + "has_yellow_dye" + ]], "criteria": { - "has_wood": { + "has_red_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["RED Dye"]}]} }, - "has_string": { + "has_yellow_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["YELLOW Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Fishing Rod_1": ["Wood_10", "String_3"] - } - } + "rewards": {"recipes": {"ORANGE Dye_2": [ + "YELLOW Dye_1", + "RED Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_fishing_rod": { + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_magenta_dye" + ]], "criteria": { - "has_iron": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_string": { + "has_magenta_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["MAGENTA Dye"]}]} } }, - "requirements": [ - [ - "has_iron", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Iron Fishing Rod_1": ["Iron_10", "String_3"] - } - } + "rewards": {"recipes": {"MAGENTA Bed_1": [ + "MAGENTA Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.gold_fishing_rod": { + "minicraft.advancements.recipes.gold_armor": { + "requirements": [["has_gold"]], + "criteria": {"has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} + }}, + "rewards": {"recipes": {"Gold Armor_1": ["Gold_10"]}} + }, + "minicraft.advancements.recipes.yellow_clothes": { + "requirements": [[ + "has_cloth", + "has_flower" + ]], "criteria": { - "has_gold": { + "has_cloth": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["cloth"]}]} }, - "has_string": { + "has_flower": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["Flower"]}]} } }, - "requirements": [ - [ - "has_gold", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gold Fishing Rod_1": ["Gold_10", "String_3"] - } - } + "rewards": {"recipes": {"Yellow Clothes_1": [ + "Flower_1", + "cloth_5" + ]}} }, - "minicraft.advancements.recipes.gem_fishing_rod": { + "minicraft.advancements.recipes.glass_bottle": { + "requirements": [["has_glass"]], + "criteria": {"has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["glass"]}]} + }}, + "rewards": {"recipes": {"Glass Bottle_1": ["glass_3"]}} + }, + "minicraft.advancements.recipes.gem_claymore": { + "requirements": [[ + "has_shard", + "has_gem_sword" + ]], "criteria": { - "has_gem": { + "has_shard": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_string": { + "has_gem_sword": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gem Sword"]}]} } }, - "requirements": [ - [ - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Fishing Rod_1": ["Gem_10", "String_3"] - } - } + "rewards": {"recipes": {"Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.wooden_sword": { + "minicraft.advancements.recipes.lime_wool": { + "requirements": [[ + "has_lime_dye", + "has_white_wool" + ]], "criteria": { - "has_wood": { + "has_lime_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIME Dye"]}]} + }, + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Sword_1": ["Wood_5"] - } - } + "rewards": {"recipes": {"LIME Wool_1": [ + "LIME Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.wooden_axe": { + "minicraft.advancements.recipes.wood_fishing_rod": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["string"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Axe_1": ["Wood_5"] - } - } + "rewards": {"recipes": {"Wood Fishing Rod_1": [ + "string_3", + "Wood_10" + ]}} }, - "minicraft.advancements.recipes.wooden_hoe": { + "minicraft.advancements.recipes.pink_bed": { + "requirements": [[ + "has_pink_wool", + "has_wood" + ]], "criteria": { + "has_pink_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PINK Wool"]}]} + }, "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Hoe_1": ["Wood_5"] - } - } + "rewards": {"recipes": {"PINK Bed_1": [ + "Wood_5", + "PINK Wool_3" + ]}} }, - "minicraft.advancements.recipes.wooden_pickaxe": { + "minicraft.advancements.recipes.gold_fishing_rod": { + "requirements": [[ + "has_string", + "has_gold" + ]], "criteria": { - "has_wood": { + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["string"]}]} + }, + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Pickaxe_1": ["Wood_5"] + "rewards": {"recipes": {"Gold Fishing Rod_1": [ + "Gold_10", + "string_3" + ]}} + }, + "minicraft.advancements.recipes.blue_dye": { + "requirements": [["has_lapis"]], + "criteria": {"has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }}, + "rewards": {"recipes": {"BLUE Dye_1": ["Lapis_1"]}} + }, + "minicraft.advancements.recipes.purple_clothes": { + "requirements": [[ + "has_rose", + "has_lapis", + "has_cloth" + ]], + "criteria": { + "has_rose": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Rose"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} } - } + }, + "rewards": {"recipes": {"Purple Clothes_1": [ + "Lapis_1", + "cloth_5", + "Rose_1" + ]}} }, - "minicraft.advancements.recipes.wooden_shovel": { + "minicraft.advancements.recipes.stone_pickaxe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Shovel_1": ["Wood_5"] - } - } + "rewards": {"recipes": {"Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.wooden_bow": { + "minicraft.advancements.recipes.orange_bed": { + "requirements": [[ + "has_wood", + "has_orange_wool" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_string": { + "has_orange_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["ORANGE Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Bow_1": ["Wood_5", "string_2"] - } - } + "rewards": {"recipes": {"ORANGE Bed_1": [ + "Wood_5", + "ORANGE Wool_3" + ]}} }, - "minicraft.advancements.recipes.rock_sword": { + "minicraft.advancements.recipes.blue_clothes": { + "requirements": [[ + "has_lapis", + "has_cloth" + ]], "criteria": { - "has_wood": { + "has_lapis": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_stone": { + "has_cloth": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["cloth"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Rock Sword_1": ["Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"Blue Clothes_1": [ + "Lapis_1", + "cloth_5" + ]}} }, - "minicraft.advancements.recipes.rock_axe": { + "minicraft.advancements.recipes.pink_wool": { + "requirements": [[ + "has_pink_dye", + "has_white_wool" + ]], "criteria": { - "has_wood": { + "has_pink_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["PINK Dye"]}]} }, - "has_stone": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Rock Sword_1": ["Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"PINK Wool_1": [ + "PINK Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.rock_hoe": { + "minicraft.advancements.recipes.blue_bed": { + "requirements": [[ + "has_wood", + "has_blue_wool" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_stone": { + "has_blue_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLUE Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Rock Axe_1": ["Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"BLUE Bed_1": [ + "Wood_5", + "BLUE Wool_3" + ]}} }, - "minicraft.advancements.recipes.rock_pickaxe": { + "minicraft.advancements.recipes.gem_sword": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_stone": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["gem"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Rock Pickaxe_1": ["Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"Gem Sword_1": [ + "Wood_5", + "gem_50" + ]}} }, - "minicraft.advancements.recipes.rock_shovel": { + "minicraft.advancements.recipes.swim_potion": { + "requirements": [[ + "has_raw_fish", + "has_awkward_potion" + ]], "criteria": { - "has_wood": { + "has_raw_fish": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Raw Fish"]}]} }, - "has_stone": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Rock Shovel_1": ["Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ]}} }, - "minicraft.advancements.recipes.rock_bow": { + "minicraft.advancements.recipes.gray_wool": { + "requirements": [[ + "has_white_wool", + "has_gray_dye" + ]], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_stone": { + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GRAY Dye"]}]} + } + }, + "rewards": {"recipes": {"GRAY Wool_1": [ + "GRAY Dye_1", + "WHITE Wool_1" + ]}} + }, + "minicraft.advancements.recipes.steak": { + "requirements": [[ + "has_coal", + "has_raw_beef" + ]], + "criteria": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_string": { + "has_raw_beef": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["Raw Beef"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Rock Bow_1": ["Wood_5", "Stone_5", "string_2"] - } - } + "rewards": {"recipes": {"Steak_1": [ + "Coal_1", + "Raw Beef_1" + ]}} }, - "minicraft.advancements.recipes.bone_meal": { + "minicraft.advancements.recipes.gem_pickaxe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_bone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "bone" - ] - } - ] - } + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["gem"]}]} } }, - "requirements": [ - [ - "has_bone" - ] - ], - "rewards": { - "recipes": { - "Bone Meal_3": ["Bone_1"] + "rewards": {"recipes": {"Gem Pickaxe_1": [ + "Wood_5", + "gem_50" + ]}} + }, + "minicraft.advancements.recipes.light_blue_dye": { + "requirements": [[ + "has_white_dye", + "has_blue_dye" + ]], + "criteria": { + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } - } + }, + "rewards": {"recipes": {"LIGHT BLUE Dye_2": [ + "BLUE Dye_1", + "WHITE Dye_1" + ]}} }, - "minicraft.advancements.recipes.arrow": { + "minicraft.advancements.recipes.iron_hoe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_stone": { + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "arrow_3": ["Wood_2", "Stone_2"] - } - } + "rewards": {"recipes": {"Iron Hoe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.leather_armor": { + "minicraft.advancements.recipes.iron_claymore": { + "requirements": [[ + "has_shard", + "has_iron_sword" + ]], "criteria": { - "has_leather": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "leather" - ] - } - ] - } + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} + }, + "has_iron_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron Sword"]}]} } }, - "requirements": [ - [ - "has_leather" - ] - ], - "rewards": { - "recipes": { - "Leather Armor_1": ["leather_10"] - } - } + "rewards": {"recipes": {"Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.snake_armor": { + "minicraft.advancements.recipes.wooden_pickaxe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Pickaxe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_axe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_scale": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "scale" - ] - } - ] - } + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_scale" - ] - ], - "rewards": { - "recipes": { - "Snake Armor_1": ["scale_15"] - } - } + "rewards": {"recipes": {"Rock Axe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.white_dye": { + "minicraft.advancements.recipes.orange_clothes": { + "requirements": [[ + "has_rose", + "has_cloth", + "has_flower" + ]], "criteria": { - "has_bone_meal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "bone meal" - ] - } - ] - } + "has_rose": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Rose"]}]} + }, + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} + }, + "has_flower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Flower"]}]} } }, - "requirements": [ - [ - "has_bone_meal" - ] - ], - "rewards": { - "recipes": { - "white dye_1": ["Bone Meal_1"] - } - } + "rewards": {"recipes": {"Orange Clothes_1": [ + "cloth_5", + "Rose_1", + "Flower_1" + ]}} }, - "minicraft.advancements.recipes.blue_dye": { + "minicraft.advancements.recipes.iron_fishing_rod": { + "requirements": [[ + "has_string", + "has_iron" + ]], "criteria": { - "has_lapis": { + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "blue dye_1": ["Lapis_1"] - } - } + "rewards": {"recipes": {"Iron Fishing Rod_1": [ + "string_3", + "Iron_10" + ]}} }, - "minicraft.advancements.recipes.green_dye": { + "minicraft.advancements.recipes.iron_pickaxe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_cactus": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cactus" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "green dye_1": ["Cactus_1"] - } - } + "rewards": {"recipes": {"Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.yellow_dye": { + "minicraft.advancements.recipes.yellow_bed": { + "requirements": [[ + "has_yellow_wool", + "has_wood" + ]], "criteria": { - "has_flower": { + "has_yellow_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["YELLOW Wool"]}]} + }, + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "flower" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_flower" - ] - ], - "rewards": { - "recipes": { - "yellow dye_1": ["Flower_1"] - } - } + "rewards": {"recipes": {"YELLOW Bed_1": [ + "YELLOW Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.black_dye": { + "minicraft.advancements.recipes.ornate_stone": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Ornate Stone_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.wooden_bow": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { - "has_coal": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} } }, - "requirements": [ - [ - "has_coal" - ] - ], - "rewards": { - "recipes": { - "black dye_1": ["Coal_1"] - } - } + "rewards": {"recipes": {"Wood Bow_1": [ + "string_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.red_dye": { + "minicraft.advancements.recipes.gold_pickaxe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_rose": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "rose" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_rose" - ] - ], - "rewards": { - "recipes": { - "red dye_1": ["Rose_1"] - } - } + "rewards": {"recipes": {"Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.orange_dye": { + "minicraft.advancements.recipes.black_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_black_dye" + ]], "criteria": { - "has_red_dye": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "red dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_yellow_dye": { + "has_black_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "yellow dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLACK Dye"]}]} } }, - "requirements": [ - [ - "has_red_dye", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "orange dye_1": ["red dye_1", "yellow dye_1"] - } - } + "rewards": {"recipes": {"BLACK Bed_1": [ + "WHITE Bed_1", + "BLACK Dye_1" + ]}} }, - "minicraft.advancements.recipes.purple_dye": { + "minicraft.advancements.recipes.gold": { + "requirements": [[ + "has_coal", + "has_gold_ore" + ]], "criteria": { - "has_blue_dye": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "blue dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_red_dye": { + "has_gold_ore": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "red dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold Ore"]}]} } }, - "requirements": [ - [ - "has_blue_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "purple dye_1": ["blue dye_1", "red dye_1"] - } - } + "rewards": {"recipes": {"Gold_1": [ + "Coal_1", + "Gold Ore_4" + ]}} }, - "minicraft.advancements.recipes.cyan_dye": { + "minicraft.advancements.recipes.cooked_fish": { + "requirements": [[ + "has_coal", + "has_raw_fish" + ]], "criteria": { - "has_blue_dye": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "blue dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_green_dye": { + "has_raw_fish": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "green dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Raw Fish"]}]} } }, - "requirements": [ - [ - "has_blue_dye", - "has_green_dye" - ] - ], - "rewards": { - "recipes": { - "cyan dye_1": ["blue dye_1", "green dye_1"] - } - } + "rewards": {"recipes": {"Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" + ]}} }, - "minicraft.advancements.recipes.brown_dye": { + "minicraft.advancements.recipes.light_potion": { + "requirements": [[ + "has_slime", + "has_awkward_potion" + ]], "criteria": { - "has_green_dye": { + "has_slime": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "green dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Slime"]}]} }, - "has_red_dye": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "red dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "brown dye_1": ["green dye_1", "red dye_1"] - } - } + "rewards": {"recipes": {"Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.pink_dye": { + "minicraft.advancements.recipes.gold_sword": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_white_dye": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "white dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_red_dye": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "red dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "pink dye_1": ["white dye_1", "red dye_1"] - } - } + "rewards": {"recipes": {"Gold Sword_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye": { + "minicraft.advancements.recipes.gold_shovel": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_white_dye": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "white dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_blue_dye": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "blue dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "light blue dye_1": ["white dye_1", "blue dye_1"] - } - } + "rewards": {"recipes": {"Gold Shovel_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.lime_dye": { + "minicraft.advancements.recipes.yellow_dye": { + "requirements": [["has_flower"]], + "criteria": {"has_flower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Flower"]}]} + }}, + "rewards": {"recipes": {"YELLOW Dye_1": ["Flower_1"]}} + }, + "minicraft.advancements.recipes.stone_shovel": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_white_dye": { + "has_stone": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "white dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_green_dye": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "green dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_green_dye" - ] - ], - "rewards": { - "recipes": { - "lime dye_1": ["white dye_1", "green dye_1"] - } - } + "rewards": {"recipes": {"Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gray_dye": { + "minicraft.advancements.recipes.escape_potion": { + "requirements": [[ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_white_dye": { + "has_lapis": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "white dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_black_dye": { + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} + }, + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "black dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "gray dye_1": ["white dye_1", "black dye_1"] - } - } + "rewards": {"recipes": {"Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye": { + "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_orange_dye" + ]], "criteria": { - "has_white_dye": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "white dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_gray_dye": { + "has_orange_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gray dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["ORANGE Dye"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_gray_dye" - ] - ], - "rewards": { - "recipes": { - "light gray dye_1": ["white dye_1", "gray dye_1"] - } - } + "rewards": {"recipes": {"ORANGE Bed_1": [ + "ORANGE Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.magenta_dye": { + "minicraft.advancements.recipes.lime_bed_from_white_bed": { + "requirements": [[ + "has_lime_dye", + "has_white_bed" + ]], "criteria": { - "has_purple_dye": { + "has_lime_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "purple dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIME Dye"]}]} }, - "has_pink_dye": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "pink dye" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_purple_dye", - "has_pink_dye" - ] - ], - "rewards": { - "recipes": { - "magenta dye_1": ["purple dye_1", "pink dye_1"] - } - } + "rewards": {"recipes": {"LIME Bed_1": [ + "LIME Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.string": { + "minicraft.advancements.recipes.obsidian_wall": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Wall_1": ["Obsidian Brick_3"]}} + }, + "minicraft.advancements.recipes.cyan_clothes": { + "requirements": [[ + "has_cactus", + "has_lapis", + "has_cloth" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} } }, - "requirements": [ - [ - "has_wool" - ] - ], - "rewards": { - "recipes": { - "String_2": ["Wool_1"] - } - } + "rewards": {"recipes": {"Cyan Clothes_1": [ + "Lapis_1", + "cloth_5", + "Cactus_1" + ]}} }, - "minicraft.advancements.recipes.red_wool": { + "minicraft.advancements.recipes.brown_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_brown_dye" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_rose": { + "has_brown_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "rose" - ] - } - ] - } + "conditions": {"items": [{"items": ["BROWN Dye"]}]} } }, - "requirements": [ - [ - "has_wool", - "has_rose" - ] - ], - "rewards": { - "recipes": { - "red wool_1": ["Wool_1", "rose_1"] - } - } + "rewards": {"recipes": {"BROWN Bed_1": [ + "WHITE Bed_1", + "BROWN Dye_1" + ]}} }, - "minicraft.advancements.recipes.blue_wool": { + "minicraft.advancements.recipes.gem_armor": { + "requirements": [["has_gem"]], + "criteria": {"has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["gem"]}]} + }}, + "rewards": {"recipes": {"Gem Armor_1": ["gem_65"]}} + }, + "minicraft.advancements.recipes.brown_dye": { + "requirements": [[ + "has_green_dye", + "has_red_dye" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GREEN Dye"]}]} }, - "has_lapis": { + "has_red_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["RED Dye"]}]} } }, - "requirements": [ - [ - "has_wool", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "blue wool_1": ["Wool_1", "Lapis_1"] - } - } + "rewards": {"recipes": {"BROWN Dye_2": [ + "GREEN Dye_1", + "RED Dye_1" + ]}} }, - "minicraft.advancements.recipes.green_wool": { + "minicraft.advancements.recipes.red_bed": { + "requirements": [[ + "has_red_wool", + "has_wood" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_red_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["RED Wool"]}]} }, - "has_cactus": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cactus" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wool", - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "green wool_1": ["Wool_1", "Cactus_1"] - } - } + "rewards": {"recipes": {"RED Bed_1": [ + "Wood_5", + "RED Wool_3" + ]}} }, - "minicraft.advancements.recipes.yellow_wool": { + "minicraft.advancements.recipes.green_bed_from_white_bed": { + "requirements": [[ + "has_green_dye", + "has_white_bed" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GREEN Dye"]}]} }, - "has_flower": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "flower" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_wool", - "has_flower" - ] - ], - "rewards": { - "recipes": { - "yellow wool_1": ["Wool_1", "Flower_1"] - } - } + "rewards": {"recipes": {"GREEN Bed_1": [ + "GREEN Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.black_wool": { + "minicraft.advancements.recipes.golden_apple": { + "requirements": [[ + "has_apple", + "has_gold" + ]], "criteria": { - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "has_apple": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Apple"]}]} }, - "has_coal": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wool", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "black wool_1": ["Wool_1", "coal_1"] - } - } + "rewards": {"recipes": {"Gold Apple_1": [ + "Gold_8", + "Apple_1" + ]}} }, - "minicraft.advancements.recipes.bed": { + "minicraft.advancements.recipes.arrow": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } - }, - "has_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wool" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_wool" - ] - ], - "rewards": { - "recipes": { - "Bed_1": ["Wood_5", "Wool_3"] - } - } + "rewards": {"recipes": {"arrow_3": [ + "Stone_2", + "Wood_2" + ]}} }, - "minicraft.advancements.recipes.blue_clothes": { + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_yellow_dye" + ]], "criteria": { - "has_cloth": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_lapis": { + "has_yellow_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["YELLOW Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "blue clothes_1": ["cloth_5", "Lapis_1"] - } - } + "rewards": {"recipes": {"YELLOW Bed_1": [ + "YELLOW Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.green_clothes": { + "minicraft.advancements.recipes.stone_wall": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Wall_1": ["Stone Brick_3"]}} + }, + "minicraft.advancements.recipes.glass": { + "requirements": [[ + "has_coal", + "has_sand" + ]], "criteria": { - "has_cloth": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_cactus": { + "has_sand": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cactus" - ] - } - ] - } + "conditions": {"items": [{"items": ["Sand"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "green clothes_1": ["cloth_5", "Cactus_1"] - } - } + "rewards": {"recipes": {"glass_1": [ + "Coal_1", + "Sand_4" + ]}} }, - "minicraft.advancements.recipes.yellow_clothes": { + "minicraft.advancements.recipes.speed_potion": { + "requirements": [[ + "has_cactus", + "has_awkward_potion" + ]], "criteria": { - "has_cloth": { + "has_cactus": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["Cactus"]}]} }, - "has_flower": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "flower" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_flower" - ] - ], - "rewards": { - "recipes": { - "yellow clothes_1": ["cloth_5", "Flower_1"] - } - } + "rewards": {"recipes": {"Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.black_clothes": { + "minicraft.advancements.recipes.red_dye": { + "requirements": [["has_rose"]], + "criteria": {"has_rose": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Rose"]}]} + }}, + "rewards": {"recipes": {"RED Dye_1": ["Rose_1"]}} + }, + "minicraft.advancements.recipes.brown_bed": { + "requirements": [[ + "has_brown_wool", + "has_wood" + ]], "criteria": { - "has_cloth": { + "has_brown_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["BROWN Wool"]}]} }, - "has_coal": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "black clothes_1": ["cloth_5", "coal_1"] - } - } + "rewards": {"recipes": {"BROWN Bed_1": [ + "BROWN Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.orange_clothes": { + "minicraft.advancements.recipes.gold_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_gold" + ]], "criteria": { - "has_cloth": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_rose": { + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "rose" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} }, - "has_flower": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "flower" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_rose", - "has_flower" - ] - ], - "rewards": { - "recipes": { - "orange clothes_1": ["cloth_5", "rose_1", "Flower_1"] - } - } + "rewards": {"recipes": {"Gold Bow_1": [ + "Gold_5", + "string_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.purple_clothes": { + "minicraft.advancements.recipes.gold_lantern": { + "requirements": [[ + "has_glass", + "has_gold", + "has_slime" + ]], "criteria": { - "has_cloth": { + "has_glass": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["glass"]}]} }, - "has_lapis": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} }, - "has_rose": { + "has_slime": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "rose" - ] - } - ] - } + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_lapis", - "has_rose" - ] - ], - "rewards": { - "recipes": { - "purple clothes_1": ["cloth_5", "Lapis_1", "rose_1"] - } - } + "rewards": {"recipes": {"Gold Lantern_1": [ + "glass_4", + "Gold_10", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.cyan_clothes": { + "minicraft.advancements.recipes.gray_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_cloth": { + "has_white_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Dye"]}]} }, - "has_lapis": { + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLACK Dye"]}]} + } + }, + "rewards": {"recipes": {"GRAY Dye_2": [ + "WHITE Dye_1", + "BLACK Dye_1" + ]}} + }, + "minicraft.advancements.recipes.plank_wall": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Plank Wall_1": ["Plank_3"]}} + }, + "minicraft.advancements.recipes.purple_dye": { + "requirements": [[ + "has_red_dye", + "has_blue_dye" + ]], + "criteria": { + "has_red_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["RED Dye"]}]} }, - "has_cactus": { + "has_blue_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cactus" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_lapis", - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "cyan clothes_1": ["cloth_5", "Lapis_1", "Cactus_1"] - } - } + "rewards": {"recipes": {"PURPLE Dye_2": [ + "BLUE Dye_1", + "RED Dye_1" + ]}} }, - "minicraft.advancements.recipes.reg_clothes": { + "minicraft.advancements.recipes.light_blue_wool": { + "requirements": [[ + "has_light_blue_dye", + "has_white_wool" + ]], "criteria": { - "has_cloth": { + "has_light_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["LIGHT BLUE Dye"]}]} + }, + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "reg clothes_1": ["cloth_5"] + "rewards": {"recipes": {"LIGHT BLUE Wool_1": [ + "LIGHT BLUE Dye_1", + "WHITE Wool_1" + ]}} + }, + "minicraft.advancements.recipes.light_blue_bed": { + "requirements": [[ + "has_wood", + "has_light_blue_wool" + ]], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_light_blue_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["LIGHT BLUE Wool"]}]} } - } + }, + "rewards": {"recipes": {"LIGHT BLUE Bed_1": [ + "LIGHT BLUE Wool_3", + "Wood_5" + ]}} }, "minicraft.advancements.recipes.iron_armor": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Iron Armor_1": ["Iron_10"]}} + }, + "minicraft.advancements.recipes.iron_shovel": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Armor_1": ["iron_10"] - } - } + "rewards": {"recipes": {"Iron Shovel_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.gold_armor": { + "minicraft.advancements.recipes.yellow_wool": { + "requirements": [[ + "has_white_wool", + "has_yellow_dye" + ]], "criteria": { - "has_gold": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} + }, + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["YELLOW Dye"]}]} } }, - "requirements": [ - [ - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Armor_1": ["gold_10"] - } - } + "rewards": {"recipes": {"YELLOW Wool_1": [ + "YELLOW Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.gem_armor": { + "minicraft.advancements.recipes.obsidian_door": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Door_1": ["Obsidian Brick_5"]}} + }, + "minicraft.advancements.recipes.stone_hoe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_gem": { + "has_stone": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Armor_1": ["gem_65"] - } - } + "rewards": {"recipes": {"Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.empty_bucket": { + "minicraft.advancements.recipes.chest": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Chest_1": ["Wood_20"]}} + }, + "minicraft.advancements.recipes.purple_bed": { + "requirements": [[ + "has_wood", + "has_purple_wool" + ]], "criteria": { - "has_iron": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_purple_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["PURPLE Wool"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Empty Bucket_1": ["iron_5"] - } - } + "rewards": {"recipes": {"PURPLE Bed_1": [ + "Wood_5", + "PURPLE Wool_3" + ]}} }, - "minicraft.advancements.recipes.iron_lantern": { + "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "requirements": [[ + "has_purple_dye", + "has_white_bed" + ]], "criteria": { - "has_iron": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } - }, - "has_slime": { + "has_purple_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "slime" - ] - } - ] - } + "conditions": {"items": [{"items": ["PURPLE Dye"]}]} }, - "has_glass": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_iron", - "has_slime", - "has_glass" - ] - ], - "rewards": { - "recipes": { - "Iron Lantern_1": ["iron_8", "slime_5", "glass_4"] - } - } + "rewards": {"recipes": {"PURPLE Bed_1": [ + "WHITE Bed_1", + "PURPLE Dye_1" + ]}} }, - "minicraft.advancements.recipes.gold_lantern": { + "minicraft.advancements.recipes.gem_hoe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_gold": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_slime": { + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["gem"]}]} + } + }, + "rewards": {"recipes": {"Gem Hoe_1": [ + "Wood_5", + "gem_50" + ]}} + }, + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "requirements": [[ + "has_light_blue_dye", + "has_white_bed" + ]], + "criteria": { + "has_light_blue_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "slime" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIGHT BLUE Dye"]}]} }, - "has_glass": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_gold", - "has_slime", - "has_glass" - ] - ], - "rewards": { - "recipes": { - "Gold Lantern_1": ["gold_10", "slime_5", "glass_4"] - } - } + "rewards": {"recipes": {"LIGHT BLUE Bed_1": [ + "LIGHT BLUE Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.iron_sword": { + "minicraft.advancements.recipes.blue_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_blue_dye" + ]], "criteria": { - "has_wood": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_iron": { + "has_blue_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Sword_1": ["Wood_5", "iron_5"] - } - } + "rewards": {"recipes": {"BLUE Bed_1": [ + "BLUE Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.iron_claymore": { + "minicraft.advancements.recipes.awkward_potion": { + "requirements": [[ + "has_lapis", + "has_glass_bottle" + ]], "criteria": { - "has_sword": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron sword" - ] - } - ] - } + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_shard": { + "has_glass_bottle": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "shard" - ] - } - ] - } + "conditions": {"items": [{"items": ["Glass Bottle"]}]} } }, - "requirements": [ - [ - "has_sword", - "has_shard" - ] - ], - "rewards": { - "recipes": { - "Iron Claymore_1": ["Iron Sword_1", "shard_15"] - } - } + "rewards": {"recipes": {"Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" + ]}} }, - "minicraft.advancements.recipes.iron_axe": { + "minicraft.advancements.recipes.magenta_wool": { + "requirements": [[ + "has_white_wool", + "has_magenta_dye" + ]], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_iron": { + "has_magenta_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["MAGENTA Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Axe_1": ["Wood_5", "iron_5"] - } - } + "rewards": {"recipes": {"MAGENTA Wool_1": [ + "MAGENTA Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.iron_hoe": { + "minicraft.advancements.recipes.green_bed": { + "requirements": [[ + "has_green_wool", + "has_wood" + ]], "criteria": { - "has_wood": { + "has_green_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["GREEN Wool"]}]} }, - "has_iron": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Hoe_1": ["Wood_5", "iron_5"] - } - } + "rewards": {"recipes": {"GREEN Bed_1": [ + "GREEN Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.iron_pickaxe": { + "minicraft.advancements.recipes.reg_clothes": { + "requirements": [["has_cloth"]], + "criteria": {"has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} + }}, + "rewards": {"recipes": {"Reg Clothes_1": ["cloth_5"]}} + }, + "minicraft.advancements.recipes.totem_of_air": { + "requirements": [[ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ]], "criteria": { - "has_wood": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["gem"]}]} }, - "has_iron": { + "has_cloud_ore": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Cloud Ore"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Pickaxe_1": ["Wood_5", "iron_5"] - } - } + "rewards": {"recipes": {"Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "gem_10", + "Cloud Ore_5" + ]}} }, - "minicraft.advancements.recipes.iron_shovel": { + "minicraft.advancements.recipes.cyan_wool": { + "requirements": [[ + "has_cyan_dye", + "has_white_wool" + ]], "criteria": { - "has_wood": { + "has_cyan_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["CYAN Dye"]}]} }, - "has_iron": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Shovel_1": ["Wood_5", "iron_5"] - } - } + "rewards": {"recipes": {"CYAN Wool_1": [ + "CYAN Dye_1", + "WHITE Wool_1" + ]}} }, "minicraft.advancements.recipes.iron_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_iron" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_iron": { + "has_string": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["string"]}]} }, - "has_string": { + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Iron Bow_1": ["Wood_5", "iron_5", "string_2"] - } - } + "rewards": {"recipes": {"Iron Bow_1": [ + "string_2", + "Iron_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gold_sword": { + "minicraft.advancements.recipes.wooden_shovel": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Shovel_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.string": { + "requirements": [["has_white_wool"]], + "criteria": {"has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} + }}, + "rewards": {"recipes": {"string_2": ["WHITE Wool_1"]}} + }, + "minicraft.advancements.recipes.loom": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_gold": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Sword_1": ["Wood_5", "gold_5"] - } - } + "rewards": {"recipes": {"Loom_1": [ + "Wood_10", + "WHITE Wool_5" + ]}} }, - "minicraft.advancements.recipes.gold_claymore": { + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_light_gray_dye" + ]], "criteria": { - "has_sword": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold sword" - ] - } - ] - } + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Bed"]}]} }, - "has_shard": { + "has_light_gray_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "shard" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIGHT GRAY Dye"]}]} } }, - "requirements": [ - [ - "has_sword", - "has_shard" - ] - ], - "rewards": { - "recipes": { - "Gold Claymore_1": ["Gold Sword_1", "shard_15"] - } - } + "rewards": {"recipes": {"LIGHT GRAY Bed_1": [ + "WHITE Bed_1", + "LIGHT GRAY Dye_1" + ]}} }, - "minicraft.advancements.recipes.gold_axe": { + "minicraft.advancements.recipes.bread": { + "requirements": [["has_wheat"]], + "criteria": {"has_wheat": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wheat"]}]} + }}, + "rewards": {"recipes": {"Bread_1": ["Wheat_4"]}} + }, + "minicraft.advancements.recipes.light_gray_dye_from_black_white_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_wood": { + "has_white_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Dye"]}]} }, - "has_gold": { + "has_black_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLACK Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Axe_1": ["Wood_5", "gold_5"] - } - } + "rewards": {"recipes": {"LIGHT GRAY Dye_3": [ + "WHITE Dye_2", + "BLACK Dye_1" + ]}} }, - "minicraft.advancements.recipes.gold_hoe": { + "minicraft.advancements.recipes.anvil": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Anvil_1": ["Iron_5"]}} + }, + "minicraft.advancements.recipes.torch": { + "requirements": [[ + "has_coal", + "has_wood" + ]], "criteria": { - "has_wood": { + "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_gold": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Hoe_1": ["Wood_5", "gold_5"] - } - } + "rewards": {"recipes": {"Torch_2": [ + "Coal_1", + "Wood_1" + ]}} }, - "minicraft.advancements.recipes.gold_pickaxe": { + "minicraft.advancements.recipes.gold_axe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Pickaxe_1": ["Wood_5", "gold_5"] - } - } + "rewards": {"recipes": {"Gold Axe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gold_shovel": { + "minicraft.advancements.recipes.iron_lantern": { + "requirements": [[ + "has_glass", + "has_slime", + "has_iron" + ]], "criteria": { - "has_wood": { + "has_glass": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["glass"]}]} }, - "has_gold": { + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} + }, + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Shovel_1": ["Wood_5", "gold_5"] - } - } + "rewards": {"recipes": {"Iron Lantern_1": [ + "glass_4", + "Iron_8", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.gold_bow": { + "minicraft.advancements.recipes.cyan_bed": { + "requirements": [[ + "has_wood", + "has_cyan_wool" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_string": { + "has_cyan_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["CYAN Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gold Bow_1": ["Wood_5", "gold_5", "string_2"] - } - } + "rewards": {"recipes": {"CYAN Bed_1": [ + "Wood_5", + "CYAN Wool_3" + ]}} }, - "minicraft.advancements.recipes.gem_sword": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { + "requirements": [[ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_wood": { + "has_pink_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["PINK Dye"]}]} }, - "has_gem": { + "has_red_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["RED Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Sword_1": ["Wood_5", "gem_50"] - } - } + "rewards": {"recipes": {"MAGENTA Dye_4": [ + "PINK Dye_1", + "RED Dye_1", + "BLUE Dye_1" + ]}} }, - "minicraft.advancements.recipes.gem_claymore": { + "minicraft.advancements.recipes.white_bed": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { - "has_sword": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem sword" - ] - } - ] - } + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_shard": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "shard" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} } }, - "requirements": [ - [ - "has_sword", - "has_shard" - ] - ], - "rewards": { - "recipes": { - "Gem Claymore_1": ["Gem Sword_1", "shard_15"] - } - } + "rewards": {"recipes": {"WHITE Bed_1": [ + "Wood_5", + "WHITE Wool_3" + ]}} }, - "minicraft.advancements.recipes.gem_axe": { + "minicraft.advancements.recipes.enchanter": { + "requirements": [[ + "has_wood", + "has_string", + "has_lapis" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_gem": { + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["string"]}]} + }, + "has_lapis": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["Lapis"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Axe_1": ["Wood_5", "gem_50"] - } - } + "rewards": {"recipes": {"Enchanter_1": [ + "Lapis_10", + "string_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gem_hoe": { + "minicraft.advancements.recipes.light_gray_wool": { + "requirements": [[ + "has_white_wool", + "has_light_gray_dye" + ]], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_gem": { + "has_light_gray_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIGHT GRAY Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Hoe_1": ["Wood_5", "gem_50"] - } - } + "rewards": {"recipes": {"LIGHT GRAY Wool_1": [ + "LIGHT GRAY Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.gem_pickaxe": { + "minicraft.advancements.recipes.gold_claymore": { + "requirements": [[ + "has_shard", + "has_gold_sword" + ]], "criteria": { - "has_wood": { + "has_shard": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_gem": { + "has_gold_sword": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold Sword"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Pickaxe_1": ["Wood_5", "gem_50"] - } - } + "rewards": {"recipes": {"Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" + ]}} }, - "minicraft.advancements.recipes.gem_shovel": { + "minicraft.advancements.recipes.baked_potato": { + "requirements": [["has_potato"]], + "criteria": {"has_potato": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Potato"]}]} + }}, + "rewards": {"recipes": {"Baked Potato_1": ["Potato_1"]}} + }, + "minicraft.advancements.recipes.orange_wool": { + "requirements": [[ + "has_white_wool", + "has_orange_dye" + ]], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_gem": { + "has_orange_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["ORANGE Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Shovel_1": ["Wood_5", "gem_50"] - } - } + "rewards": {"recipes": {"ORANGE Wool_1": [ + "ORANGE Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.gem_bow": { + "minicraft.advancements.recipes.empty_bucket": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Empty Bucket_1": ["Iron_5"]}} + }, + "minicraft.advancements.recipes.gold_hoe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_string": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Bow_1": ["Wood_5", "gem_50", "string_2"] - } - } + "rewards": {"recipes": {"Gold Hoe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.shears": { + "minicraft.advancements.recipes.white_dye": { + "requirements": [["has_bone_meal"]], + "criteria": {"has_bone_meal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Bone Meal"]}]} + }}, + "rewards": {"recipes": {"WHITE Dye_1": ["Bone Meal_1"]}} + }, + "minicraft.advancements.recipes.gray_bed": { + "requirements": [[ + "has_gray_wool", + "has_wood" + ]], "criteria": { - "has_iron": { + "has_gray_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["GRAY Wool"]}]} + }, + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Shears_1": ["Iron_4"] - } - } + "rewards": {"recipes": {"GRAY Bed_1": [ + "GRAY Wool_3", + "Wood_5" + ]}} }, "minicraft.advancements.recipes.iron": { + "requirements": [[ + "has_coal", + "has_iron_ore" + ]], "criteria": { - "has_ore": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "iron ore" - ] - } - ] - } - }, "has_coal": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } - } - }, - "requirements": [ - [ - "has_ore", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "iron_1": ["iron Ore_4", "coal_1"] - } - } - }, - "minicraft.advancements.recipes.gold": { - "criteria": { - "has_ore": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold ore" - ] - } - ] - } + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_coal": { + "has_iron_ore": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron Ore"]}]} } }, - "requirements": [ - [ - "has_ore", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "gold_1": ["gold Ore_4", "coal_1"] - } - } + "rewards": {"recipes": {"Iron_1": [ + "Coal_1", + "Iron Ore_4" + ]}} }, - "minicraft.advancements.recipes.glass": { + "minicraft.advancements.recipes.stone_door": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Door_1": ["Stone Brick_5"]}} + }, + "minicraft.advancements.recipes.obsidian_poppet": { + "requirements": [[ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ]], "criteria": { - "has_sand": { + "has_shard": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "sand" - ] - } - ] - } + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_coal": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } - } - }, - "requirements": [ - [ - "has_sand", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "glass_1": ["sand_4", "coal_1"] - } - } - }, - "minicraft.advancements.recipes.glass_bottle": { - "criteria": { - "has_glass": { + "conditions": {"items": [{"items": ["gem"]}]} + }, + "has_lapis": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - } - }, - "requirements": [ - [ - "has_glass" - ] - ], - "rewards": { - "recipes": { - "glass bottle_1": ["glass_3"] - } - } - }, - "minicraft.advancements.recipes.cooked_pork": { - "criteria": { - "has_pork": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw pork" - ] - } - ] - } + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_coal": { + "has_gold": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_pork", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "cooked pork_1": ["raw pork_1", "coal_1"] - } - } + "rewards": {"recipes": {"Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "gem_10" + ]}} }, - "minicraft.advancements.recipes.steak": { + "minicraft.advancements.recipes.gem_axe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_beef": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw beef" - ] - } - ] - } + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_coal": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } + "conditions": {"items": [{"items": ["gem"]}]} } }, - "requirements": [ - [ - "has_beef", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "steak_1": ["raw beef_1", "coal_1"] - } - } + "rewards": {"recipes": {"Gem Axe_1": [ + "Wood_5", + "gem_50" + ]}} }, - "minicraft.advancements.recipes.cooked_fish": { + "minicraft.advancements.recipes.tnt": { + "requirements": [[ + "has_sand", + "has_gunpowder" + ]], "criteria": { - "has_fish": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw fish" - ] - } - ] - } + "has_sand": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sand"]}]} }, - "has_coal": { + "has_gunpowder": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "coal" - ] - } - ] - } - } - }, - "requirements": [ - [ - "has_fish", - "has_coal" - ] - ], - "rewards": { - "recipes": { - "cooked fish_1": ["raw fish_1", "coal_1"] - } - } - }, - "minicraft.advancements.recipes.bread": { - "criteria": { - "has_wheat": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wheat" - ] - } - ] - } - } - }, - "requirements": [ - [ - "has_wheat" - ] - ], - "rewards": { - "recipes": { - "bread_1": ["wheat_4"] - } - } - }, - "minicraft.advancements.recipes.baked_potato": { - "criteria": { - "has_potato": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "potato" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gunpowder"]}]} } }, - "requirements": [ - [ - "has_potato" - ] - ], - "rewards": { - "recipes": { - "Baked Potato_1": ["Potato_1"] - } - } + "rewards": {"recipes": {"Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ]}} }, - "minicraft.advancements.recipes.golden_apple": { + "minicraft.advancements.recipes.lime_bed": { + "requirements": [[ + "has_wood", + "has_lime_wool" + ]], "criteria": { - "has_apple": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "apple" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_gold": { + "has_lime_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIME Wool"]}]} } }, - "requirements": [ - [ - "has_apple", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Apple_1": ["apple_1", "gold_8"] - } - } + "rewards": {"recipes": {"LIME Bed_1": [ + "LIME Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.awkward_potion": { + "minicraft.advancements.recipes.iron_sword": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_bottle": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass bottle" - ] - } - ] - } + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_lapis": { + "has_iron": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_bottle", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "awkward potion_1": ["glass bottle_1", "Lapis_3"] - } - } + "rewards": {"recipes": {"Iron Sword_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.speed_potion": { + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { + "requirements": [[ + "has_cyan_dye", + "has_white_bed" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["CYAN Dye"]}]} }, - "has_cactus": { + "has_white_bed": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cactus" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Bed"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "speed potion_1": ["awkward potion_1", "Cactus_5"] - } - } + "rewards": {"recipes": {"CYAN Bed_1": [ + "CYAN Dye_1", + "WHITE Bed_1" + ]}} }, - "minicraft.advancements.recipes.light_potion": { + "minicraft.advancements.recipes.wooden_sword": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Sword_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.furnace": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Furnace_1": ["Stone_20"]}} + }, + "minicraft.advancements.recipes.gem_shovel": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_slime": { + "has_gem": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "slime" - ] - } - ] - } + "conditions": {"items": [{"items": ["gem"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_slime" - ] - ], - "rewards": { - "recipes": { - "light potion_1": ["awkward potion_1", "slime_5"] - } - } + "rewards": {"recipes": {"Gem Shovel_1": [ + "Wood_5", + "gem_50" + ]}} }, - "minicraft.advancements.recipes.swim_potion": { + "minicraft.advancements.recipes.black_clothes": { + "requirements": [[ + "has_coal", + "has_cloth" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } - }, - "has_fish": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "raw fish" - ] - } - ] - } + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["cloth"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_fish" - ] - ], - "rewards": { - "recipes": { - "swim potion_1": ["awkward potion_1", "raw fish_5"] - } - } + "rewards": {"recipes": {"Black Clothes_1": [ + "Coal_1", + "cloth_5" + ]}} }, "minicraft.advancements.recipes.haste_potion": { + "requirements": [[ + "has_stone", + "has_wood", + "has_awkward_potion" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "wood" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_stone": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "stone" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_wood", - "has_stone" - ] - ], - "rewards": { - "recipes": { - "haste potion_1": ["awkward potion_1", "Wood_5", "Stone_5"] - } - } + "rewards": {"recipes": {"Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.lava_potion": { + "minicraft.advancements.recipes.black_bed": { + "requirements": [[ + "has_black_wool", + "has_wood" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_black_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["BLACK Wool"]}]} }, - "has_lava_bucket": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lava bucket" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_lava_bucket" - ] - ], - "rewards": { - "recipes": { - "lava potion_1": ["awkward potion_1", "Lava Bucket_1"] - } - } + "rewards": {"recipes": {"BLACK Bed_1": [ + "Wood_5", + "BLACK Wool_3" + ]}} }, - "minicraft.advancements.recipes.energy_potion": { + "minicraft.advancements.recipes.blue_wool": { + "requirements": [[ + "has_white_wool", + "has_blue_dye" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["WHITE Wool"]}]} }, - "has_gem": { + "has_blue_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } + "conditions": {"items": [{"items": ["BLUE Dye"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "energy potion_1": ["awkward potion_1", "gem_25"] - } - } + "rewards": {"recipes": {"BLUE Wool_1": [ + "BLUE Dye_1", + "WHITE Wool_1" + ]}} }, - "minicraft.advancements.recipes.regen_potion": { + "minicraft.advancements.recipes.ornate_obsidian": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Ornate Obsidian_1": ["Raw Obsidian_2"]}} + }, + "minicraft.advancements.recipes.energy_potion": { + "requirements": [[ + "has_gem", + "has_awkward_potion" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["gem"]}]} }, - "has_golden_apple": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold apple" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_golden_apple" - ] - ], - "rewards": { - "recipes": { - "regen potion_1": ["awkward potion_1", "Gold Apple_1"] - } - } + "rewards": {"recipes": {"Energy Potion_1": [ + "Awkward Potion_1", + "gem_25" + ]}} }, - "minicraft.advancements.recipes.health_potion": { + "minicraft.advancements.recipes.lime_dye": { + "requirements": [[ + "has_green_dye", + "has_white_dye" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } - }, - "has_gunpowder": { + "has_green_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gunpowder" - ] - } - ] - } + "conditions": {"items": [{"items": ["GREEN Dye"]}]} }, - "has_leather_armor": { + "has_white_dye": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "leather armor" - ] - } - ] - } + "conditions": {"items": [{"items": ["WHITE Dye"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_gunpowder", - "has_leather_armor" - ] - ], - "rewards": { - "recipes": { - "Health potion_1": ["awkward potion_1", "GunPowder_2", "Leather Armor_1"] - } - } + "rewards": {"recipes": {"LIME Dye_2": [ + "GREEN Dye_1", + "WHITE Dye_1" + ]}} }, - "minicraft.advancements.recipes.escape_potion": { + "minicraft.advancements.recipes.oven": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Oven_1": ["Stone_15"]}} + }, + "minicraft.advancements.recipes.regen_potion": { + "requirements": [[ + "has_golden_apple", + "has_awkward_potion" + ]], "criteria": { - "has_awkward": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "awkward potion" - ] - } - ] - } - }, - "has_gunpowder": { + "has_golden_apple": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gunpowder" - ] - } - ] - } + "conditions": {"items": [{"items": ["Gold Apple"]}]} }, - "has_lapis": { + "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_awkward", - "has_gunpowder", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Escape potion_1": ["awkward potion_1", "GunPowder_3", "Lapis_7"] - } - } + "rewards": {"recipes": {"Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.totem_of_air": { + "minicraft.advancements.recipes.light_gray_bed": { + "requirements": [[ + "has_light_gray_wool", + "has_wood" + ]], "criteria": { - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gold potion" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - }, - "has_lapis": { + "has_light_gray_wool": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "lapis" - ] - } - ] - } + "conditions": {"items": [{"items": ["LIGHT GRAY Wool"]}]} }, - "has_cloud_ore": { + "has_wood": { "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloud ore" - ] - } - ] - } + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_gold", - "has_gem", - "has_lapis", - "has_cloud_ore" - ] - ], - "rewards": { - "recipes": { - "Totem of Air_1": ["gold_10", "gem_10", "Lapis_5","Cloud Ore_5"] - } - } + "rewards": {"recipes": {"LIGHT GRAY Bed_1": [ + "Wood_5", + "LIGHT GRAY Wool_3" + ]}} } -} +} \ No newline at end of file From e57757e6c08a899ba76792bd263a3bdfe638910f Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sun, 14 May 2023 21:07:17 +0800 Subject: [PATCH 18/59] Update ChangeLog.md --- ChangeLog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 0f5115dfb..198f9cf39 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -31,6 +31,9 @@ but some sections are changed to compliant this project. + Added on-screen keyboard + Added logo splash screen + Added glass bottle and made potions return glass bottles when used ++ Added colored sheep, and it is now available in natural spawn with small chance. ++ Added dyes ++ Added a new recipe - `string * 3 -> white wool * 1` ### Changes @@ -70,6 +73,8 @@ but some sections are changed to compliant this project. * Cow and sheep now graze on grasses * Recipes are unlocked only when one of the materials obtained * A `clothes` item with the previous clothing color is returned when a new `clothes` item is applied +* Sheep and beds are now color-able +* 16 colors are implemented in dyes, wools, and color-able items and furniture ### Removals From 39b1e91932300151197101398e34e2807e78d4d3 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:47:18 +0800 Subject: [PATCH 19/59] Update recipes.json --- src/main/resources/resources/recipes.json | 6844 ++++++++++++++++----- 1 file changed, 5287 insertions(+), 1557 deletions(-) diff --git a/src/main/resources/resources/recipes.json b/src/main/resources/resources/recipes.json index 2342efa19..0bb83ceed 100644 --- a/src/main/resources/resources/recipes.json +++ b/src/main/resources/resources/recipes.json @@ -1,2950 +1,6680 @@ { "minicraft.advancements.recipes.gem_fishing_rod": { - "requirements": [[ - "has_gem", - "has_string" - ]], + "requirements": [ + [ + "has_gem", + "has_string" + ] + ], "criteria": { "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Fishing Rod_1": [ - "string_3", - "gem_10" - ]}} + "rewards": { + "recipes": { + "Gem Fishing Rod_1": [ + "string_3", + "gem_10" + ] + } + } }, "minicraft.advancements.recipes.gray_bed_from_white_bed": { - "requirements": [[ - "has_gray_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_gray_dye", + "has_white_bed" + ] + ], "criteria": { "has_gray_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GRAY Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GRAY Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"GRAY Bed_1": [ - "GRAY Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "GRAY Bed_1": [ + "GRAY Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.health_potion": { - "requirements": [[ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ] + ], "criteria": { "has_leather_armor": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Leather Armor"]}]} + "conditions": { + "items": [ + { + "items": [ + "Leather Armor" + ] + } + ] + } }, "has_gunpowder": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" - ]}} + "rewards": { + "recipes": { + "Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" + ] + } + } }, "minicraft.advancements.recipes.green_wool": { - "requirements": [[ - "has_green_dye", - "has_white_wool" - ]], + "requirements": [ + [ + "has_green_dye", + "has_white_wool" + ] + ], "criteria": { "has_green_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"GREEN Wool_1": [ - "GREEN Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "GREEN Wool_1": [ + "GREEN Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.obsidian_brick": { - "requirements": [["has_raw_obsidian"]], - "criteria": {"has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Obsidian"]}]} - }}, - "rewards": {"recipes": {"Obsidian Brick_1": ["Raw Obsidian_2"]}} + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "criteria": { + "has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Obsidian Brick_1": [ + "Raw Obsidian_2" + ] + } + } }, "minicraft.advancements.recipes.plank": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Plank_2": ["Wood_1"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Plank_2": [ + "Wood_1" + ] + } + } }, "minicraft.advancements.recipes.red_bed_from_white_bed": { - "requirements": [[ - "has_red_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_red_dye", + "has_white_bed" + ] + ], "criteria": { "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"RED Bed_1": [ - "RED Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "RED Bed_1": [ + "RED Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.purple_wool": { - "requirements": [[ - "has_white_wool", - "has_purple_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_purple_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_purple_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PURPLE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"PURPLE Wool_1": [ - "PURPLE Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "PURPLE Wool_1": [ + "PURPLE Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.bone_meal": { - "requirements": [["has_bone"]], - "criteria": {"has_bone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Bone"]}]} - }}, - "rewards": {"recipes": {"Bone Meal_3": ["Bone_1"]}} + "requirements": [ + [ + "has_bone" + ] + ], + "criteria": { + "has_bone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Bone" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Bone Meal_3": [ + "Bone_1" + ] + } + } }, "minicraft.advancements.recipes.black_dye": { - "requirements": [["has_coal"]], - "criteria": {"has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} - }}, - "rewards": {"recipes": {"BLACK Dye_1": ["Coal_1"]}} + "requirements": [ + [ + "has_coal" + ] + ], + "criteria": { + "has_coal": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "BLACK Dye_1": [ + "Coal_1" + ] + } + } }, "minicraft.advancements.recipes.leather_armor": { - "requirements": [["has_leather"]], - "criteria": {"has_leather": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Leather"]}]} - }}, - "rewards": {"recipes": {"Leather Armor_1": ["Leather_10"]}} + "requirements": [ + [ + "has_leather" + ] + ], + "criteria": { + "has_leather": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Leather" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Leather Armor_1": [ + "Leather_10" + ] + } + } }, "minicraft.advancements.recipes.lava_potion": { - "requirements": [[ - "has_awkward_potion", - "has_lava_bucket" - ]], + "requirements": [ + [ + "has_awkward_potion", + "has_lava_bucket" + ] + ], "criteria": { "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } }, "has_lava_bucket": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lava Bucket"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lava Bucket" + ] + } + ] + } } }, - "rewards": {"recipes": {"Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" - ]}} + "rewards": { + "recipes": { + "Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ] + } + } }, "minicraft.advancements.recipes.iron_axe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Axe_1": [ - "Wood_5", - "Iron_5" - ]}} + "rewards": { + "recipes": { + "Iron Axe_1": [ + "Wood_5", + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.black_wool": { - "requirements": [[ - "has_white_wool", - "has_black_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_black_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_black_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLACK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLACK Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLACK Wool_1": [ - "BLACK Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "BLACK Wool_1": [ + "BLACK Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.white_wool": { - "requirements": [["has_string"]], - "criteria": {"has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} - }}, - "rewards": {"recipes": {"WHITE Wool_1": ["string_3"]}} + "requirements": [ + [ + "has_string" + ] + ], + "criteria": { + "has_string": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "WHITE Wool_1": [ + "string_3" + ] + } + } }, "minicraft.advancements.recipes.cooked_pork": { - "requirements": [[ - "has_coal", - "has_raw_pork" - ]], + "requirements": [ + [ + "has_coal", + "has_raw_pork" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_raw_pork": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Pork"]}]} + "conditions": { + "items": [ + { + "items": [ + "Raw Pork" + ] + } + ] + } } }, - "rewards": {"recipes": {"Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ]}} + "rewards": { + "recipes": { + "Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" + ] + } + } }, "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { - "requirements": [[ - "has_gray_dye", - "has_white_dye" - ]], + "requirements": [ + [ + "has_gray_dye", + "has_white_dye" + ] + ], "criteria": { "has_gray_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GRAY Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GRAY Dye" + ] + } + ] + } }, "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT GRAY Dye_2": [ - "GRAY Dye_1", - "WHITE Dye_1" - ]}} + "rewards": { + "recipes": { + "LIGHT GRAY Dye_2": [ + "GRAY Dye_1", + "WHITE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.pink_bed_from_white_bed": { - "requirements": [[ - "has_pink_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_pink_dye", + "has_white_bed" + ] + ], "criteria": { "has_pink_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PINK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"PINK Bed_1": [ - "PINK Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "PINK Bed_1": [ + "PINK Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.magenta_dye": { - "requirements": [[ - "has_pink_dye", - "has_purple_dye" - ]], + "requirements": [ + [ + "has_pink_dye", + "has_purple_dye" + ] + ], "criteria": { "has_pink_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PINK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + } }, "has_purple_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PURPLE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Dye_2": [ - "PINK Dye_1", - "PURPLE Dye_1" - ]}} + "rewards": { + "recipes": { + "MAGENTA Dye_2": [ + "PINK Dye_1", + "PURPLE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.wooden_hoe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Hoe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Hoe_1": [ + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.stone_sword": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Sword_1": [ - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Sword_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.brown_wool": { - "requirements": [[ - "has_white_wool", - "has_brown_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_brown_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_brown_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BROWN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BROWN Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BROWN Wool_1": [ - "BROWN Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "BROWN Wool_1": [ + "BROWN Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.snake_armor": { - "requirements": [["has_scale"]], - "criteria": {"has_scale": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Scale"]}]} - }}, - "rewards": {"recipes": {"Snake Armor_1": ["Scale_15"]}} + "requirements": [ + [ + "has_scale" + ] + ], + "criteria": { + "has_scale": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Scale" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Snake Armor_1": [ + "Scale_15" + ] + } + } }, "minicraft.advancements.recipes.magenta_dye_from_white_dye": { - "requirements": [[ - "has_white_dye", - "has_red_dye", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ] + ], "criteria": { "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } }, "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Dye_4": [ - "WHITE Dye_1", - "RED Dye_2", - "BLUE Dye_1" - ]}} + "rewards": { + "recipes": { + "MAGENTA Dye_4": [ + "WHITE Dye_1", + "RED Dye_2", + "BLUE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.shears": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Shears_1": ["Iron_4"]}} + "requirements": [ + [ + "has_iron" + ] + ], + "criteria": { + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Shears_1": [ + "Iron_4" + ] + } + } }, "minicraft.advancements.recipes.wood_door": { - "requirements": [["has_plank"]], - "criteria": {"has_plank": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Plank"]}]} - }}, - "rewards": {"recipes": {"Wood Door_1": ["Plank_5"]}} + "requirements": [ + [ + "has_plank" + ] + ], + "criteria": { + "has_plank": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Door_1": [ + "Plank_5" + ] + } + } }, "minicraft.advancements.recipes.green_clothes": { - "requirements": [[ - "has_cactus", - "has_cloth" - ]], + "requirements": [ + [ + "has_cactus", + "has_cloth" + ] + ], "criteria": { "has_cactus": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } } }, - "rewards": {"recipes": {"Green Clothes_1": [ - "Cactus_1", - "cloth_5" - ]}} + "rewards": { + "recipes": { + "Green Clothes_1": [ + "Cactus_1", + "cloth_5" + ] + } + } }, "minicraft.advancements.recipes.red_wool": { - "requirements": [[ - "has_white_wool", - "has_red_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_red_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"RED Wool_1": [ - "RED Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "RED Wool_1": [ + "RED Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.stone_bow": { - "requirements": [[ - "has_stone", - "has_wood", - "has_string" - ]], + "requirements": [ + [ + "has_stone", + "has_wood", + "has_string" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Bow_1": [ - "string_2", - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Bow_1": [ + "string_2", + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.gem_bow": { - "requirements": [[ - "has_wood", - "has_gem", - "has_string" - ]], + "requirements": [ + [ + "has_wood", + "has_gem", + "has_string" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Bow_1": [ - "string_2", - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Bow_1": [ + "string_2", + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.cyan_dye": { - "requirements": [[ - "has_green_dye", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_green_dye", + "has_blue_dye" + ] + ], "criteria": { "has_green_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"CYAN Dye_2": [ - "BLUE Dye_1", - "GREEN Dye_1" - ]}} + "rewards": { + "recipes": { + "CYAN Dye_2": [ + "BLUE Dye_1", + "GREEN Dye_1" + ] + } + } }, "minicraft.advancements.recipes.wooden_axe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Axe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Axe_1": [ + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.magenta_bed": { - "requirements": [[ - "has_wood", - "has_magenta_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_magenta_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_magenta_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["MAGENTA Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Bed_1": [ - "Wood_5", - "MAGENTA Wool_3" - ]}} + "rewards": { + "recipes": { + "MAGENTA Bed_1": [ + "Wood_5", + "MAGENTA Wool_3" + ] + } + } }, "minicraft.advancements.recipes.stone_brick": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Stone Brick_1": ["Stone_2"]}} + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Stone Brick_1": [ + "Stone_2" + ] + } + } }, "minicraft.advancements.recipes.pink_dye": { - "requirements": [[ - "has_white_dye", - "has_red_dye" - ]], + "requirements": [ + [ + "has_white_dye", + "has_red_dye" + ] + ], "criteria": { "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } }, "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"PINK Dye_2": [ - "WHITE Dye_1", - "RED Dye_1" - ]}} + "rewards": { + "recipes": { + "PINK Dye_2": [ + "WHITE Dye_1", + "RED Dye_1" + ] + } + } }, "minicraft.advancements.recipes.workbench": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Workbench_1": ["Wood_10"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Workbench_1": [ + "Wood_10" + ] + } + } }, "minicraft.advancements.recipes.lantern": { - "requirements": [[ - "has_glass", - "has_wood", - "has_slime" - ]], + "requirements": [ + [ + "has_glass", + "has_wood", + "has_slime" + ] + ], "criteria": { "has_glass": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["glass"]}]} + "conditions": { + "items": [ + { + "items": [ + "glass" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_slime": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + } } }, - "rewards": {"recipes": {"Lantern_1": [ - "glass_3", - "Slime_4", - "Wood_8" - ]}} + "rewards": { + "recipes": { + "Lantern_1": [ + "glass_3", + "Slime_4", + "Wood_8" + ] + } + } }, "minicraft.advancements.recipes.green_dye": { - "requirements": [["has_cactus"]], - "criteria": {"has_cactus": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} - }}, - "rewards": {"recipes": {"GREEN Dye_1": ["Cactus_1"]}} + "requirements": [ + [ + "has_cactus" + ] + ], + "criteria": { + "has_cactus": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "GREEN Dye_1": [ + "Cactus_1" + ] + } + } }, "minicraft.advancements.recipes.orange_dye": { - "requirements": [[ - "has_red_dye", - "has_yellow_dye" - ]], + "requirements": [ + [ + "has_red_dye", + "has_yellow_dye" + ] + ], "criteria": { "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } }, "has_yellow_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["YELLOW Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "YELLOW Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"ORANGE Dye_2": [ - "YELLOW Dye_1", - "RED Dye_1" - ]}} + "rewards": { + "recipes": { + "ORANGE Dye_2": [ + "YELLOW Dye_1", + "RED Dye_1" + ] + } + } }, "minicraft.advancements.recipes.magenta_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_magenta_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_magenta_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_magenta_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["MAGENTA Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Bed_1": [ - "MAGENTA Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "MAGENTA Bed_1": [ + "MAGENTA Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.gold_armor": { - "requirements": [["has_gold"]], - "criteria": {"has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} - }}, - "rewards": {"recipes": {"Gold Armor_1": ["Gold_10"]}} + "requirements": [ + [ + "has_gold" + ] + ], + "criteria": { + "has_gold": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Gold Armor_1": [ + "Gold_10" + ] + } + } }, "minicraft.advancements.recipes.yellow_clothes": { - "requirements": [[ - "has_cloth", - "has_flower" - ]], + "requirements": [ + [ + "has_cloth", + "has_flower" + ] + ], "criteria": { "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } }, "has_flower": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Flower"]}]} + "conditions": { + "items": [ + { + "items": [ + "Flower" + ] + } + ] + } } }, - "rewards": {"recipes": {"Yellow Clothes_1": [ - "Flower_1", - "cloth_5" - ]}} + "rewards": { + "recipes": { + "Yellow Clothes_1": [ + "Flower_1", + "cloth_5" + ] + } + } }, "minicraft.advancements.recipes.glass_bottle": { - "requirements": [["has_glass"]], - "criteria": {"has_glass": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["glass"]}]} - }}, - "rewards": {"recipes": {"Glass Bottle_1": ["glass_3"]}} + "requirements": [ + [ + "has_glass" + ] + ], + "criteria": { + "has_glass": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "glass" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Glass Bottle_1": [ + "glass_3" + ] + } + } }, "minicraft.advancements.recipes.gem_claymore": { - "requirements": [[ - "has_shard", - "has_gem_sword" - ]], + "requirements": [ + [ + "has_shard", + "has_gem_sword" + ] + ], "criteria": { "has_shard": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + } }, "has_gem_sword": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem Sword"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gem Sword" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" - ]}} + "rewards": { + "recipes": { + "Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" + ] + } + } }, "minicraft.advancements.recipes.lime_wool": { - "requirements": [[ - "has_lime_dye", - "has_white_wool" - ]], + "requirements": [ + [ + "has_lime_dye", + "has_white_wool" + ] + ], "criteria": { "has_lime_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIME Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIME Dye" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIME Wool_1": [ - "LIME Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "LIME Wool_1": [ + "LIME Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.wood_fishing_rod": { - "requirements": [[ - "has_wood", - "has_string" - ]], + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } } }, - "rewards": {"recipes": {"Wood Fishing Rod_1": [ - "string_3", - "Wood_10" - ]}} + "rewards": { + "recipes": { + "Wood Fishing Rod_1": [ + "string_3", + "Wood_10" + ] + } + } }, "minicraft.advancements.recipes.pink_bed": { - "requirements": [[ - "has_pink_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_pink_wool", + "has_wood" + ] + ], "criteria": { "has_pink_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PINK Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "PINK Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"PINK Bed_1": [ - "Wood_5", - "PINK Wool_3" - ]}} + "rewards": { + "recipes": { + "PINK Bed_1": [ + "Wood_5", + "PINK Wool_3" + ] + } + } }, "minicraft.advancements.recipes.gold_fishing_rod": { - "requirements": [[ - "has_string", - "has_gold" - ]], + "requirements": [ + [ + "has_string", + "has_gold" + ] + ], "criteria": { "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Fishing Rod_1": [ - "Gold_10", - "string_3" - ]}} + "rewards": { + "recipes": { + "Gold Fishing Rod_1": [ + "Gold_10", + "string_3" + ] + } + } }, "minicraft.advancements.recipes.blue_dye": { - "requirements": [["has_lapis"]], - "criteria": {"has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} - }}, - "rewards": {"recipes": {"BLUE Dye_1": ["Lapis_1"]}} + "requirements": [ + [ + "has_lapis" + ] + ], + "criteria": { + "has_lapis": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "BLUE Dye_1": [ + "Lapis_1" + ] + } + } }, "minicraft.advancements.recipes.purple_clothes": { - "requirements": [[ - "has_rose", - "has_lapis", - "has_cloth" - ]], + "requirements": [ + [ + "has_rose", + "has_lapis", + "has_cloth" + ] + ], "criteria": { "has_rose": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Rose"]}]} + "conditions": { + "items": [ + { + "items": [ + "Rose" + ] + } + ] + } }, "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } } }, - "rewards": {"recipes": {"Purple Clothes_1": [ - "Lapis_1", - "cloth_5", - "Rose_1" - ]}} + "rewards": { + "recipes": { + "Purple Clothes_1": [ + "Lapis_1", + "cloth_5", + "Rose_1" + ] + } + } }, "minicraft.advancements.recipes.stone_pickaxe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.orange_bed": { - "requirements": [[ - "has_wood", - "has_orange_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_orange_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_orange_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["ORANGE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "ORANGE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"ORANGE Bed_1": [ - "Wood_5", - "ORANGE Wool_3" - ]}} + "rewards": { + "recipes": { + "ORANGE Bed_1": [ + "Wood_5", + "ORANGE Wool_3" + ] + } + } }, "minicraft.advancements.recipes.blue_clothes": { - "requirements": [[ - "has_lapis", - "has_cloth" - ]], + "requirements": [ + [ + "has_lapis", + "has_cloth" + ] + ], "criteria": { "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } } }, - "rewards": {"recipes": {"Blue Clothes_1": [ - "Lapis_1", - "cloth_5" - ]}} + "rewards": { + "recipes": { + "Blue Clothes_1": [ + "Lapis_1", + "cloth_5" + ] + } + } }, "minicraft.advancements.recipes.pink_wool": { - "requirements": [[ - "has_pink_dye", - "has_white_wool" - ]], + "requirements": [ + [ + "has_pink_dye", + "has_white_wool" + ] + ], "criteria": { "has_pink_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PINK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"PINK Wool_1": [ - "PINK Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "PINK Wool_1": [ + "PINK Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.blue_bed": { - "requirements": [[ - "has_wood", - "has_blue_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_blue_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_blue_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLUE Bed_1": [ - "Wood_5", - "BLUE Wool_3" - ]}} + "rewards": { + "recipes": { + "BLUE Bed_1": [ + "Wood_5", + "BLUE Wool_3" + ] + } + } }, "minicraft.advancements.recipes.gem_sword": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Sword_1": [ - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Sword_1": [ + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.swim_potion": { - "requirements": [[ - "has_raw_fish", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_raw_fish", + "has_awkward_potion" + ] + ], "criteria": { "has_raw_fish": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Fish"]}]} + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" - ]}} + "rewards": { + "recipes": { + "Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ] + } + } }, "minicraft.advancements.recipes.gray_wool": { - "requirements": [[ - "has_white_wool", - "has_gray_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_gray_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_gray_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GRAY Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GRAY Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"GRAY Wool_1": [ - "GRAY Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "GRAY Wool_1": [ + "GRAY Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.steak": { - "requirements": [[ - "has_coal", - "has_raw_beef" - ]], + "requirements": [ + [ + "has_coal", + "has_raw_beef" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_raw_beef": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Beef"]}]} + "conditions": { + "items": [ + { + "items": [ + "Raw Beef" + ] + } + ] + } } }, - "rewards": {"recipes": {"Steak_1": [ - "Coal_1", - "Raw Beef_1" - ]}} + "rewards": { + "recipes": { + "Steak_1": [ + "Coal_1", + "Raw Beef_1" + ] + } + } }, "minicraft.advancements.recipes.gem_pickaxe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Pickaxe_1": [ - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Pickaxe_1": [ + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.light_blue_dye": { - "requirements": [[ - "has_white_dye", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_white_dye", + "has_blue_dye" + ] + ], "criteria": { "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT BLUE Dye_2": [ - "BLUE Dye_1", - "WHITE Dye_1" - ]}} + "rewards": { + "recipes": { + "LIGHT BLUE Dye_2": [ + "BLUE Dye_1", + "WHITE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.iron_hoe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Hoe_1": [ - "Wood_5", - "Iron_5" - ]}} + "rewards": { + "recipes": { + "Iron Hoe_1": [ + "Wood_5", + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.iron_claymore": { - "requirements": [[ - "has_shard", - "has_iron_sword" - ]], + "requirements": [ + [ + "has_shard", + "has_iron_sword" + ] + ], "criteria": { "has_shard": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + } }, "has_iron_sword": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron Sword"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron Sword" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" - ]}} + "rewards": { + "recipes": { + "Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" + ] + } + } }, "minicraft.advancements.recipes.wooden_pickaxe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Pickaxe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Pickaxe_1": [ + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.stone_axe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Axe_1": [ - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Axe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.orange_clothes": { - "requirements": [[ - "has_rose", - "has_cloth", - "has_flower" - ]], + "requirements": [ + [ + "has_rose", + "has_cloth", + "has_flower" + ] + ], "criteria": { "has_rose": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Rose"]}]} + "conditions": { + "items": [ + { + "items": [ + "Rose" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } }, "has_flower": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Flower"]}]} + "conditions": { + "items": [ + { + "items": [ + "Flower" + ] + } + ] + } } }, - "rewards": {"recipes": {"Orange Clothes_1": [ - "cloth_5", - "Rose_1", - "Flower_1" - ]}} + "rewards": { + "recipes": { + "Orange Clothes_1": [ + "cloth_5", + "Rose_1", + "Flower_1" + ] + } + } }, "minicraft.advancements.recipes.iron_fishing_rod": { - "requirements": [[ - "has_string", - "has_iron" - ]], + "requirements": [ + [ + "has_string", + "has_iron" + ] + ], "criteria": { "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Fishing Rod_1": [ - "string_3", - "Iron_10" - ]}} + "rewards": { + "recipes": { + "Iron Fishing Rod_1": [ + "string_3", + "Iron_10" + ] + } + } }, "minicraft.advancements.recipes.iron_pickaxe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" - ]}} + "rewards": { + "recipes": { + "Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.yellow_bed": { - "requirements": [[ - "has_yellow_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_yellow_wool", + "has_wood" + ] + ], "criteria": { "has_yellow_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["YELLOW Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "YELLOW Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"YELLOW Bed_1": [ - "YELLOW Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "YELLOW Bed_1": [ + "YELLOW Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.ornate_stone": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Ornate Stone_1": ["Stone_2"]}} + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Ornate Stone_1": [ + "Stone_2" + ] + } + } }, "minicraft.advancements.recipes.wooden_bow": { - "requirements": [[ - "has_wood", - "has_string" - ]], + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } } }, - "rewards": {"recipes": {"Wood Bow_1": [ - "string_2", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Wood Bow_1": [ + "string_2", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.gold_pickaxe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.black_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_black_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_black_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_black_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLACK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLACK Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLACK Bed_1": [ - "WHITE Bed_1", - "BLACK Dye_1" - ]}} + "rewards": { + "recipes": { + "BLACK Bed_1": [ + "WHITE Bed_1", + "BLACK Dye_1" + ] + } + } }, "minicraft.advancements.recipes.gold": { - "requirements": [[ - "has_coal", - "has_gold_ore" - ]], + "requirements": [ + [ + "has_coal", + "has_gold_ore" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_gold_ore": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Ore"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold Ore" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold_1": [ - "Coal_1", - "Gold Ore_4" - ]}} + "rewards": { + "recipes": { + "Gold_1": [ + "Coal_1", + "Gold Ore_4" + ] + } + } }, "minicraft.advancements.recipes.cooked_fish": { - "requirements": [[ - "has_coal", - "has_raw_fish" - ]], + "requirements": [ + [ + "has_coal", + "has_raw_fish" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_raw_fish": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Fish"]}]} + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + } } }, - "rewards": {"recipes": {"Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" - ]}} + "rewards": { + "recipes": { + "Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" + ] + } + } }, "minicraft.advancements.recipes.light_potion": { - "requirements": [[ - "has_slime", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_slime", + "has_awkward_potion" + ] + ], "criteria": { "has_slime": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" - ]}} + "rewards": { + "recipes": { + "Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" + ] + } + } }, "minicraft.advancements.recipes.gold_sword": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Sword_1": [ - "Gold_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Sword_1": [ + "Gold_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.gold_shovel": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Shovel_1": [ - "Gold_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Shovel_1": [ + "Gold_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.yellow_dye": { - "requirements": [["has_flower"]], - "criteria": {"has_flower": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Flower"]}]} - }}, - "rewards": {"recipes": {"YELLOW Dye_1": ["Flower_1"]}} + "requirements": [ + [ + "has_flower" + ] + ], + "criteria": { + "has_flower": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Flower" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "YELLOW Dye_1": [ + "Flower_1" + ] + } + } }, "minicraft.advancements.recipes.stone_shovel": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Shovel_1": [ - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.escape_potion": { - "requirements": [[ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ] + ], "criteria": { "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_gunpowder": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ]}} + "rewards": { + "recipes": { + "Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ] + } + } }, "minicraft.advancements.recipes.orange_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_orange_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_orange_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_orange_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["ORANGE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "ORANGE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"ORANGE Bed_1": [ - "ORANGE Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "ORANGE Bed_1": [ + "ORANGE Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.lime_bed_from_white_bed": { - "requirements": [[ - "has_lime_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_lime_dye", + "has_white_bed" + ] + ], "criteria": { "has_lime_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIME Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIME Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIME Bed_1": [ - "LIME Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "LIME Bed_1": [ + "LIME Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.obsidian_wall": { - "requirements": [["has_obsidian_brick"]], - "criteria": {"has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Obsidian Brick"]}]} - }}, - "rewards": {"recipes": {"Obsidian Wall_1": ["Obsidian Brick_3"]}} + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "criteria": { + "has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Obsidian Wall_1": [ + "Obsidian Brick_3" + ] + } + } }, "minicraft.advancements.recipes.cyan_clothes": { - "requirements": [[ - "has_cactus", - "has_lapis", - "has_cloth" - ]], + "requirements": [ + [ + "has_cactus", + "has_lapis", + "has_cloth" + ] + ], "criteria": { "has_cactus": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + } }, "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } } }, - "rewards": {"recipes": {"Cyan Clothes_1": [ - "Lapis_1", - "cloth_5", - "Cactus_1" - ]}} + "rewards": { + "recipes": { + "Cyan Clothes_1": [ + "Lapis_1", + "cloth_5", + "Cactus_1" + ] + } + } }, "minicraft.advancements.recipes.brown_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_brown_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_brown_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_brown_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BROWN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BROWN Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BROWN Bed_1": [ - "WHITE Bed_1", - "BROWN Dye_1" - ]}} + "rewards": { + "recipes": { + "BROWN Bed_1": [ + "WHITE Bed_1", + "BROWN Dye_1" + ] + } + } }, "minicraft.advancements.recipes.gem_armor": { - "requirements": [["has_gem"]], - "criteria": {"has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} - }}, - "rewards": {"recipes": {"Gem Armor_1": ["gem_65"]}} + "requirements": [ + [ + "has_gem" + ] + ], + "criteria": { + "has_gem": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Gem Armor_1": [ + "gem_65" + ] + } + } }, "minicraft.advancements.recipes.brown_dye": { - "requirements": [[ - "has_green_dye", - "has_red_dye" - ]], + "requirements": [ + [ + "has_green_dye", + "has_red_dye" + ] + ], "criteria": { "has_green_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + } }, "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BROWN Dye_2": [ - "GREEN Dye_1", - "RED Dye_1" - ]}} + "rewards": { + "recipes": { + "BROWN Dye_2": [ + "GREEN Dye_1", + "RED Dye_1" + ] + } + } }, "minicraft.advancements.recipes.red_bed": { - "requirements": [[ - "has_red_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_red_wool", + "has_wood" + ] + ], "criteria": { "has_red_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"RED Bed_1": [ - "Wood_5", - "RED Wool_3" - ]}} + "rewards": { + "recipes": { + "RED Bed_1": [ + "Wood_5", + "RED Wool_3" + ] + } + } }, "minicraft.advancements.recipes.green_bed_from_white_bed": { - "requirements": [[ - "has_green_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_green_dye", + "has_white_bed" + ] + ], "criteria": { "has_green_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"GREEN Bed_1": [ - "GREEN Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "GREEN Bed_1": [ + "GREEN Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.golden_apple": { - "requirements": [[ - "has_apple", - "has_gold" - ]], + "requirements": [ + [ + "has_apple", + "has_gold" + ] + ], "criteria": { "has_apple": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Apple"]}]} + "conditions": { + "items": [ + { + "items": [ + "Apple" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Apple_1": [ - "Gold_8", - "Apple_1" - ]}} + "rewards": { + "recipes": { + "Gold Apple_1": [ + "Gold_8", + "Apple_1" + ] + } + } }, "minicraft.advancements.recipes.arrow": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"arrow_3": [ - "Stone_2", - "Wood_2" - ]}} + "rewards": { + "recipes": { + "arrow_3": [ + "Stone_2", + "Wood_2" + ] + } + } }, "minicraft.advancements.recipes.yellow_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_yellow_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_yellow_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_yellow_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["YELLOW Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "YELLOW Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"YELLOW Bed_1": [ - "YELLOW Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "YELLOW Bed_1": [ + "YELLOW Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.stone_wall": { - "requirements": [["has_stone_brick"]], - "criteria": {"has_stone_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone Brick"]}]} - }}, - "rewards": {"recipes": {"Stone Wall_1": ["Stone Brick_3"]}} + "requirements": [ + [ + "has_stone_brick" + ] + ], + "criteria": { + "has_stone_brick": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Stone Wall_1": [ + "Stone Brick_3" + ] + } + } }, "minicraft.advancements.recipes.glass": { - "requirements": [[ - "has_coal", - "has_sand" - ]], + "requirements": [ + [ + "has_coal", + "has_sand" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_sand": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Sand"]}]} + "conditions": { + "items": [ + { + "items": [ + "Sand" + ] + } + ] + } } }, - "rewards": {"recipes": {"glass_1": [ - "Coal_1", - "Sand_4" - ]}} + "rewards": { + "recipes": { + "glass_1": [ + "Coal_1", + "Sand_4" + ] + } + } }, "minicraft.advancements.recipes.speed_potion": { - "requirements": [[ - "has_cactus", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_cactus", + "has_awkward_potion" + ] + ], "criteria": { "has_cactus": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" - ]}} + "rewards": { + "recipes": { + "Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ] + } + } }, "minicraft.advancements.recipes.red_dye": { - "requirements": [["has_rose"]], - "criteria": {"has_rose": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Rose"]}]} - }}, - "rewards": {"recipes": {"RED Dye_1": ["Rose_1"]}} + "requirements": [ + [ + "has_rose" + ] + ], + "criteria": { + "has_rose": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Rose" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "RED Dye_1": [ + "Rose_1" + ] + } + } }, "minicraft.advancements.recipes.brown_bed": { - "requirements": [[ - "has_brown_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_brown_wool", + "has_wood" + ] + ], "criteria": { "has_brown_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BROWN Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "BROWN Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"BROWN Bed_1": [ - "BROWN Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "BROWN Bed_1": [ + "BROWN Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.gold_bow": { - "requirements": [[ - "has_wood", - "has_string", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_string", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Bow_1": [ - "Gold_5", - "string_2", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Bow_1": [ + "Gold_5", + "string_2", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.gold_lantern": { - "requirements": [[ - "has_glass", - "has_gold", - "has_slime" - ]], + "requirements": [ + [ + "has_glass", + "has_gold", + "has_slime" + ] + ], "criteria": { "has_glass": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["glass"]}]} + "conditions": { + "items": [ + { + "items": [ + "glass" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } }, "has_slime": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Lantern_1": [ - "glass_4", - "Gold_10", - "Slime_5" - ]}} + "rewards": { + "recipes": { + "Gold Lantern_1": [ + "glass_4", + "Gold_10", + "Slime_5" + ] + } + } }, "minicraft.advancements.recipes.gray_dye": { - "requirements": [[ - "has_white_dye", - "has_black_dye" - ]], + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], "criteria": { "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } }, "has_black_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLACK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLACK Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"GRAY Dye_2": [ - "WHITE Dye_1", - "BLACK Dye_1" - ]}} + "rewards": { + "recipes": { + "GRAY Dye_2": [ + "WHITE Dye_1", + "BLACK Dye_1" + ] + } + } }, "minicraft.advancements.recipes.plank_wall": { - "requirements": [["has_plank"]], - "criteria": {"has_plank": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Plank"]}]} - }}, - "rewards": {"recipes": {"Plank Wall_1": ["Plank_3"]}} + "requirements": [ + [ + "has_plank" + ] + ], + "criteria": { + "has_plank": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Plank Wall_1": [ + "Plank_3" + ] + } + } }, "minicraft.advancements.recipes.purple_dye": { - "requirements": [[ - "has_red_dye", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_red_dye", + "has_blue_dye" + ] + ], "criteria": { "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"PURPLE Dye_2": [ - "BLUE Dye_1", - "RED Dye_1" - ]}} + "rewards": { + "recipes": { + "PURPLE Dye_2": [ + "BLUE Dye_1", + "RED Dye_1" + ] + } + } }, "minicraft.advancements.recipes.light_blue_wool": { - "requirements": [[ - "has_light_blue_dye", - "has_white_wool" - ]], + "requirements": [ + [ + "has_light_blue_dye", + "has_white_wool" + ] + ], "criteria": { "has_light_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT BLUE Dye" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT BLUE Wool_1": [ - "LIGHT BLUE Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "LIGHT BLUE Wool_1": [ + "LIGHT BLUE Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.light_blue_bed": { - "requirements": [[ - "has_wood", - "has_light_blue_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_light_blue_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_light_blue_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT BLUE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT BLUE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT BLUE Bed_1": [ - "LIGHT BLUE Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.iron_armor": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Iron Armor_1": ["Iron_10"]}} + "requirements": [ + [ + "has_iron" + ] + ], + "criteria": { + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Iron Armor_1": [ + "Iron_10" + ] + } + } }, "minicraft.advancements.recipes.iron_shovel": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Shovel_1": [ - "Wood_5", - "Iron_5" - ]}} + "rewards": { + "recipes": { + "Iron Shovel_1": [ + "Wood_5", + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.yellow_wool": { - "requirements": [[ - "has_white_wool", - "has_yellow_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_yellow_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_yellow_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["YELLOW Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "YELLOW Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"YELLOW Wool_1": [ - "YELLOW Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "YELLOW Wool_1": [ + "YELLOW Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.obsidian_door": { - "requirements": [["has_obsidian_brick"]], - "criteria": {"has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Obsidian Brick"]}]} - }}, - "rewards": {"recipes": {"Obsidian Door_1": ["Obsidian Brick_5"]}} + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "criteria": { + "has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Obsidian Door_1": [ + "Obsidian Brick_5" + ] + } + } }, "minicraft.advancements.recipes.stone_hoe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Rock Hoe_1": [ - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.chest": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Chest_1": ["Wood_20"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Chest_1": [ + "Wood_20" + ] + } + } }, "minicraft.advancements.recipes.purple_bed": { - "requirements": [[ - "has_wood", - "has_purple_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_purple_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_purple_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PURPLE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "PURPLE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"PURPLE Bed_1": [ - "Wood_5", - "PURPLE Wool_3" - ]}} + "rewards": { + "recipes": { + "PURPLE Bed_1": [ + "Wood_5", + "PURPLE Wool_3" + ] + } + } }, "minicraft.advancements.recipes.purple_bed_from_white_bed": { - "requirements": [[ - "has_purple_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_purple_dye", + "has_white_bed" + ] + ], "criteria": { "has_purple_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PURPLE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"PURPLE Bed_1": [ - "WHITE Bed_1", - "PURPLE Dye_1" - ]}} + "rewards": { + "recipes": { + "PURPLE Bed_1": [ + "WHITE Bed_1", + "PURPLE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.gem_hoe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Hoe_1": [ - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Hoe_1": [ + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { - "requirements": [[ - "has_light_blue_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_light_blue_dye", + "has_white_bed" + ] + ], "criteria": { "has_light_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT BLUE Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT BLUE Bed_1": [ - "LIGHT BLUE Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.blue_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_blue_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLUE Bed_1": [ - "BLUE Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "BLUE Bed_1": [ + "BLUE Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.awkward_potion": { - "requirements": [[ - "has_lapis", - "has_glass_bottle" - ]], + "requirements": [ + [ + "has_lapis", + "has_glass_bottle" + ] + ], "criteria": { "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_glass_bottle": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass Bottle"]}]} + "conditions": { + "items": [ + { + "items": [ + "Glass Bottle" + ] + } + ] + } } }, - "rewards": {"recipes": {"Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ]}} + "rewards": { + "recipes": { + "Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" + ] + } + } }, "minicraft.advancements.recipes.magenta_wool": { - "requirements": [[ - "has_white_wool", - "has_magenta_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_magenta_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_magenta_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["MAGENTA Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Wool_1": [ - "MAGENTA Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "MAGENTA Wool_1": [ + "MAGENTA Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.green_bed": { - "requirements": [[ - "has_green_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_green_wool", + "has_wood" + ] + ], "criteria": { "has_green_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"GREEN Bed_1": [ - "GREEN Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "GREEN Bed_1": [ + "GREEN Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.reg_clothes": { - "requirements": [["has_cloth"]], - "criteria": {"has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} - }}, - "rewards": {"recipes": {"Reg Clothes_1": ["cloth_5"]}} + "requirements": [ + [ + "has_cloth" + ] + ], + "criteria": { + "has_cloth": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Reg Clothes_1": [ + "cloth_5" + ] + } + } }, "minicraft.advancements.recipes.totem_of_air": { - "requirements": [[ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ]], + "requirements": [ + [ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ] + ], "criteria": { "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } }, "has_cloud_ore": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloud Ore"]}]} + "conditions": { + "items": [ + { + "items": [ + "Cloud Ore" + ] + } + ] + } }, "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "gem_10", - "Cloud Ore_5" - ]}} + "rewards": { + "recipes": { + "Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "gem_10", + "Cloud Ore_5" + ] + } + } }, "minicraft.advancements.recipes.cyan_wool": { - "requirements": [[ - "has_cyan_dye", - "has_white_wool" - ]], + "requirements": [ + [ + "has_cyan_dye", + "has_white_wool" + ] + ], "criteria": { "has_cyan_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["CYAN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "CYAN Dye" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"CYAN Wool_1": [ - "CYAN Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "CYAN Wool_1": [ + "CYAN Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.iron_bow": { - "requirements": [[ - "has_wood", - "has_string", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_string", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Bow_1": [ - "string_2", - "Iron_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Iron Bow_1": [ + "string_2", + "Iron_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.wooden_shovel": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Shovel_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Shovel_1": [ + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.string": { - "requirements": [["has_white_wool"]], - "criteria": {"has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} - }}, - "rewards": {"recipes": {"string_2": ["WHITE Wool_1"]}} + "requirements": [ + [ + "has_white_wool" + ] + ], + "criteria": { + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "string_2": [ + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.loom": { - "requirements": [[ - "has_wood", - "has_white_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"Loom_1": [ - "Wood_10", - "WHITE Wool_5" - ]}} + "rewards": { + "recipes": { + "Loom_1": [ + "Wood_10", + "WHITE Wool_5" + ] + } + } }, "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_light_gray_dye" - ]], + "requirements": [ + [ + "has_white_bed", + "has_light_gray_dye" + ] + ], "criteria": { "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } }, "has_light_gray_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT GRAY Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT GRAY Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT GRAY Bed_1": [ - "WHITE Bed_1", - "LIGHT GRAY Dye_1" - ]}} + "rewards": { + "recipes": { + "LIGHT GRAY Bed_1": [ + "WHITE Bed_1", + "LIGHT GRAY Dye_1" + ] + } + } }, "minicraft.advancements.recipes.bread": { - "requirements": [["has_wheat"]], - "criteria": {"has_wheat": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wheat"]}]} - }}, - "rewards": {"recipes": {"Bread_1": ["Wheat_4"]}} + "requirements": [ + [ + "has_wheat" + ] + ], + "criteria": { + "has_wheat": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wheat" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Bread_1": [ + "Wheat_4" + ] + } + } }, "minicraft.advancements.recipes.light_gray_dye_from_black_white_dye": { - "requirements": [[ - "has_white_dye", - "has_black_dye" - ]], + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], "criteria": { "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } }, "has_black_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLACK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLACK Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT GRAY Dye_3": [ - "WHITE Dye_2", - "BLACK Dye_1" - ]}} + "rewards": { + "recipes": { + "LIGHT GRAY Dye_3": [ + "WHITE Dye_2", + "BLACK Dye_1" + ] + } + } }, "minicraft.advancements.recipes.anvil": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Anvil_1": ["Iron_5"]}} + "requirements": [ + [ + "has_iron" + ] + ], + "criteria": { + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Anvil_1": [ + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.torch": { - "requirements": [[ - "has_coal", - "has_wood" - ]], + "requirements": [ + [ + "has_coal", + "has_wood" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"Torch_2": [ - "Coal_1", - "Wood_1" - ]}} + "rewards": { + "recipes": { + "Torch_2": [ + "Coal_1", + "Wood_1" + ] + } + } }, "minicraft.advancements.recipes.gold_axe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Axe_1": [ - "Gold_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Axe_1": [ + "Gold_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.iron_lantern": { - "requirements": [[ - "has_glass", - "has_slime", - "has_iron" - ]], + "requirements": [ + [ + "has_glass", + "has_slime", + "has_iron" + ] + ], "criteria": { "has_glass": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["glass"]}]} + "conditions": { + "items": [ + { + "items": [ + "glass" + ] + } + ] + } }, "has_slime": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Lantern_1": [ - "glass_4", - "Iron_8", - "Slime_5" - ]}} + "rewards": { + "recipes": { + "Iron Lantern_1": [ + "glass_4", + "Iron_8", + "Slime_5" + ] + } + } }, "minicraft.advancements.recipes.cyan_bed": { - "requirements": [[ - "has_wood", - "has_cyan_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_cyan_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_cyan_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["CYAN Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "CYAN Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"CYAN Bed_1": [ - "Wood_5", - "CYAN Wool_3" - ]}} + "rewards": { + "recipes": { + "CYAN Bed_1": [ + "Wood_5", + "CYAN Wool_3" + ] + } + } }, "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { - "requirements": [[ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ] + ], "criteria": { "has_pink_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["PINK Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + } }, "has_red_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["RED Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"MAGENTA Dye_4": [ - "PINK Dye_1", - "RED Dye_1", - "BLUE Dye_1" - ]}} + "rewards": { + "recipes": { + "MAGENTA Dye_4": [ + "PINK Dye_1", + "RED Dye_1", + "BLUE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.white_bed": { - "requirements": [[ - "has_wood", - "has_white_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"WHITE Bed_1": [ - "Wood_5", - "WHITE Wool_3" - ]}} + "rewards": { + "recipes": { + "WHITE Bed_1": [ + "Wood_5", + "WHITE Wool_3" + ] + } + } }, "minicraft.advancements.recipes.enchanter": { - "requirements": [[ - "has_wood", - "has_string", - "has_lapis" - ]], + "requirements": [ + [ + "has_wood", + "has_string", + "has_lapis" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_string": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["string"]}]} + "conditions": { + "items": [ + { + "items": [ + "string" + ] + } + ] + } }, "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } } }, - "rewards": {"recipes": {"Enchanter_1": [ - "Lapis_10", - "string_2", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Enchanter_1": [ + "Lapis_10", + "string_2", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.light_gray_wool": { - "requirements": [[ - "has_white_wool", - "has_light_gray_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_light_gray_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_light_gray_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT GRAY Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT GRAY Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT GRAY Wool_1": [ - "LIGHT GRAY Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "LIGHT GRAY Wool_1": [ + "LIGHT GRAY Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.gold_claymore": { - "requirements": [[ - "has_shard", - "has_gold_sword" - ]], + "requirements": [ + [ + "has_shard", + "has_gold_sword" + ] + ], "criteria": { "has_shard": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + } }, "has_gold_sword": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Sword"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold Sword" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" - ]}} + "rewards": { + "recipes": { + "Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" + ] + } + } }, "minicraft.advancements.recipes.baked_potato": { - "requirements": [["has_potato"]], - "criteria": {"has_potato": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Potato"]}]} - }}, - "rewards": {"recipes": {"Baked Potato_1": ["Potato_1"]}} + "requirements": [ + [ + "has_potato" + ] + ], + "criteria": { + "has_potato": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Potato" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Baked Potato_1": [ + "Potato_1" + ] + } + } }, "minicraft.advancements.recipes.orange_wool": { - "requirements": [[ - "has_white_wool", - "has_orange_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_orange_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_orange_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["ORANGE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "ORANGE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"ORANGE Wool_1": [ - "ORANGE Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "ORANGE Wool_1": [ + "ORANGE Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.empty_bucket": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Empty Bucket_1": ["Iron_5"]}} + "requirements": [ + [ + "has_iron" + ] + ], + "criteria": { + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Empty Bucket_1": [ + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.gold_hoe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gold Hoe_1": [ - "Gold_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Gold Hoe_1": [ + "Gold_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.white_dye": { - "requirements": [["has_bone_meal"]], - "criteria": {"has_bone_meal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Bone Meal"]}]} - }}, - "rewards": {"recipes": {"WHITE Dye_1": ["Bone Meal_1"]}} + "requirements": [ + [ + "has_bone_meal" + ] + ], + "criteria": { + "has_bone_meal": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Bone Meal" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "WHITE Dye_1": [ + "Bone Meal_1" + ] + } + } }, "minicraft.advancements.recipes.gray_bed": { - "requirements": [[ - "has_gray_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_gray_wool", + "has_wood" + ] + ], "criteria": { "has_gray_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GRAY Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "GRAY Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"GRAY Bed_1": [ - "GRAY Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "GRAY Bed_1": [ + "GRAY Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.iron": { - "requirements": [[ - "has_coal", - "has_iron_ore" - ]], + "requirements": [ + [ + "has_coal", + "has_iron_ore" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_iron_ore": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron Ore"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron Ore" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron_1": [ - "Coal_1", - "Iron Ore_4" - ]}} + "rewards": { + "recipes": { + "Iron_1": [ + "Coal_1", + "Iron Ore_4" + ] + } + } }, "minicraft.advancements.recipes.stone_door": { - "requirements": [["has_stone_brick"]], - "criteria": {"has_stone_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone Brick"]}]} - }}, - "rewards": {"recipes": {"Stone Door_1": ["Stone Brick_5"]}} + "requirements": [ + [ + "has_stone_brick" + ] + ], + "criteria": { + "has_stone_brick": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Stone Door_1": [ + "Stone Brick_5" + ] + } + } }, "minicraft.advancements.recipes.obsidian_poppet": { - "requirements": [[ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ]], + "requirements": [ + [ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ] + ], "criteria": { "has_shard": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } }, "has_lapis": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } }, "has_gold": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + } } }, - "rewards": {"recipes": {"Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "gem_10" - ]}} + "rewards": { + "recipes": { + "Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "gem_10" + ] + } + } }, "minicraft.advancements.recipes.gem_axe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Axe_1": [ - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Axe_1": [ + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.tnt": { - "requirements": [[ - "has_sand", - "has_gunpowder" - ]], + "requirements": [ + [ + "has_sand", + "has_gunpowder" + ] + ], "criteria": { "has_sand": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Sand"]}]} + "conditions": { + "items": [ + { + "items": [ + "Sand" + ] + } + ] + } }, "has_gunpowder": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + } } }, - "rewards": {"recipes": {"Tnt_1": [ - "Sand_8", - "Gunpowder_10" - ]}} + "rewards": { + "recipes": { + "Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ] + } + } }, "minicraft.advancements.recipes.lime_bed": { - "requirements": [[ - "has_wood", - "has_lime_wool" - ]], + "requirements": [ + [ + "has_wood", + "has_lime_wool" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_lime_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIME Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIME Wool" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIME Bed_1": [ - "LIME Wool_3", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "LIME Bed_1": [ + "LIME Wool_3", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.iron_sword": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + } } }, - "rewards": {"recipes": {"Iron Sword_1": [ - "Wood_5", - "Iron_5" - ]}} + "rewards": { + "recipes": { + "Iron Sword_1": [ + "Wood_5", + "Iron_5" + ] + } + } }, "minicraft.advancements.recipes.cyan_bed_from_white_bed": { - "requirements": [[ - "has_cyan_dye", - "has_white_bed" - ]], + "requirements": [ + [ + "has_cyan_dye", + "has_white_bed" + ] + ], "criteria": { "has_cyan_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["CYAN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "CYAN Dye" + ] + } + ] + } }, "has_white_bed": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + } } }, - "rewards": {"recipes": {"CYAN Bed_1": [ - "CYAN Dye_1", - "WHITE Bed_1" - ]}} + "rewards": { + "recipes": { + "CYAN Bed_1": [ + "CYAN Dye_1", + "WHITE Bed_1" + ] + } + } }, "minicraft.advancements.recipes.wooden_sword": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Sword_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Wood Sword_1": [ + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.furnace": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Furnace_1": ["Stone_20"]}} + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Furnace_1": [ + "Stone_20" + ] + } + } }, "minicraft.advancements.recipes.gem_shovel": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "criteria": { "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } } }, - "rewards": {"recipes": {"Gem Shovel_1": [ - "Wood_5", - "gem_50" - ]}} + "rewards": { + "recipes": { + "Gem Shovel_1": [ + "Wood_5", + "gem_50" + ] + } + } }, "minicraft.advancements.recipes.black_clothes": { - "requirements": [[ - "has_coal", - "has_cloth" - ]], + "requirements": [ + [ + "has_coal", + "has_cloth" + ] + ], "criteria": { "has_coal": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + } }, "has_cloth": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "cloth" + ] + } + ] + } } }, - "rewards": {"recipes": {"Black Clothes_1": [ - "Coal_1", - "cloth_5" - ]}} + "rewards": { + "recipes": { + "Black Clothes_1": [ + "Coal_1", + "cloth_5" + ] + } + } }, "minicraft.advancements.recipes.haste_potion": { - "requirements": [[ - "has_stone", - "has_wood", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_stone", + "has_wood", + "has_awkward_potion" + ] + ], "criteria": { "has_stone": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", - "Wood_5" - ]}} + "rewards": { + "recipes": { + "Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" + ] + } + } }, "minicraft.advancements.recipes.black_bed": { - "requirements": [[ - "has_black_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_black_wool", + "has_wood" + ] + ], "criteria": { "has_black_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLACK Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLACK Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLACK Bed_1": [ - "Wood_5", - "BLACK Wool_3" - ]}} + "rewards": { + "recipes": { + "BLACK Bed_1": [ + "Wood_5", + "BLACK Wool_3" + ] + } + } }, "minicraft.advancements.recipes.blue_wool": { - "requirements": [[ - "has_white_wool", - "has_blue_dye" - ]], + "requirements": [ + [ + "has_white_wool", + "has_blue_dye" + ] + ], "criteria": { "has_white_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + } }, "has_blue_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["BLUE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"BLUE Wool_1": [ - "BLUE Dye_1", - "WHITE Wool_1" - ]}} + "rewards": { + "recipes": { + "BLUE Wool_1": [ + "BLUE Dye_1", + "WHITE Wool_1" + ] + } + } }, "minicraft.advancements.recipes.ornate_obsidian": { - "requirements": [["has_raw_obsidian"]], - "criteria": {"has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Obsidian"]}]} - }}, - "rewards": {"recipes": {"Ornate Obsidian_1": ["Raw Obsidian_2"]}} + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "criteria": { + "has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Ornate Obsidian_1": [ + "Raw Obsidian_2" + ] + } + } }, "minicraft.advancements.recipes.energy_potion": { - "requirements": [[ - "has_gem", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_gem", + "has_awkward_potion" + ] + ], "criteria": { "has_gem": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Energy Potion_1": [ - "Awkward Potion_1", - "gem_25" - ]}} + "rewards": { + "recipes": { + "Energy Potion_1": [ + "Awkward Potion_1", + "gem_25" + ] + } + } }, "minicraft.advancements.recipes.lime_dye": { - "requirements": [[ - "has_green_dye", - "has_white_dye" - ]], + "requirements": [ + [ + "has_green_dye", + "has_white_dye" + ] + ], "criteria": { "has_green_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["GREEN Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + } }, "has_white_dye": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["WHITE Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIME Dye_2": [ - "GREEN Dye_1", - "WHITE Dye_1" - ]}} + "rewards": { + "recipes": { + "LIME Dye_2": [ + "GREEN Dye_1", + "WHITE Dye_1" + ] + } + } }, "minicraft.advancements.recipes.oven": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Oven_1": ["Stone_15"]}} + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "Oven_1": [ + "Stone_15" + ] + } + } }, "minicraft.advancements.recipes.regen_potion": { - "requirements": [[ - "has_golden_apple", - "has_awkward_potion" - ]], + "requirements": [ + [ + "has_golden_apple", + "has_awkward_potion" + ] + ], "criteria": { "has_golden_apple": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Apple"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold Apple" + ] + } + ] + } }, "has_awkward_potion": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + } } }, - "rewards": {"recipes": {"Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" - ]}} + "rewards": { + "recipes": { + "Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ] + } + } }, "minicraft.advancements.recipes.light_gray_bed": { - "requirements": [[ - "has_light_gray_wool", - "has_wood" - ]], + "requirements": [ + [ + "has_light_gray_wool", + "has_wood" + ] + ], "criteria": { "has_light_gray_wool": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["LIGHT GRAY Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "LIGHT GRAY Wool" + ] + } + ] + } }, "has_wood": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } } }, - "rewards": {"recipes": {"LIGHT GRAY Bed_1": [ - "Wood_5", - "LIGHT GRAY Wool_3" - ]}} + "rewards": { + "recipes": { + "LIGHT GRAY Bed_1": [ + "Wood_5", + "LIGHT GRAY Wool_3" + ] + } + } } -} \ No newline at end of file +} From 029e98f56469fac4cbeb94c2bce3c2c06730abcf Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 22 Jun 2023 01:23:02 +0800 Subject: [PATCH 20/59] Fix small problems --- src/main/java/minicraft/entity/furniture/Bed.java | 3 ++- src/main/java/minicraft/item/Recipes.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/minicraft/entity/furniture/Bed.java b/src/main/java/minicraft/entity/furniture/Bed.java index 94f545985..897c4e771 100644 --- a/src/main/java/minicraft/entity/furniture/Bed.java +++ b/src/main/java/minicraft/entity/furniture/Bed.java @@ -9,6 +9,7 @@ import minicraft.gfx.SpriteLinker.SpriteType; import minicraft.item.DyeItem; import minicraft.level.Level; +import org.jetbrains.annotations.NotNull; import java.util.HashMap; @@ -18,7 +19,7 @@ public class Bed extends Furniture { private static final HashMap itemSprites = new HashMap<>(); @Override - public Furniture clone() { + public @NotNull Furniture copy() { return new Bed(color); } diff --git a/src/main/java/minicraft/item/Recipes.java b/src/main/java/minicraft/item/Recipes.java index 145838f05..bfc56bdea 100644 --- a/src/main/java/minicraft/item/Recipes.java +++ b/src/main/java/minicraft/item/Recipes.java @@ -251,7 +251,7 @@ public static void main(String[] args) { item instanceof ToolItem ? name.replaceAll("(?i)wood", "wooden").replaceAll("(?i)rock", "stone") : name) .toLowerCase().replace(' ', '_'); }; - Function recipeNameFixer = recipe -> { // This is applied when duplication occurrs. + Function recipeNameFixer = recipe -> { // This is applied when duplication occurs. Item item = recipe.getProduct(); String name = itemNameFixer.apply(item); if (item instanceof DyeItem) { From 3a4c8827fede65b520512290545406495561de3b Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 22 Jun 2023 01:26:29 +0800 Subject: [PATCH 21/59] Update recipes.json --- src/main/resources/resources/recipes.json | 3748 ++++++++++----------- 1 file changed, 1874 insertions(+), 1874 deletions(-) diff --git a/src/main/resources/resources/recipes.json b/src/main/resources/resources/recipes.json index 0bb83ceed..10cb736b6 100644 --- a/src/main/resources/resources/recipes.json +++ b/src/main/resources/resources/recipes.json @@ -1,31 +1,18 @@ { - "minicraft.advancements.recipes.gem_fishing_rod": { + "minicraft.advancements.recipes.anvil": { "requirements": [ [ - "has_gem", - "has_string" + "has_iron" ] ], "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - }, - "has_string": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Iron" ] } ] @@ -34,40 +21,39 @@ }, "rewards": { "recipes": { - "Gem Fishing Rod_1": [ - "string_3", - "gem_10" + "Anvil_1": [ + "Iron_5" ] } } }, - "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "minicraft.advancements.recipes.arrow": { "requirements": [ [ - "has_gray_dye", - "has_white_bed" + "has_stone", + "has_wood" ] ], "criteria": { - "has_gray_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GRAY Dye" + "Stone" ] } ] } }, - "has_white_bed": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Wood" ] } ] @@ -76,53 +62,40 @@ }, "rewards": { "recipes": { - "GRAY Bed_1": [ - "GRAY Dye_1", - "WHITE Bed_1" + "arrow_3": [ + "Stone_2", + "Wood_2" ] } } }, - "minicraft.advancements.recipes.health_potion": { + "minicraft.advancements.recipes.awkward_potion": { "requirements": [ [ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" + "has_lapis", + "has_glass_bottle" ] ], "criteria": { - "has_leather_armor": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Leather Armor" - ] - } - ] - } - }, - "has_gunpowder": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gunpowder" + "Lapis" ] } ] } }, - "has_awkward_potion": { + "has_glass_bottle": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Glass Bottle" ] } ] @@ -131,41 +104,27 @@ }, "rewards": { "recipes": { - "Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" + "Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" ] } } }, - "minicraft.advancements.recipes.green_wool": { + "minicraft.advancements.recipes.baked_potato": { "requirements": [ [ - "has_green_dye", - "has_white_wool" + "has_potato" ] ], "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Dye" - ] - } - ] - } - }, - "has_white_wool": { + "has_potato": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Potato" ] } ] @@ -174,48 +133,32 @@ }, "rewards": { "recipes": { - "GREEN Wool_1": [ - "GREEN Dye_1", - "WHITE Wool_1" + "Baked Potato_1": [ + "Potato_1" ] } } }, - "minicraft.advancements.recipes.obsidian_brick": { + "minicraft.advancements.recipes.black_bed": { "requirements": [ [ - "has_raw_obsidian" + "has_black_wool", + "has_wood" ] ], "criteria": { - "has_raw_obsidian": { + "has_black_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Obsidian" + "BLACK Wool" ] } ] } - } - }, - "rewards": { - "recipes": { - "Obsidian Brick_1": [ - "Raw Obsidian_2" - ] - } - } - }, - "minicraft.advancements.recipes.plank": { - "requirements": [ - [ - "has_wood" - ] - ], - "criteria": { + }, "has_wood": { "trigger": "inventory_changed", "conditions": { @@ -231,39 +174,40 @@ }, "rewards": { "recipes": { - "Plank_2": [ - "Wood_1" + "BLACK Bed_1": [ + "Wood_5", + "BLACK Wool_3" ] } } }, - "minicraft.advancements.recipes.red_bed_from_white_bed": { + "minicraft.advancements.recipes.black_bed_from_white_bed": { "requirements": [ [ - "has_red_dye", - "has_white_bed" + "has_white_bed", + "has_black_dye" ] ], "criteria": { - "has_red_dye": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "WHITE Bed" ] } ] } }, - "has_white_bed": { + "has_black_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "BLACK Dye" ] } ] @@ -272,40 +216,40 @@ }, "rewards": { "recipes": { - "RED Bed_1": [ - "RED Dye_1", - "WHITE Bed_1" + "BLACK Bed_1": [ + "WHITE Bed_1", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.purple_wool": { + "minicraft.advancements.recipes.black_clothes": { "requirements": [ [ - "has_white_wool", - "has_purple_dye" + "has_coal", + "has_cloth" ] ], "criteria": { - "has_white_wool": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Coal" ] } ] } }, - "has_purple_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "cloth" ] } ] @@ -314,27 +258,27 @@ }, "rewards": { "recipes": { - "PURPLE Wool_1": [ - "PURPLE Dye_1", - "WHITE Wool_1" + "Black Clothes_1": [ + "Coal_1", + "cloth_5" ] } } }, - "minicraft.advancements.recipes.bone_meal": { + "minicraft.advancements.recipes.black_dye": { "requirements": [ [ - "has_bone" + "has_coal" ] ], "criteria": { - "has_bone": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Bone" + "Coal" ] } ] @@ -343,54 +287,39 @@ }, "rewards": { "recipes": { - "Bone Meal_3": [ - "Bone_1" + "BLACK Dye_1": [ + "Coal_1" ] } } }, - "minicraft.advancements.recipes.black_dye": { + "minicraft.advancements.recipes.black_wool": { "requirements": [ [ - "has_coal" + "has_white_wool", + "has_black_dye" ] ], "criteria": { - "has_coal": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "WHITE Wool" ] } ] } - } - }, - "rewards": { - "recipes": { - "BLACK Dye_1": [ - "Coal_1" - ] - } - } - }, - "minicraft.advancements.recipes.leather_armor": { - "requirements": [ - [ - "has_leather" - ] - ], - "criteria": { - "has_leather": { + }, + "has_black_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Leather" + "BLACK Dye" ] } ] @@ -399,39 +328,40 @@ }, "rewards": { "recipes": { - "Leather Armor_1": [ - "Leather_10" + "BLACK Wool_1": [ + "BLACK Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.lava_potion": { + "minicraft.advancements.recipes.blue_bed": { "requirements": [ [ - "has_awkward_potion", - "has_lava_bucket" + "has_wood", + "has_blue_wool" ] ], "criteria": { - "has_awkward_potion": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Wood" ] } ] } }, - "has_lava_bucket": { + "has_blue_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lava Bucket" + "BLUE Wool" ] } ] @@ -440,40 +370,40 @@ }, "rewards": { "recipes": { - "Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" + "BLUE Bed_1": [ + "Wood_5", + "BLUE Wool_3" ] } } }, - "minicraft.advancements.recipes.iron_axe": { + "minicraft.advancements.recipes.blue_bed_from_white_bed": { "requirements": [ [ - "has_wood", - "has_iron" + "has_white_bed", + "has_blue_dye" ] ], "criteria": { - "has_wood": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Bed" ] } ] } }, - "has_iron": { + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "BLUE Dye" ] } ] @@ -482,40 +412,40 @@ }, "rewards": { "recipes": { - "Iron Axe_1": [ - "Wood_5", - "Iron_5" + "BLUE Bed_1": [ + "BLUE Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.black_wool": { + "minicraft.advancements.recipes.blue_clothes": { "requirements": [ [ - "has_white_wool", - "has_black_dye" + "has_lapis", + "has_cloth" ] ], "criteria": { - "has_white_wool": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Lapis" ] } ] } }, - "has_black_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "cloth" ] } ] @@ -524,27 +454,27 @@ }, "rewards": { "recipes": { - "BLACK Wool_1": [ - "BLACK Dye_1", - "WHITE Wool_1" + "Blue Clothes_1": [ + "Lapis_1", + "cloth_5" ] } } }, - "minicraft.advancements.recipes.white_wool": { + "minicraft.advancements.recipes.blue_dye": { "requirements": [ [ - "has_string" + "has_lapis" ] ], "criteria": { - "has_string": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Lapis" ] } ] @@ -553,39 +483,39 @@ }, "rewards": { "recipes": { - "WHITE Wool_1": [ - "string_3" + "BLUE Dye_1": [ + "Lapis_1" ] } } }, - "minicraft.advancements.recipes.cooked_pork": { + "minicraft.advancements.recipes.blue_wool": { "requirements": [ [ - "has_coal", - "has_raw_pork" + "has_white_wool", + "has_blue_dye" ] ], "criteria": { - "has_coal": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "WHITE Wool" ] } ] } }, - "has_raw_pork": { + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Pork" + "BLUE Dye" ] } ] @@ -594,40 +524,27 @@ }, "rewards": { "recipes": { - "Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" + "BLUE Wool_1": [ + "BLUE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "minicraft.advancements.recipes.bone_meal": { "requirements": [ [ - "has_gray_dye", - "has_white_dye" + "has_bone" ] ], "criteria": { - "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GRAY Dye" - ] - } - ] - } - }, - "has_white_dye": { + "has_bone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Bone" ] } ] @@ -636,40 +553,26 @@ }, "rewards": { "recipes": { - "LIGHT GRAY Dye_2": [ - "GRAY Dye_1", - "WHITE Dye_1" + "Bone Meal_3": [ + "Bone_1" ] } } }, - "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "minicraft.advancements.recipes.bread": { "requirements": [ [ - "has_pink_dye", - "has_white_bed" + "has_wheat" ] ], "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "PINK Dye" - ] - } - ] - } - }, - "has_white_bed": { + "has_wheat": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Wheat" ] } ] @@ -678,40 +581,39 @@ }, "rewards": { "recipes": { - "PINK Bed_1": [ - "PINK Dye_1", - "WHITE Bed_1" + "Bread_1": [ + "Wheat_4" ] } } }, - "minicraft.advancements.recipes.magenta_dye": { + "minicraft.advancements.recipes.brown_bed": { "requirements": [ [ - "has_pink_dye", - "has_purple_dye" + "has_brown_wool", + "has_wood" ] ], "criteria": { - "has_pink_dye": { + "has_brown_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "BROWN Wool" ] } ] } }, - "has_purple_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "Wood" ] } ] @@ -720,27 +622,40 @@ }, "rewards": { "recipes": { - "MAGENTA Dye_2": [ - "PINK Dye_1", - "PURPLE Dye_1" + "BROWN Bed_1": [ + "BROWN Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.wooden_hoe": { + "minicraft.advancements.recipes.brown_bed_from_white_bed": { "requirements": [ [ - "has_wood" + "has_white_bed", + "has_brown_dye" ] ], "criteria": { - "has_wood": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Bed" + ] + } + ] + } + }, + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "BROWN Dye" ] } ] @@ -749,39 +664,40 @@ }, "rewards": { "recipes": { - "Wood Hoe_1": [ - "Wood_5" + "BROWN Bed_1": [ + "WHITE Bed_1", + "BROWN Dye_1" ] } } }, - "minicraft.advancements.recipes.stone_sword": { + "minicraft.advancements.recipes.brown_dye": { "requirements": [ [ - "has_stone", - "has_wood" + "has_green_dye", + "has_red_dye" ] ], "criteria": { - "has_stone": { + "has_green_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "GREEN Dye" ] } ] } }, - "has_wood": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "RED Dye" ] } ] @@ -790,9 +706,9 @@ }, "rewards": { "recipes": { - "Rock Sword_1": [ - "Stone_5", - "Wood_5" + "BROWN Dye_2": [ + "GREEN Dye_1", + "RED Dye_1" ] } } @@ -839,20 +755,20 @@ } } }, - "minicraft.advancements.recipes.snake_armor": { + "minicraft.advancements.recipes.chest": { "requirements": [ [ - "has_scale" + "has_wood" ] ], "criteria": { - "has_scale": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Scale" + "Wood" ] } ] @@ -861,52 +777,39 @@ }, "rewards": { "recipes": { - "Snake Armor_1": [ - "Scale_15" + "Chest_1": [ + "Wood_20" ] } } }, - "minicraft.advancements.recipes.magenta_dye_from_white_dye": { + "minicraft.advancements.recipes.cooked_fish": { "requirements": [ [ - "has_white_dye", - "has_red_dye", - "has_blue_dye" + "has_coal", + "has_raw_fish" ] ], "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Dye" - ] - } - ] - } - }, - "has_red_dye": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "Coal" ] } ] } }, - "has_blue_dye": { + "has_raw_fish": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Raw Fish" ] } ] @@ -915,28 +818,40 @@ }, "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "WHITE Dye_1", - "RED Dye_2", - "BLUE Dye_1" + "Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" ] } } }, - "minicraft.advancements.recipes.shears": { + "minicraft.advancements.recipes.cooked_pork": { "requirements": [ [ - "has_iron" + "has_coal", + "has_raw_pork" ] ], "criteria": { - "has_iron": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "Coal" + ] + } + ] + } + }, + "has_raw_pork": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Raw Pork" ] } ] @@ -945,67 +860,40 @@ }, "rewards": { "recipes": { - "Shears_1": [ - "Iron_4" + "Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" ] } } }, - "minicraft.advancements.recipes.wood_door": { + "minicraft.advancements.recipes.cyan_bed": { "requirements": [ [ - "has_plank" - ] - ], - "criteria": { - "has_plank": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Wood Door_1": [ - "Plank_5" - ] - } - } - }, - "minicraft.advancements.recipes.green_clothes": { - "requirements": [ - [ - "has_cactus", - "has_cloth" + "has_wood", + "has_cyan_wool" ] ], "criteria": { - "has_cactus": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cactus" + "Wood" ] } ] } }, - "has_cloth": { + "has_cyan_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "CYAN Wool" ] } ] @@ -1014,40 +902,40 @@ }, "rewards": { "recipes": { - "Green Clothes_1": [ - "Cactus_1", - "cloth_5" + "CYAN Bed_1": [ + "Wood_5", + "CYAN Wool_3" ] } } }, - "minicraft.advancements.recipes.red_wool": { + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { "requirements": [ [ - "has_white_wool", - "has_red_dye" + "has_cyan_dye", + "has_white_bed" ] ], "criteria": { - "has_white_wool": { + "has_cyan_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "CYAN Dye" ] } ] } }, - "has_red_dye": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "WHITE Bed" ] } ] @@ -1056,53 +944,53 @@ }, "rewards": { "recipes": { - "RED Wool_1": [ - "RED Dye_1", - "WHITE Wool_1" + "CYAN Bed_1": [ + "CYAN Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.stone_bow": { + "minicraft.advancements.recipes.cyan_clothes": { "requirements": [ [ - "has_stone", - "has_wood", - "has_string" + "has_cactus", + "has_lapis", + "has_cloth" ] ], "criteria": { - "has_stone": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "Cactus" ] } ] } }, - "has_wood": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Lapis" ] } ] } }, - "has_string": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "cloth" ] } ] @@ -1111,54 +999,41 @@ }, "rewards": { "recipes": { - "Rock Bow_1": [ - "string_2", - "Stone_5", - "Wood_5" + "Cyan Clothes_1": [ + "Lapis_1", + "cloth_5", + "Cactus_1" ] } } }, - "minicraft.advancements.recipes.gem_bow": { + "minicraft.advancements.recipes.cyan_dye": { "requirements": [ [ - "has_wood", - "has_gem", - "has_string" + "has_green_dye", + "has_blue_dye" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { + "has_green_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "GREEN Dye" ] } ] } }, - "has_string": { + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "BLUE Dye" ] } ] @@ -1167,41 +1042,40 @@ }, "rewards": { "recipes": { - "Gem Bow_1": [ - "string_2", - "Wood_5", - "gem_50" + "CYAN Dye_2": [ + "BLUE Dye_1", + "GREEN Dye_1" ] } } }, - "minicraft.advancements.recipes.cyan_dye": { + "minicraft.advancements.recipes.cyan_wool": { "requirements": [ [ - "has_green_dye", - "has_blue_dye" + "has_cyan_dye", + "has_white_wool" ] ], "criteria": { - "has_green_dye": { + "has_cyan_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Dye" + "CYAN Dye" ] } ] } }, - "has_blue_dye": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "WHITE Wool" ] } ] @@ -1210,27 +1084,27 @@ }, "rewards": { "recipes": { - "CYAN Dye_2": [ - "BLUE Dye_1", - "GREEN Dye_1" + "CYAN Wool_1": [ + "CYAN Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.wooden_axe": { + "minicraft.advancements.recipes.empty_bucket": { "requirements": [ [ - "has_wood" + "has_iron" ] ], "criteria": { - "has_wood": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Iron" ] } ] @@ -1239,17 +1113,18 @@ }, "rewards": { "recipes": { - "Wood Axe_1": [ - "Wood_5" + "Empty Bucket_1": [ + "Iron_5" ] } } }, - "minicraft.advancements.recipes.magenta_bed": { + "minicraft.advancements.recipes.enchanter": { "requirements": [ [ "has_wood", - "has_magenta_wool" + "has_string", + "has_lapis" ] ], "criteria": { @@ -1265,42 +1140,25 @@ ] } }, - "has_magenta_wool": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Wool" + "string" ] } ] } - } - }, - "rewards": { - "recipes": { - "MAGENTA Bed_1": [ - "Wood_5", - "MAGENTA Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.stone_brick": { - "requirements": [ - [ - "has_stone" - ] - ], - "criteria": { - "has_stone": { + }, + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "Lapis" ] } ] @@ -1309,39 +1167,41 @@ }, "rewards": { "recipes": { - "Stone Brick_1": [ - "Stone_2" + "Enchanter_1": [ + "Lapis_10", + "string_2", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.pink_dye": { + "minicraft.advancements.recipes.energy_potion": { "requirements": [ [ - "has_white_dye", - "has_red_dye" + "has_gem", + "has_awkward_potion" ] ], "criteria": { - "has_white_dye": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "gem" ] } ] } }, - "has_red_dye": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "Awkward Potion" ] } ] @@ -1350,81 +1210,83 @@ }, "rewards": { "recipes": { - "PINK Dye_2": [ - "WHITE Dye_1", - "RED Dye_1" + "Energy Potion_1": [ + "Awkward Potion_1", + "gem_25" ] } } }, - "minicraft.advancements.recipes.workbench": { + "minicraft.advancements.recipes.escape_potion": { "requirements": [ [ - "has_wood" + "has_lapis", + "has_gunpowder", + "has_awkward_potion" ] ], "criteria": { - "has_wood": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Lapis" ] } ] } - } - }, - "rewards": { - "recipes": { - "Workbench_1": [ - "Wood_10" - ] - } - } - }, - "minicraft.advancements.recipes.lantern": { - "requirements": [ - [ - "has_glass", - "has_wood", - "has_slime" - ] - ], - "criteria": { - "has_glass": { + }, + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "glass" + "Gunpowder" ] } ] } }, - "has_wood": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Awkward Potion" ] } ] } - }, - "has_slime": { + } + }, + "rewards": { + "recipes": { + "Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ] + } + } + }, + "minicraft.advancements.recipes.furnace": { + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "Stone" ] } ] @@ -1433,28 +1295,26 @@ }, "rewards": { "recipes": { - "Lantern_1": [ - "glass_3", - "Slime_4", - "Wood_8" + "Furnace_1": [ + "Stone_20" ] } } }, - "minicraft.advancements.recipes.green_dye": { + "minicraft.advancements.recipes.gem_armor": { "requirements": [ [ - "has_cactus" + "has_gem" ] ], "criteria": { - "has_cactus": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cactus" + "gem" ] } ] @@ -1463,39 +1323,39 @@ }, "rewards": { "recipes": { - "GREEN Dye_1": [ - "Cactus_1" + "Gem Armor_1": [ + "gem_65" ] } } }, - "minicraft.advancements.recipes.orange_dye": { + "minicraft.advancements.recipes.gem_axe": { "requirements": [ [ - "has_red_dye", - "has_yellow_dye" + "has_wood", + "has_gem" ] ], "criteria": { - "has_red_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "Wood" ] } ] } }, - "has_yellow_dye": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "gem" ] } ] @@ -1504,69 +1364,53 @@ }, "rewards": { "recipes": { - "ORANGE Dye_2": [ - "YELLOW Dye_1", - "RED Dye_1" + "Gem Axe_1": [ + "Wood_5", + "gem_50" ] } } }, - "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "minicraft.advancements.recipes.gem_bow": { "requirements": [ [ - "has_white_bed", - "has_magenta_dye" + "has_wood", + "has_gem", + "has_string" ] ], "criteria": { - "has_white_bed": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Wood" ] } ] } }, - "has_magenta_dye": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Dye" + "gem" ] } ] } - } - }, - "rewards": { - "recipes": { - "MAGENTA Bed_1": [ - "MAGENTA Dye_1", - "WHITE Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.gold_armor": { - "requirements": [ - [ - "has_gold" - ] - ], - "criteria": { - "has_gold": { + }, + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "string" ] } ] @@ -1575,39 +1419,41 @@ }, "rewards": { "recipes": { - "Gold Armor_1": [ - "Gold_10" + "Gem Bow_1": [ + "string_2", + "Wood_5", + "gem_50" ] } } }, - "minicraft.advancements.recipes.yellow_clothes": { + "minicraft.advancements.recipes.gem_claymore": { "requirements": [ [ - "has_cloth", - "has_flower" + "has_shard", + "has_gem_sword" ] ], "criteria": { - "has_cloth": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Shard" ] } ] } }, - "has_flower": { + "has_gem_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "Gem Sword" ] } ] @@ -1616,27 +1462,40 @@ }, "rewards": { "recipes": { - "Yellow Clothes_1": [ - "Flower_1", - "cloth_5" + "Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" ] } } }, - "minicraft.advancements.recipes.glass_bottle": { + "minicraft.advancements.recipes.gem_fishing_rod": { "requirements": [ [ - "has_glass" + "has_gem", + "has_string" ] ], "criteria": { - "has_glass": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "glass" + "gem" + ] + } + ] + } + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "string" ] } ] @@ -1645,39 +1504,40 @@ }, "rewards": { "recipes": { - "Glass Bottle_1": [ - "glass_3" + "Gem Fishing Rod_1": [ + "string_3", + "gem_10" ] } } }, - "minicraft.advancements.recipes.gem_claymore": { + "minicraft.advancements.recipes.gem_hoe": { "requirements": [ [ - "has_shard", - "has_gem_sword" + "has_wood", + "has_gem" ] ], "criteria": { - "has_shard": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Shard" + "Wood" ] } ] } }, - "has_gem_sword": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gem Sword" + "gem" ] } ] @@ -1686,40 +1546,40 @@ }, "rewards": { "recipes": { - "Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" + "Gem Hoe_1": [ + "Wood_5", + "gem_50" ] } } }, - "minicraft.advancements.recipes.lime_wool": { + "minicraft.advancements.recipes.gem_pickaxe": { "requirements": [ [ - "has_lime_dye", - "has_white_wool" + "has_wood", + "has_gem" ] ], "criteria": { - "has_lime_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Dye" + "Wood" ] } ] } }, - "has_white_wool": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "gem" ] } ] @@ -1728,18 +1588,18 @@ }, "rewards": { "recipes": { - "LIME Wool_1": [ - "LIME Dye_1", - "WHITE Wool_1" + "Gem Pickaxe_1": [ + "Wood_5", + "gem_50" ] } } }, - "minicraft.advancements.recipes.wood_fishing_rod": { + "minicraft.advancements.recipes.gem_shovel": { "requirements": [ [ "has_wood", - "has_string" + "has_gem" ] ], "criteria": { @@ -1755,13 +1615,13 @@ ] } }, - "has_string": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "gem" ] } ] @@ -1770,40 +1630,40 @@ }, "rewards": { "recipes": { - "Wood Fishing Rod_1": [ - "string_3", - "Wood_10" + "Gem Shovel_1": [ + "Wood_5", + "gem_50" ] } } }, - "minicraft.advancements.recipes.pink_bed": { + "minicraft.advancements.recipes.gem_sword": { "requirements": [ [ - "has_pink_wool", - "has_wood" + "has_wood", + "has_gem" ] ], "criteria": { - "has_pink_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Wool" + "Wood" ] } ] } }, - "has_wood": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gem" ] } ] @@ -1812,40 +1672,40 @@ }, "rewards": { "recipes": { - "PINK Bed_1": [ + "Gem Sword_1": [ "Wood_5", - "PINK Wool_3" + "gem_50" ] } } }, - "minicraft.advancements.recipes.gold_fishing_rod": { + "minicraft.advancements.recipes.glass": { "requirements": [ [ - "has_string", - "has_gold" + "has_coal", + "has_sand" ] ], "criteria": { - "has_string": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Coal" ] } ] } }, - "has_gold": { + "has_sand": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Sand" ] } ] @@ -1854,27 +1714,27 @@ }, "rewards": { "recipes": { - "Gold Fishing Rod_1": [ - "Gold_10", - "string_3" + "glass_1": [ + "Coal_1", + "Sand_4" ] } } }, - "minicraft.advancements.recipes.blue_dye": { + "minicraft.advancements.recipes.glass_bottle": { "requirements": [ [ - "has_lapis" + "has_glass" ] ], "criteria": { - "has_lapis": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "glass" ] } ] @@ -1883,52 +1743,68 @@ }, "rewards": { "recipes": { - "BLUE Dye_1": [ - "Lapis_1" + "Glass Bottle_1": [ + "glass_3" ] } } }, - "minicraft.advancements.recipes.purple_clothes": { + "minicraft.advancements.recipes.gold": { "requirements": [ [ - "has_rose", - "has_lapis", - "has_cloth" + "has_coal", + "has_gold_ore" ] ], "criteria": { - "has_rose": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Rose" + "Coal" ] } ] } }, - "has_lapis": { + "has_gold_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Gold Ore" ] } ] } - }, - "has_cloth": { + } + }, + "rewards": { + "recipes": { + "Gold_1": [ + "Coal_1", + "Gold Ore_4" + ] + } + } + }, + "minicraft.advancements.recipes.gold_armor": { + "requirements": [ + [ + "has_gold" + ] + ], + "criteria": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Gold" ] } ] @@ -1937,41 +1813,39 @@ }, "rewards": { "recipes": { - "Purple Clothes_1": [ - "Lapis_1", - "cloth_5", - "Rose_1" + "Gold Armor_1": [ + "Gold_10" ] } } }, - "minicraft.advancements.recipes.stone_pickaxe": { + "minicraft.advancements.recipes.gold_axe": { "requirements": [ [ - "has_stone", - "has_wood" + "has_wood", + "has_gold" ] ], "criteria": { - "has_stone": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "Wood" ] } ] } }, - "has_wood": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Gold" ] } ] @@ -1980,18 +1854,19 @@ }, "rewards": { "recipes": { - "Rock Pickaxe_1": [ - "Stone_5", + "Gold Axe_1": [ + "Gold_5", "Wood_5" ] } } }, - "minicraft.advancements.recipes.orange_bed": { + "minicraft.advancements.recipes.gold_bow": { "requirements": [ [ "has_wood", - "has_orange_wool" + "has_string", + "has_gold" ] ], "criteria": { @@ -2007,13 +1882,25 @@ ] } }, - "has_orange_wool": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Wool" + "string" + ] + } + ] + } + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Gold" ] } ] @@ -2022,40 +1909,41 @@ }, "rewards": { "recipes": { - "ORANGE Bed_1": [ - "Wood_5", - "ORANGE Wool_3" + "Gold Bow_1": [ + "Gold_5", + "string_2", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.blue_clothes": { + "minicraft.advancements.recipes.gold_claymore": { "requirements": [ [ - "has_lapis", - "has_cloth" + "has_shard", + "has_gold_sword" ] ], "criteria": { - "has_lapis": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Shard" ] } ] } }, - "has_cloth": { + "has_gold_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Gold Sword" ] } ] @@ -2064,40 +1952,40 @@ }, "rewards": { "recipes": { - "Blue Clothes_1": [ - "Lapis_1", - "cloth_5" + "Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" ] } } }, - "minicraft.advancements.recipes.pink_wool": { + "minicraft.advancements.recipes.gold_fishing_rod": { "requirements": [ [ - "has_pink_dye", - "has_white_wool" + "has_string", + "has_gold" ] ], "criteria": { - "has_pink_dye": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "string" ] } ] } }, - "has_white_wool": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Gold" ] } ] @@ -2106,18 +1994,18 @@ }, "rewards": { "recipes": { - "PINK Wool_1": [ - "PINK Dye_1", - "WHITE Wool_1" + "Gold Fishing Rod_1": [ + "Gold_10", + "string_3" ] } } }, - "minicraft.advancements.recipes.blue_bed": { + "minicraft.advancements.recipes.gold_hoe": { "requirements": [ [ "has_wood", - "has_blue_wool" + "has_gold" ] ], "criteria": { @@ -2133,13 +2021,13 @@ ] } }, - "has_blue_wool": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Wool" + "Gold" ] } ] @@ -2148,40 +2036,53 @@ }, "rewards": { "recipes": { - "BLUE Bed_1": [ - "Wood_5", - "BLUE Wool_3" + "Gold Hoe_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gem_sword": { + "minicraft.advancements.recipes.gold_lantern": { "requirements": [ [ - "has_wood", - "has_gem" + "has_glass", + "has_gold", + "has_slime" ] ], "criteria": { - "has_wood": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "glass" ] } ] } }, - "has_gem": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Gold" + ] + } + ] + } + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Slime" ] } ] @@ -2190,40 +2091,41 @@ }, "rewards": { "recipes": { - "Gem Sword_1": [ - "Wood_5", - "gem_50" + "Gold Lantern_1": [ + "glass_4", + "Gold_10", + "Slime_5" ] } } }, - "minicraft.advancements.recipes.swim_potion": { + "minicraft.advancements.recipes.gold_pickaxe": { "requirements": [ [ - "has_raw_fish", - "has_awkward_potion" + "has_wood", + "has_gold" ] ], "criteria": { - "has_raw_fish": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Fish" + "Wood" ] } ] } }, - "has_awkward_potion": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Gold" ] } ] @@ -2232,40 +2134,40 @@ }, "rewards": { "recipes": { - "Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" + "Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gray_wool": { + "minicraft.advancements.recipes.gold_shovel": { "requirements": [ [ - "has_white_wool", - "has_gray_dye" + "has_wood", + "has_gold" ] ], "criteria": { - "has_white_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Wood" ] } ] } }, - "has_gray_dye": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GRAY Dye" + "Gold" ] } ] @@ -2274,40 +2176,40 @@ }, "rewards": { "recipes": { - "GRAY Wool_1": [ - "GRAY Dye_1", - "WHITE Wool_1" + "Gold Shovel_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.steak": { + "minicraft.advancements.recipes.gold_sword": { "requirements": [ [ - "has_coal", - "has_raw_beef" + "has_wood", + "has_gold" ] ], "criteria": { - "has_coal": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "Wood" ] } ] } }, - "has_raw_beef": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Beef" + "Gold" ] } ] @@ -2316,40 +2218,40 @@ }, "rewards": { "recipes": { - "Steak_1": [ - "Coal_1", - "Raw Beef_1" + "Gold Sword_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gem_pickaxe": { + "minicraft.advancements.recipes.golden_apple": { "requirements": [ [ - "has_wood", - "has_gem" + "has_apple", + "has_gold" ] ], "criteria": { - "has_wood": { + "has_apple": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Apple" ] } ] } }, - "has_gem": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Gold" ] } ] @@ -2358,40 +2260,40 @@ }, "rewards": { "recipes": { - "Gem Pickaxe_1": [ - "Wood_5", - "gem_50" + "Gold Apple_1": [ + "Gold_8", + "Apple_1" ] } } }, - "minicraft.advancements.recipes.light_blue_dye": { + "minicraft.advancements.recipes.gray_bed": { "requirements": [ [ - "has_white_dye", - "has_blue_dye" + "has_gray_wool", + "has_wood" ] ], "criteria": { - "has_white_dye": { + "has_gray_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "GRAY Wool" ] } ] } }, - "has_blue_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Wood" ] } ] @@ -2400,40 +2302,40 @@ }, "rewards": { "recipes": { - "LIGHT BLUE Dye_2": [ - "BLUE Dye_1", - "WHITE Dye_1" + "GRAY Bed_1": [ + "GRAY Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.iron_hoe": { + "minicraft.advancements.recipes.gray_bed_from_white_bed": { "requirements": [ [ - "has_wood", - "has_iron" + "has_gray_dye", + "has_white_bed" ] ], "criteria": { - "has_wood": { + "has_gray_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "GRAY Dye" ] } ] } }, - "has_iron": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Bed" ] } ] @@ -2442,40 +2344,40 @@ }, "rewards": { "recipes": { - "Iron Hoe_1": [ - "Wood_5", - "Iron_5" + "GRAY Bed_1": [ + "GRAY Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.iron_claymore": { + "minicraft.advancements.recipes.gray_dye": { "requirements": [ [ - "has_shard", - "has_iron_sword" + "has_white_dye", + "has_black_dye" ] ], "criteria": { - "has_shard": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Shard" + "WHITE Dye" ] } ] } }, - "has_iron_sword": { + "has_black_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron Sword" + "BLACK Dye" ] } ] @@ -2484,27 +2386,40 @@ }, "rewards": { "recipes": { - "Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" + "GRAY Dye_2": [ + "WHITE Dye_1", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.wooden_pickaxe": { + "minicraft.advancements.recipes.gray_wool": { "requirements": [ [ - "has_wood" + "has_white_wool", + "has_gray_dye" ] ], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Wool" + ] + } + ] + } + }, + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "GRAY Dye" ] } ] @@ -2513,27 +2428,28 @@ }, "rewards": { "recipes": { - "Wood Pickaxe_1": [ - "Wood_5" + "GRAY Wool_1": [ + "GRAY Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.stone_axe": { + "minicraft.advancements.recipes.green_bed": { "requirements": [ [ - "has_stone", + "has_green_wool", "has_wood" ] ], "criteria": { - "has_stone": { + "has_green_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "GREEN Wool" ] } ] @@ -2554,53 +2470,40 @@ }, "rewards": { "recipes": { - "Rock Axe_1": [ - "Stone_5", + "GREEN Bed_1": [ + "GREEN Wool_3", "Wood_5" ] } } }, - "minicraft.advancements.recipes.orange_clothes": { + "minicraft.advancements.recipes.green_bed_from_white_bed": { "requirements": [ [ - "has_rose", - "has_cloth", - "has_flower" + "has_green_dye", + "has_white_bed" ] ], "criteria": { - "has_rose": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Rose" - ] - } - ] - } - }, - "has_cloth": { + "has_green_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "GREEN Dye" ] } ] } }, - "has_flower": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "WHITE Bed" ] } ] @@ -2609,41 +2512,40 @@ }, "rewards": { "recipes": { - "Orange Clothes_1": [ - "cloth_5", - "Rose_1", - "Flower_1" + "GREEN Bed_1": [ + "GREEN Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.iron_fishing_rod": { + "minicraft.advancements.recipes.green_clothes": { "requirements": [ [ - "has_string", - "has_iron" + "has_cactus", + "has_cloth" ] ], "criteria": { - "has_string": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Cactus" ] } ] } }, - "has_iron": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "cloth" ] } ] @@ -2652,40 +2554,27 @@ }, "rewards": { "recipes": { - "Iron Fishing Rod_1": [ - "string_3", - "Iron_10" + "Green Clothes_1": [ + "Cactus_1", + "cloth_5" ] } } }, - "minicraft.advancements.recipes.iron_pickaxe": { + "minicraft.advancements.recipes.green_dye": { "requirements": [ [ - "has_wood", - "has_iron" + "has_cactus" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_iron": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "Cactus" ] } ] @@ -2694,40 +2583,39 @@ }, "rewards": { "recipes": { - "Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" + "GREEN Dye_1": [ + "Cactus_1" ] } } }, - "minicraft.advancements.recipes.yellow_bed": { + "minicraft.advancements.recipes.green_wool": { "requirements": [ [ - "has_yellow_wool", - "has_wood" + "has_green_dye", + "has_white_wool" ] ], "criteria": { - "has_yellow_wool": { + "has_green_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Wool" + "GREEN Dye" ] } ] } }, - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Wool" ] } ] @@ -2736,17 +2624,19 @@ }, "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Wool_3", - "Wood_5" + "GREEN Wool_1": [ + "GREEN Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.ornate_stone": { + "minicraft.advancements.recipes.haste_potion": { "requirements": [ [ - "has_stone" + "has_stone", + "has_wood", + "has_awkward_potion" ] ], "criteria": { @@ -2761,24 +2651,7 @@ } ] } - } - }, - "rewards": { - "recipes": { - "Ornate Stone_1": [ - "Stone_2" - ] - } - } - }, - "minicraft.advancements.recipes.wooden_bow": { - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "criteria": { + }, "has_wood": { "trigger": "inventory_changed", "conditions": { @@ -2791,13 +2664,13 @@ ] } }, - "has_string": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Awkward Potion" ] } ] @@ -2806,82 +2679,54 @@ }, "rewards": { "recipes": { - "Wood Bow_1": [ - "string_2", + "Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", "Wood_5" ] } } }, - "minicraft.advancements.recipes.gold_pickaxe": { + "minicraft.advancements.recipes.health_potion": { "requirements": [ [ - "has_wood", - "has_gold" + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" ] ], "criteria": { - "has_wood": { + "has_leather_armor": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Leather Armor" ] } ] } }, - "has_gold": { + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.black_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_black_dye" - ] - ], - "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" + "Gunpowder" ] } ] } }, - "has_black_dye": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "Awkward Potion" ] } ] @@ -2890,18 +2735,19 @@ }, "rewards": { "recipes": { - "BLACK Bed_1": [ - "WHITE Bed_1", - "BLACK Dye_1" + "Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" ] } } }, - "minicraft.advancements.recipes.gold": { + "minicraft.advancements.recipes.iron": { "requirements": [ [ "has_coal", - "has_gold_ore" + "has_iron_ore" ] ], "criteria": { @@ -2917,13 +2763,13 @@ ] } }, - "has_gold_ore": { + "has_iron_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold Ore" + "Iron Ore" ] } ] @@ -2932,40 +2778,27 @@ }, "rewards": { "recipes": { - "Gold_1": [ + "Iron_1": [ "Coal_1", - "Gold Ore_4" + "Iron Ore_4" ] } } }, - "minicraft.advancements.recipes.cooked_fish": { + "minicraft.advancements.recipes.iron_armor": { "requirements": [ [ - "has_coal", - "has_raw_fish" + "has_iron" ] ], "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_raw_fish": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Fish" + "Iron" ] } ] @@ -2974,40 +2807,39 @@ }, "rewards": { "recipes": { - "Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" + "Iron Armor_1": [ + "Iron_10" ] } } }, - "minicraft.advancements.recipes.light_potion": { + "minicraft.advancements.recipes.iron_axe": { "requirements": [ [ - "has_slime", - "has_awkward_potion" + "has_wood", + "has_iron" ] ], "criteria": { - "has_slime": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "Wood" ] } ] } }, - "has_awkward_potion": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Iron" ] } ] @@ -3016,18 +2848,19 @@ }, "rewards": { "recipes": { - "Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" + "Iron Axe_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.gold_sword": { + "minicraft.advancements.recipes.iron_bow": { "requirements": [ [ "has_wood", - "has_gold" + "has_string", + "has_iron" ] ], "criteria": { @@ -3043,13 +2876,25 @@ ] } }, - "has_gold": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "string" + ] + } + ] + } + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" ] } ] @@ -3058,40 +2903,41 @@ }, "rewards": { "recipes": { - "Gold Sword_1": [ - "Gold_5", + "Iron Bow_1": [ + "string_2", + "Iron_5", "Wood_5" ] } } }, - "minicraft.advancements.recipes.gold_shovel": { + "minicraft.advancements.recipes.iron_claymore": { "requirements": [ [ - "has_wood", - "has_gold" + "has_shard", + "has_iron_sword" ] ], "criteria": { - "has_wood": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Shard" ] } ] } }, - "has_gold": { + "has_iron_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Iron Sword" ] } ] @@ -3100,27 +2946,40 @@ }, "rewards": { "recipes": { - "Gold Shovel_1": [ - "Gold_5", - "Wood_5" + "Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" ] } } }, - "minicraft.advancements.recipes.yellow_dye": { + "minicraft.advancements.recipes.iron_fishing_rod": { "requirements": [ [ - "has_flower" + "has_string", + "has_iron" ] ], "criteria": { - "has_flower": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "string" + ] + } + ] + } + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" ] } ] @@ -3129,39 +2988,40 @@ }, "rewards": { "recipes": { - "YELLOW Dye_1": [ - "Flower_1" + "Iron Fishing Rod_1": [ + "string_3", + "Iron_10" ] } } }, - "minicraft.advancements.recipes.stone_shovel": { + "minicraft.advancements.recipes.iron_hoe": { "requirements": [ [ - "has_stone", - "has_wood" + "has_wood", + "has_iron" ] ], "criteria": { - "has_stone": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "Wood" ] } ] } }, - "has_wood": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Iron" ] } ] @@ -3170,53 +3030,53 @@ }, "rewards": { "recipes": { - "Rock Shovel_1": [ - "Stone_5", - "Wood_5" + "Iron Hoe_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.escape_potion": { + "minicraft.advancements.recipes.iron_lantern": { "requirements": [ [ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" + "has_glass", + "has_slime", + "has_iron" ] ], "criteria": { - "has_lapis": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "glass" ] } ] } }, - "has_gunpowder": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gunpowder" + "Slime" ] } ] } }, - "has_awkward_potion": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Iron" ] } ] @@ -3225,41 +3085,41 @@ }, "rewards": { "recipes": { - "Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" + "Iron Lantern_1": [ + "glass_4", + "Iron_8", + "Slime_5" ] } } }, - "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "minicraft.advancements.recipes.iron_pickaxe": { "requirements": [ [ - "has_white_bed", - "has_orange_dye" + "has_wood", + "has_iron" ] ], "criteria": { - "has_white_bed": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Wood" ] } ] } }, - "has_orange_dye": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Dye" + "Iron" ] } ] @@ -3268,40 +3128,40 @@ }, "rewards": { "recipes": { - "ORANGE Bed_1": [ - "ORANGE Dye_1", - "WHITE Bed_1" + "Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.lime_bed_from_white_bed": { + "minicraft.advancements.recipes.iron_shovel": { "requirements": [ [ - "has_lime_dye", - "has_white_bed" + "has_wood", + "has_iron" ] ], "criteria": { - "has_lime_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Dye" + "Wood" ] } ] } }, - "has_white_bed": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Iron" ] } ] @@ -3310,27 +3170,40 @@ }, "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Dye_1", - "WHITE Bed_1" + "Iron Shovel_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.obsidian_wall": { + "minicraft.advancements.recipes.iron_sword": { "requirements": [ [ - "has_obsidian_brick" + "has_wood", + "has_iron" ] ], "criteria": { - "has_obsidian_brick": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "Wood" + ] + } + ] + } + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Iron" ] } ] @@ -3339,52 +3212,53 @@ }, "rewards": { "recipes": { - "Obsidian Wall_1": [ - "Obsidian Brick_3" + "Iron Sword_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.cyan_clothes": { + "minicraft.advancements.recipes.lantern": { "requirements": [ [ - "has_cactus", - "has_lapis", - "has_cloth" + "has_glass", + "has_wood", + "has_slime" ] ], "criteria": { - "has_cactus": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cactus" + "glass" ] } ] } }, - "has_lapis": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Wood" ] } ] } }, - "has_cloth": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Slime" ] } ] @@ -3393,41 +3267,41 @@ }, "rewards": { "recipes": { - "Cyan Clothes_1": [ - "Lapis_1", - "cloth_5", - "Cactus_1" + "Lantern_1": [ + "glass_3", + "Slime_4", + "Wood_8" ] } } }, - "minicraft.advancements.recipes.brown_bed_from_white_bed": { + "minicraft.advancements.recipes.lava_potion": { "requirements": [ [ - "has_white_bed", - "has_brown_dye" + "has_awkward_potion", + "has_lava_bucket" ] ], "criteria": { - "has_white_bed": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Awkward Potion" ] } ] } }, - "has_brown_dye": { + "has_lava_bucket": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BROWN Dye" + "Lava Bucket" ] } ] @@ -3436,27 +3310,27 @@ }, "rewards": { "recipes": { - "BROWN Bed_1": [ - "WHITE Bed_1", - "BROWN Dye_1" + "Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" ] } } }, - "minicraft.advancements.recipes.gem_armor": { + "minicraft.advancements.recipes.leather_armor": { "requirements": [ [ - "has_gem" + "has_leather" ] ], "criteria": { - "has_gem": { + "has_leather": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Leather" ] } ] @@ -3465,39 +3339,39 @@ }, "rewards": { "recipes": { - "Gem Armor_1": [ - "gem_65" + "Leather Armor_1": [ + "Leather_10" ] } } }, - "minicraft.advancements.recipes.brown_dye": { + "minicraft.advancements.recipes.light_blue_bed": { "requirements": [ [ - "has_green_dye", - "has_red_dye" + "has_wood", + "has_light_blue_wool" ] ], "criteria": { - "has_green_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Dye" + "Wood" ] } ] } }, - "has_red_dye": { + "has_light_blue_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "LIGHT BLUE Wool" ] } ] @@ -3506,40 +3380,40 @@ }, "rewards": { "recipes": { - "BROWN Dye_2": [ - "GREEN Dye_1", - "RED Dye_1" + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.red_bed": { + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { "requirements": [ [ - "has_red_wool", - "has_wood" + "has_light_blue_dye", + "has_white_bed" ] ], "criteria": { - "has_red_wool": { + "has_light_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Wool" + "LIGHT BLUE Dye" ] } ] } }, - "has_wood": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Bed" ] } ] @@ -3548,40 +3422,40 @@ }, "rewards": { "recipes": { - "RED Bed_1": [ - "Wood_5", - "RED Wool_3" + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.green_bed_from_white_bed": { + "minicraft.advancements.recipes.light_blue_dye": { "requirements": [ [ - "has_green_dye", - "has_white_bed" + "has_white_dye", + "has_blue_dye" ] ], "criteria": { - "has_green_dye": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Dye" + "WHITE Dye" ] } ] } }, - "has_white_bed": { + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "BLUE Dye" ] } ] @@ -3590,40 +3464,40 @@ }, "rewards": { "recipes": { - "GREEN Bed_1": [ - "GREEN Dye_1", - "WHITE Bed_1" + "LIGHT BLUE Dye_2": [ + "BLUE Dye_1", + "WHITE Dye_1" ] } } }, - "minicraft.advancements.recipes.golden_apple": { + "minicraft.advancements.recipes.light_blue_wool": { "requirements": [ [ - "has_apple", - "has_gold" + "has_light_blue_dye", + "has_white_wool" ] ], "criteria": { - "has_apple": { + "has_light_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Apple" + "LIGHT BLUE Dye" ] } ] } }, - "has_gold": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "WHITE Wool" ] } ] @@ -3632,28 +3506,28 @@ }, "rewards": { "recipes": { - "Gold Apple_1": [ - "Gold_8", - "Apple_1" + "LIGHT BLUE Wool_1": [ + "LIGHT BLUE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.arrow": { + "minicraft.advancements.recipes.light_gray_bed": { "requirements": [ [ - "has_stone", + "has_light_gray_wool", "has_wood" ] ], "criteria": { - "has_stone": { + "has_light_gray_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "LIGHT GRAY Wool" ] } ] @@ -3674,18 +3548,18 @@ }, "rewards": { "recipes": { - "arrow_3": [ - "Stone_2", - "Wood_2" + "LIGHT GRAY Bed_1": [ + "Wood_5", + "LIGHT GRAY Wool_3" ] } } }, - "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { "requirements": [ [ "has_white_bed", - "has_yellow_dye" + "has_light_gray_dye" ] ], "criteria": { @@ -3701,13 +3575,13 @@ ] } }, - "has_yellow_dye": { + "has_light_gray_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "LIGHT GRAY Dye" ] } ] @@ -3716,27 +3590,40 @@ }, "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Dye_1", - "WHITE Bed_1" + "LIGHT GRAY Bed_1": [ + "WHITE Bed_1", + "LIGHT GRAY Dye_1" ] } } }, - "minicraft.advancements.recipes.stone_wall": { + "minicraft.advancements.recipes.light_gray_dye_from_black_white_dye": { "requirements": [ [ - "has_stone_brick" + "has_white_dye", + "has_black_dye" ] ], "criteria": { - "has_stone_brick": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone Brick" + "WHITE Dye" + ] + } + ] + } + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "BLACK Dye" ] } ] @@ -3745,39 +3632,40 @@ }, "rewards": { "recipes": { - "Stone Wall_1": [ - "Stone Brick_3" + "LIGHT GRAY Dye_3": [ + "WHITE Dye_2", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.glass": { + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { "requirements": [ [ - "has_coal", - "has_sand" + "has_gray_dye", + "has_white_dye" ] ], "criteria": { - "has_coal": { + "has_gray_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "GRAY Dye" ] } ] } }, - "has_sand": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Sand" + "WHITE Dye" ] } ] @@ -3786,40 +3674,40 @@ }, "rewards": { "recipes": { - "glass_1": [ - "Coal_1", - "Sand_4" + "LIGHT GRAY Dye_2": [ + "GRAY Dye_1", + "WHITE Dye_1" ] } } }, - "minicraft.advancements.recipes.speed_potion": { + "minicraft.advancements.recipes.light_gray_wool": { "requirements": [ [ - "has_cactus", - "has_awkward_potion" + "has_white_wool", + "has_light_gray_dye" ] ], "criteria": { - "has_cactus": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cactus" + "WHITE Wool" ] } ] } }, - "has_awkward_potion": { + "has_light_gray_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "LIGHT GRAY Dye" ] } ] @@ -3828,27 +3716,40 @@ }, "rewards": { "recipes": { - "Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" + "LIGHT GRAY Wool_1": [ + "LIGHT GRAY Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.red_dye": { + "minicraft.advancements.recipes.light_potion": { "requirements": [ [ - "has_rose" + "has_slime", + "has_awkward_potion" ] ], "criteria": { - "has_rose": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Rose" + "Slime" + ] + } + ] + } + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" ] } ] @@ -3857,39 +3758,40 @@ }, "rewards": { "recipes": { - "RED Dye_1": [ - "Rose_1" + "Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" ] } } }, - "minicraft.advancements.recipes.brown_bed": { + "minicraft.advancements.recipes.lime_bed": { "requirements": [ [ - "has_brown_wool", - "has_wood" + "has_wood", + "has_lime_wool" ] ], "criteria": { - "has_brown_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BROWN Wool" + "Wood" ] } ] } }, - "has_wood": { + "has_lime_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "LIME Wool" ] } ] @@ -3898,53 +3800,40 @@ }, "rewards": { "recipes": { - "BROWN Bed_1": [ - "BROWN Wool_3", + "LIME Bed_1": [ + "LIME Wool_3", "Wood_5" ] } } }, - "minicraft.advancements.recipes.gold_bow": { + "minicraft.advancements.recipes.lime_bed_from_white_bed": { "requirements": [ [ - "has_wood", - "has_string", - "has_gold" + "has_lime_dye", + "has_white_bed" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_string": { + "has_lime_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "LIME Dye" ] } ] } }, - "has_gold": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "WHITE Bed" ] } ] @@ -3953,54 +3842,40 @@ }, "rewards": { "recipes": { - "Gold Bow_1": [ - "Gold_5", - "string_2", - "Wood_5" + "LIME Bed_1": [ + "LIME Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.gold_lantern": { + "minicraft.advancements.recipes.lime_dye": { "requirements": [ [ - "has_glass", - "has_gold", - "has_slime" + "has_green_dye", + "has_white_dye" ] ], "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - }, - "has_gold": { + "has_green_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "GREEN Dye" ] } ] } }, - "has_slime": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "WHITE Dye" ] } ] @@ -4009,41 +3884,40 @@ }, "rewards": { "recipes": { - "Gold Lantern_1": [ - "glass_4", - "Gold_10", - "Slime_5" + "LIME Dye_2": [ + "GREEN Dye_1", + "WHITE Dye_1" ] } } }, - "minicraft.advancements.recipes.gray_dye": { + "minicraft.advancements.recipes.lime_wool": { "requirements": [ [ - "has_white_dye", - "has_black_dye" + "has_lime_dye", + "has_white_wool" ] ], "criteria": { - "has_white_dye": { + "has_lime_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "LIME Dye" ] } ] } }, - "has_black_dye": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "WHITE Wool" ] } ] @@ -4052,27 +3926,40 @@ }, "rewards": { "recipes": { - "GRAY Dye_2": [ - "WHITE Dye_1", - "BLACK Dye_1" + "LIME Wool_1": [ + "LIME Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.plank_wall": { + "minicraft.advancements.recipes.loom": { "requirements": [ [ - "has_plank" + "has_wood", + "has_white_wool" ] ], "criteria": { - "has_plank": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Plank" + "Wood" + ] + } + ] + } + }, + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" ] } ] @@ -4081,39 +3968,40 @@ }, "rewards": { "recipes": { - "Plank Wall_1": [ - "Plank_3" + "Loom_1": [ + "Wood_10", + "WHITE Wool_5" ] } } }, - "minicraft.advancements.recipes.purple_dye": { + "minicraft.advancements.recipes.magenta_bed": { "requirements": [ [ - "has_red_dye", - "has_blue_dye" + "has_wood", + "has_magenta_wool" ] ], "criteria": { - "has_red_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "Wood" ] } ] } }, - "has_blue_dye": { + "has_magenta_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "MAGENTA Wool" ] } ] @@ -4122,40 +4010,40 @@ }, "rewards": { "recipes": { - "PURPLE Dye_2": [ - "BLUE Dye_1", - "RED Dye_1" + "MAGENTA Bed_1": [ + "Wood_5", + "MAGENTA Wool_3" ] } } }, - "minicraft.advancements.recipes.light_blue_wool": { + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { "requirements": [ [ - "has_light_blue_dye", - "has_white_wool" + "has_white_bed", + "has_magenta_dye" ] ], "criteria": { - "has_light_blue_dye": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Dye" + "WHITE Bed" ] } ] } }, - "has_white_wool": { + "has_magenta_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "MAGENTA Dye" ] } ] @@ -4164,40 +4052,40 @@ }, "rewards": { "recipes": { - "LIGHT BLUE Wool_1": [ - "LIGHT BLUE Dye_1", - "WHITE Wool_1" + "MAGENTA Bed_1": [ + "MAGENTA Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.light_blue_bed": { + "minicraft.advancements.recipes.magenta_dye": { "requirements": [ [ - "has_wood", - "has_light_blue_wool" + "has_pink_dye", + "has_purple_dye" ] ], "criteria": { - "has_wood": { + "has_pink_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "PINK Dye" ] } ] } }, - "has_light_blue_wool": { + "has_purple_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Wool" + "PURPLE Dye" ] } ] @@ -4206,68 +4094,53 @@ }, "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Wool_3", - "Wood_5" + "MAGENTA Dye_2": [ + "PINK Dye_1", + "PURPLE Dye_1" ] } } }, - "minicraft.advancements.recipes.iron_armor": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { "requirements": [ [ - "has_iron" + "has_pink_dye", + "has_red_dye", + "has_blue_dye" ] ], "criteria": { - "has_iron": { + "has_pink_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "PINK Dye" ] } ] } - } - }, - "rewards": { - "recipes": { - "Iron Armor_1": [ - "Iron_10" - ] - } - } - }, - "minicraft.advancements.recipes.iron_shovel": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "criteria": { - "has_wood": { + }, + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "RED Dye" ] } ] } }, - "has_iron": { + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "BLUE Dye" ] } ] @@ -4276,69 +4149,54 @@ }, "rewards": { "recipes": { - "Iron Shovel_1": [ - "Wood_5", - "Iron_5" + "MAGENTA Dye_4": [ + "PINK Dye_1", + "RED Dye_1", + "BLUE Dye_1" ] } } }, - "minicraft.advancements.recipes.yellow_wool": { + "minicraft.advancements.recipes.magenta_dye_from_white_dye": { "requirements": [ [ - "has_white_wool", - "has_yellow_dye" + "has_white_dye", + "has_red_dye", + "has_blue_dye" ] ], "criteria": { - "has_white_wool": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "WHITE Dye" ] } ] } }, - "has_yellow_dye": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "RED Dye" ] } ] } - } - }, - "rewards": { - "recipes": { - "YELLOW Wool_1": [ - "YELLOW Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_door": { - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "criteria": { - "has_obsidian_brick": { + }, + "has_blue_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "BLUE Dye" ] } ] @@ -4347,39 +4205,41 @@ }, "rewards": { "recipes": { - "Obsidian Door_1": [ - "Obsidian Brick_5" + "MAGENTA Dye_4": [ + "WHITE Dye_1", + "RED Dye_2", + "BLUE Dye_1" ] } } }, - "minicraft.advancements.recipes.stone_hoe": { + "minicraft.advancements.recipes.magenta_wool": { "requirements": [ [ - "has_stone", - "has_wood" + "has_white_wool", + "has_magenta_dye" ] ], "criteria": { - "has_stone": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "WHITE Wool" ] } ] } }, - "has_wood": { + "has_magenta_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "MAGENTA Dye" ] } ] @@ -4388,27 +4248,27 @@ }, "rewards": { "recipes": { - "Rock Hoe_1": [ - "Stone_5", - "Wood_5" + "MAGENTA Wool_1": [ + "MAGENTA Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.chest": { + "minicraft.advancements.recipes.obsidian_brick": { "requirements": [ [ - "has_wood" + "has_raw_obsidian" ] ], "criteria": { - "has_wood": { + "has_raw_obsidian": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Raw Obsidian" ] } ] @@ -4417,39 +4277,26 @@ }, "rewards": { "recipes": { - "Chest_1": [ - "Wood_20" + "Obsidian Brick_1": [ + "Raw Obsidian_2" ] } } }, - "minicraft.advancements.recipes.purple_bed": { + "minicraft.advancements.recipes.obsidian_door": { "requirements": [ [ - "has_wood", - "has_purple_wool" + "has_obsidian_brick" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_purple_wool": { + "has_obsidian_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Wool" + "Obsidian Brick" ] } ] @@ -4458,40 +4305,65 @@ }, "rewards": { "recipes": { - "PURPLE Bed_1": [ - "Wood_5", - "PURPLE Wool_3" + "Obsidian Door_1": [ + "Obsidian Brick_5" ] } } }, - "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "minicraft.advancements.recipes.obsidian_poppet": { "requirements": [ [ - "has_purple_dye", - "has_white_bed" + "has_shard", + "has_gem", + "has_lapis", + "has_gold" ] ], "criteria": { - "has_purple_dye": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "Shard" ] } ] } }, - "has_white_bed": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "gem" + ] + } + ] + } + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Gold" ] } ] @@ -4500,40 +4372,29 @@ }, "rewards": { "recipes": { - "PURPLE Bed_1": [ - "WHITE Bed_1", - "PURPLE Dye_1" + "Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "gem_10" ] } } }, - "minicraft.advancements.recipes.gem_hoe": { + "minicraft.advancements.recipes.obsidian_wall": { "requirements": [ [ - "has_wood", - "has_gem" + "has_obsidian_brick" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { + "has_obsidian_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Obsidian Brick" ] } ] @@ -4542,40 +4403,39 @@ }, "rewards": { "recipes": { - "Gem Hoe_1": [ - "Wood_5", - "gem_50" + "Obsidian Wall_1": [ + "Obsidian Brick_3" ] } } }, - "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "minicraft.advancements.recipes.orange_bed": { "requirements": [ [ - "has_light_blue_dye", - "has_white_bed" + "has_wood", + "has_orange_wool" ] ], "criteria": { - "has_light_blue_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Dye" + "Wood" ] } ] } }, - "has_white_bed": { + "has_orange_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "ORANGE Wool" ] } ] @@ -4584,18 +4444,18 @@ }, "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Dye_1", - "WHITE Bed_1" + "ORANGE Bed_1": [ + "Wood_5", + "ORANGE Wool_3" ] } } }, - "minicraft.advancements.recipes.blue_bed_from_white_bed": { + "minicraft.advancements.recipes.orange_bed_from_white_bed": { "requirements": [ [ "has_white_bed", - "has_blue_dye" + "has_orange_dye" ] ], "criteria": { @@ -4611,13 +4471,13 @@ ] } }, - "has_blue_dye": { + "has_orange_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "ORANGE Dye" ] } ] @@ -4626,40 +4486,53 @@ }, "rewards": { "recipes": { - "BLUE Bed_1": [ - "BLUE Dye_1", + "ORANGE Bed_1": [ + "ORANGE Dye_1", "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.awkward_potion": { + "minicraft.advancements.recipes.orange_clothes": { "requirements": [ [ - "has_lapis", - "has_glass_bottle" + "has_rose", + "has_cloth", + "has_flower" ] ], "criteria": { - "has_lapis": { + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Rose" ] } ] } }, - "has_glass_bottle": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Glass Bottle" + "cloth" + ] + } + ] + } + }, + "has_flower": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Flower" ] } ] @@ -4668,40 +4541,41 @@ }, "rewards": { "recipes": { - "Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" + "Orange Clothes_1": [ + "cloth_5", + "Rose_1", + "Flower_1" ] } } }, - "minicraft.advancements.recipes.magenta_wool": { + "minicraft.advancements.recipes.orange_dye": { "requirements": [ [ - "has_white_wool", - "has_magenta_dye" + "has_red_dye", + "has_yellow_dye" ] ], "criteria": { - "has_white_wool": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "RED Dye" ] } ] } }, - "has_magenta_dye": { + "has_yellow_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Dye" + "YELLOW Dye" ] } ] @@ -4710,40 +4584,40 @@ }, "rewards": { "recipes": { - "MAGENTA Wool_1": [ - "MAGENTA Dye_1", - "WHITE Wool_1" + "ORANGE Dye_2": [ + "YELLOW Dye_1", + "RED Dye_1" ] } } }, - "minicraft.advancements.recipes.green_bed": { + "minicraft.advancements.recipes.orange_wool": { "requirements": [ [ - "has_green_wool", - "has_wood" + "has_white_wool", + "has_orange_dye" ] ], "criteria": { - "has_green_wool": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Wool" + "WHITE Wool" ] } ] } }, - "has_wood": { + "has_orange_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "ORANGE Dye" ] } ] @@ -4752,27 +4626,27 @@ }, "rewards": { "recipes": { - "GREEN Bed_1": [ - "GREEN Wool_3", - "Wood_5" + "ORANGE Wool_1": [ + "ORANGE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.reg_clothes": { + "minicraft.advancements.recipes.ornate_obsidian": { "requirements": [ [ - "has_cloth" + "has_raw_obsidian" ] ], "criteria": { - "has_cloth": { + "has_raw_obsidian": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Raw Obsidian" ] } ] @@ -4781,65 +4655,95 @@ }, "rewards": { "recipes": { - "Reg Clothes_1": [ - "cloth_5" + "Ornate Obsidian_1": [ + "Raw Obsidian_2" ] } } }, - "minicraft.advancements.recipes.totem_of_air": { + "minicraft.advancements.recipes.ornate_stone": { "requirements": [ [ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" + "has_stone" ] ], "criteria": { - "has_gem": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Stone" ] } ] } - }, - "has_cloud_ore": { + } + }, + "rewards": { + "recipes": { + "Ornate Stone_1": [ + "Stone_2" + ] + } + } + }, + "minicraft.advancements.recipes.oven": { + "requirements": [ + [ + "has_stone" + ] + ], + "criteria": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cloud Ore" + "Stone" ] } ] } - }, - "has_lapis": { + } + }, + "rewards": { + "recipes": { + "Oven_1": [ + "Stone_15" + ] + } + } + }, + "minicraft.advancements.recipes.pink_bed": { + "requirements": [ + [ + "has_pink_wool", + "has_wood" + ] + ], + "criteria": { + "has_pink_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "PINK Wool" ] } ] } }, - "has_gold": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] @@ -4848,42 +4752,40 @@ }, "rewards": { "recipes": { - "Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "gem_10", - "Cloud Ore_5" + "PINK Bed_1": [ + "Wood_5", + "PINK Wool_3" ] } } }, - "minicraft.advancements.recipes.cyan_wool": { + "minicraft.advancements.recipes.pink_bed_from_white_bed": { "requirements": [ [ - "has_cyan_dye", - "has_white_wool" + "has_pink_dye", + "has_white_bed" ] ], "criteria": { - "has_cyan_dye": { + "has_pink_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "CYAN Dye" + "PINK Dye" ] } ] } }, - "has_white_wool": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "WHITE Bed" ] } ] @@ -4892,53 +4794,82 @@ }, "rewards": { "recipes": { - "CYAN Wool_1": [ - "CYAN Dye_1", - "WHITE Wool_1" + "PINK Bed_1": [ + "PINK Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.iron_bow": { + "minicraft.advancements.recipes.pink_dye": { "requirements": [ [ - "has_wood", - "has_string", - "has_iron" + "has_white_dye", + "has_red_dye" ] ], "criteria": { - "has_wood": { + "has_white_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Dye" ] } ] } }, - "has_string": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "RED Dye" + ] + } + ] + } + } + }, + "rewards": { + "recipes": { + "PINK Dye_2": [ + "WHITE Dye_1", + "RED Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_wool": { + "requirements": [ + [ + "has_pink_dye", + "has_white_wool" + ] + ], + "criteria": { + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" ] } ] } }, - "has_iron": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Wool" ] } ] @@ -4947,15 +4878,14 @@ }, "rewards": { "recipes": { - "Iron Bow_1": [ - "string_2", - "Iron_5", - "Wood_5" + "PINK Wool_1": [ + "PINK Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.wooden_shovel": { + "minicraft.advancements.recipes.plank": { "requirements": [ [ "has_wood" @@ -4977,26 +4907,26 @@ }, "rewards": { "recipes": { - "Wood Shovel_1": [ - "Wood_5" + "Plank_2": [ + "Wood_1" ] } } }, - "minicraft.advancements.recipes.string": { + "minicraft.advancements.recipes.plank_wall": { "requirements": [ [ - "has_white_wool" + "has_plank" ] ], "criteria": { - "has_white_wool": { + "has_plank": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Plank" ] } ] @@ -5005,17 +4935,17 @@ }, "rewards": { "recipes": { - "string_2": [ - "WHITE Wool_1" + "Plank Wall_1": [ + "Plank_3" ] } } }, - "minicraft.advancements.recipes.loom": { + "minicraft.advancements.recipes.purple_bed": { "requirements": [ [ "has_wood", - "has_white_wool" + "has_purple_wool" ] ], "criteria": { @@ -5031,13 +4961,13 @@ ] } }, - "has_white_wool": { + "has_purple_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "PURPLE Wool" ] } ] @@ -5046,40 +4976,40 @@ }, "rewards": { "recipes": { - "Loom_1": [ - "Wood_10", - "WHITE Wool_5" + "PURPLE Bed_1": [ + "Wood_5", + "PURPLE Wool_3" ] } } }, - "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "minicraft.advancements.recipes.purple_bed_from_white_bed": { "requirements": [ [ - "has_white_bed", - "has_light_gray_dye" + "has_purple_dye", + "has_white_bed" ] ], "criteria": { - "has_white_bed": { + "has_purple_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "PURPLE Dye" ] } ] } }, - "has_light_gray_dye": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Dye" + "WHITE Bed" ] } ] @@ -5088,68 +5018,53 @@ }, "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ + "PURPLE Bed_1": [ "WHITE Bed_1", - "LIGHT GRAY Dye_1" + "PURPLE Dye_1" ] } } }, - "minicraft.advancements.recipes.bread": { + "minicraft.advancements.recipes.purple_clothes": { "requirements": [ [ - "has_wheat" + "has_rose", + "has_lapis", + "has_cloth" ] ], "criteria": { - "has_wheat": { + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wheat" + "Rose" ] } ] } - } - }, - "rewards": { - "recipes": { - "Bread_1": [ - "Wheat_4" - ] - } - } - }, - "minicraft.advancements.recipes.light_gray_dye_from_black_white_dye": { - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "criteria": { - "has_white_dye": { + }, + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Lapis" ] } ] } }, - "has_black_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "cloth" ] } ] @@ -5158,27 +5073,41 @@ }, "rewards": { "recipes": { - "LIGHT GRAY Dye_3": [ - "WHITE Dye_2", - "BLACK Dye_1" + "Purple Clothes_1": [ + "Lapis_1", + "cloth_5", + "Rose_1" ] } } }, - "minicraft.advancements.recipes.anvil": { + "minicraft.advancements.recipes.purple_dye": { "requirements": [ [ - "has_iron" + "has_red_dye", + "has_blue_dye" ] ], "criteria": { - "has_iron": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "RED Dye" + ] + } + ] + } + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" ] } ] @@ -5187,39 +5116,40 @@ }, "rewards": { "recipes": { - "Anvil_1": [ - "Iron_5" + "PURPLE Dye_2": [ + "BLUE Dye_1", + "RED Dye_1" ] } } }, - "minicraft.advancements.recipes.torch": { + "minicraft.advancements.recipes.purple_wool": { "requirements": [ [ - "has_coal", - "has_wood" + "has_white_wool", + "has_purple_dye" ] ], "criteria": { - "has_coal": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "WHITE Wool" ] } ] } }, - "has_wood": { + "has_purple_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "PURPLE Dye" ] } ] @@ -5228,40 +5158,40 @@ }, "rewards": { "recipes": { - "Torch_2": [ - "Coal_1", - "Wood_1" + "PURPLE Wool_1": [ + "PURPLE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.gold_axe": { + "minicraft.advancements.recipes.red_bed": { "requirements": [ [ - "has_wood", - "has_gold" + "has_red_wool", + "has_wood" ] ], "criteria": { - "has_wood": { + "has_red_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "RED Wool" ] } ] } }, - "has_gold": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] @@ -5270,53 +5200,69 @@ }, "rewards": { "recipes": { - "Gold Axe_1": [ - "Gold_5", - "Wood_5" + "RED Bed_1": [ + "Wood_5", + "RED Wool_3" ] } } }, - "minicraft.advancements.recipes.iron_lantern": { + "minicraft.advancements.recipes.red_bed_from_white_bed": { "requirements": [ [ - "has_glass", - "has_slime", - "has_iron" + "has_red_dye", + "has_white_bed" ] ], "criteria": { - "has_glass": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "glass" + "RED Dye" ] } ] } }, - "has_slime": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "WHITE Bed" ] } ] } - }, - "has_iron": { + } + }, + "rewards": { + "recipes": { + "RED Bed_1": [ + "RED Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_dye": { + "requirements": [ + [ + "has_rose" + ] + ], + "criteria": { + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "Rose" ] } ] @@ -5325,41 +5271,39 @@ }, "rewards": { "recipes": { - "Iron Lantern_1": [ - "glass_4", - "Iron_8", - "Slime_5" + "RED Dye_1": [ + "Rose_1" ] } } }, - "minicraft.advancements.recipes.cyan_bed": { + "minicraft.advancements.recipes.red_wool": { "requirements": [ [ - "has_wood", - "has_cyan_wool" + "has_white_wool", + "has_red_dye" ] ], "criteria": { - "has_wood": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Wool" ] } ] } }, - "has_cyan_wool": { + "has_red_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "CYAN Wool" + "RED Dye" ] } ] @@ -5368,53 +5312,68 @@ }, "rewards": { "recipes": { - "CYAN Bed_1": [ - "Wood_5", - "CYAN Wool_3" + "RED Wool_1": [ + "RED Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { + "minicraft.advancements.recipes.reg_clothes": { "requirements": [ [ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" + "has_cloth" ] ], "criteria": { - "has_pink_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "cloth" ] } ] } - }, - "has_red_dye": { + } + }, + "rewards": { + "recipes": { + "Reg Clothes_1": [ + "cloth_5" + ] + } + } + }, + "minicraft.advancements.recipes.regen_potion": { + "requirements": [ + [ + "has_golden_apple", + "has_awkward_potion" + ] + ], + "criteria": { + "has_golden_apple": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "Gold Apple" ] } ] } }, - "has_blue_dye": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Awkward Potion" ] } ] @@ -5423,41 +5382,27 @@ }, "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "PINK Dye_1", - "RED Dye_1", - "BLUE Dye_1" + "Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" ] } } }, - "minicraft.advancements.recipes.white_bed": { + "minicraft.advancements.recipes.shears": { "requirements": [ [ - "has_wood", - "has_white_wool" + "has_iron" ] ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_white_wool": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Iron" ] } ] @@ -5466,53 +5411,67 @@ }, "rewards": { "recipes": { - "WHITE Bed_1": [ - "Wood_5", - "WHITE Wool_3" + "Shears_1": [ + "Iron_4" ] } } }, - "minicraft.advancements.recipes.enchanter": { + "minicraft.advancements.recipes.snake_armor": { "requirements": [ [ - "has_wood", - "has_string", - "has_lapis" + "has_scale" ] ], "criteria": { - "has_wood": { + "has_scale": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Scale" ] } ] } - }, - "has_string": { + } + }, + "rewards": { + "recipes": { + "Snake Armor_1": [ + "Scale_15" + ] + } + } + }, + "minicraft.advancements.recipes.speed_potion": { + "requirements": [ + [ + "has_cactus", + "has_awkward_potion" + ] + ], + "criteria": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "Cactus" ] } ] } }, - "has_lapis": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Awkward Potion" ] } ] @@ -5521,41 +5480,40 @@ }, "rewards": { "recipes": { - "Enchanter_1": [ - "Lapis_10", - "string_2", - "Wood_5" + "Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" ] } } }, - "minicraft.advancements.recipes.light_gray_wool": { + "minicraft.advancements.recipes.steak": { "requirements": [ [ - "has_white_wool", - "has_light_gray_dye" + "has_coal", + "has_raw_beef" ] ], "criteria": { - "has_white_wool": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Coal" ] } ] } }, - "has_light_gray_dye": { + "has_raw_beef": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Dye" + "Raw Beef" ] } ] @@ -5564,40 +5522,40 @@ }, "rewards": { "recipes": { - "LIGHT GRAY Wool_1": [ - "LIGHT GRAY Dye_1", - "WHITE Wool_1" + "Steak_1": [ + "Coal_1", + "Raw Beef_1" ] } } }, - "minicraft.advancements.recipes.gold_claymore": { + "minicraft.advancements.recipes.stone_axe": { "requirements": [ [ - "has_shard", - "has_gold_sword" + "has_stone", + "has_wood" ] ], "criteria": { - "has_shard": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Shard" + "Stone" ] } ] } }, - "has_gold_sword": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold Sword" + "Wood" ] } ] @@ -5606,27 +5564,53 @@ }, "rewards": { "recipes": { - "Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" + "Rock Axe_1": [ + "Stone_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.baked_potato": { + "minicraft.advancements.recipes.stone_bow": { "requirements": [ [ - "has_potato" + "has_stone", + "has_wood", + "has_string" ] ], "criteria": { - "has_potato": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Potato" + "Stone" + ] + } + ] + } + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + } + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "string" ] } ] @@ -5635,39 +5619,28 @@ }, "rewards": { "recipes": { - "Baked Potato_1": [ - "Potato_1" + "Rock Bow_1": [ + "string_2", + "Stone_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.orange_wool": { + "minicraft.advancements.recipes.stone_brick": { "requirements": [ [ - "has_white_wool", - "has_orange_dye" + "has_stone" ] ], "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - }, - "has_orange_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Dye" + "Stone" ] } ] @@ -5676,27 +5649,26 @@ }, "rewards": { "recipes": { - "ORANGE Wool_1": [ - "ORANGE Dye_1", - "WHITE Wool_1" + "Stone Brick_1": [ + "Stone_2" ] } } }, - "minicraft.advancements.recipes.empty_bucket": { + "minicraft.advancements.recipes.stone_door": { "requirements": [ [ - "has_iron" + "has_stone_brick" ] ], "criteria": { - "has_iron": { + "has_stone_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "Stone Brick" ] } ] @@ -5705,39 +5677,39 @@ }, "rewards": { "recipes": { - "Empty Bucket_1": [ - "Iron_5" + "Stone Door_1": [ + "Stone Brick_5" ] } } }, - "minicraft.advancements.recipes.gold_hoe": { + "minicraft.advancements.recipes.stone_hoe": { "requirements": [ [ - "has_wood", - "has_gold" + "has_stone", + "has_wood" ] ], "criteria": { - "has_wood": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Stone" ] } ] } }, - "has_gold": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] @@ -5746,27 +5718,40 @@ }, "rewards": { "recipes": { - "Gold Hoe_1": [ - "Gold_5", + "Rock Hoe_1": [ + "Stone_5", "Wood_5" ] } } }, - "minicraft.advancements.recipes.white_dye": { + "minicraft.advancements.recipes.stone_pickaxe": { "requirements": [ [ - "has_bone_meal" + "has_stone", + "has_wood" ] ], "criteria": { - "has_bone_meal": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + } + }, + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Bone Meal" + "Wood" ] } ] @@ -5775,27 +5760,28 @@ }, "rewards": { "recipes": { - "WHITE Dye_1": [ - "Bone Meal_1" + "Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gray_bed": { + "minicraft.advancements.recipes.stone_shovel": { "requirements": [ [ - "has_gray_wool", + "has_stone", "has_wood" ] ], "criteria": { - "has_gray_wool": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GRAY Wool" + "Stone" ] } ] @@ -5816,40 +5802,40 @@ }, "rewards": { "recipes": { - "GRAY Bed_1": [ - "GRAY Wool_3", + "Rock Shovel_1": [ + "Stone_5", "Wood_5" ] } } }, - "minicraft.advancements.recipes.iron": { + "minicraft.advancements.recipes.stone_sword": { "requirements": [ [ - "has_coal", - "has_iron_ore" + "has_stone", + "has_wood" ] ], "criteria": { - "has_coal": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "Stone" ] } ] } }, - "has_iron_ore": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron Ore" + "Wood" ] } ] @@ -5858,14 +5844,14 @@ }, "rewards": { "recipes": { - "Iron_1": [ - "Coal_1", - "Iron Ore_4" + "Rock Sword_1": [ + "Stone_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.stone_door": { + "minicraft.advancements.recipes.stone_wall": { "requirements": [ [ "has_stone_brick" @@ -5887,65 +5873,67 @@ }, "rewards": { "recipes": { - "Stone Door_1": [ - "Stone Brick_5" + "Stone Wall_1": [ + "Stone Brick_3" ] } } }, - "minicraft.advancements.recipes.obsidian_poppet": { + "minicraft.advancements.recipes.string": { "requirements": [ [ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" + "has_white_wool" ] ], "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - } - }, - "has_gem": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "WHITE Wool" ] } ] } - }, - "has_lapis": { + } + }, + "rewards": { + "recipes": { + "string_2": [ + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.swim_potion": { + "requirements": [ + [ + "has_raw_fish", + "has_awkward_potion" + ] + ], + "criteria": { + "has_raw_fish": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "Raw Fish" ] } ] } }, - "has_gold": { + "has_awkward_potion": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "Awkward Potion" ] } ] @@ -5954,42 +5942,40 @@ }, "rewards": { "recipes": { - "Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "gem_10" + "Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" ] } } }, - "minicraft.advancements.recipes.gem_axe": { + "minicraft.advancements.recipes.tnt": { "requirements": [ [ - "has_wood", - "has_gem" + "has_sand", + "has_gunpowder" ] ], "criteria": { - "has_wood": { + "has_sand": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "Sand" ] } ] } }, - "has_gem": { + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "Gunpowder" ] } ] @@ -5998,40 +5984,40 @@ }, "rewards": { "recipes": { - "Gem Axe_1": [ - "Wood_5", - "gem_50" + "Tnt_1": [ + "Sand_8", + "Gunpowder_10" ] } } }, - "minicraft.advancements.recipes.tnt": { + "minicraft.advancements.recipes.torch": { "requirements": [ [ - "has_sand", - "has_gunpowder" + "has_coal", + "has_wood" ] ], "criteria": { - "has_sand": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Sand" + "Coal" ] } ] } }, - "has_gunpowder": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gunpowder" + "Wood" ] } ] @@ -6040,40 +6026,66 @@ }, "rewards": { "recipes": { - "Tnt_1": [ - "Sand_8", - "Gunpowder_10" + "Torch_2": [ + "Coal_1", + "Wood_1" ] } } }, - "minicraft.advancements.recipes.lime_bed": { + "minicraft.advancements.recipes.totem_of_air": { "requirements": [ [ - "has_wood", - "has_lime_wool" + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" ] ], "criteria": { - "has_wood": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gem" ] } ] } }, - "has_lime_wool": { + "has_cloud_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Wool" + "Cloud Ore" + ] + } + ] + } + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + } + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Gold" ] } ] @@ -6082,18 +6094,20 @@ }, "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Wool_3", - "Wood_5" + "Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "gem_10", + "Cloud Ore_5" ] } } }, - "minicraft.advancements.recipes.iron_sword": { + "minicraft.advancements.recipes.white_bed": { "requirements": [ [ "has_wood", - "has_iron" + "has_white_wool" ] ], "criteria": { @@ -6109,13 +6123,13 @@ ] } }, - "has_iron": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Wool" ] } ] @@ -6124,40 +6138,27 @@ }, "rewards": { "recipes": { - "Iron Sword_1": [ + "WHITE Bed_1": [ "Wood_5", - "Iron_5" + "WHITE Wool_3" ] } } }, - "minicraft.advancements.recipes.cyan_bed_from_white_bed": { + "minicraft.advancements.recipes.white_dye": { "requirements": [ [ - "has_cyan_dye", - "has_white_bed" + "has_bone_meal" ] ], "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "CYAN Dye" - ] - } - ] - } - }, - "has_white_bed": { + "has_bone_meal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "Bone Meal" ] } ] @@ -6166,27 +6167,26 @@ }, "rewards": { "recipes": { - "CYAN Bed_1": [ - "CYAN Dye_1", - "WHITE Bed_1" + "WHITE Dye_1": [ + "Bone Meal_1" ] } } }, - "minicraft.advancements.recipes.wooden_sword": { + "minicraft.advancements.recipes.white_wool": { "requirements": [ [ - "has_wood" + "has_string" ] ], "criteria": { - "has_wood": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "string" ] } ] @@ -6195,26 +6195,26 @@ }, "rewards": { "recipes": { - "Wood Sword_1": [ - "Wood_5" + "WHITE Wool_1": [ + "string_3" ] } } }, - "minicraft.advancements.recipes.furnace": { + "minicraft.advancements.recipes.wood_door": { "requirements": [ [ - "has_stone" + "has_plank" ] ], "criteria": { - "has_stone": { + "has_plank": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "Plank" ] } ] @@ -6223,17 +6223,17 @@ }, "rewards": { "recipes": { - "Furnace_1": [ - "Stone_20" + "Wood Door_1": [ + "Plank_5" ] } } }, - "minicraft.advancements.recipes.gem_shovel": { + "minicraft.advancements.recipes.wood_fishing_rod": { "requirements": [ [ "has_wood", - "has_gem" + "has_string" ] ], "criteria": { @@ -6249,13 +6249,13 @@ ] } }, - "has_gem": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "string" ] } ] @@ -6264,40 +6264,27 @@ }, "rewards": { "recipes": { - "Gem Shovel_1": [ - "Wood_5", - "gem_50" + "Wood Fishing Rod_1": [ + "string_3", + "Wood_10" ] } } }, - "minicraft.advancements.recipes.black_clothes": { + "minicraft.advancements.recipes.wooden_axe": { "requirements": [ [ - "has_coal", - "has_cloth" + "has_wood" ] ], "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_cloth": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "Wood" ] } ] @@ -6306,34 +6293,20 @@ }, "rewards": { "recipes": { - "Black Clothes_1": [ - "Coal_1", - "cloth_5" + "Wood Axe_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.haste_potion": { + "minicraft.advancements.recipes.wooden_bow": { "requirements": [ [ - "has_stone", "has_wood", - "has_awkward_potion" + "has_string" ] ], "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - }, "has_wood": { "trigger": "inventory_changed", "conditions": { @@ -6346,13 +6319,13 @@ ] } }, - "has_awkward_potion": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "string" ] } ] @@ -6361,34 +6334,48 @@ }, "rewards": { "recipes": { - "Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", + "Wood Bow_1": [ + "string_2", "Wood_5" ] } } }, - "minicraft.advancements.recipes.black_bed": { + "minicraft.advancements.recipes.wooden_hoe": { "requirements": [ [ - "has_black_wool", "has_wood" ] ], "criteria": { - "has_black_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Wool" + "Wood" ] } ] } - }, + } + }, + "rewards": { + "recipes": { + "Wood Hoe_1": [ + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.wooden_pickaxe": { + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { "has_wood": { "trigger": "inventory_changed", "conditions": { @@ -6404,40 +6391,54 @@ }, "rewards": { "recipes": { - "BLACK Bed_1": [ - "Wood_5", - "BLACK Wool_3" + "Wood Pickaxe_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.blue_wool": { + "minicraft.advancements.recipes.wooden_shovel": { "requirements": [ [ - "has_white_wool", - "has_blue_dye" + "has_wood" ] ], "criteria": { - "has_white_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "Wood" ] } ] } - }, - "has_blue_dye": { + } + }, + "rewards": { + "recipes": { + "Wood Shovel_1": [ + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.wooden_sword": { + "requirements": [ + [ + "has_wood" + ] + ], + "criteria": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Wood" ] } ] @@ -6446,27 +6447,26 @@ }, "rewards": { "recipes": { - "BLUE Wool_1": [ - "BLUE Dye_1", - "WHITE Wool_1" + "Wood Sword_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.ornate_obsidian": { + "minicraft.advancements.recipes.workbench": { "requirements": [ [ - "has_raw_obsidian" + "has_wood" ] ], "criteria": { - "has_raw_obsidian": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Obsidian" + "Wood" ] } ] @@ -6475,39 +6475,39 @@ }, "rewards": { "recipes": { - "Ornate Obsidian_1": [ - "Raw Obsidian_2" + "Workbench_1": [ + "Wood_10" ] } } }, - "minicraft.advancements.recipes.energy_potion": { + "minicraft.advancements.recipes.yellow_bed": { "requirements": [ [ - "has_gem", - "has_awkward_potion" + "has_yellow_wool", + "has_wood" ] ], "criteria": { - "has_gem": { + "has_yellow_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "YELLOW Wool" ] } ] } }, - "has_awkward_potion": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Wood" ] } ] @@ -6516,40 +6516,40 @@ }, "rewards": { "recipes": { - "Energy Potion_1": [ - "Awkward Potion_1", - "gem_25" + "YELLOW Bed_1": [ + "YELLOW Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.lime_dye": { + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { "requirements": [ [ - "has_green_dye", - "has_white_dye" + "has_white_bed", + "has_yellow_dye" ] ], "criteria": { - "has_green_dye": { + "has_white_bed": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Dye" + "WHITE Bed" ] } ] } }, - "has_white_dye": { + "has_yellow_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "YELLOW Dye" ] } ] @@ -6558,27 +6558,40 @@ }, "rewards": { "recipes": { - "LIME Dye_2": [ - "GREEN Dye_1", - "WHITE Dye_1" + "YELLOW Bed_1": [ + "YELLOW Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.oven": { + "minicraft.advancements.recipes.yellow_clothes": { "requirements": [ [ - "has_stone" + "has_cloth", + "has_flower" ] ], "criteria": { - "has_stone": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "cloth" + ] + } + ] + } + }, + "has_flower": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "Flower" ] } ] @@ -6587,39 +6600,27 @@ }, "rewards": { "recipes": { - "Oven_1": [ - "Stone_15" + "Yellow Clothes_1": [ + "Flower_1", + "cloth_5" ] } } }, - "minicraft.advancements.recipes.regen_potion": { + "minicraft.advancements.recipes.yellow_dye": { "requirements": [ [ - "has_golden_apple", - "has_awkward_potion" + "has_flower" ] ], "criteria": { - "has_golden_apple": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold Apple" - ] - } - ] - } - }, - "has_awkward_potion": { + "has_flower": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Flower" ] } ] @@ -6628,40 +6629,39 @@ }, "rewards": { "recipes": { - "Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" + "YELLOW Dye_1": [ + "Flower_1" ] } } }, - "minicraft.advancements.recipes.light_gray_bed": { + "minicraft.advancements.recipes.yellow_wool": { "requirements": [ [ - "has_light_gray_wool", - "has_wood" + "has_white_wool", + "has_yellow_dye" ] ], "criteria": { - "has_light_gray_wool": { + "has_white_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Wool" + "WHITE Wool" ] } ] } }, - "has_wood": { + "has_yellow_dye": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "YELLOW Dye" ] } ] @@ -6670,9 +6670,9 @@ }, "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ - "Wood_5", - "LIGHT GRAY Wool_3" + "YELLOW Wool_1": [ + "YELLOW Dye_1", + "WHITE Wool_1" ] } } From 3d97ce979d2643ac368cfc6168fb1a2c9610c172 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 11 Jul 2023 03:11:57 +0800 Subject: [PATCH 22/59] Add more flowers Totally 19 types of flowers replacing original 2 flowers --- .../java/minicraft/item/StackableItem.java | 1 - src/client/java/minicraft/item/TileItem.java | 21 ++++++++++++++++- .../java/minicraft/level/tile/FlowerTile.java | 17 ++++---------- .../java/minicraft/level/tile/Tiles.java | 22 +++++++++++++++++- .../resources/assets/textures/item/allium.png | Bin 0 -> 177 bytes .../assets/textures/item/blue_orchid.png | Bin 0 -> 180 bytes .../assets/textures/item/cornflower.png | Bin 0 -> 182 bytes .../assets/textures/item/dandelion.png | Bin 0 -> 170 bytes .../assets/textures/item/hydrangea.png | Bin 0 -> 179 bytes .../resources/assets/textures/item/iris.png | Bin 0 -> 186 bytes .../assets/textures/item/orange_tulip.png | Bin 0 -> 184 bytes .../assets/textures/item/oxeye_daisy.png | Bin 0 -> 202 bytes .../resources/assets/textures/item/peony.png | Bin 0 -> 216 bytes .../assets/textures/item/periwinkle.png | Bin 0 -> 179 bytes .../assets/textures/item/pink_lily.png | Bin 0 -> 180 bytes .../assets/textures/item/pink_tulip.png | Bin 0 -> 184 bytes .../resources/assets/textures/item/poppy.png | Bin 0 -> 177 bytes .../assets/textures/item/red_flower.png | Bin 147 -> 0 bytes .../assets/textures/item/red_tulip.png | Bin 0 -> 184 bytes .../resources/assets/textures/item/rose.png | Bin 0 -> 181 bytes .../assets/textures/item/sunflower.png | Bin 0 -> 171 bytes .../resources/assets/textures/item/violet.png | Bin 0 -> 204 bytes .../assets/textures/item/white_flower.png | Bin 147 -> 0 bytes .../assets/textures/item/white_lily.png | Bin 0 -> 183 bytes .../assets/textures/item/white_tulip.png | Bin 0 -> 184 bytes .../resources/assets/textures/tile/allium.png | Bin 0 -> 229 bytes .../assets/textures/tile/blue_orchid.png | Bin 0 -> 254 bytes .../assets/textures/tile/cornflower.png | Bin 0 -> 250 bytes .../assets/textures/tile/dandelion.png | Bin 0 -> 213 bytes .../assets/textures/tile/hydrangea.png | Bin 0 -> 242 bytes .../resources/assets/textures/tile/iris.png | Bin 0 -> 223 bytes .../assets/textures/tile/orange_tulip.png | Bin 0 -> 215 bytes .../assets/textures/tile/oxeye_daisy.png | Bin 0 -> 255 bytes .../resources/assets/textures/tile/peony.png | Bin 0 -> 295 bytes .../assets/textures/tile/periwinkle.png | Bin 0 -> 232 bytes .../assets/textures/tile/pink_lily.png | Bin 0 -> 253 bytes .../assets/textures/tile/pink_tulip.png | Bin 0 -> 222 bytes .../resources/assets/textures/tile/poppy.png | Bin 0 -> 224 bytes .../assets/textures/tile/red_tulip.png | Bin 0 -> 216 bytes .../resources/assets/textures/tile/rose.png | Bin 0 -> 262 bytes .../assets/textures/tile/sunflower.png | Bin 0 -> 213 bytes .../resources/assets/textures/tile/violet.png | Bin 0 -> 235 bytes .../assets/textures/tile/white_lily.png | Bin 0 -> 247 bytes .../assets/textures/tile/white_tulip.png | Bin 0 -> 216 bytes 44 files changed, 46 insertions(+), 15 deletions(-) create mode 100644 src/client/resources/assets/textures/item/allium.png create mode 100644 src/client/resources/assets/textures/item/blue_orchid.png create mode 100644 src/client/resources/assets/textures/item/cornflower.png create mode 100644 src/client/resources/assets/textures/item/dandelion.png create mode 100644 src/client/resources/assets/textures/item/hydrangea.png create mode 100644 src/client/resources/assets/textures/item/iris.png create mode 100644 src/client/resources/assets/textures/item/orange_tulip.png create mode 100644 src/client/resources/assets/textures/item/oxeye_daisy.png create mode 100644 src/client/resources/assets/textures/item/peony.png create mode 100644 src/client/resources/assets/textures/item/periwinkle.png create mode 100644 src/client/resources/assets/textures/item/pink_lily.png create mode 100644 src/client/resources/assets/textures/item/pink_tulip.png create mode 100644 src/client/resources/assets/textures/item/poppy.png delete mode 100644 src/client/resources/assets/textures/item/red_flower.png create mode 100644 src/client/resources/assets/textures/item/red_tulip.png create mode 100644 src/client/resources/assets/textures/item/rose.png create mode 100644 src/client/resources/assets/textures/item/sunflower.png create mode 100644 src/client/resources/assets/textures/item/violet.png delete mode 100644 src/client/resources/assets/textures/item/white_flower.png create mode 100644 src/client/resources/assets/textures/item/white_lily.png create mode 100644 src/client/resources/assets/textures/item/white_tulip.png create mode 100644 src/client/resources/assets/textures/tile/allium.png create mode 100644 src/client/resources/assets/textures/tile/blue_orchid.png create mode 100644 src/client/resources/assets/textures/tile/cornflower.png create mode 100644 src/client/resources/assets/textures/tile/dandelion.png create mode 100644 src/client/resources/assets/textures/tile/hydrangea.png create mode 100644 src/client/resources/assets/textures/tile/iris.png create mode 100644 src/client/resources/assets/textures/tile/orange_tulip.png create mode 100644 src/client/resources/assets/textures/tile/oxeye_daisy.png create mode 100644 src/client/resources/assets/textures/tile/peony.png create mode 100644 src/client/resources/assets/textures/tile/periwinkle.png create mode 100644 src/client/resources/assets/textures/tile/pink_lily.png create mode 100644 src/client/resources/assets/textures/tile/pink_tulip.png create mode 100644 src/client/resources/assets/textures/tile/poppy.png create mode 100644 src/client/resources/assets/textures/tile/red_tulip.png create mode 100644 src/client/resources/assets/textures/tile/rose.png create mode 100644 src/client/resources/assets/textures/tile/sunflower.png create mode 100644 src/client/resources/assets/textures/tile/violet.png create mode 100644 src/client/resources/assets/textures/tile/white_lily.png create mode 100644 src/client/resources/assets/textures/tile/white_tulip.png diff --git a/src/client/java/minicraft/item/StackableItem.java b/src/client/java/minicraft/item/StackableItem.java index f0cfb9f7f..62b97462a 100644 --- a/src/client/java/minicraft/item/StackableItem.java +++ b/src/client/java/minicraft/item/StackableItem.java @@ -27,7 +27,6 @@ protected static ArrayList getAllInstances() { items.add(new StackableItem("Gold Ore", new LinkedSprite(SpriteType.Item, "gold_ore"))); items.add(new StackableItem("Iron", new LinkedSprite(SpriteType.Item, "iron_ingot"))); items.add(new StackableItem("Gold", new LinkedSprite(SpriteType.Item, "gold_ingot"))); - items.add(new StackableItem("Rose", new LinkedSprite(SpriteType.Item, "red_flower"))); items.add(new StackableItem("Gunpowder", new LinkedSprite(SpriteType.Item, "gunpowder"))); items.add(new StackableItem("Slime", new LinkedSprite(SpriteType.Item, "slime"))); items.add(new StackableItem("glass", new LinkedSprite(SpriteType.Item, "glass"))); diff --git a/src/client/java/minicraft/item/TileItem.java b/src/client/java/minicraft/item/TileItem.java index f07c54cd2..6a847db6f 100644 --- a/src/client/java/minicraft/item/TileItem.java +++ b/src/client/java/minicraft/item/TileItem.java @@ -27,7 +27,6 @@ protected static ArrayList getAllInstances() { ArrayList items = new ArrayList<>(); /// TileItem sprites all have 1x1 sprites. - items.add(new TileItem("Flower", new LinkedSprite(SpriteType.Item, "white_flower"), new TileModel("flower"), "grass")); items.add(new TileItem("Acorn", new LinkedSprite(SpriteType.Item, "acorn"), new TileModel("tree Sapling"), "grass")); items.add(new TileItem("Dirt", new LinkedSprite(SpriteType.Item, "dirt"), new TileModel("dirt"), "hole", "water", "lava")); items.add(new TileItem("Natural Rock", new LinkedSprite(SpriteType.Item, "stone"), new TileModel("rock"), "hole", "dirt", "sand", "grass", "path", "water", "lava")); @@ -62,6 +61,26 @@ protected static ArrayList getAllInstances() { items.add(new TileItem("Hellish Berries", new LinkedSprite(SpriteType.Item, "hellish_berries"), new TileModel("hellish berries", TileModel.KEEP_DATA), "farmland")); items.add(new TileItem("Grass Seeds", new LinkedSprite(SpriteType.Item, "seed"), new TileModel("grass"), "dirt")); + items.add(new TileItem("Rose", new LinkedSprite(SpriteType.Item, "rose"), new TileModel("rose"), "grass")); + items.add(new TileItem("Oxeye Daisy", new LinkedSprite(SpriteType.Item, "oxeye_daisy"), new TileModel("oxeye daisy"), "grass")); + items.add(new TileItem("Sunflower", new LinkedSprite(SpriteType.Item, "sunflower"), new TileModel("sunflower"), "grass")); + items.add(new TileItem("Allium", new LinkedSprite(SpriteType.Item, "allium"), new TileModel("allium"), "grass")); + items.add(new TileItem("Blue Orchid", new LinkedSprite(SpriteType.Item, "blue_orchid"), new TileModel("blue orchid"), "grass")); + items.add(new TileItem("Cornflower", new LinkedSprite(SpriteType.Item, "cornflower"), new TileModel("cornflower"), "grass")); + items.add(new TileItem("Dandelion", new LinkedSprite(SpriteType.Item, "dandelion"), new TileModel("dandelion"), "grass")); + items.add(new TileItem("Hydrangea", new LinkedSprite(SpriteType.Item, "hydrangea"), new TileModel("hydrangea"), "grass")); + items.add(new TileItem("Iris", new LinkedSprite(SpriteType.Item, "iris"), new TileModel("iris"), "grass")); + items.add(new TileItem("Orange Tulip", new LinkedSprite(SpriteType.Item, "orange_tulip"), new TileModel("orange tulip"), "grass")); + items.add(new TileItem("Pink Tulip", new LinkedSprite(SpriteType.Item, "pink_tulip"), new TileModel("pink tulip"), "grass")); + items.add(new TileItem("Red Tulip", new LinkedSprite(SpriteType.Item, "red_tulip"), new TileModel("red tulip"), "grass")); + items.add(new TileItem("White Tulip", new LinkedSprite(SpriteType.Item, "white_tulip"), new TileModel("white tulip"), "grass")); + items.add(new TileItem("Peony", new LinkedSprite(SpriteType.Item, "peony"), new TileModel("peony"), "grass")); + items.add(new TileItem("Periwinkle", new LinkedSprite(SpriteType.Item, "periwinkle"), new TileModel("periwinkle"), "grass")); + items.add(new TileItem("Pink Lily", new LinkedSprite(SpriteType.Item, "pink_lily"), new TileModel("pink lily"), "grass")); + items.add(new TileItem("White Lily", new LinkedSprite(SpriteType.Item, "white_lily"), new TileModel("white lily"), "grass")); + items.add(new TileItem("Poppy", new LinkedSprite(SpriteType.Item, "poppy"), new TileModel("poppy"), "grass")); + items.add(new TileItem("Violet", new LinkedSprite(SpriteType.Item, "violet"), new TileModel("violet"), "grass")); + // Creative mode available tiles: items.add(new TileItem("Farmland", SpriteLinker.missingTexture(SpriteType.Item), new TileModel("farmland"), "dirt", "grass", "hole")); items.add(new TileItem("hole", SpriteLinker.missingTexture(SpriteType.Item), new TileModel("hole"), "dirt", "grass")); diff --git a/src/client/java/minicraft/level/tile/FlowerTile.java b/src/client/java/minicraft/level/tile/FlowerTile.java index 51be31527..c62ce07f6 100644 --- a/src/client/java/minicraft/level/tile/FlowerTile.java +++ b/src/client/java/minicraft/level/tile/FlowerTile.java @@ -15,11 +15,8 @@ import minicraft.util.AdvancementElement; public class FlowerTile extends Tile { - private static final SpriteAnimation flowerSprite0 = new SpriteAnimation(SpriteType.Tile, "flower_shape0"); - private static final SpriteAnimation flowerSprite1 = new SpriteAnimation(SpriteType.Tile, "flower_shape1"); - - protected FlowerTile(String name) { - super(name, null); + protected FlowerTile(String name, String key) { + super(name, new SpriteAnimation(SpriteType.Tile, key)); connectsToGrass = true; maySpawn = true; } @@ -42,9 +39,7 @@ public boolean tick(Level level, int xt, int yt) { public void render(Screen screen, Level level, int x, int y) { Tiles.get("Grass").render(screen, level, x, y); - int data = level.getData(x, y); - int shape = (data / 16) % 2; - (shape == 0 ? flowerSprite0 : flowerSprite1).render(screen, level, x, y); + sprite.render(screen, level, x, y); } public boolean interact(Level level, int x, int y, Player player, Item item, Direction attackDir) { @@ -55,8 +50,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir int data = level.getData(x, y); level.setTile(x, y, Tiles.get("Grass")); Sound.play("monsterhurt"); - level.dropItem(x * 16 + 8, y * 16 + 8, Items.get("Flower")); - level.dropItem(x * 16 + 8, y * 16 + 8, Items.get("Rose")); + level.dropItem(x * 16 + 8, y * 16 + 8, Items.get(name)); AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.INSTANCE.trigger( new AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.ItemUsedOnTileTriggerConditionHandler.ItemUsedOnTileTriggerConditions( item, this, data, x, y, level.depth)); @@ -68,8 +62,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir } public boolean hurt(Level level, int x, int y, Mob source, int dmg, Direction attackDir) { - level.dropItem(x *16 + 8, y * 16 + 8, 0, 1, Items.get("Flower")); - level.dropItem(x *16 + 8, y * 16 + 8, 0, 1, Items.get("Rose")); + level.dropItem(x *16 + 8, y * 16 + 8, Items.get(name)); level.setTile(x, y, Tiles.get("Grass")); return true; } diff --git a/src/client/java/minicraft/level/tile/Tiles.java b/src/client/java/minicraft/level/tile/Tiles.java index ec1df0bf6..eb043df51 100644 --- a/src/client/java/minicraft/level/tile/Tiles.java +++ b/src/client/java/minicraft/level/tile/Tiles.java @@ -27,7 +27,27 @@ public static void initTileList() { tiles.put((short)0, new GrassTile("Grass")); tiles.put((short)1, new DirtTile("Dirt")); - tiles.put((short)2, new FlowerTile("Flower")); + tiles.put((short)2, new FlowerTile("Oxeye Daisy", "oxeye_daisy")); + // These are out of order because of additions of new flowers + tiles.put((short)64, new FlowerTile("Rose", "rose")); + tiles.put((short)65, new FlowerTile("Sunflower", "sunflower")); + tiles.put((short)66, new FlowerTile("Allium", "allium")); + tiles.put((short)67, new FlowerTile("Blue Orchid", "blue_orchid")); + tiles.put((short)68, new FlowerTile("Cornflower", "cornflower")); + tiles.put((short)69, new FlowerTile("Dandelion", "dandelion")); + tiles.put((short)70, new FlowerTile("Hydrangea", "hydrangea")); + tiles.put((short)71, new FlowerTile("Iris", "iris")); + tiles.put((short)72, new FlowerTile("Orange Tulip", "orange_tulip")); + tiles.put((short)73, new FlowerTile("Pink Tulip", "pink_tulip")); + tiles.put((short)74, new FlowerTile("Red Tulip", "red_tulip")); + tiles.put((short)75, new FlowerTile("White Tulip", "white_tulip")); + tiles.put((short)76, new FlowerTile("Peony", "peony")); + tiles.put((short)77, new FlowerTile("Periwinkle", "periwinkle")); + tiles.put((short)78, new FlowerTile("Pink Lily", "pink_lily")); + tiles.put((short)79, new FlowerTile("White Lily", "white_lily")); + tiles.put((short)80, new FlowerTile("Poppy", "poppy")); + tiles.put((short)81, new FlowerTile("Violet", "violet")); + tiles.put((short)3, new HoleTile("Hole")); tiles.put((short)4, new StairsTile("Stairs Up", true)); tiles.put((short)5, new StairsTile("Stairs Down", false)); diff --git a/src/client/resources/assets/textures/item/allium.png b/src/client/resources/assets/textures/item/allium.png new file mode 100644 index 0000000000000000000000000000000000000000..c43f6ccdf7d2a9187515d8e698759c14fa571fc6 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucK{rnq#}JL+WChNg@L6B}@A}jAKR{2yz$ue$ z#u4Uc;XGXRMj S_o5SMB7>)^pUXO@geCxKC^EwU literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/blue_orchid.png b/src/client/resources/assets/textures/item/blue_orchid.png new file mode 100644 index 0000000000000000000000000000000000000000..a273cbc2e120efca0d53d655e409d0ead9edf61b GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtx(9_e!F+?Lc*@2DA`rrR{qlXQgUdaqIl6Y8O zENc*LU~&A>$gZp$A;Q@pdO$^Cm#c%1Lc@gu?FpsYZv>7N=x{lNH5?aLaOL4)DASTE UJ^xTe4rnNYr>mdKI;Vst0MoNC>i_@% literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/cornflower.png b/src/client/resources/assets/textures/item/cornflower.png new file mode 100644 index 0000000000000000000000000000000000000000..2968746b656d11844ab247c4dec4f66cb1eb623e GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL2pkN#}JL+WChL{t7Lz!*WCNVehN2RPrxij zm4k=Zay&IOn6odHd0H~l=LQCqpHE-c8XV&`nf*0zO~dR4o(rM}89kVmtMDw)N=RT} Y*g0KXWby}xT%fTGp00i_>zopr0Pp2DiU0rr literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/dandelion.png b/src/client/resources/assets/textures/item/dandelion.png new file mode 100644 index 0000000000000000000000000000000000000000..3fa213225ae315f8a9ba22a00cd1a89caf99ec46 GIT binary patch literal 170 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL3>XZ#}JL+WCc!}dcB|Wr&^fRG|qnbW8xy@ zc9=oA;}RL c4ULQp<-Rfx6QUnA0gYzxboFyt=akR{0M>aqg8%>k literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/orange_tulip.png b/src/client/resources/assets/textures/item/orange_tulip.png new file mode 100644 index 0000000000000000000000000000000000000000..0119f5eb17bf32775627144bedcfb7e5a4d60d0e GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL0?Z7#}JL+WCynXU6TKlFDo2iS^Drnl(BS- z5Q~Ax0%jgo8=3tJbW9fPk7mpO+0;7CYd ZVECsbVe405APzK`!PC{xWt~$(698C#}JL+WCynQ_xAqgPd&saJSA;M?QgRP zp(Py0*cjae7%%^Px?8m)>A^#ra|$XdEYp~0Gdxyco}sowH2?lS*4HeF0@Ab9Hs~$> tnWVwz8rZ5+srONI8K*)+785fwgQ}m-+4$r8W&^Ea@O1TaS?83{1OS4nJ+}Y= literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/peony.png b/src/client/resources/assets/textures/item/peony.png new file mode 100644 index 0000000000000000000000000000000000000000..c3a12379fe7eea3adc842fb261cc2fbd65ba4b3d GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtxFxS(?F+?LcSwZs8o$62aQ#jdr0%kqD-szpt z`9FSt^Ut0;b9i#Zs(O4B_&kJEK0bbE+%`Y|Ub7)jgJ?rYQ;EUG&CQ0pI}{>#)-kX+ zFkL(Dd?06YY#h(8r-u@>ALcc19yoCH-1Y)Xo`!%k2N)Pyd{jkPUR-|yw3xxu)z4*} HQ$iB}5j06P literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/periwinkle.png b/src/client/resources/assets/textures/item/periwinkle.png new file mode 100644 index 0000000000000000000000000000000000000000..9231dd40d0d8995f43b3a71805ea309d9aff2cf2 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucK@U$C#}JL+WCc!{o8O<*$0S;F&HtXbrm()tO_+?6yObNS;LSgzUjeTR{n>NG#CzNu(7c*biY#& UxaVdY3N(|!)78&qol`;+0B3nJAOHXW literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/pink_lily.png b/src/client/resources/assets/textures/item/pink_lily.png new file mode 100644 index 0000000000000000000000000000000000000000..737cf04825a579e14ffc4739e9e240e73c582601 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtx(9_e!F+?LcSwT|cOvpd})FwvdjvqUdcq0P- zCR=teHM74gKUn0W&}6H`a%Shr`<&Aq3^`Mn&WH#&Y-eL_Q2D6Ez}Unk(9p=p&^S?+ UBlKZa63|cvPgg&ebxsLQ02=`?%m4rY literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/pink_tulip.png b/src/client/resources/assets/textures/item/pink_tulip.png new file mode 100644 index 0000000000000000000000000000000000000000..5887dad33e789fc66ea3041893020de88277611e GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtx(AU$&F+?Lc*@5jp|C}HFKFtimQ`(xvwapKy zIx;vjS{(>b(9`2fUC8+NE?2_hiN=Sy&NW?*J! YNZBRTeR@gwDxkp(p00i_>zopr0Em?_CjbBd literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/poppy.png b/src/client/resources/assets/textures/item/poppy.png new file mode 100644 index 0000000000000000000000000000000000000000..342ba177d79da6dba8af818a54a15d9e199a2d9b GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucK{rnq#}JL+WCcze^GSdB4+ZE+7&vBbcw(ty zHl;IwfhoK}Vi^aU#6lAZh1XMTzRS4wIc^U7W6yE;MuKBW!x|3l15;8G7#MmMNiOoP SvWNwm$l&Sf=d#Wzp$P!h@iE!} literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/red_flower.png b/src/client/resources/assets/textures/item/red_flower.png deleted file mode 100644 index 10cc6290bc96a59d495785dd959267f54c51b9e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|d_7$pLo|Yu zQxq5^CO(~DTVH$*lviY(*&7oH<{Y#oORV-UmBB=!|t5)usF XqEbRqb7Ta7rZRZC`njxgN@xNAfpRo6 literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/sunflower.png b/src/client/resources/assets/textures/item/sunflower.png new file mode 100644 index 0000000000000000000000000000000000000000..c020c15dc52244e26f3d49699c336a2753602daa GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucK?hG4#}JL+WCa$9g(ippzgPOd(8nO*Ne%Nf zX5oU9uM;LUItn{AiWoZ1aA25Z!+X@A)uADvfmvWn(*k8q1~xW^ELBlo@0ywAK(iP; MUHx3vIVCg!0Q8$KyZ`_I literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/violet.png b/src/client/resources/assets/textures/item/violet.png new file mode 100644 index 0000000000000000000000000000000000000000..f94b60344dbb1ba12e76ca85bb8973b2766c301f GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!9-6N#}JL+WCu3hU!VUw&n!5=p)^5tUTw`8 zgV&C-5i%?@7MMshs4V@F8felWY7*m<(&D*@c?YL~=Y&TyfAuDq$#@*oZ0KdVXuva# tfoVhX1XhO!KNqnVxG!QTY2^U|2E~g?ZM&B?i2*HR@O1TaS?83{1OUo>J@Ehl literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/white_flower.png b/src/client/resources/assets/textures/item/white_flower.png deleted file mode 100644 index b865d1e3af666f8f7369b89d86482b88fdda2428..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|d_7$pLo|Yu zQxq5^CO(z7t@Y~W-OeRF@me9rbwn~Wl! u-`!n)aLeMw%12lv6kd4D@Kl&<;LE`6t;*>=>BAbJ!3>_RelF{r5}E*zg)+7P diff --git a/src/client/resources/assets/textures/item/white_lily.png b/src/client/resources/assets/textures/item/white_lily.png new file mode 100644 index 0000000000000000000000000000000000000000..ada7dd66d91ab346b2a56686e6d63349cd80ec92 GIT binary patch literal 183 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtx(8troF+?LcS%FjIOvpd})I*HQ9Y4OmmydAD z+@{sR)Xe^}{9sYRhi_}2)z5I6;Hj~!Q6*uLLW9mp7PT2OBpfA<9DByc(~!uNci;d6 ZL)c?Q<&(#f7Xi&>@O1TaS?83{1OU$0I5PkM literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/white_tulip.png b/src/client/resources/assets/textures/item/white_tulip.png new file mode 100644 index 0000000000000000000000000000000000000000..0cddbf24ee0c341cc37f7e18d24608fcad012636 GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL0?Z7#}JL+WCynScD29yeVQ4Br?fRM_n&`A z)sexO(dt0JfzzkCQx`J+y~~xb_+qAra8KH*2G&Fqjsv1GCA9}QQkxj9(FD?a^VeGfF4!PC{xWt~$(69CM{H821G literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/allium.png b/src/client/resources/assets/textures/tile/allium.png new file mode 100644 index 0000000000000000000000000000000000000000..ecdb27de7dd4a4c5056e6fffbd5fb15f8d61db9b GIT binary patch literal 229 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!75J|#}EtuWQku5f?mlDuRm%3Ykt9gX1#>X z`=<{>+C!O^NG=g%5&75En0dBcFyg9_W2QwzW?Lo;qk#M~rILn3295@k!#s}WJhBNA z3`JUJex6{MF8+Z{=}cM7EKa81W~OWYxv@nYZV+j>oOxoK{F+^+9eWKfG&C|YoRu=% TkS@0lS3j3^P6}wQ%jC3n*^K9hlG@rA4U9$920ntIXHA3SPgQu&X%Q~loCIDguOKt!F literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/cornflower.png b/src/client/resources/assets/textures/tile/cornflower.png new file mode 100644 index 0000000000000000000000000000000000000000..905b7f112e5990d4c0ba32f01cd8a7452ebd69c4 GIT binary patch literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!G2E{#}EtuWC>QDo&YK43@`nE=MS$v@!{#~ z+P2sJ$%U(un=WZEEc^LIS9*h6@K)vj6Ejm95*a)M&!o*@o8YM6?3na|VfEz+bNQJS z>^Kg@urf=qDOi7=8O(F|vLt`OulX7aZm!`s6L4G1yr!{(Z;7$Uzxt|Qf~S;)1UAjo rVAwQs0%OHq2OkC@Q8p769v%j@Bi4tSIZgfpoyOql>gTe~DWM4fncq>W literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/dandelion.png b/src/client/resources/assets/textures/tile/dandelion.png new file mode 100644 index 0000000000000000000000000000000000000000..b4f2a5b94959e452e992006a763b9c52a8302bc7 GIT binary patch literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!7NV~#}EtuWC_+E2R}cb^nanxoCZO!WQLTp zlO~-nT$S8(N#nuK%#hg^f1Y4C%&_6Ck;5@zwzdOn1*DFsAG4M?ki?hh8?m=xo#1@O z2o7(!|nY49VJd3<&;=x!e&wY zj3;7qR~Od|er6^nCXK2Y3ru7V{gOYkNuGplLzG8Jgr zRh*tDc&deY4O>ER2X}%g1KXS{)0$!#7jI;o!?s{I)AZFJb}_KnwJdjvOkw&PWxCFa#b6)N_<MpUXO@geCxn{6!%E literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/orange_tulip.png b/src/client/resources/assets/textures/tile/orange_tulip.png new file mode 100644 index 0000000000000000000000000000000000000000..6cffdcecf7d32b61fbbfaea1b20910330d16c1cc GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!5mK)#}EtuWQjcw0?iNCr$~t>v|Q3)SoZQX zzZsicUwne$&Y(A0GZ&cLOqd|m@Gd^)pE?J}Q3k&S`=c4x2+lpmR?yaX(MNQHnnW-6 z1v9Z3?>9EQ>|V!Tz@`+&oFMg2>o4QylWaej`n?(&85t(uQOue0?7I@sUItHBKbLh* G2~7a9Bu6m- literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/oxeye_daisy.png b/src/client/resources/assets/textures/tile/oxeye_daisy.png new file mode 100644 index 0000000000000000000000000000000000000000..f6b3b4efb9a777d7a78401d6d53fd242b2aa8566 GIT binary patch literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtxaEhmkV~B-+vc#PScXyZnpO~4`!0EM^A%)lA z+uPgQH%c{KWe{*Mdje$h96EF;Ku#;6z&^J7y7Je5cFEiFk#vM z`2Ec{d+y9hkUExLZsvaRFw4@140n&o^UrsT8{$mOsULTEayFY(_ z@9{>jNFa;OXk;vd$@?2>>ZvO%(tD literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/pink_lily.png b/src/client/resources/assets/textures/tile/pink_lily.png new file mode 100644 index 0000000000000000000000000000000000000000..4d4a49c9c20ee990ef2e2db0ab5f7e91b25a10d6 GIT binary patch literal 253 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtxaFVBsV~B-+vIOgngXcxF|2fa(3DPzCFPf%x z_~(fRL9b@UP0Q5n>kTaauW0|I@WAm`tjJf3gLhlK|26YCZxfx)J!651OoPd(4aE&N z&3{@SG_h+)WTQDo&YKB9m}-;$-8iGGBWg- zSKSw?>&HA#+Ox^D`M~e{{|lrJu`CT_@G$ncY^fnHe;|v2Cx$V}sqMj6rZX=U8nk&f zFrAI^cyKU7z#&bUc}|?e^_smuRWmm>SxDtmX98;9fh> O0Sun5elF{r5}E+9M?~TP literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/red_tulip.png b/src/client/resources/assets/textures/tile/red_tulip.png new file mode 100644 index 0000000000000000000000000000000000000000..56f5ada82812f66fe3d93da900b9ceee8610c556 GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!CX%l#}EtuWQjcw+FD-Jr$~t>v|Q3)SoYG+ zn!WkadHDpxUh(xCSEV*xN@;e?V%Sw*_;bF3f(WxkApH%t|oP zbGRLmuS0A$|%yw*Z+_{8t(_se5fEFVdQ&MBb@ E00|3Ou>b%7 literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/sunflower.png b/src/client/resources/assets/textures/tile/sunflower.png new file mode 100644 index 0000000000000000000000000000000000000000..6bf603cdd93a9592d6a6a7a1c7d1613849645f1b GIT binary patch literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!7NV~#}EtuWQl?U97_!k{C}_Xf1wYX+c|TK ztBF$?viI>lZD>%-b2eakILqJpM?wPE5euHgrb{WzUAznGBn~ia+}I$_;omI5w0I-q zn#6`RjPuh34!kl+@y*|SqQs6vV3RD1M&GeUHXa^^y8zopr09@BnLjV8( literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/tile/white_lily.png b/src/client/resources/assets/textures/tile/white_lily.png new file mode 100644 index 0000000000000000000000000000000000000000..7affae461fca4f39fa2c5ff0c3f107ed7dabdb1e GIT binary patch literal 247 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85s1GL71^(seKtxu*cKIF~q_@S%T3aaoMMO4Potsrb`kJ?(eVv z?>OtG-G)b|EJqn8s7cg)dct|Q`OEH}{Va9H4~&6=YHDi7zQ5lp=`brbCFKBH(~7i&=>bPefDBS}>jwHCS+MB_m&e#&i>g m%O2Yp4IDyrdOQvsU|jt+HDd_`}Y;MM(2WBOh z=sDbuNZ5CrX_@{my91IP5xfnVKURNXKcg=FfZIlkk&TU^&_MO-&gnh Date: Tue, 11 Jul 2023 03:15:50 +0800 Subject: [PATCH 23/59] Update tile IDs For dyes --- .../java/minicraft/level/tile/Tiles.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/client/java/minicraft/level/tile/Tiles.java b/src/client/java/minicraft/level/tile/Tiles.java index 924e89495..bf04b4ca1 100644 --- a/src/client/java/minicraft/level/tile/Tiles.java +++ b/src/client/java/minicraft/level/tile/Tiles.java @@ -90,16 +90,16 @@ public static void initTileList() { tiles.put((short)39, new WoolTile(DyeItem.DyeColor.GREEN)); tiles.put((short)40, new WoolTile(DyeItem.DyeColor.YELLOW)); tiles.put((short)41, new WoolTile(DyeItem.DyeColor.BLACK)); - tiles.put((short)58, new WoolTile(DyeItem.DyeColor.BROWN)); - tiles.put((short)59, new WoolTile(DyeItem.DyeColor.PURPLE)); - tiles.put((short)60, new WoolTile(DyeItem.DyeColor.CYAN)); - tiles.put((short)61, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); - tiles.put((short)62, new WoolTile(DyeItem.DyeColor.GRAY)); - tiles.put((short)63, new WoolTile(DyeItem.DyeColor.PINK)); - tiles.put((short)64, new WoolTile(DyeItem.DyeColor.LIME)); - tiles.put((short)65, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); - tiles.put((short)66, new WoolTile(DyeItem.DyeColor.MAGENTA)); - tiles.put((short)67, new WoolTile(DyeItem.DyeColor.ORANGE)); + tiles.put((short)54, new WoolTile(DyeItem.DyeColor.BROWN)); + tiles.put((short)55, new WoolTile(DyeItem.DyeColor.PURPLE)); + tiles.put((short)56, new WoolTile(DyeItem.DyeColor.CYAN)); + tiles.put((short)57, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); + tiles.put((short)58, new WoolTile(DyeItem.DyeColor.GRAY)); + tiles.put((short)59, new WoolTile(DyeItem.DyeColor.PINK)); + tiles.put((short)60, new WoolTile(DyeItem.DyeColor.LIME)); + tiles.put((short)61, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); + tiles.put((short)62, new WoolTile(DyeItem.DyeColor.MAGENTA)); + tiles.put((short)63, new WoolTile(DyeItem.DyeColor.ORANGE)); tiles.put((short)36, new PathTile("Path")); From 467dbb40746dea071fea0d9e0dddeab08352255f Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 11 Jul 2023 03:25:36 +0800 Subject: [PATCH 24/59] Add recipes for more flowers --- src/client/java/minicraft/item/Recipes.java | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index b058f7530..c0b2ed0b7 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -96,12 +96,28 @@ public class Recipes { workbenchRecipes.add(new Recipe("Leather Armor_1", "leather_10")); workbenchRecipes.add(new Recipe("Snake Armor_1", "scale_15")); - workbenchRecipes.add(new Recipe("white dye_1", "Bone Meal_1")); + workbenchRecipes.add(new Recipe("white dye_1", "White Lily_1")); + workbenchRecipes.add(new Recipe("light gray dye_1", "Oxeye Daisy_1")); + workbenchRecipes.add(new Recipe("light gray dye_1", "Hydrangea_1")); + workbenchRecipes.add(new Recipe("light gray dye_1", "White Tulip_1")); workbenchRecipes.add(new Recipe("blue dye_1", "Lapis_1")); + workbenchRecipes.add(new Recipe("blue dye_1", "Cornflower_1")); + workbenchRecipes.add(new Recipe("blue dye_1", "Iris_1")); workbenchRecipes.add(new Recipe("green dye_1", "Cactus_1")); - workbenchRecipes.add(new Recipe("yellow dye_1", "Flower_1")); + workbenchRecipes.add(new Recipe("yellow dye_1", "Sunflower_1")); + workbenchRecipes.add(new Recipe("yellow dye_1", "Dandelion_1")); + workbenchRecipes.add(new Recipe("light blue dye_1", "Blue Orchid_1")); + workbenchRecipes.add(new Recipe("light blue dye_1", "Periwinkle_1")); workbenchRecipes.add(new Recipe("black dye_1", "Coal_1")); workbenchRecipes.add(new Recipe("red dye_1", "Rose_1")); + workbenchRecipes.add(new Recipe("red dye_1", "Red Tulip_1")); + workbenchRecipes.add(new Recipe("red dye_1", "Poppy_1")); + workbenchRecipes.add(new Recipe("magenta dye_1", "Allium_1")); + workbenchRecipes.add(new Recipe("orange dye_1", "Orange Tulip_1")); + workbenchRecipes.add(new Recipe("pink dye_1", "Pink Tulip_1")); + workbenchRecipes.add(new Recipe("pink dye_1", "Peony_1")); + workbenchRecipes.add(new Recipe("pink dye_1", "Pink Lily_1")); + workbenchRecipes.add(new Recipe("purple dye_1", "Violet_1")); workbenchRecipes.add(new Recipe("orange dye_2", "red dye_1", "yellow dye_1")); workbenchRecipes.add(new Recipe("purple dye_2", "blue dye_1", "red dye_1")); workbenchRecipes.add(new Recipe("cyan dye_2", "blue dye_1", "green dye_1")); From f558d20d6ea028d71a82e02a2d804e754b4fe8df Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 13 Jul 2023 13:26:21 +0800 Subject: [PATCH 25/59] Combine flower tiles into tile data --- src/client/java/minicraft/item/TileItem.java | 42 ++++++++++--------- .../java/minicraft/level/tile/FlowerTile.java | 40 +++++++++++++++--- .../java/minicraft/level/tile/Tiles.java | 22 +--------- 3 files changed, 59 insertions(+), 45 deletions(-) diff --git a/src/client/java/minicraft/item/TileItem.java b/src/client/java/minicraft/item/TileItem.java index 6a847db6f..5c7c99e7c 100644 --- a/src/client/java/minicraft/item/TileItem.java +++ b/src/client/java/minicraft/item/TileItem.java @@ -9,6 +9,7 @@ import minicraft.gfx.SpriteLinker.LinkedSprite; import minicraft.gfx.SpriteLinker.SpriteType; import minicraft.level.Level; +import minicraft.level.tile.FlowerTile; import minicraft.level.tile.Tile; import minicraft.level.tile.Tiles; import minicraft.screen.AchievementsDisplay; @@ -20,6 +21,8 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.function.Function; +import java.util.function.IntFunction; public class TileItem extends StackableItem { @@ -61,25 +64,26 @@ protected static ArrayList getAllInstances() { items.add(new TileItem("Hellish Berries", new LinkedSprite(SpriteType.Item, "hellish_berries"), new TileModel("hellish berries", TileModel.KEEP_DATA), "farmland")); items.add(new TileItem("Grass Seeds", new LinkedSprite(SpriteType.Item, "seed"), new TileModel("grass"), "dirt")); - items.add(new TileItem("Rose", new LinkedSprite(SpriteType.Item, "rose"), new TileModel("rose"), "grass")); - items.add(new TileItem("Oxeye Daisy", new LinkedSprite(SpriteType.Item, "oxeye_daisy"), new TileModel("oxeye daisy"), "grass")); - items.add(new TileItem("Sunflower", new LinkedSprite(SpriteType.Item, "sunflower"), new TileModel("sunflower"), "grass")); - items.add(new TileItem("Allium", new LinkedSprite(SpriteType.Item, "allium"), new TileModel("allium"), "grass")); - items.add(new TileItem("Blue Orchid", new LinkedSprite(SpriteType.Item, "blue_orchid"), new TileModel("blue orchid"), "grass")); - items.add(new TileItem("Cornflower", new LinkedSprite(SpriteType.Item, "cornflower"), new TileModel("cornflower"), "grass")); - items.add(new TileItem("Dandelion", new LinkedSprite(SpriteType.Item, "dandelion"), new TileModel("dandelion"), "grass")); - items.add(new TileItem("Hydrangea", new LinkedSprite(SpriteType.Item, "hydrangea"), new TileModel("hydrangea"), "grass")); - items.add(new TileItem("Iris", new LinkedSprite(SpriteType.Item, "iris"), new TileModel("iris"), "grass")); - items.add(new TileItem("Orange Tulip", new LinkedSprite(SpriteType.Item, "orange_tulip"), new TileModel("orange tulip"), "grass")); - items.add(new TileItem("Pink Tulip", new LinkedSprite(SpriteType.Item, "pink_tulip"), new TileModel("pink tulip"), "grass")); - items.add(new TileItem("Red Tulip", new LinkedSprite(SpriteType.Item, "red_tulip"), new TileModel("red tulip"), "grass")); - items.add(new TileItem("White Tulip", new LinkedSprite(SpriteType.Item, "white_tulip"), new TileModel("white tulip"), "grass")); - items.add(new TileItem("Peony", new LinkedSprite(SpriteType.Item, "peony"), new TileModel("peony"), "grass")); - items.add(new TileItem("Periwinkle", new LinkedSprite(SpriteType.Item, "periwinkle"), new TileModel("periwinkle"), "grass")); - items.add(new TileItem("Pink Lily", new LinkedSprite(SpriteType.Item, "pink_lily"), new TileModel("pink lily"), "grass")); - items.add(new TileItem("White Lily", new LinkedSprite(SpriteType.Item, "white_lily"), new TileModel("white lily"), "grass")); - items.add(new TileItem("Poppy", new LinkedSprite(SpriteType.Item, "poppy"), new TileModel("poppy"), "grass")); - items.add(new TileItem("Violet", new LinkedSprite(SpriteType.Item, "violet"), new TileModel("violet"), "grass")); + Function flowerModelGenerator = variant -> (model1, target, level, xt, yt, player, attackDir) -> variant.ordinal(); + items.add(new TileItem("Rose", new LinkedSprite(SpriteType.Item, "rose"), new TileModel("rose", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ROSE)), "grass")); + items.add(new TileItem("Oxeye Daisy", new LinkedSprite(SpriteType.Item, "oxeye_daisy"), new TileModel("oxeye daisy", flowerModelGenerator.apply(FlowerTile.FlowerVariant.OXEYE_DAISY)), "grass")); + items.add(new TileItem("Sunflower", new LinkedSprite(SpriteType.Item, "sunflower"), new TileModel("sunflower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.SUNFLOWER)), "grass")); + items.add(new TileItem("Allium", new LinkedSprite(SpriteType.Item, "allium"), new TileModel("allium", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ALLIUM)), "grass")); + items.add(new TileItem("Blue Orchid", new LinkedSprite(SpriteType.Item, "blue_orchid"), new TileModel("blue orchid", flowerModelGenerator.apply(FlowerTile.FlowerVariant.BLUE_ORCHID)), "grass")); + items.add(new TileItem("Cornflower", new LinkedSprite(SpriteType.Item, "cornflower"), new TileModel("cornflower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.CORNFLOWER)), "grass")); + items.add(new TileItem("Dandelion", new LinkedSprite(SpriteType.Item, "dandelion"), new TileModel("dandelion", flowerModelGenerator.apply(FlowerTile.FlowerVariant.DANDELION)), "grass")); + items.add(new TileItem("Hydrangea", new LinkedSprite(SpriteType.Item, "hydrangea"), new TileModel("hydrangea", flowerModelGenerator.apply(FlowerTile.FlowerVariant.HYDRANGEA)), "grass")); + items.add(new TileItem("Iris", new LinkedSprite(SpriteType.Item, "iris"), new TileModel("iris", flowerModelGenerator.apply(FlowerTile.FlowerVariant.IRIS)), "grass")); + items.add(new TileItem("Orange Tulip", new LinkedSprite(SpriteType.Item, "orange_tulip"), new TileModel("orange tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ORANGE_TULIP)), "grass")); + items.add(new TileItem("Pink Tulip", new LinkedSprite(SpriteType.Item, "pink_tulip"), new TileModel("pink tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_TULIP)), "grass")); + items.add(new TileItem("Red Tulip", new LinkedSprite(SpriteType.Item, "red_tulip"), new TileModel("red tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.RED_TULIP)), "grass")); + items.add(new TileItem("White Tulip", new LinkedSprite(SpriteType.Item, "white_tulip"), new TileModel("white tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_TULIP)), "grass")); + items.add(new TileItem("Peony", new LinkedSprite(SpriteType.Item, "peony"), new TileModel("peony", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PEONY)), "grass")); + items.add(new TileItem("Periwinkle", new LinkedSprite(SpriteType.Item, "periwinkle"), new TileModel("periwinkle", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PERIWINKLE)), "grass")); + items.add(new TileItem("Pink Lily", new LinkedSprite(SpriteType.Item, "pink_lily"), new TileModel("pink lily", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_LILY)), "grass")); + items.add(new TileItem("White Lily", new LinkedSprite(SpriteType.Item, "white_lily"), new TileModel("white lily", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_LILY)), "grass")); + items.add(new TileItem("Poppy", new LinkedSprite(SpriteType.Item, "poppy"), new TileModel("poppy", flowerModelGenerator.apply(FlowerTile.FlowerVariant.POPPY)), "grass")); + items.add(new TileItem("Violet", new LinkedSprite(SpriteType.Item, "violet"), new TileModel("violet", flowerModelGenerator.apply(FlowerTile.FlowerVariant.VIOLET)), "grass")); // Creative mode available tiles: items.add(new TileItem("Farmland", SpriteLinker.missingTexture(SpriteType.Item), new TileModel("farmland"), "dirt", "grass", "hole")); diff --git a/src/client/java/minicraft/level/tile/FlowerTile.java b/src/client/java/minicraft/level/tile/FlowerTile.java index c62ce07f6..cfbfb6310 100644 --- a/src/client/java/minicraft/level/tile/FlowerTile.java +++ b/src/client/java/minicraft/level/tile/FlowerTile.java @@ -15,8 +15,38 @@ import minicraft.util.AdvancementElement; public class FlowerTile extends Tile { - protected FlowerTile(String name, String key) { - super(name, new SpriteAnimation(SpriteType.Tile, key)); + public enum FlowerVariant { + OXEYE_DAISY("Oxeye Daisy", new SpriteAnimation(SpriteType.Tile, "oxeye_daisy")), + ROSE("Rose", new SpriteAnimation(SpriteType.Tile, "rose")), + SUNFLOWER("Sunflower", new SpriteAnimation(SpriteType.Tile, "sunflower")), + ALLIUM("Allium", new SpriteAnimation(SpriteType.Tile, "allium")), + BLUE_ORCHID("Blue Orchid", new SpriteAnimation(SpriteType.Tile, "blue_orchid")), + CORNFLOWER("Cornflower", new SpriteAnimation(SpriteType.Tile, "cornflower")), + DANDELION("Dandelion", new SpriteAnimation(SpriteType.Tile, "dandelion")), + HYDRANGEA("Hydrangea", new SpriteAnimation(SpriteType.Tile, "hydrangea")), + IRIS("Iris", new SpriteAnimation(SpriteType.Tile, "iris")), + ORANGE_TULIP("Orange Tulip", new SpriteAnimation(SpriteType.Tile, "orange_tulip")), + PINK_TULIP("Pink Tulip", new SpriteAnimation(SpriteType.Tile, "pink_tulip")), + RED_TULIP("Red Tulip", new SpriteAnimation(SpriteType.Tile, "red_tulip")), + WHITE_TULIP("White Tulip", new SpriteAnimation(SpriteType.Tile, "white_tulip")), + PEONY("Peony", new SpriteAnimation(SpriteType.Tile, "peony")), + PERIWINKLE("Periwinkle", new SpriteAnimation(SpriteType.Tile, "periwinkle")), + PINK_LILY("Pink Lily", new SpriteAnimation(SpriteType.Tile, "pink_lily")), + WHITE_LILY("White Lily", new SpriteAnimation(SpriteType.Tile, "white_lily")), + POPPY("Poppy", new SpriteAnimation(SpriteType.Tile, "poppy")), + VIOLET("Violet", new SpriteAnimation(SpriteType.Tile, "violet")); + + private final String name; + private final SpriteAnimation sprite; + + FlowerVariant(String name, SpriteAnimation sprite) { + this.name = name; + this.sprite = sprite; + } + } + + protected FlowerTile(String name) { + super(name, null); connectsToGrass = true; maySpawn = true; } @@ -39,7 +69,7 @@ public boolean tick(Level level, int xt, int yt) { public void render(Screen screen, Level level, int x, int y) { Tiles.get("Grass").render(screen, level, x, y); - sprite.render(screen, level, x, y); + FlowerVariant.values()[level.getData(x, y)].sprite.render(screen, level, x, y); } public boolean interact(Level level, int x, int y, Player player, Item item, Direction attackDir) { @@ -50,7 +80,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir int data = level.getData(x, y); level.setTile(x, y, Tiles.get("Grass")); Sound.play("monsterhurt"); - level.dropItem(x * 16 + 8, y * 16 + 8, Items.get(name)); + level.dropItem(x * 16 + 8, y * 16 + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.INSTANCE.trigger( new AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.ItemUsedOnTileTriggerConditionHandler.ItemUsedOnTileTriggerConditions( item, this, data, x, y, level.depth)); @@ -62,7 +92,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir } public boolean hurt(Level level, int x, int y, Mob source, int dmg, Direction attackDir) { - level.dropItem(x *16 + 8, y * 16 + 8, Items.get(name)); + level.dropItem(x *16 + 8, y * 16 + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); level.setTile(x, y, Tiles.get("Grass")); return true; } diff --git a/src/client/java/minicraft/level/tile/Tiles.java b/src/client/java/minicraft/level/tile/Tiles.java index bf04b4ca1..eae894982 100644 --- a/src/client/java/minicraft/level/tile/Tiles.java +++ b/src/client/java/minicraft/level/tile/Tiles.java @@ -27,27 +27,7 @@ public static void initTileList() { tiles.put((short)0, new GrassTile("Grass")); tiles.put((short)1, new DirtTile("Dirt")); - tiles.put((short)2, new FlowerTile("Oxeye Daisy", "oxeye_daisy")); - // These are out of order because of additions of new flowers - tiles.put((short)64, new FlowerTile("Rose", "rose")); - tiles.put((short)65, new FlowerTile("Sunflower", "sunflower")); - tiles.put((short)66, new FlowerTile("Allium", "allium")); - tiles.put((short)67, new FlowerTile("Blue Orchid", "blue_orchid")); - tiles.put((short)68, new FlowerTile("Cornflower", "cornflower")); - tiles.put((short)69, new FlowerTile("Dandelion", "dandelion")); - tiles.put((short)70, new FlowerTile("Hydrangea", "hydrangea")); - tiles.put((short)71, new FlowerTile("Iris", "iris")); - tiles.put((short)72, new FlowerTile("Orange Tulip", "orange_tulip")); - tiles.put((short)73, new FlowerTile("Pink Tulip", "pink_tulip")); - tiles.put((short)74, new FlowerTile("Red Tulip", "red_tulip")); - tiles.put((short)75, new FlowerTile("White Tulip", "white_tulip")); - tiles.put((short)76, new FlowerTile("Peony", "peony")); - tiles.put((short)77, new FlowerTile("Periwinkle", "periwinkle")); - tiles.put((short)78, new FlowerTile("Pink Lily", "pink_lily")); - tiles.put((short)79, new FlowerTile("White Lily", "white_lily")); - tiles.put((short)80, new FlowerTile("Poppy", "poppy")); - tiles.put((short)81, new FlowerTile("Violet", "violet")); - + tiles.put((short)2, new FlowerTile("Flower")); tiles.put((short)3, new HoleTile("Hole")); tiles.put((short)4, new StairsTile("Stairs Up", true)); tiles.put((short)5, new StairsTile("Stairs Down", false)); From 9bab40200faa3fbdb0fc7f1c35e598a2ed456481 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:21:22 +0800 Subject: [PATCH 26/59] Revert changes related to #574 This will be redone later. --- src/client/java/minicraft/item/Recipes.java | 335 -- src/client/resources/resources/recipes.json | 5577 +++++-------------- 2 files changed, 1367 insertions(+), 4545 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index c0b2ed0b7..f576bcfed 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -1,40 +1,6 @@ package minicraft.item; -import minicraft.entity.furniture.Bed; -import minicraft.saveload.Save; -import org.json.JSONArray; -import org.json.JSONObject; - -import javax.swing.BorderFactory; -import javax.swing.Box; -import javax.swing.BoxLayout; -import javax.swing.JButton; -import javax.swing.JDialog; -import javax.swing.JLabel; -import javax.swing.JOptionPane; -import javax.swing.JPanel; -import javax.swing.JTextArea; -import javax.swing.JTextField; -import javax.swing.Spring; -import javax.swing.SpringLayout; -import javax.swing.UIManager; -import javax.swing.border.EmptyBorder; - -import java.awt.BorderLayout; -import java.awt.Component; -import java.awt.Container; -import java.awt.Dialog; -import java.awt.Frame; -import java.awt.event.WindowEvent; -import java.awt.event.WindowListener; -import java.io.File; -import java.io.IOException; import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.function.Function; public class Recipes { @@ -250,305 +216,4 @@ public class Recipes { enchantRecipes.add(new Recipe("Obsidian Poppet_1", "gold_10", "gem_10", "Lapis_5", "Shard_15")); enchantRecipes.add(new Recipe("Arcane Fertilizer_3", "Lapis_6", "Bone_2")); } - - public static void main(String[] args) { - HashSet recipes = new HashSet<>(); - recipes.addAll(anvilRecipes); - recipes.addAll(ovenRecipes); - recipes.addAll(furnaceRecipes); - recipes.addAll(workbenchRecipes); - recipes.addAll(enchantRecipes); - recipes.addAll(craftRecipes); - recipes.addAll(loomRecipes); - HashMap recipeMap = new HashMap<>(); - HashMap> duplicatedRecipes = new HashMap<>(); - Function itemNameFixer = item -> { - String name = item.getName(); - return (name.equalsIgnoreCase("gold apple") ? name.replaceAll("(?i)gold", "golden") : - item instanceof ToolItem ? name.replaceAll("(?i)wood", "wooden").replaceAll("(?i)rock", "stone") : name) - .toLowerCase().replace(' ', '_'); - }; - Function recipeNameFixer = recipe -> { // This is applied when duplication occurs. - Item item = recipe.getProduct(); - String name = itemNameFixer.apply(item); - if (item instanceof DyeItem) { - Map costs = recipe.getCosts(); - if (costs.size() == 2 && costs.containsKey("WHITE DYE")) - return name + "_from_white_dye"; - return name; - } else if (item instanceof FurnitureItem && ((FurnitureItem) item).furniture instanceof Bed) { - if (recipe.getCosts().containsKey("WHITE BED")) - return name + "_from_white_bed"; - return name; - } - return name; - }; - for (Recipe recipe : recipes) { - if (recipes.stream().anyMatch(r -> r != recipe && r.getProduct().equals(recipe.getProduct()))) { - if (recipes.stream().anyMatch(r -> r != recipe && recipeNameFixer.apply(r).equals(recipeNameFixer.apply(recipe)))) { - duplicatedRecipes.compute(recipeNameFixer.apply(recipe), (k, v) -> { - if (v == null) return new HashSet<>(Collections.singletonList(recipe)); - else { - v.add(recipe); - return v; - } - }); - } else { - recipeMap.put(recipeNameFixer.apply(recipe), recipe); - } - } else { - recipeMap.put(itemNameFixer.apply(recipe.getProduct()), recipe); - } - } - for (String key : duplicatedRecipes.keySet()) { - HashSet duplications = duplicatedRecipes.get(key); - HashMap inputs = new HashMap<>(); - JDialog dialog = new JDialog((Frame) null, "Recipe Duplication: " + key); - dialog.setLayout(new BorderLayout()); - dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); - dialog.addWindowListener(new WindowListener() { - @Override - public void windowOpened(WindowEvent e) {} - @Override - public void windowClosing(WindowEvent e) { - dialog.setVisible(false); - JOptionPane.showMessageDialog(null, "Exit Program"); - dialog.dispose(); - System.exit(0); - } - @Override - public void windowClosed(WindowEvent e) {} - @Override - public void windowIconified(WindowEvent e) {} - @Override - public void windowDeiconified(WindowEvent e) {} - @Override - public void windowActivated(WindowEvent e) {} - @Override - public void windowDeactivated(WindowEvent e) {} - }); - - JPanel inputPanel = new JPanel(new SpringLayout()); - inputPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - for (Recipe recipe : duplications) { - JLabel l = new JLabel(recipe.toString(), JLabel.TRAILING); - inputPanel.add(l); - JTextField textField = new JTextField(key, 20); - l.setLabelFor(textField); - inputPanel.add(textField); - inputs.put(recipe, textField); - } - - makeCompactGrid(inputPanel, - duplications.size(), 2, //rows, cols - 6, 6, //initX, initY - 6, 6); //xPad, yPad - - JPanel buttonPane = new JPanel(); - buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS)); - buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); - buttonPane.add(Box.createHorizontalGlue()); - JButton doneButton = new JButton("Done"); - doneButton.addActionListener(e -> { - inputs.forEach((recipe, text) -> recipeMap.put(text.getText(), recipe)); - dialog.setVisible(false); - dialog.dispose(); - }); - doneButton.setDefaultCapable(true); - buttonPane.add(doneButton); - buttonPane.add(Box.createHorizontalGlue()); - - class JMultilineLabel extends JTextArea { // Reference: https://stackoverflow.com/a/11034405 - private static final long serialVersionUID = 1L; - public JMultilineLabel(String text){ - super(text); // According to Mr. Polywhirl, this might improve it -> text + System.lineSeparator() - setEditable(false); - setCursor(null); - setOpaque(false); - setFocusable(false); - setFont(UIManager.getFont("Label.font")); - setWrapStyleWord(true); - setLineWrap(true); - //According to Mariana this might improve it - setBorder(new EmptyBorder(5, 5, 5, 5)); - setAlignmentY(JLabel.CENTER_ALIGNMENT); - } - } - - Container dialogPane = dialog.getContentPane(); - dialogPane.add(new JMultilineLabel("Recipes:\n" + - String.join("\n", duplicatedRecipes.get(key).stream().map(Recipe::toString)::iterator)), - BorderLayout.NORTH); - dialogPane.add(inputPanel, BorderLayout.CENTER); - dialogPane.add(buttonPane, BorderLayout.SOUTH); - dialog.pack(); - dialog.setLocationRelativeTo(null); - dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL); - dialog.setVisible(true); - } - - JSONObject json = new JSONObject(); - for (String key : recipeMap.keySet()) { - Recipe recipe = recipeMap.get(key); - JSONObject recipeUnlockingJson = new JSONObject(); - - ArrayList costs = new ArrayList<>(); - JSONObject criteriaJson = new JSONObject(); - Map costMap = recipe.getCosts(); - for (String itemKey : costMap.keySet()) { - Item item = Items.get(itemKey); - JSONObject criterionJson = new JSONObject(); - - criterionJson.put("trigger", "inventory_changed"); - - JSONObject conditionsJson = new JSONObject(); - JSONArray itemConditionsJsonArray = new JSONArray(); - JSONObject itemConditionsJson = new JSONObject(); - JSONArray itemsJson = new JSONArray(); - itemsJson.put(item.getName()); - itemConditionsJson.put("items", itemsJson); - itemConditionsJsonArray.put(itemConditionsJson); - conditionsJson.put("items", itemConditionsJsonArray); - criterionJson.put("conditions", conditionsJson); - criteriaJson.put("has_" + itemNameFixer.apply(item), criterionJson); - - costs.add(item.getName() + "_" + costMap.get(itemKey)); - } - recipeUnlockingJson.put("criteria", criteriaJson); - - JSONArray requirementsJson = new JSONArray(); - JSONArray criterionNamesJson = new JSONArray(); - criterionNamesJson.putAll(criteriaJson.keySet()); - requirementsJson.put(criterionNamesJson); - recipeUnlockingJson.put("requirements", requirementsJson); - - JSONObject rewardsJson = new JSONObject(); - JSONObject recipesJson = new JSONObject(); - JSONArray costsJson = new JSONArray(); - costsJson.putAll(costs); - recipesJson.put(recipe.getProduct().getName() + "_" + recipe.getAmount(), costsJson); - rewardsJson.put("recipes", recipesJson); - recipeUnlockingJson.put("rewards", rewardsJson); - - json.put("minicraft.advancements.recipes." + key, recipeUnlockingJson); - } - - try { - Save.writeJSONToFile(new File(System.getProperty("user.dir"), "src/main/resources/resources/recipes.json").toString(), - json.toString(2)); - } catch (IOException e) { - throw new RuntimeException(e); - } - } - - /* Used by makeCompactGrid. */ - private static SpringLayout.Constraints getConstraintsForCell( - int row, int col, - Container parent, - int cols) { - SpringLayout layout = (SpringLayout) parent.getLayout(); - Component c = parent.getComponent(row * cols + col); - return layout.getConstraints(c); - } - - /* - * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * - Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * - Neither the name of Oracle or the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS - * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /** - * Aligns the first rows * cols - * components of parent in - * a grid. Each component in a column is as wide as the maximum - * preferred width of the components in that column; - * height is similarly determined for each row. - * The parent is made just big enough to fit them all. - * - * @param rows number of rows - * @param cols number of columns - * @param initialX x location to start the grid at - * @param initialY y location to start the grid at - * @param xPad x padding between cells - * @param yPad y padding between cells - */ - @SuppressWarnings("SameParameterValue") - private static void makeCompactGrid(Container parent, - int rows, int cols, - int initialX, int initialY, - int xPad, int yPad) { - SpringLayout layout; - try { - layout = (SpringLayout)parent.getLayout(); - } catch (ClassCastException exc) { - System.err.println("The first argument to makeCompactGrid must use SpringLayout."); - return; - } - - //Align all cells in each column and make them the same width. - Spring x = Spring.constant(initialX); - for (int c = 0; c < cols; c++) { - Spring width = Spring.constant(0); - for (int r = 0; r < rows; r++) { - width = Spring.max(width, - getConstraintsForCell(r, c, parent, cols). - getWidth()); - } - for (int r = 0; r < rows; r++) { - SpringLayout.Constraints constraints = - getConstraintsForCell(r, c, parent, cols); - constraints.setX(x); - constraints.setWidth(width); - } - x = Spring.sum(x, Spring.sum(width, Spring.constant(xPad))); - } - - //Align all cells in each row and make them the same height. - Spring y = Spring.constant(initialY); - for (int r = 0; r < rows; r++) { - Spring height = Spring.constant(0); - for (int c = 0; c < cols; c++) { - height = Spring.max(height, - getConstraintsForCell(r, c, parent, cols). - getHeight()); - } - for (int c = 0; c < cols; c++) { - SpringLayout.Constraints constraints = - getConstraintsForCell(r, c, parent, cols); - constraints.setY(y); - constraints.setHeight(height); - } - y = Spring.sum(y, Spring.sum(height, Spring.constant(yPad))); - } - - //Set the parent's size. - SpringLayout.Constraints pCons = layout.getConstraints(parent); - pCons.setConstraint(SpringLayout.SOUTH, y); - pCons.setConstraint(SpringLayout.EAST, x); - } } diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index 10cb736b6..335f7e8c2 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -1,2868 +1,460 @@ { - "minicraft.advancements.recipes.anvil": { - "requirements": [ - [ - "has_iron" - ] - ], + "minicraft.advancements.recipes.workbench": { "criteria": { - "has_iron": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "wood" ] } ] } } }, - "rewards": { - "recipes": { - "Anvil_1": [ - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.arrow": { "requirements": [ [ - "has_stone", "has_wood" ] ], + "rewards": { + "recipes": { + "Workbench_1": ["Wood_10"] + } + } + }, + "minicraft.advancements.recipes.torch": { "criteria": { - "has_stone": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "wood" ] } ] } }, - "has_wood": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_coal" + ] + ], "rewards": { "recipes": { - "arrow_3": [ - "Stone_2", - "Wood_2" - ] + "Torch_2": ["Wood_1", "coal_1"] } } }, - "minicraft.advancements.recipes.awkward_potion": { - "requirements": [ - [ - "has_lapis", - "has_glass_bottle" - ] - ], + "minicraft.advancements.recipes.plank": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - } - }, - "has_glass_bottle": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Glass Bottle" + "wood" ] } ] } } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ] + "plank_2": ["Wood_1"] } } }, - "minicraft.advancements.recipes.baked_potato": { - "requirements": [ - [ - "has_potato" - ] - ], + "minicraft.advancements.recipes.plank_wall": { "criteria": { - "has_potato": { + "has_plank": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Potato" + "plank" ] } ] } } }, + "requirements": [ + [ + "has_plank" + ] + ], "rewards": { "recipes": { - "Baked Potato_1": [ - "Potato_1" - ] + "Plank Wall_1": ["plank_3"] } } }, - "minicraft.advancements.recipes.black_bed": { - "requirements": [ - [ - "has_black_wool", - "has_wood" - ] - ], + "minicraft.advancements.recipes.wood_door": { "criteria": { - "has_black_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BLACK Wool" - ] - } - ] - } - }, - "has_wood": { + "has_plank": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "plank" ] } ] } } }, + "requirements": [ + [ + "has_plank" + ] + ], "rewards": { "recipes": { - "BLACK Bed_1": [ - "Wood_5", - "BLACK Wool_3" - ] + "Wood Door_1": ["plank_5"] } } }, - "minicraft.advancements.recipes.black_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_black_dye" - ] - ], + "minicraft.advancements.recipes.lantern": { "criteria": { - "has_white_bed": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "wood" ] } ] } }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BLACK Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BLACK Bed_1": [ - "WHITE Bed_1", - "BLACK Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.black_clothes": { - "requirements": [ - [ - "has_coal", - "has_cloth" - ] - ], - "criteria": { - "has_coal": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "slime" ] } ] } }, - "has_cloth": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "glass" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_slime", + "has_glass" + ] + ], "rewards": { "recipes": { - "Black Clothes_1": [ - "Coal_1", - "cloth_5" - ] + "Lantern_1": ["Wood_8", "slime_4", "glass_3"] } } }, - "minicraft.advancements.recipes.black_dye": { - "requirements": [ - [ - "has_coal" - ] - ], + "minicraft.advancements.recipes.stone_brick": { "criteria": { - "has_coal": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_stone" + ] + ], "rewards": { "recipes": { - "BLACK Dye_1": [ - "Coal_1" - ] + "Stone Brick_1": ["Stone_2"] } } }, - "minicraft.advancements.recipes.black_wool": { - "requirements": [ - [ - "has_white_wool", - "has_black_dye" - ] - ], + "minicraft.advancements.recipes.ornate_stone": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - }, - "has_black_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_stone" + ] + ], "rewards": { "recipes": { - "BLACK Wool_1": [ - "BLACK Dye_1", - "WHITE Wool_1" - ] + "Stone Brick_1": ["Stone_2"] } } }, - "minicraft.advancements.recipes.blue_bed": { - "requirements": [ - [ - "has_wood", - "has_blue_wool" - ] - ], + "minicraft.advancements.recipes.stone_wall": { "criteria": { - "has_wood": { + "has_stone_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "stone brick" ] } ] } - }, - "has_blue_wool": { + } + }, + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Wall_1": ["Stone Brick_3"] + } + } + }, + "minicraft.advancements.recipes.stone_door": { + "criteria": { + "has_stone_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Wool" + "stone brick" ] } ] } } }, + "requirements": [ + [ + "has_stone_brick" + ] + ], "rewards": { "recipes": { - "BLUE Bed_1": [ - "Wood_5", - "BLUE Wool_3" - ] + "Stone Door_1": ["Stone Brick_5"] } } }, - "minicraft.advancements.recipes.blue_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_blue_dye" - ] - ], + "minicraft.advancements.recipes.obsidian_brick": { "criteria": { - "has_white_bed": { + "has_raw_obsidian": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "raw obsidian" ] } ] } - }, - "has_blue_dye": { + } + }, + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "rewards": { + "recipes": { + "Obsidian Brick_1": ["Raw Obsidian_2"] + } + } + }, + "minicraft.advancements.recipes.ornate_obsidian": { + "criteria": { + "has_raw_obsidian": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "raw obsidian" ] } ] } } }, + "requirements": [ + [ + "has_raw_obsidian" + ] + ], "rewards": { "recipes": { - "BLUE Bed_1": [ - "BLUE Dye_1", - "WHITE Bed_1" - ] + "Ornate Obsidian_1": ["Raw Obsidian_2"] } } }, - "minicraft.advancements.recipes.blue_clothes": { - "requirements": [ - [ - "has_lapis", - "has_cloth" - ] - ], + "minicraft.advancements.recipes.obsidian_wall": { "criteria": { - "has_lapis": { + "has_obsidian_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "obsidian brick" ] } ] } - }, - "has_cloth": { + } + }, + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Wall_1": ["Obsidian Brick_3"] + } + } + }, + "minicraft.advancements.recipes.obsidian_door": { + "criteria": { + "has_obsidian_brick": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "obsidian brick" ] } ] } } }, - "rewards": { - "recipes": { - "Blue Clothes_1": [ - "Lapis_1", - "cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.blue_dye": { - "requirements": [ - [ - "has_lapis" - ] - ], - "criteria": { - "has_lapis": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BLUE Dye_1": [ - "Lapis_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_wool": { - "requirements": [ - [ - "has_white_wool", - "has_blue_dye" - ] - ], - "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BLUE Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BLUE Wool_1": [ - "BLUE Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.bone_meal": { - "requirements": [ - [ - "has_bone" - ] - ], - "criteria": { - "has_bone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Bone" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Bone Meal_3": [ - "Bone_1" - ] - } - } - }, - "minicraft.advancements.recipes.bread": { - "requirements": [ - [ - "has_wheat" - ] - ], - "criteria": { - "has_wheat": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wheat" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Bread_1": [ - "Wheat_4" - ] - } - } - }, - "minicraft.advancements.recipes.brown_bed": { - "requirements": [ - [ - "has_brown_wool", - "has_wood" - ] - ], - "criteria": { - "has_brown_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BROWN Wool" - ] - } - ] - } - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BROWN Bed_1": [ - "BROWN Wool_3", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.brown_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_brown_dye" - ] - ], - "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" - ] - } - ] - } - }, - "has_brown_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BROWN Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BROWN Bed_1": [ - "WHITE Bed_1", - "BROWN Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.brown_dye": { - "requirements": [ - [ - "has_green_dye", - "has_red_dye" - ] - ], - "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Dye" - ] - } - ] - } - }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "RED Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BROWN Dye_2": [ - "GREEN Dye_1", - "RED Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.brown_wool": { - "requirements": [ - [ - "has_white_wool", - "has_brown_dye" - ] - ], - "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - }, - "has_brown_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BROWN Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "BROWN Wool_1": [ - "BROWN Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.chest": { - "requirements": [ - [ - "has_wood" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Chest_1": [ - "Wood_20" - ] - } - } - }, - "minicraft.advancements.recipes.cooked_fish": { - "requirements": [ - [ - "has_coal", - "has_raw_fish" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_raw_fish": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" - ] - } - } - }, - "minicraft.advancements.recipes.cooked_pork": { - "requirements": [ - [ - "has_coal", - "has_raw_pork" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_raw_pork": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Raw Pork" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_bed": { - "requirements": [ - [ - "has_wood", - "has_cyan_wool" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_cyan_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "CYAN Wool" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "CYAN Bed_1": [ - "Wood_5", - "CYAN Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_bed_from_white_bed": { - "requirements": [ - [ - "has_cyan_dye", - "has_white_bed" - ] - ], - "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "CYAN Dye" - ] - } - ] - } - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "CYAN Bed_1": [ - "CYAN Dye_1", - "WHITE Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_clothes": { - "requirements": [ - [ - "has_cactus", - "has_lapis", - "has_cloth" - ] - ], - "criteria": { - "has_cactus": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - } - }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - } - }, - "has_cloth": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Cyan Clothes_1": [ - "Lapis_1", - "cloth_5", - "Cactus_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_dye": { - "requirements": [ - [ - "has_green_dye", - "has_blue_dye" - ] - ], - "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Dye" - ] - } - ] - } - }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BLUE Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "CYAN Dye_2": [ - "BLUE Dye_1", - "GREEN Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_wool": { - "requirements": [ - [ - "has_cyan_dye", - "has_white_wool" - ] - ], - "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "CYAN Dye" - ] - } - ] - } - }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "CYAN Wool_1": [ - "CYAN Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.empty_bucket": { - "requirements": [ - [ - "has_iron" - ] - ], - "criteria": { - "has_iron": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Empty Bucket_1": [ - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.enchanter": { - "requirements": [ - [ - "has_wood", - "has_string", - "has_lapis" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } - }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Enchanter_1": [ - "Lapis_10", - "string_2", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.energy_potion": { - "requirements": [ - [ - "has_gem", - "has_awkward_potion" - ] - ], - "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Energy Potion_1": [ - "Awkward Potion_1", - "gem_25" - ] - } - } - }, - "minicraft.advancements.recipes.escape_potion": { - "requirements": [ - [ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "criteria": { - "has_lapis": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - } - }, - "has_gunpowder": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - } - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ] - } - } - }, - "minicraft.advancements.recipes.furnace": { - "requirements": [ - [ - "has_stone" - ] - ], - "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Furnace_1": [ - "Stone_20" - ] - } - } - }, - "minicraft.advancements.recipes.gem_armor": { - "requirements": [ - [ - "has_gem" - ] - ], - "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Armor_1": [ - "gem_65" - ] - } - } - }, - "minicraft.advancements.recipes.gem_axe": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Axe_1": [ - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_bow": { - "requirements": [ - [ - "has_wood", - "has_gem", - "has_string" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Bow_1": [ - "string_2", - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_claymore": { - "requirements": [ - [ - "has_shard", - "has_gem_sword" - ] - ], - "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - } - }, - "has_gem_sword": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gem Sword" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" - ] - } - } - }, - "minicraft.advancements.recipes.gem_fishing_rod": { - "requirements": [ - [ - "has_gem", - "has_string" - ] - ], - "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Fishing Rod_1": [ - "string_3", - "gem_10" - ] - } - } - }, - "minicraft.advancements.recipes.gem_hoe": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Hoe_1": [ - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_pickaxe": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Pickaxe_1": [ - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_shovel": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Shovel_1": [ - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_sword": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "gem" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gem Sword_1": [ - "Wood_5", - "gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.glass": { - "requirements": [ - [ - "has_coal", - "has_sand" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_sand": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Sand" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "glass_1": [ - "Coal_1", - "Sand_4" - ] - } - } - }, - "minicraft.advancements.recipes.glass_bottle": { - "requirements": [ - [ - "has_glass" - ] - ], - "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Glass Bottle_1": [ - "glass_3" - ] - } - } - }, - "minicraft.advancements.recipes.gold": { - "requirements": [ - [ - "has_coal", - "has_gold_ore" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_gold_ore": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold Ore" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold_1": [ - "Coal_1", - "Gold Ore_4" - ] - } - } - }, - "minicraft.advancements.recipes.gold_armor": { - "requirements": [ - [ - "has_gold" - ] - ], - "criteria": { - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Armor_1": [ - "Gold_10" - ] - } - } - }, - "minicraft.advancements.recipes.gold_axe": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Axe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_bow": { - "requirements": [ - [ - "has_wood", - "has_string", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Bow_1": [ - "Gold_5", - "string_2", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_claymore": { - "requirements": [ - [ - "has_shard", - "has_gold_sword" - ] - ], - "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - } - }, - "has_gold_sword": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold Sword" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" - ] - } - } - }, - "minicraft.advancements.recipes.gold_fishing_rod": { - "requirements": [ - [ - "has_string", - "has_gold" - ] - ], - "criteria": { - "has_string": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "string" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Fishing Rod_1": [ - "Gold_10", - "string_3" - ] - } - } - }, - "minicraft.advancements.recipes.gold_hoe": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Hoe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_lantern": { - "requirements": [ - [ - "has_glass", - "has_gold", - "has_slime" - ] - ], - "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - }, - "has_slime": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Lantern_1": [ - "glass_4", - "Gold_10", - "Slime_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_pickaxe": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_shovel": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Shovel_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_sword": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Sword_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.golden_apple": { - "requirements": [ - [ - "has_apple", - "has_gold" - ] - ], - "criteria": { - "has_apple": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Apple" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Gold Apple_1": [ - "Gold_8", - "Apple_1" - ] - } - } - }, - "minicraft.advancements.recipes.gray_bed": { - "requirements": [ - [ - "has_gray_wool", - "has_wood" - ] - ], - "criteria": { - "has_gray_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GRAY Wool" - ] - } - ] - } - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GRAY Bed_1": [ - "GRAY Wool_3", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gray_bed_from_white_bed": { - "requirements": [ - [ - "has_gray_dye", - "has_white_bed" - ] - ], - "criteria": { - "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GRAY Dye" - ] - } - ] - } - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GRAY Bed_1": [ - "GRAY Dye_1", - "WHITE Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.gray_dye": { - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Dye" - ] - } - ] - } - }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "BLACK Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GRAY Dye_2": [ - "WHITE Dye_1", - "BLACK Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.gray_wool": { - "requirements": [ - [ - "has_white_wool", - "has_gray_dye" - ] - ], - "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - }, - "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GRAY Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GRAY Wool_1": [ - "GRAY Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.green_bed": { - "requirements": [ - [ - "has_green_wool", - "has_wood" - ] - ], - "criteria": { - "has_green_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Wool" - ] - } - ] - } - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GREEN Bed_1": [ - "GREEN Wool_3", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.green_bed_from_white_bed": { - "requirements": [ - [ - "has_green_dye", - "has_white_bed" - ] - ], - "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Dye" - ] - } - ] - } - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GREEN Bed_1": [ - "GREEN Dye_1", - "WHITE Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.green_clothes": { - "requirements": [ - [ - "has_cactus", - "has_cloth" - ] - ], - "criteria": { - "has_cactus": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - } - }, - "has_cloth": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "cloth" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Green Clothes_1": [ - "Cactus_1", - "cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.green_dye": { - "requirements": [ - [ - "has_cactus" - ] - ], - "criteria": { - "has_cactus": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GREEN Dye_1": [ - "Cactus_1" - ] - } - } - }, - "minicraft.advancements.recipes.green_wool": { - "requirements": [ - [ - "has_green_dye", - "has_white_wool" - ] - ], - "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "GREEN Dye" - ] - } - ] - } - }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Wool" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "GREEN Wool_1": [ - "GREEN Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.haste_potion": { - "requirements": [ - [ - "has_stone", - "has_wood", - "has_awkward_potion" - ] - ], - "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.health_potion": { - "requirements": [ - [ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "criteria": { - "has_leather_armor": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Leather Armor" - ] - } - ] - } - }, - "has_gunpowder": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - } - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" - ] - } - } - }, - "minicraft.advancements.recipes.iron": { - "requirements": [ - [ - "has_coal", - "has_iron_ore" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_iron_ore": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Iron Ore" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "Iron_1": [ - "Coal_1", - "Iron Ore_4" - ] - } - } - }, - "minicraft.advancements.recipes.iron_armor": { "requirements": [ [ - "has_iron" + "has_obsidian_brick" ] ], - "criteria": { - "has_iron": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - } - } - }, "rewards": { "recipes": { - "Iron Armor_1": [ - "Iron_10" - ] + "Obsidian Door_1": ["Obsidian Brick_5"] } } }, - "minicraft.advancements.recipes.iron_axe": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.oven": { "criteria": { - "has_wood": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "stone" ] } ] } - }, - "has_iron": { + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Oven_1": ["Stone_15"] + } + } + }, + "minicraft.advancements.recipes.furnace": { + "criteria": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_stone" + ] + ], "rewards": { "recipes": { - "Iron Axe_1": [ - "Wood_5", - "Iron_5" - ] + "Furnace_1": ["Stone_20"] } } }, - "minicraft.advancements.recipes.iron_bow": { - "requirements": [ - [ - "has_wood", - "has_string", - "has_iron" - ] - ], + "minicraft.advancements.recipes.enchanter": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -2870,7 +462,7 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] @@ -2888,120 +480,124 @@ ] } }, - "has_iron": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "lapis" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_lapis" + ] + ], "rewards": { "recipes": { - "Iron Bow_1": [ - "string_2", - "Iron_5", - "Wood_5" - ] + "Enchanter_1": ["Wood_5", "String_2", "Lapis_10"] } } }, - "minicraft.advancements.recipes.iron_claymore": { - "requirements": [ - [ - "has_shard", - "has_iron_sword" - ] - ], + "minicraft.advancements.recipes.chest": { "criteria": { - "has_shard": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Shard" + "wood" ] } ] } - }, - "has_iron_sword": { + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Chest_1": ["Wood_20"] + } + } + }, + "minicraft.advancements.recipes.anvil": { + "criteria": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron Sword" + "iron" ] } ] } } }, - "rewards": { - "recipes": { - "Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" - ] - } - } - }, - "minicraft.advancements.recipes.iron_fishing_rod": { "requirements": [ [ - "has_string", "has_iron" ] ], + "rewards": { + "recipes": { + "Anvil_1": ["iron_5"] + } + } + }, + "minicraft.advancements.recipes.tnt": { "criteria": { - "has_string": { + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "gunpowder" ] } ] } }, - "has_iron": { + "has_sand": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "sand" ] } ] } } }, + "requirements": [ + [ + "has_gunpowder", + "has_sand" + ] + ], "rewards": { "recipes": { - "Iron Fishing Rod_1": [ - "string_3", - "Iron_10" - ] + "Tnt_1": ["Gunpowder_10", "Sand_8"] } } }, - "minicraft.advancements.recipes.iron_hoe": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.loom": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -3009,349 +605,324 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] } }, - "has_iron": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "wool" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_wool" + ] + ], "rewards": { "recipes": { - "Iron Hoe_1": [ - "Wood_5", - "Iron_5" - ] + "Loom_1": ["Wood_10", "Wool_5"] } } }, - "minicraft.advancements.recipes.iron_lantern": { - "requirements": [ - [ - "has_glass", - "has_slime", - "has_iron" - ] - ], + "minicraft.advancements.recipes.wood_fishing_rod": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - }, - "has_slime": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "wood" ] } ] } }, - "has_iron": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "string" ] } ] } } }, - "rewards": { - "recipes": { - "Iron Lantern_1": [ - "glass_4", - "Iron_8", - "Slime_5" - ] - } - } - }, - "minicraft.advancements.recipes.iron_pickaxe": { "requirements": [ [ "has_wood", - "has_iron" + "has_string" ] ], + "rewards": { + "recipes": { + "Wood Fishing Rod_1": ["Wood_10", "String_3"] + } + } + }, + "minicraft.advancements.recipes.iron_fishing_rod": { "criteria": { - "has_wood": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "iron" ] } ] } }, - "has_iron": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "string" ] } ] } } }, + "requirements": [ + [ + "has_iron", + "has_string" + ] + ], "rewards": { "recipes": { - "Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" - ] + "Iron Fishing Rod_1": ["Iron_10", "String_3"] } } }, - "minicraft.advancements.recipes.iron_shovel": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.gold_fishing_rod": { "criteria": { - "has_wood": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gold" ] } ] } }, - "has_iron": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "string" ] } ] } } }, + "requirements": [ + [ + "has_gold", + "has_string" + ] + ], "rewards": { "recipes": { - "Iron Shovel_1": [ - "Wood_5", - "Iron_5" - ] + "Gold Fishing Rod_1": ["Gold_10", "String_3"] } } }, - "minicraft.advancements.recipes.iron_sword": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.gem_fishing_rod": { "criteria": { - "has_wood": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gem" ] } ] } }, - "has_iron": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "string" ] } ] } } }, + "requirements": [ + [ + "has_gem", + "has_string" + ] + ], "rewards": { "recipes": { - "Iron Sword_1": [ - "Wood_5", - "Iron_5" - ] + "Gem Fishing Rod_1": ["Gem_10", "String_3"] } } }, - "minicraft.advancements.recipes.lantern": { - "requirements": [ - [ - "has_glass", - "has_wood", - "has_slime" - ] - ], + "minicraft.advancements.recipes.wooden_sword": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "glass" - ] - } - ] - } - }, "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "wood" ] } ] } - }, - "has_slime": { + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Sword_1": ["Wood_5"] + } + } + }, + "minicraft.advancements.recipes.wooden_axe": { + "criteria": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "wood" ] } ] } } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Lantern_1": [ - "glass_3", - "Slime_4", - "Wood_8" - ] + "Wood Axe_1": ["Wood_5"] } } }, - "minicraft.advancements.recipes.lava_potion": { - "requirements": [ - [ - "has_awkward_potion", - "has_lava_bucket" - ] - ], + "minicraft.advancements.recipes.wooden_hoe": { "criteria": { - "has_awkward_potion": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "wood" ] } ] } - }, - "has_lava_bucket": { + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Hoe_1": ["Wood_5"] + } + } + }, + "minicraft.advancements.recipes.wooden_pickaxe": { + "criteria": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lava Bucket" + "wood" ] } ] } } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" - ] + "Wood Pickaxe_1": ["Wood_5"] } } }, - "minicraft.advancements.recipes.leather_armor": { - "requirements": [ - [ - "has_leather" - ] - ], + "minicraft.advancements.recipes.wooden_shovel": { "criteria": { - "has_leather": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Leather" + "wood" ] } ] } } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Leather Armor_1": [ - "Leather_10" - ] + "Wood Shovel_1": ["Wood_5"] } } }, - "minicraft.advancements.recipes.light_blue_bed": { - "requirements": [ - [ - "has_wood", - "has_light_blue_wool" - ] - ], + "minicraft.advancements.recipes.wooden_bow": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -3359,587 +930,597 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] } }, - "has_light_blue_wool": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Wool" + "string" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Wool_3", - "Wood_5" - ] + "Wood Bow_1": ["Wood_5", "string_2"] } } }, - "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { - "requirements": [ - [ - "has_light_blue_dye", - "has_white_bed" - ] - ], + "minicraft.advancements.recipes.rock_sword": { "criteria": { - "has_light_blue_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Dye" + "wood" ] } ] } }, - "has_white_bed": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Dye_1", - "WHITE Bed_1" - ] + "Rock Sword_1": ["Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.light_blue_dye": { - "requirements": [ - [ - "has_white_dye", - "has_blue_dye" - ] - ], + "minicraft.advancements.recipes.rock_axe": { "criteria": { - "has_white_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "wood" ] } ] } }, - "has_blue_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT BLUE Dye_2": [ - "BLUE Dye_1", - "WHITE Dye_1" - ] + "Rock Sword_1": ["Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.light_blue_wool": { - "requirements": [ - [ - "has_light_blue_dye", - "has_white_wool" - ] - ], + "minicraft.advancements.recipes.rock_hoe": { "criteria": { - "has_light_blue_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT BLUE Dye" + "wood" ] } ] } }, - "has_white_wool": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT BLUE Wool_1": [ - "LIGHT BLUE Dye_1", - "WHITE Wool_1" - ] + "Rock Axe_1": ["Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.light_gray_bed": { - "requirements": [ - [ - "has_light_gray_wool", - "has_wood" - ] - ], + "minicraft.advancements.recipes.rock_pickaxe": { "criteria": { - "has_light_gray_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Wool" + "wood" ] } ] } }, - "has_wood": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ - "Wood_5", - "LIGHT GRAY Wool_3" - ] + "Rock Pickaxe_1": ["Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_light_gray_dye" - ] - ], + "minicraft.advancements.recipes.rock_shovel": { "criteria": { - "has_white_bed": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "wood" ] } ] } }, - "has_light_gray_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Dye" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ - "WHITE Bed_1", - "LIGHT GRAY Dye_1" - ] + "Rock Shovel_1": ["Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_black_white_dye": { - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], + "minicraft.advancements.recipes.rock_bow": { "criteria": { - "has_white_dye": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "wood" + ] + } + ] + } + }, + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "stone" ] } ] } }, - "has_black_dye": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLACK Dye" + "string" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone", + "has_string" + ] + ], "rewards": { "recipes": { - "LIGHT GRAY Dye_3": [ - "WHITE Dye_2", - "BLACK Dye_1" - ] + "Rock Bow_1": ["Wood_5", "Stone_5", "string_2"] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { - "requirements": [ - [ - "has_gray_dye", - "has_white_dye" - ] - ], + "minicraft.advancements.recipes.arrow": { "criteria": { - "has_gray_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GRAY Dye" + "wood" ] } ] } }, - "has_white_dye": { + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "LIGHT GRAY Dye_2": [ - "GRAY Dye_1", - "WHITE Dye_1" - ] + "arrow_3": ["Wood_2", "Stone_2"] } } }, - "minicraft.advancements.recipes.light_gray_wool": { - "requirements": [ - [ - "has_white_wool", - "has_light_gray_dye" - ] - ], + "minicraft.advancements.recipes.leather_armor": { "criteria": { - "has_white_wool": { + "has_leather": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "leather" ] } ] } - }, - "has_light_gray_dye": { + } + }, + "requirements": [ + [ + "has_leather" + ] + ], + "rewards": { + "recipes": { + "Leather Armor_1": ["leather_10"] + } + } + }, + "minicraft.advancements.recipes.snake_armor": { + "criteria": { + "has_scale": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIGHT GRAY Dye" + "scale" ] } ] } } }, + "requirements": [ + [ + "has_scale" + ] + ], "rewards": { "recipes": { - "LIGHT GRAY Wool_1": [ - "LIGHT GRAY Dye_1", - "WHITE Wool_1" - ] + "Snake Armor_1": ["scale_15"] } } }, - "minicraft.advancements.recipes.light_potion": { + "minicraft.advancements.recipes.string": { + "criteria": { + "has_wool": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "wool" + ] + } + ] + } + } + }, "requirements": [ [ - "has_slime", - "has_awkward_potion" + "has_wool" ] ], + "rewards": { + "recipes": { + "String_2": ["Wool_1"] + } + } + }, + "minicraft.advancements.recipes.red_wool": { "criteria": { - "has_slime": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Slime" + "wool" ] } ] } }, - "has_awkward_potion": { + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "rose" ] } ] } } }, + "requirements": [ + [ + "has_wool", + "has_rose" + ] + ], "rewards": { "recipes": { - "Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" - ] + "red wool_1": ["Wool_1", "rose_1"] } } }, - "minicraft.advancements.recipes.lime_bed": { - "requirements": [ - [ - "has_wood", - "has_lime_wool" - ] - ], + "minicraft.advancements.recipes.blue_wool": { "criteria": { - "has_wood": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "wool" ] } ] } }, - "has_lime_wool": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Wool" + "lapis" ] } ] } } }, + "requirements": [ + [ + "has_wool", + "has_lapis" + ] + ], "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Wool_3", - "Wood_5" - ] + "blue wool_1": ["Wool_1", "Lapis_1"] } } }, - "minicraft.advancements.recipes.lime_bed_from_white_bed": { - "requirements": [ - [ - "has_lime_dye", - "has_white_bed" - ] - ], + "minicraft.advancements.recipes.green_wool": { "criteria": { - "has_lime_dye": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Dye" + "wool" ] } ] } }, - "has_white_bed": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "cactus" ] } ] } } }, + "requirements": [ + [ + "has_wool", + "has_cactus" + ] + ], "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Dye_1", - "WHITE Bed_1" - ] + "green wool_1": ["Wool_1", "Cactus_1"] } } }, - "minicraft.advancements.recipes.lime_dye": { - "requirements": [ - [ - "has_green_dye", - "has_white_dye" - ] - ], + "minicraft.advancements.recipes.yellow_wool": { "criteria": { - "has_green_dye": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "GREEN Dye" + "wool" ] } ] } }, - "has_white_dye": { + "has_flower": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "flower" ] } ] } } }, + "requirements": [ + [ + "has_wool", + "has_flower" + ] + ], "rewards": { "recipes": { - "LIME Dye_2": [ - "GREEN Dye_1", - "WHITE Dye_1" - ] + "yellow wool_1": ["Wool_1", "Flower_1"] } } }, - "minicraft.advancements.recipes.lime_wool": { - "requirements": [ - [ - "has_lime_dye", - "has_white_wool" - ] - ], + "minicraft.advancements.recipes.black_wool": { "criteria": { - "has_lime_dye": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "LIME Dye" + "wool" ] } ] } }, - "has_white_wool": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_wool", + "has_coal" + ] + ], "rewards": { "recipes": { - "LIME Wool_1": [ - "LIME Dye_1", - "WHITE Wool_1" - ] + "black wool_1": ["Wool_1", "coal_1"] } } }, - "minicraft.advancements.recipes.loom": { - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], + "minicraft.advancements.recipes.bed": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -3947,399 +1528,306 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] } }, - "has_white_wool": { + "has_wool": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "wool" ] } ] } } }, - "rewards": { - "recipes": { - "Loom_1": [ - "Wood_10", - "WHITE Wool_5" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_bed": { "requirements": [ [ "has_wood", - "has_magenta_wool" + "has_wool" ] ], + "rewards": { + "recipes": { + "Bed_1": ["Wood_5", "Wool_3"] + } + } + }, + "minicraft.advancements.recipes.blue_clothes": { "criteria": { - "has_wood": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "cloth" ] } ] } }, - "has_magenta_wool": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Wool" + "lapis" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_lapis" + ] + ], "rewards": { "recipes": { - "MAGENTA Bed_1": [ - "Wood_5", - "MAGENTA Wool_3" - ] + "blue clothes_1": ["cloth_5", "Lapis_1"] } } }, - "minicraft.advancements.recipes.magenta_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_magenta_dye" - ] - ], + "minicraft.advancements.recipes.green_clothes": { "criteria": { - "has_white_bed": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "cloth" ] } ] } }, - "has_magenta_dye": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Dye" + "cactus" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_cactus" + ] + ], "rewards": { "recipes": { - "MAGENTA Bed_1": [ - "MAGENTA Dye_1", - "WHITE Bed_1" - ] + "green clothes_1": ["cloth_5", "Cactus_1"] } } }, - "minicraft.advancements.recipes.magenta_dye": { - "requirements": [ - [ - "has_pink_dye", - "has_purple_dye" - ] - ], + "minicraft.advancements.recipes.yellow_clothes": { "criteria": { - "has_pink_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "cloth" ] } ] } }, - "has_purple_dye": { + "has_flower": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "flower" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_flower" + ] + ], "rewards": { "recipes": { - "MAGENTA Dye_2": [ - "PINK Dye_1", - "PURPLE Dye_1" - ] + "yellow clothes_1": ["cloth_5", "Flower_1"] } } }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { - "requirements": [ - [ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" - ] - ], + "minicraft.advancements.recipes.black_clothes": { "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "PINK Dye" - ] - } - ] - } - }, - "has_red_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "cloth" ] } ] } }, - "has_blue_dye": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_coal" + ] + ], "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "PINK Dye_1", - "RED Dye_1", - "BLUE Dye_1" - ] + "black clothes_1": ["cloth_5", "coal_1"] } } }, - "minicraft.advancements.recipes.magenta_dye_from_white_dye": { - "requirements": [ - [ - "has_white_dye", - "has_red_dye", - "has_blue_dye" - ] - ], + "minicraft.advancements.recipes.orange_clothes": { "criteria": { - "has_white_dye": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "cloth" ] } ] } }, - "has_red_dye": { + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "rose" ] } ] } }, - "has_blue_dye": { + "has_flower": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "flower" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_rose", + "has_flower" + ] + ], "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "WHITE Dye_1", - "RED Dye_2", - "BLUE Dye_1" - ] + "orange clothes_1": ["cloth_5", "rose_1", "Flower_1"] } } }, - "minicraft.advancements.recipes.magenta_wool": { - "requirements": [ - [ - "has_white_wool", - "has_magenta_dye" - ] - ], + "minicraft.advancements.recipes.purple_clothes": { "criteria": { - "has_white_wool": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "cloth" ] } ] } }, - "has_magenta_dye": { + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "MAGENTA Dye" + "lapis" ] } ] } - } - }, - "rewards": { - "recipes": { - "MAGENTA Wool_1": [ - "MAGENTA Dye_1", - "WHITE Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_brick": { - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "criteria": { - "has_raw_obsidian": { + }, + "has_rose": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Obsidian" + "rose" ] } ] } } }, - "rewards": { - "recipes": { - "Obsidian Brick_1": [ - "Raw Obsidian_2" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_door": { "requirements": [ [ - "has_obsidian_brick" + "has_cloth", + "has_lapis", + "has_rose" ] ], - "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - } - } - }, "rewards": { "recipes": { - "Obsidian Door_1": [ - "Obsidian Brick_5" - ] + "purple clothes_1": ["cloth_5", "Lapis_1", "rose_1"] } } }, - "minicraft.advancements.recipes.obsidian_poppet": { - "requirements": [ - [ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ] - ], + "minicraft.advancements.recipes.cyan_clothes": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - } - }, - "has_gem": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "cloth" ] } ] @@ -4351,546 +1839,429 @@ "items": [ { "items": [ - "Lapis" + "lapis" ] } ] } }, - "has_gold": { + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "cactus" ] } ] } } }, + "requirements": [ + [ + "has_cloth", + "has_lapis", + "has_cactus" + ] + ], "rewards": { "recipes": { - "Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "gem_10" - ] + "cyan clothes_1": ["cloth_5", "Lapis_1", "Cactus_1"] } } }, - "minicraft.advancements.recipes.obsidian_wall": { - "requirements": [ - [ - "has_obsidian_brick" - ] - ], + "minicraft.advancements.recipes.reg_clothes": { "criteria": { - "has_obsidian_brick": { + "has_cloth": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "cloth" ] } ] } } }, + "requirements": [ + [ + "has_cloth" + ] + ], "rewards": { "recipes": { - "Obsidian Wall_1": [ - "Obsidian Brick_3" - ] + "reg clothes_1": ["cloth_5"] } } }, - "minicraft.advancements.recipes.orange_bed": { - "requirements": [ - [ - "has_wood", - "has_orange_wool" - ] - ], + "minicraft.advancements.recipes.iron_armor": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_orange_wool": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Wool" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_iron" + ] + ], "rewards": { "recipes": { - "ORANGE Bed_1": [ - "Wood_5", - "ORANGE Wool_3" - ] + "Iron Armor_1": ["iron_10"] } } }, - "minicraft.advancements.recipes.orange_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_orange_dye" - ] - ], + "minicraft.advancements.recipes.gold_armor": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "WHITE Bed" - ] - } - ] - } - }, - "has_orange_dye": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Dye" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_gold" + ] + ], "rewards": { "recipes": { - "ORANGE Bed_1": [ - "ORANGE Dye_1", - "WHITE Bed_1" - ] + "Gold Armor_1": ["gold_10"] } } }, - "minicraft.advancements.recipes.orange_clothes": { - "requirements": [ - [ - "has_rose", - "has_cloth", - "has_flower" - ] - ], + "minicraft.advancements.recipes.gem_armor": { "criteria": { - "has_rose": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Rose" - ] - } - ] - } - }, - "has_cloth": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "gem" ] } ] } - }, - "has_flower": { + } + }, + "requirements": [ + [ + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Armor_1": ["gem_65"] + } + } + }, + "minicraft.advancements.recipes.empty_bucket": { + "criteria": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_iron" + ] + ], "rewards": { "recipes": { - "Orange Clothes_1": [ - "cloth_5", - "Rose_1", - "Flower_1" - ] + "Empty Bucket_1": ["iron_5"] } } }, - "minicraft.advancements.recipes.orange_dye": { - "requirements": [ - [ - "has_red_dye", - "has_yellow_dye" - ] - ], + "minicraft.advancements.recipes.iron_lantern": { "criteria": { - "has_red_dye": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "iron" ] } ] } }, - "has_yellow_dye": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "YELLOW Dye" - ] - } - ] - } - } - }, - "rewards": { - "recipes": { - "ORANGE Dye_2": [ - "YELLOW Dye_1", - "RED Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.orange_wool": { - "requirements": [ - [ - "has_white_wool", - "has_orange_dye" - ] - ], - "criteria": { - "has_white_wool": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "slime" ] } ] } }, - "has_orange_dye": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "ORANGE Dye" + "glass" ] } ] } } }, + "requirements": [ + [ + "has_iron", + "has_slime", + "has_glass" + ] + ], "rewards": { "recipes": { - "ORANGE Wool_1": [ - "ORANGE Dye_1", - "WHITE Wool_1" - ] + "Iron Lantern_1": ["iron_8", "slime_5", "glass_4"] } } }, - "minicraft.advancements.recipes.ornate_obsidian": { - "requirements": [ - [ - "has_raw_obsidian" - ] - ], + "minicraft.advancements.recipes.gold_lantern": { "criteria": { - "has_raw_obsidian": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Obsidian" + "gold" ] } ] } - } - }, - "rewards": { - "recipes": { - "Ornate Obsidian_1": [ - "Raw Obsidian_2" - ] - } - } - }, - "minicraft.advancements.recipes.ornate_stone": { - "requirements": [ - [ - "has_stone" - ] - ], - "criteria": { - "has_stone": { + }, + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "slime" ] } ] } - } - }, - "rewards": { - "recipes": { - "Ornate Stone_1": [ - "Stone_2" - ] - } - } - }, - "minicraft.advancements.recipes.oven": { - "requirements": [ - [ - "has_stone" - ] - ], - "criteria": { - "has_stone": { + }, + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "glass" ] } ] } } }, + "requirements": [ + [ + "has_gold", + "has_slime", + "has_glass" + ] + ], "rewards": { "recipes": { - "Oven_1": [ - "Stone_15" - ] + "Gold Lantern_1": ["gold_10", "slime_5", "glass_4"] } } }, - "minicraft.advancements.recipes.pink_bed": { - "requirements": [ - [ - "has_pink_wool", - "has_wood" - ] - ], + "minicraft.advancements.recipes.iron_sword": { "criteria": { - "has_pink_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Wool" + "wood" ] } ] } }, - "has_wood": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "PINK Bed_1": [ - "Wood_5", - "PINK Wool_3" - ] + "Iron Sword_1": ["Wood_5", "iron_5"] } } }, - "minicraft.advancements.recipes.pink_bed_from_white_bed": { - "requirements": [ - [ - "has_pink_dye", - "has_white_bed" - ] - ], + "minicraft.advancements.recipes.iron_claymore": { "criteria": { - "has_pink_dye": { + "has_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "iron sword" ] } ] } }, - "has_white_bed": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "shard" ] } ] } } }, + "requirements": [ + [ + "has_sword", + "has_shard" + ] + ], "rewards": { "recipes": { - "PINK Bed_1": [ - "PINK Dye_1", - "WHITE Bed_1" - ] + "Iron Claymore_1": ["Iron Sword_1", "shard_15"] } } }, - "minicraft.advancements.recipes.pink_dye": { - "requirements": [ - [ - "has_white_dye", - "has_red_dye" - ] - ], + "minicraft.advancements.recipes.iron_axe": { "criteria": { - "has_white_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Dye" + "wood" ] } ] } }, - "has_red_dye": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "PINK Dye_2": [ - "WHITE Dye_1", - "RED Dye_1" - ] + "Iron Axe_1": ["Wood_5", "iron_5"] } } }, - "minicraft.advancements.recipes.pink_wool": { - "requirements": [ - [ - "has_pink_dye", - "has_white_wool" - ] - ], + "minicraft.advancements.recipes.iron_hoe": { "criteria": { - "has_pink_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PINK Dye" + "wood" ] } ] } }, - "has_white_wool": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "PINK Wool_1": [ - "PINK Dye_1", - "WHITE Wool_1" - ] + "Iron Hoe_1": ["Wood_5", "iron_5"] } } }, - "minicraft.advancements.recipes.plank": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.iron_pickaxe": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -4898,56 +2269,38 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] } - } - }, - "rewards": { - "recipes": { - "Plank_2": [ - "Wood_1" - ] - } - } - }, - "minicraft.advancements.recipes.plank_wall": { - "requirements": [ - [ - "has_plank" - ] - ], - "criteria": { - "has_plank": { + }, + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Plank" + "iron" ] } ] } } }, - "rewards": { - "recipes": { - "Plank Wall_1": [ - "Plank_3" - ] - } - } - }, - "minicraft.advancements.recipes.purple_bed": { "requirements": [ [ "has_wood", - "has_purple_wool" + "has_iron" ] ], + "rewards": { + "recipes": { + "Iron Pickaxe_1": ["Wood_5", "iron_5"] + } + } + }, + "minicraft.advancements.recipes.iron_shovel": { "criteria": { "has_wood": { "trigger": "inventory_changed", @@ -4955,1725 +2308,1529 @@ "items": [ { "items": [ - "Wood" + "wood" ] } ] } }, - "has_purple_wool": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Wool" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "PURPLE Bed_1": [ - "Wood_5", - "PURPLE Wool_3" - ] + "Iron Shovel_1": ["Wood_5", "iron_5"] } } }, - "minicraft.advancements.recipes.purple_bed_from_white_bed": { - "requirements": [ - [ - "has_purple_dye", - "has_white_bed" - ] - ], + "minicraft.advancements.recipes.iron_bow": { "criteria": { - "has_purple_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "wood" ] } ] } }, - "has_white_bed": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "iron" ] } ] } - } - }, - "rewards": { - "recipes": { - "PURPLE Bed_1": [ - "WHITE Bed_1", - "PURPLE Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.purple_clothes": { - "requirements": [ - [ - "has_rose", - "has_lapis", - "has_cloth" - ] - ], - "criteria": { - "has_rose": { + }, + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Rose" + "string" ] } ] } - }, - "has_lapis": { + } + }, + "requirements": [ + [ + "has_wood", + "has_iron", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Iron Bow_1": ["Wood_5", "iron_5", "string_2"] + } + } + }, + "minicraft.advancements.recipes.gold_sword": { + "criteria": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "wood" ] } ] } }, - "has_cloth": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "Purple Clothes_1": [ - "Lapis_1", - "cloth_5", - "Rose_1" - ] + "Gold Sword_1": ["Wood_5", "gold_5"] } } }, - "minicraft.advancements.recipes.purple_dye": { - "requirements": [ - [ - "has_red_dye", - "has_blue_dye" - ] - ], + "minicraft.advancements.recipes.gold_claymore": { "criteria": { - "has_red_dye": { + "has_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "gold sword" ] } ] } }, - "has_blue_dye": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "BLUE Dye" + "shard" ] } ] } } }, + "requirements": [ + [ + "has_sword", + "has_shard" + ] + ], "rewards": { "recipes": { - "PURPLE Dye_2": [ - "BLUE Dye_1", - "RED Dye_1" - ] + "Gold Claymore_1": ["Gold Sword_1", "shard_15"] } } }, - "minicraft.advancements.recipes.purple_wool": { - "requirements": [ - [ - "has_white_wool", - "has_purple_dye" - ] - ], + "minicraft.advancements.recipes.gold_axe": { "criteria": { - "has_white_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "wood" ] } ] } }, - "has_purple_dye": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "PURPLE Wool_1": [ - "PURPLE Dye_1", - "WHITE Wool_1" - ] + "Gold Axe_1": ["Wood_5", "gold_5"] } } }, - "minicraft.advancements.recipes.red_bed": { - "requirements": [ - [ - "has_red_wool", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gold_hoe": { "criteria": { - "has_red_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Wool" + "wood" ] } ] } }, - "has_wood": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "RED Bed_1": [ - "Wood_5", - "RED Wool_3" - ] + "Gold Hoe_1": ["Wood_5", "gold_5"] } } }, - "minicraft.advancements.recipes.red_bed_from_white_bed": { - "requirements": [ - [ - "has_red_dye", - "has_white_bed" - ] - ], + "minicraft.advancements.recipes.gold_pickaxe": { "criteria": { - "has_red_dye": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "wood" ] } ] } }, - "has_white_bed": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "gold" ] } ] } } }, - "rewards": { - "recipes": { - "RED Bed_1": [ - "RED Dye_1", - "WHITE Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_dye": { "requirements": [ [ - "has_rose" + "has_wood", + "has_gold" ] ], - "criteria": { - "has_rose": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Rose" - ] - } - ] - } - } - }, "rewards": { "recipes": { - "RED Dye_1": [ - "Rose_1" - ] + "Gold Pickaxe_1": ["Wood_5", "gold_5"] } } }, - "minicraft.advancements.recipes.red_wool": { - "requirements": [ - [ - "has_white_wool", - "has_red_dye" - ] - ], + "minicraft.advancements.recipes.gold_shovel": { "criteria": { - "has_white_wool": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "wood" ] } ] } }, - "has_red_dye": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "RED Dye" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "RED Wool_1": [ - "RED Dye_1", - "WHITE Wool_1" - ] + "Gold Shovel_1": ["Wood_5", "gold_5"] } } }, - "minicraft.advancements.recipes.reg_clothes": { - "requirements": [ - [ - "has_cloth" - ] - ], + "minicraft.advancements.recipes.gold_bow": { "criteria": { - "has_cloth": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "wood" ] } ] } - } - }, - "rewards": { - "recipes": { - "Reg Clothes_1": [ - "cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.regen_potion": { - "requirements": [ - [ - "has_golden_apple", - "has_awkward_potion" - ] - ], - "criteria": { - "has_golden_apple": { + }, + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold Apple" + "gold" ] } ] } }, - "has_awkward_potion": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "string" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gold", + "has_string" + ] + ], "rewards": { "recipes": { - "Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" - ] + "Gold Bow_1": ["Wood_5", "gold_5", "string_2"] } } }, - "minicraft.advancements.recipes.shears": { - "requirements": [ - [ - "has_iron" - ] - ], + "minicraft.advancements.recipes.gem_sword": { "criteria": { - "has_iron": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Iron" + "wood" ] } ] } - } - }, - "rewards": { - "recipes": { - "Shears_1": [ - "Iron_4" - ] - } - } - }, - "minicraft.advancements.recipes.snake_armor": { - "requirements": [ - [ - "has_scale" - ] - ], - "criteria": { - "has_scale": { + }, + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Scale" + "gem" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Snake Armor_1": [ - "Scale_15" - ] + "Gem Sword_1": ["Wood_5", "gem_50"] } } }, - "minicraft.advancements.recipes.speed_potion": { - "requirements": [ - [ - "has_cactus", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.gem_claymore": { "criteria": { - "has_cactus": { + "has_sword": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cactus" + "gem sword" ] } ] } }, - "has_awkward_potion": { + "has_shard": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "shard" ] } ] } } }, + "requirements": [ + [ + "has_sword", + "has_shard" + ] + ], "rewards": { "recipes": { - "Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" - ] + "Gem Claymore_1": ["Gem Sword_1", "shard_15"] } } }, - "minicraft.advancements.recipes.steak": { - "requirements": [ - [ - "has_coal", - "has_raw_beef" - ] - ], + "minicraft.advancements.recipes.gem_axe": { "criteria": { - "has_coal": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "wood" ] } ] } }, - "has_raw_beef": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Raw Beef" + "gem" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Steak_1": [ - "Coal_1", - "Raw Beef_1" - ] + "Gem Axe_1": ["Wood_5", "gem_50"] } } }, - "minicraft.advancements.recipes.stone_axe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gem_hoe": { "criteria": { - "has_stone": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "wood" ] } ] } }, - "has_wood": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gem" ] } ] } } }, - "rewards": { - "recipes": { - "Rock Axe_1": [ - "Stone_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.stone_bow": { "requirements": [ [ - "has_stone", "has_wood", - "has_string" + "has_gem" ] ], + "rewards": { + "recipes": { + "Gem Hoe_1": ["Wood_5", "gem_50"] + } + } + }, + "minicraft.advancements.recipes.gem_pickaxe": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - }, "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "wood" ] } ] } }, - "has_string": { + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "gem" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Rock Bow_1": [ - "string_2", - "Stone_5", - "Wood_5" - ] + "Gem Pickaxe_1": ["Wood_5", "gem_50"] } } }, - "minicraft.advancements.recipes.stone_brick": { - "requirements": [ - [ - "has_stone" - ] - ], + "minicraft.advancements.recipes.gem_shovel": { "criteria": { - "has_stone": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "wood" ] } ] } - } - }, - "rewards": { - "recipes": { - "Stone Brick_1": [ - "Stone_2" - ] - } - } - }, - "minicraft.advancements.recipes.stone_door": { - "requirements": [ - [ - "has_stone_brick" - ] - ], - "criteria": { - "has_stone_brick": { + }, + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone Brick" + "gem" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Stone Door_1": [ - "Stone Brick_5" - ] + "Gem Shovel_1": ["Wood_5", "gem_50"] } } }, - "minicraft.advancements.recipes.stone_hoe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gem_bow": { "criteria": { - "has_stone": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "wood" + ] + } + ] + } + }, + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "gem" ] } ] } }, - "has_wood": { + "has_string": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "string" ] } ] } } }, + "requirements": [ + [ + "has_wood", + "has_gem", + "has_string" + ] + ], "rewards": { "recipes": { - "Rock Hoe_1": [ - "Stone_5", - "Wood_5" - ] + "Gem Bow_1": ["Wood_5", "gem_50", "string_2"] } } }, - "minicraft.advancements.recipes.stone_pickaxe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.shears": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - }, - "has_wood": { + "has_iron": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "iron" ] } ] } } }, + "requirements": [ + [ + "has_iron" + ] + ], "rewards": { "recipes": { - "Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" - ] + "Shears_1": ["Iron_4"] } } }, - "minicraft.advancements.recipes.stone_shovel": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.iron": { "criteria": { - "has_stone": { + "has_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "iron ore" ] } ] } }, - "has_wood": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_ore", + "has_coal" + ] + ], "rewards": { "recipes": { - "Rock Shovel_1": [ - "Stone_5", - "Wood_5" - ] + "iron_1": ["iron Ore_4", "coal_1"] } } }, - "minicraft.advancements.recipes.stone_sword": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gold": { "criteria": { - "has_stone": { + "has_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone" + "gold ore" ] } ] } }, - "has_wood": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_ore", + "has_coal" + ] + ], "rewards": { "recipes": { - "Rock Sword_1": [ - "Stone_5", - "Wood_5" - ] + "gold_1": ["gold Ore_4", "coal_1"] } } }, - "minicraft.advancements.recipes.stone_wall": { - "requirements": [ - [ - "has_stone_brick" - ] - ], + "minicraft.advancements.recipes.glass": { "criteria": { - "has_stone_brick": { + "has_sand": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Stone Brick" + "sand" ] } ] } - } - }, - "rewards": { - "recipes": { - "Stone Wall_1": [ - "Stone Brick_3" - ] - } - } - }, - "minicraft.advancements.recipes.string": { - "requirements": [ - [ - "has_white_wool" - ] - ], - "criteria": { - "has_white_wool": { + }, + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_sand", + "has_coal" + ] + ], "rewards": { "recipes": { - "string_2": [ - "WHITE Wool_1" - ] + "glass_1": ["sand_4", "coal_1"] } } }, - "minicraft.advancements.recipes.swim_potion": { - "requirements": [ - [ - "has_raw_fish", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.glass_bottle": { "criteria": { - "has_raw_fish": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - } - }, - "has_awkward_potion": { + "has_glass": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Awkward Potion" + "glass" ] } ] } } }, + "requirements": [ + [ + "has_glass" + ] + ], "rewards": { "recipes": { - "Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" - ] + "glass bottle_1": ["glass_3"] } } }, - "minicraft.advancements.recipes.tnt": { - "requirements": [ - [ - "has_sand", - "has_gunpowder" - ] - ], + "minicraft.advancements.recipes.cooked_pork": { "criteria": { - "has_sand": { + "has_pork": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Sand" + "raw pork" ] } ] } }, - "has_gunpowder": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gunpowder" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_pork", + "has_coal" + ] + ], "rewards": { "recipes": { - "Tnt_1": [ - "Sand_8", - "Gunpowder_10" - ] + "cooked pork_1": ["raw pork_1", "coal_1"] } } }, - "minicraft.advancements.recipes.torch": { - "requirements": [ - [ - "has_coal", - "has_wood" - ] - ], + "minicraft.advancements.recipes.steak": { "criteria": { - "has_coal": { + "has_beef": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Coal" + "raw beef" ] } ] } }, - "has_wood": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "coal" ] } ] } } }, + "requirements": [ + [ + "has_beef", + "has_coal" + ] + ], "rewards": { "recipes": { - "Torch_2": [ - "Coal_1", - "Wood_1" - ] + "steak_1": ["raw beef_1", "coal_1"] } } }, - "minicraft.advancements.recipes.totem_of_air": { - "requirements": [ - [ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ] - ], + "minicraft.advancements.recipes.cooked_fish": { "criteria": { - "has_gem": { + "has_fish": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "gem" + "raw fish" ] } ] } }, - "has_cloud_ore": { + "has_coal": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Cloud Ore" + "coal" ] } ] } - }, - "has_lapis": { + } + }, + "requirements": [ + [ + "has_fish", + "has_coal" + ] + ], + "rewards": { + "recipes": { + "cooked fish_1": ["raw fish_1", "coal_1"] + } + } + }, + "minicraft.advancements.recipes.bread": { + "criteria": { + "has_wheat": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Lapis" + "wheat" ] } ] } - }, - "has_gold": { + } + }, + "requirements": [ + [ + "has_wheat" + ] + ], + "rewards": { + "recipes": { + "bread_1": ["wheat_4"] + } + } + }, + "minicraft.advancements.recipes.baked_potato": { + "criteria": { + "has_potato": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Gold" + "potato" ] } ] } } }, + "requirements": [ + [ + "has_potato" + ] + ], "rewards": { "recipes": { - "Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "gem_10", - "Cloud Ore_5" - ] + "Baked Potato_1": ["Potato_1"] } } }, - "minicraft.advancements.recipes.white_bed": { - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], + "minicraft.advancements.recipes.golden_apple": { "criteria": { - "has_wood": { + "has_apple": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "apple" ] } ] } }, - "has_white_wool": { + "has_gold": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "gold" ] } ] } } }, + "requirements": [ + [ + "has_apple", + "has_gold" + ] + ], "rewards": { "recipes": { - "WHITE Bed_1": [ - "Wood_5", - "WHITE Wool_3" - ] + "Gold Apple_1": ["apple_1", "gold_8"] } } }, - "minicraft.advancements.recipes.white_dye": { - "requirements": [ - [ - "has_bone_meal" - ] - ], + "minicraft.advancements.recipes.awkward_potion": { "criteria": { - "has_bone_meal": { + "has_bottle": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Bone Meal" + "glass bottle" ] } ] } - } - }, - "rewards": { - "recipes": { - "WHITE Dye_1": [ - "Bone Meal_1" - ] - } - } - }, - "minicraft.advancements.recipes.white_wool": { - "requirements": [ - [ - "has_string" - ] - ], - "criteria": { - "has_string": { + }, + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "lapis" ] } ] } } }, + "requirements": [ + [ + "has_bottle", + "has_lapis" + ] + ], "rewards": { "recipes": { - "WHITE Wool_1": [ - "string_3" - ] + "awkward potion_1": ["glass bottle_1", "Lapis_3"] } } }, - "minicraft.advancements.recipes.wood_door": { - "requirements": [ - [ - "has_plank" - ] - ], + "minicraft.advancements.recipes.speed_potion": { "criteria": { - "has_plank": { + "has_awkward": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "awkward potion" + ] + } + ] + } + }, + "has_cactus": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Plank" + "cactus" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_cactus" + ] + ], "rewards": { "recipes": { - "Wood Door_1": [ - "Plank_5" - ] + "speed potion_1": ["awkward potion_1", "Cactus_5"] } } }, - "minicraft.advancements.recipes.wood_fishing_rod": { - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], + "minicraft.advancements.recipes.light_potion": { "criteria": { - "has_wood": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "awkward potion" ] } ] } }, - "has_string": { + "has_slime": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "slime" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_slime" + ] + ], "rewards": { "recipes": { - "Wood Fishing Rod_1": [ - "string_3", - "Wood_10" - ] + "light potion_1": ["awkward potion_1", "slime_5"] } } }, - "minicraft.advancements.recipes.wooden_axe": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.swim_potion": { "criteria": { - "has_wood": { + "has_awkward": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "awkward potion" + ] + } + ] + } + }, + "has_fish": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "raw fish" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_fish" + ] + ], "rewards": { "recipes": { - "Wood Axe_1": [ - "Wood_5" - ] + "swim potion_1": ["awkward potion_1", "raw fish_5"] } } }, - "minicraft.advancements.recipes.wooden_bow": { - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], + "minicraft.advancements.recipes.haste_potion": { "criteria": { - "has_wood": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "awkward potion" ] } ] } }, - "has_string": { + "has_wood": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "string" + "wood" ] } ] } - } - }, - "rewards": { - "recipes": { - "Wood Bow_1": [ - "string_2", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.wooden_hoe": { - "requirements": [ - [ - "has_wood" - ] - ], - "criteria": { - "has_wood": { + }, + "has_stone": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "stone" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_wood", + "has_stone" + ] + ], "rewards": { "recipes": { - "Wood Hoe_1": [ - "Wood_5" - ] + "haste potion_1": ["awkward potion_1", "Wood_5", "Stone_5"] } } }, - "minicraft.advancements.recipes.wooden_pickaxe": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.lava_potion": { "criteria": { - "has_wood": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "awkward potion" ] } ] } - } - }, - "rewards": { - "recipes": { - "Wood Pickaxe_1": [ - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.wooden_shovel": { - "requirements": [ - [ - "has_wood" - ] - ], - "criteria": { - "has_wood": { + }, + "has_lava_bucket": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "lava bucket" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_lava_bucket" + ] + ], "rewards": { "recipes": { - "Wood Shovel_1": [ - "Wood_5" - ] + "lava potion_1": ["awkward potion_1", "Lava Bucket_1"] } } }, - "minicraft.advancements.recipes.wooden_sword": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.energy_potion": { "criteria": { - "has_wood": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "awkward potion" ] } ] } - } - }, - "rewards": { - "recipes": { - "Wood Sword_1": [ - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.workbench": { - "requirements": [ - [ - "has_wood" - ] - ], - "criteria": { - "has_wood": { + }, + "has_gem": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gem" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_gem" + ] + ], "rewards": { "recipes": { - "Workbench_1": [ - "Wood_10" - ] + "energy potion_1": ["awkward potion_1", "gem_25"] } } }, - "minicraft.advancements.recipes.yellow_bed": { - "requirements": [ - [ - "has_yellow_wool", - "has_wood" - ] - ], + "minicraft.advancements.recipes.regen_potion": { "criteria": { - "has_yellow_wool": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Wool" + "awkward potion" ] } ] } }, - "has_wood": { + "has_golden_apple": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Wood" + "gold apple" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_golden_apple" + ] + ], "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Wool_3", - "Wood_5" - ] + "regen potion_1": ["awkward potion_1", "Gold Apple_1"] } } }, - "minicraft.advancements.recipes.yellow_bed_from_white_bed": { - "requirements": [ - [ - "has_white_bed", - "has_yellow_dye" - ] - ], + "minicraft.advancements.recipes.health_potion": { "criteria": { - "has_white_bed": { + "has_awkward": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "awkward potion" + ] + } + ] + } + }, + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Bed" + "gunpowder" ] } ] } }, - "has_yellow_dye": { + "has_leather_armor": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "leather armor" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_gunpowder", + "has_leather_armor" + ] + ], "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Dye_1", - "WHITE Bed_1" - ] + "Health potion_1": ["awkward potion_1", "GunPowder_2", "Leather Armor_1"] } } }, - "minicraft.advancements.recipes.yellow_clothes": { - "requirements": [ - [ - "has_cloth", - "has_flower" - ] - ], + "minicraft.advancements.recipes.escape_potion": { "criteria": { - "has_cloth": { + "has_awkward": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "cloth" + "awkward potion" ] } ] } }, - "has_flower": { + "has_gunpowder": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "gunpowder" ] } ] } - } - }, - "rewards": { - "recipes": { - "Yellow Clothes_1": [ - "Flower_1", - "cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.yellow_dye": { - "requirements": [ - [ - "has_flower" - ] - ], - "criteria": { - "has_flower": { + }, + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "Flower" + "lapis" ] } ] } } }, + "requirements": [ + [ + "has_awkward", + "has_gunpowder", + "has_lapis" + ] + ], "rewards": { "recipes": { - "YELLOW Dye_1": [ - "Flower_1" - ] + "Escape potion_1": ["awkward potion_1", "GunPowder_3", "Lapis_7"] } } }, - "minicraft.advancements.recipes.yellow_wool": { - "requirements": [ - [ - "has_white_wool", - "has_yellow_dye" - ] - ], + "minicraft.advancements.recipes.totem_of_air": { "criteria": { - "has_white_wool": { + "has_gold": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "gold potion" + ] + } + ] + } + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "gem" + ] + } + ] + } + }, + "has_lapis": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "WHITE Wool" + "lapis" ] } ] } }, - "has_yellow_dye": { + "has_cloud_ore": { "trigger": "inventory_changed", "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "cloud ore" ] } ] } } }, + "requirements": [ + [ + "has_gold", + "has_gem", + "has_lapis", + "has_cloud_ore" + ] + ], "rewards": { "recipes": { - "YELLOW Wool_1": [ - "YELLOW Dye_1", - "WHITE Wool_1" - ] + "Totem of Air_1": ["gold_10", "gem_10", "Lapis_5","Cloud Ore_5"] } } } From b113394e082edd52a3473316ecc1b6f35bbcf8be Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:59:53 +0800 Subject: [PATCH 27/59] Add number getters for Version --- src/client/java/minicraft/saveload/Version.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/java/minicraft/saveload/Version.java b/src/client/java/minicraft/saveload/Version.java index b388134be..057ffd51b 100644 --- a/src/client/java/minicraft/saveload/Version.java +++ b/src/client/java/minicraft/saveload/Version.java @@ -82,6 +82,11 @@ public int compareTo(@NotNull Version ov, boolean ignoreDev) { return 0; // The versions are equal. } + public int getMake() { return make; } + public int getMajor() { return major; } + public int getMinor() { return minor; } + public int getDev() { return dev; } + @Override public String toString() { return make + "." + major + "." + minor + (dev == 0 ? "" : "-dev" + dev); From b3841647b240c4f51a8afd9406bf88e8ca8329cc Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:00:15 +0800 Subject: [PATCH 28/59] Add world and preferences backups --- src/client/java/minicraft/saveload/Load.java | 88 +++++++++++++++++++ src/client/java/minicraft/saveload/Save.java | 31 +++++++ .../resources/assets/localization/en-us.json | 2 + 3 files changed, 121 insertions(+) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index efc17809a..c0f24ce99 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -3,6 +3,7 @@ import minicraft.core.Game; import minicraft.core.Updater; import minicraft.core.World; +import minicraft.core.io.FileHandler; import minicraft.core.io.Localization; import minicraft.core.io.Settings; import minicraft.entity.Arrow; @@ -59,6 +60,7 @@ import minicraft.screen.ResourcePackDisplay; import minicraft.screen.SkinDisplay; import minicraft.screen.TutorialDisplayHandler; +import minicraft.screen.WorldSelectDisplay; import minicraft.screen.entry.ListEntry; import minicraft.screen.entry.StringEntry; import minicraft.util.AdvancementElement; @@ -119,6 +121,87 @@ public Load(String worldname, boolean loadGame) { if (!loadGame) return; + // Is dev build + if (Game.VERSION.getDev() != 0 && worldVer.compareTo(Game.VERSION) < 0) { + Logging.SAVELOAD.info("Old world detected, backup prompting..."); + ArrayList entries = new ArrayList<>(); + entries.addAll(Arrays.asList(StringEntry.useLines(Color.WHITE, false, + Localization.getLocalized("minicraft.displays.save.popup_display.world_backup_prompt.msg", + worldVer, Game.VERSION)))); + entries.addAll(Arrays.asList(StringEntry.useLines("minicraft.display.popup.escape_cancel"))); + + AtomicBoolean acted = new AtomicBoolean(false); + AtomicBoolean continues = new AtomicBoolean(false); + AtomicBoolean doBackup = new AtomicBoolean(false); + + ArrayList callbacks = new ArrayList<>(); + callbacks.add(new PopupDisplay.PopupActionCallback("EXIT", m -> { + Game.exitDisplay(); + acted.set(true); + return true; + })); + + callbacks.add(new PopupDisplay.PopupActionCallback("ENTER|Y", m -> { + Game.exitDisplay(); + continues.set(true); + doBackup.set(true); + acted.set(true); + return true; + })); + + callbacks.add(new PopupDisplay.PopupActionCallback("N", m -> { + Game.exitDisplay(); + continues.set(true); + acted.set(true); + return true; + })); + + Game.setDisplay(new PopupDisplay(new PopupDisplay.PopupConfig( + "minicraft.displays.save.popup_display.world_backup_prompt", callbacks, 2), + entries.toArray(new ListEntry[0]))); + + while (true) { + if (acted.get()) { + if (continues.get()) { + if (doBackup.get()) { + Logging.SAVELOAD.info("Performing world backup..."); + int i = 0; + String filename = worldname; + File f = new File(location + "/saves/", filename); + while (f.exists()) { // Increments world name if world exists + i++; + filename = worldname + " (" + i + ")"; + f = new File(location + "/saves/", filename); + } + f.mkdirs(); + try { + FileHandler.copyFolderContents(Paths.get(location, "saves", worldname), + f.toPath(), FileHandler.SKIP, false); + } catch (IOException e) { + Logging.SAVELOAD.error(e, "Error occurs while performing world backup, loading aborted"); + throw new RuntimeException(new InterruptedException("World loading interrupted.")); + } + + Logging.SAVELOAD.info("World backup \"{}\" is created.", filename); + WorldSelectDisplay.updateWorlds(); + } else + Logging.SAVELOAD.warn("World backup is skipped."); + Logging.SAVELOAD.debug("World loading continues..."); + } else { + Logging.SAVELOAD.info("User cancelled world loading, loading aborted."); + throw new RuntimeException(new InterruptedException("World loading interrupted.")); + } + + break; + } + + try { + //noinspection BusyWait + Thread.sleep(10); + } catch (InterruptedException ignored) {} + } + } + if (worldVer.compareTo(new Version("1.9.2")) < 0) new LegacyLoad(worldname); else { @@ -189,6 +272,11 @@ public Load(String worldname, boolean loadGame) { break; } + + try { + //noinspection BusyWait + Thread.sleep(10); + } catch (InterruptedException ignored) {} } } } diff --git a/src/client/java/minicraft/saveload/Save.java b/src/client/java/minicraft/saveload/Save.java index b9a08424e..a96d70b55 100644 --- a/src/client/java/minicraft/saveload/Save.java +++ b/src/client/java/minicraft/saveload/Save.java @@ -46,6 +46,7 @@ import java.io.BufferedWriter; import java.io.File; +import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; @@ -118,6 +119,36 @@ public Save(String worldname) { */ public Save() { this(new File(Game.gameDir + "/")); + + if (Game.VERSION.getDev() != 0) { // Is dev build + Logging.SAVELOAD.debug("In dev build: Searching for old preferences..."); + Version prefVer; + File prefFile = new File(location, "Preferences.json"); // Only this is checked when checking existence. + File unlocFile = new File(location, "Unlocks.json"); + try { + JSONObject json = new JSONObject(Load.loadFromFile(location + "Preferences.json", false)); + prefVer = new Version(json.getString("version")); + } catch (FileNotFoundException e) { + Logging.SAVELOAD.debug("Preferences.json is not found, ignoring..."); + prefVer = null; + } catch (IOException e) { + Logging.SAVELOAD.error(e, "Unable to load Preferences.json, saving aborted"); + return; + } + + if (prefVer != null && prefVer.compareTo(Game.VERSION) < 0) { + Logging.SAVELOAD.info("Old preferences detected, backup performing..."); + File prefBackupFile = new File(location + "Preferences.json.bak"); + if (prefBackupFile.exists()) Logging.SAVELOAD.info("Overwriting old Preferences.json backup..."); + if (prefBackupFile.delete()) Logging.SAVELOAD.trace("Preferences.json.bak is deleted."); + if (prefFile.renameTo(prefBackupFile)) Logging.SAVELOAD.trace("Preferences.json is renamed to Preferences.json.bak"); + File unlocBackupFile = new File(location + "Unlocks.json.bak"); + if (unlocBackupFile.exists()) Logging.SAVELOAD.info("Overwriting old Unlocks.json backup..."); + if (unlocBackupFile.delete()) Logging.SAVELOAD.trace("Unlocks.json.bak is deleted."); + if (unlocFile.renameTo(unlocBackupFile)) Logging.SAVELOAD.trace("Unlocks.json is renamed to Unlocks.json.bak"); + } + } + Logging.SAVELOAD.debug("Writing preferences and unlocks..."); writePrefs(); writeUnlocks(); diff --git a/src/client/resources/assets/localization/en-us.json b/src/client/resources/assets/localization/en-us.json index e10178853..15e918460 100644 --- a/src/client/resources/assets/localization/en-us.json +++ b/src/client/resources/assets/localization/en-us.json @@ -175,6 +175,8 @@ "minicraft.displays.resource_packs.display.help.position": "SHIFT-[LEFT|RIGHT|UP|DOWN] to move packs. ", "minicraft.displays.resource_packs.display.help.select": "%s to examine.", "minicraft.displays.resource_packs.display.title": "Resource Packs", + "minicraft.displays.save.popup_display.world_backup_prompt": "World Backup Prompt", + "minicraft.displays.save.popup_display.world_backup_prompt.msg": "The world is on version %s while you are on version %s. You are advised to perform a backup in case of irreversible world corruption. Should you like to perform a backup before continuing? (Y|N)", "minicraft.displays.skin": "Skins", "minicraft.displays.skin.display.help.move": "Use %s and %s to move.", "minicraft.displays.skin.display.help.select": "%s to select, and %s to cancel.", From 67568365e0084a40dd154dc5f4ec71894e6d8250 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:25:43 +0800 Subject: [PATCH 29/59] Delete bed.png It is no longer used. --- src/client/resources/assets/textures/item/bed.png | Bin 196 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/client/resources/assets/textures/item/bed.png diff --git a/src/client/resources/assets/textures/item/bed.png b/src/client/resources/assets/textures/item/bed.png deleted file mode 100644 index e4302e6653dd18e99663b94f123d1d9a27895020..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 196 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!AMUR#}JL++9qHw;LUF2ni9 z`8iF5b>F^y1(pUszQ4a;FH!g9gjuR(OHa?wkz(!%h#EFfY0vKZsPFDBd nprv$gqV3JJ0#*()W@ZMVuj;Ou2H_ilmN0m_`njxgN@xNA9JW87 From c82a951f46ddf6f06696e882836293eb539514e7 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:58:01 +0800 Subject: [PATCH 30/59] Fix spacings in Tiles.java --- .../java/minicraft/level/tile/Tiles.java | 108 +++++++++--------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/src/client/java/minicraft/level/tile/Tiles.java b/src/client/java/minicraft/level/tile/Tiles.java index 41facc2c1..054a9f55f 100644 --- a/src/client/java/minicraft/level/tile/Tiles.java +++ b/src/client/java/minicraft/level/tile/Tiles.java @@ -35,66 +35,66 @@ public static void initTileList() { // This is out of order because of lava buckets tiles.put((short) 17, new LavaTile("Lava")); - tiles.put((short)7, new RockTile("Rock")); - tiles.put((short)8, new TreeTile("Tree")); - tiles.put((short)9, new SaplingTile("Tree Sapling", Tiles.get("Grass"), Tiles.get("Tree"))); - tiles.put((short)10, new SandTile("Sand")); - tiles.put((short)11, new CactusTile("Cactus")); - tiles.put((short)12, new SaplingTile("Cactus Sapling", Tiles.get("Sand"), Tiles.get("Cactus"))); - tiles.put((short)13, new OreTile(OreTile.OreType.Iron)); - tiles.put((short)14, new OreTile(OreTile.OreType.Gold)); - tiles.put((short)15, new OreTile(OreTile.OreType.Gem)); - tiles.put((short)16, new OreTile(OreTile.OreType.Lapis)); - - tiles.put((short)18, new LavaBrickTile("Lava Brick")); - tiles.put((short)19, new ExplodedTile("Explode")); - tiles.put((short)20, new FarmTile("Farmland")); - tiles.put((short)21, new WheatTile("Wheat")); - tiles.put((short)22, new HardRockTile("Hard Rock")); - tiles.put((short)23, new InfiniteFallTile("Infinite Fall")); - tiles.put((short)24, new CloudTile("Cloud")); - tiles.put((short)25, new OreTile(OreTile.OreType.Cloud)); - tiles.put((short)26, new DoorTile(Tile.Material.Wood)); - tiles.put((short)27, new DoorTile(Tile.Material.Stone)); - tiles.put((short)28, new DoorTile(Tile.Material.Obsidian)); - tiles.put((short)29, new FloorTile(Tile.Material.Wood)); - tiles.put((short)30, new FloorTile(Tile.Material.Stone)); - tiles.put((short)31, new FloorTile(Tile.Material.Obsidian)); - tiles.put((short)32, new WallTile(Tile.Material.Wood)); - tiles.put((short)33, new WallTile(Tile.Material.Stone)); - tiles.put((short)34, new WallTile(Tile.Material.Obsidian)); - tiles.put((short)35, new WoolTile(DyeItem.DyeColor.WHITE)); + tiles.put((short) 7, new RockTile("Rock")); + tiles.put((short) 8, new TreeTile("Tree")); + tiles.put((short) 9, new SaplingTile("Tree Sapling", Tiles.get("Grass"), Tiles.get("Tree"))); + tiles.put((short) 10, new SandTile("Sand")); + tiles.put((short) 11, new CactusTile("Cactus")); + tiles.put((short) 12, new SaplingTile("Cactus Sapling", Tiles.get("Sand"), Tiles.get("Cactus"))); + tiles.put((short) 13, new OreTile(OreTile.OreType.Iron)); + tiles.put((short) 14, new OreTile(OreTile.OreType.Gold)); + tiles.put((short) 15, new OreTile(OreTile.OreType.Gem)); + tiles.put((short) 16, new OreTile(OreTile.OreType.Lapis)); + + tiles.put((short) 18, new LavaBrickTile("Lava Brick")); + tiles.put((short) 19, new ExplodedTile("Explode")); + tiles.put((short) 20, new FarmTile("Farmland")); + tiles.put((short) 21, new WheatTile("Wheat")); + tiles.put((short) 22, new HardRockTile("Hard Rock")); + tiles.put((short) 23, new InfiniteFallTile("Infinite Fall")); + tiles.put((short) 24, new CloudTile("Cloud")); + tiles.put((short) 25, new OreTile(OreTile.OreType.Cloud)); + tiles.put((short) 26, new DoorTile(Tile.Material.Wood)); + tiles.put((short) 27, new DoorTile(Tile.Material.Stone)); + tiles.put((short) 28, new DoorTile(Tile.Material.Obsidian)); + tiles.put((short) 29, new FloorTile(Tile.Material.Wood)); + tiles.put((short) 30, new FloorTile(Tile.Material.Stone)); + tiles.put((short) 31, new FloorTile(Tile.Material.Obsidian)); + tiles.put((short) 32, new WallTile(Tile.Material.Wood)); + tiles.put((short) 33, new WallTile(Tile.Material.Stone)); + tiles.put((short) 34, new WallTile(Tile.Material.Obsidian)); + tiles.put((short) 35, new WoolTile(DyeItem.DyeColor.WHITE)); // These are out of order because of the changes on wool and color system. tiles.put((short) 37, new WoolTile(DyeItem.DyeColor.RED)); tiles.put((short) 38, new WoolTile(DyeItem.DyeColor.BLUE)); tiles.put((short) 39, new WoolTile(DyeItem.DyeColor.GREEN)); tiles.put((short) 40, new WoolTile(DyeItem.DyeColor.YELLOW)); tiles.put((short) 41, new WoolTile(DyeItem.DyeColor.BLACK)); - tiles.put((short)54, new WoolTile(DyeItem.DyeColor.BROWN)); - tiles.put((short)55, new WoolTile(DyeItem.DyeColor.PURPLE)); - tiles.put((short)56, new WoolTile(DyeItem.DyeColor.CYAN)); - tiles.put((short)57, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); - tiles.put((short)58, new WoolTile(DyeItem.DyeColor.GRAY)); - tiles.put((short)59, new WoolTile(DyeItem.DyeColor.PINK)); - tiles.put((short)60, new WoolTile(DyeItem.DyeColor.LIME)); - tiles.put((short)61, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); - tiles.put((short)62, new WoolTile(DyeItem.DyeColor.MAGENTA)); - tiles.put((short)63, new WoolTile(DyeItem.DyeColor.ORANGE)); - - tiles.put((short)36, new PathTile("Path")); - - tiles.put((short)42, new PotatoTile("Potato")); - tiles.put((short)43, new MaterialTile(Tile.Material.Stone)); - tiles.put((short)44, new MaterialTile(Tile.Material.Obsidian)); - tiles.put((short)45, new DecorTile(Tile.Material.Stone)); - tiles.put((short)46, new DecorTile(Tile.Material.Obsidian)); - tiles.put((short)47, new BossWallTile()); - tiles.put((short)48, new BossFloorTile()); - tiles.put((short)49, new BossDoorTile()); - tiles.put((short)50, new TomatoTile("Tomato")); - tiles.put((short)51, new CarrotTile("Carrot")); - tiles.put((short)52, new HeavenlyBerriesTile("Heavenly Berries")); - tiles.put((short)53, new HellishBerriesTile("Hellish Berries")); + tiles.put((short) 54, new WoolTile(DyeItem.DyeColor.BROWN)); + tiles.put((short) 55, new WoolTile(DyeItem.DyeColor.PURPLE)); + tiles.put((short) 56, new WoolTile(DyeItem.DyeColor.CYAN)); + tiles.put((short) 57, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); + tiles.put((short) 58, new WoolTile(DyeItem.DyeColor.GRAY)); + tiles.put((short) 59, new WoolTile(DyeItem.DyeColor.PINK)); + tiles.put((short) 60, new WoolTile(DyeItem.DyeColor.LIME)); + tiles.put((short) 61, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); + tiles.put((short) 62, new WoolTile(DyeItem.DyeColor.MAGENTA)); + tiles.put((short) 63, new WoolTile(DyeItem.DyeColor.ORANGE)); + + tiles.put((short) 36, new PathTile("Path")); + + tiles.put((short) 42, new PotatoTile("Potato")); + tiles.put((short) 43, new MaterialTile(Tile.Material.Stone)); + tiles.put((short) 44, new MaterialTile(Tile.Material.Obsidian)); + tiles.put((short) 45, new DecorTile(Tile.Material.Stone)); + tiles.put((short) 46, new DecorTile(Tile.Material.Obsidian)); + tiles.put((short) 47, new BossWallTile()); + tiles.put((short) 48, new BossFloorTile()); + tiles.put((short) 49, new BossDoorTile()); + tiles.put((short) 50, new TomatoTile("Tomato")); + tiles.put((short) 51, new CarrotTile("Carrot")); + tiles.put((short) 52, new HeavenlyBerriesTile("Heavenly Berries")); + tiles.put((short) 53, new HellishBerriesTile("Hellish Berries")); // WARNING: don't use this tile for anything! tiles.put((short) 255, new ConnectTile()); From a0a84bdf02fa5594c7e95cbed8124208decbea69 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:57:22 +0800 Subject: [PATCH 31/59] Remove Version#get...() --- src/client/java/minicraft/saveload/Load.java | 2 +- src/client/java/minicraft/saveload/Version.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index c0f24ce99..5e0100013 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -122,7 +122,7 @@ public Load(String worldname, boolean loadGame) { if (!loadGame) return; // Is dev build - if (Game.VERSION.getDev() != 0 && worldVer.compareTo(Game.VERSION) < 0) { + if (Game.VERSION.isDev() && worldVer.compareTo(Game.VERSION) < 0) { Logging.SAVELOAD.info("Old world detected, backup prompting..."); ArrayList entries = new ArrayList<>(); entries.addAll(Arrays.asList(StringEntry.useLines(Color.WHITE, false, diff --git a/src/client/java/minicraft/saveload/Version.java b/src/client/java/minicraft/saveload/Version.java index 057ffd51b..615d3d568 100644 --- a/src/client/java/minicraft/saveload/Version.java +++ b/src/client/java/minicraft/saveload/Version.java @@ -82,10 +82,9 @@ public int compareTo(@NotNull Version ov, boolean ignoreDev) { return 0; // The versions are equal. } - public int getMake() { return make; } - public int getMajor() { return major; } - public int getMinor() { return minor; } - public int getDev() { return dev; } + public boolean isDev() { + return dev != 0; + } @Override public String toString() { From 399aa57bfb08b454b62a07559f85213f76f75972 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:59:35 +0800 Subject: [PATCH 32/59] Resolve removal error --- src/client/java/minicraft/saveload/Save.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/java/minicraft/saveload/Save.java b/src/client/java/minicraft/saveload/Save.java index a96d70b55..fb01cde17 100644 --- a/src/client/java/minicraft/saveload/Save.java +++ b/src/client/java/minicraft/saveload/Save.java @@ -120,7 +120,7 @@ public Save(String worldname) { public Save() { this(new File(Game.gameDir + "/")); - if (Game.VERSION.getDev() != 0) { // Is dev build + if (Game.VERSION.isDev()) { // Is dev build Logging.SAVELOAD.debug("In dev build: Searching for old preferences..."); Version prefVer; File prefFile = new File(location, "Preferences.json"); // Only this is checked when checking existence. From 1d9ba2207617ed3f367b3f86cb2ca097f9ca11d9 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:44:26 +0800 Subject: [PATCH 33/59] World generation for new flower variants --- src/client/java/minicraft/level/LevelGen.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/java/minicraft/level/LevelGen.java b/src/client/java/minicraft/level/LevelGen.java index 579a13147..ae858e48e 100644 --- a/src/client/java/minicraft/level/LevelGen.java +++ b/src/client/java/minicraft/level/LevelGen.java @@ -3,6 +3,7 @@ import minicraft.core.Game; import minicraft.core.io.Settings; import minicraft.gfx.Rectangle; +import minicraft.level.tile.FlowerTile; import minicraft.level.tile.Tiles; import minicraft.screen.RelPos; import org.jetbrains.annotations.Nullable; @@ -422,14 +423,14 @@ private static short[][] createTopMap(int w, int h) { // Create surface map for (int i = 0; i < w * h / 400; i++) { int x = random.nextInt(w); int y = random.nextInt(h); - int col = random.nextInt(4); + int col = random.nextInt(4) * random.nextInt(4); for (int j = 0; j < 30; j++) { int xx = x + random.nextInt(5) - random.nextInt(5); int yy = y + random.nextInt(5) - random.nextInt(5); if (xx >= 0 && yy >= 0 && xx < w && yy < h) { if (map[xx + yy * w] == Tiles.get("grass").id) { map[xx + yy * w] = Tiles.get("flower").id; - data[xx + yy * w] = (short) (col + random.nextInt(4) * 16); // Data determines which way the flower faces + data[xx + yy * w] = (short) (col + random.nextInt(3)); // Data determines what the flower is } } } From 4ff39c30c47765d837073856c8c1fa99c96667ba Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:47:10 +0800 Subject: [PATCH 34/59] Fix flower problems Flower item tile model unmatched Flower loading old worlds not resolved, fallen back to daisy by default --- src/client/java/minicraft/item/TileItem.java | 38 +++++++++---------- .../java/minicraft/saveload/LegacyLoad.java | 2 +- src/client/java/minicraft/saveload/Load.java | 10 +++-- 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/src/client/java/minicraft/item/TileItem.java b/src/client/java/minicraft/item/TileItem.java index eaab91e80..c743c0062 100644 --- a/src/client/java/minicraft/item/TileItem.java +++ b/src/client/java/minicraft/item/TileItem.java @@ -79,25 +79,25 @@ protected static ArrayList getAllInstances() { }), solidTiles)); Function flowerModelGenerator = variant -> (model1, target, level, xt, yt, player, attackDir) -> variant.ordinal(); - items.add(new TileItem("Rose", new LinkedSprite(SpriteType.Item, "rose"), new TileModel("rose", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ROSE)), "grass")); - items.add(new TileItem("Oxeye Daisy", new LinkedSprite(SpriteType.Item, "oxeye_daisy"), new TileModel("oxeye daisy", flowerModelGenerator.apply(FlowerTile.FlowerVariant.OXEYE_DAISY)), "grass")); - items.add(new TileItem("Sunflower", new LinkedSprite(SpriteType.Item, "sunflower"), new TileModel("sunflower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.SUNFLOWER)), "grass")); - items.add(new TileItem("Allium", new LinkedSprite(SpriteType.Item, "allium"), new TileModel("allium", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ALLIUM)), "grass")); - items.add(new TileItem("Blue Orchid", new LinkedSprite(SpriteType.Item, "blue_orchid"), new TileModel("blue orchid", flowerModelGenerator.apply(FlowerTile.FlowerVariant.BLUE_ORCHID)), "grass")); - items.add(new TileItem("Cornflower", new LinkedSprite(SpriteType.Item, "cornflower"), new TileModel("cornflower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.CORNFLOWER)), "grass")); - items.add(new TileItem("Dandelion", new LinkedSprite(SpriteType.Item, "dandelion"), new TileModel("dandelion", flowerModelGenerator.apply(FlowerTile.FlowerVariant.DANDELION)), "grass")); - items.add(new TileItem("Hydrangea", new LinkedSprite(SpriteType.Item, "hydrangea"), new TileModel("hydrangea", flowerModelGenerator.apply(FlowerTile.FlowerVariant.HYDRANGEA)), "grass")); - items.add(new TileItem("Iris", new LinkedSprite(SpriteType.Item, "iris"), new TileModel("iris", flowerModelGenerator.apply(FlowerTile.FlowerVariant.IRIS)), "grass")); - items.add(new TileItem("Orange Tulip", new LinkedSprite(SpriteType.Item, "orange_tulip"), new TileModel("orange tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ORANGE_TULIP)), "grass")); - items.add(new TileItem("Pink Tulip", new LinkedSprite(SpriteType.Item, "pink_tulip"), new TileModel("pink tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_TULIP)), "grass")); - items.add(new TileItem("Red Tulip", new LinkedSprite(SpriteType.Item, "red_tulip"), new TileModel("red tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.RED_TULIP)), "grass")); - items.add(new TileItem("White Tulip", new LinkedSprite(SpriteType.Item, "white_tulip"), new TileModel("white tulip", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_TULIP)), "grass")); - items.add(new TileItem("Peony", new LinkedSprite(SpriteType.Item, "peony"), new TileModel("peony", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PEONY)), "grass")); - items.add(new TileItem("Periwinkle", new LinkedSprite(SpriteType.Item, "periwinkle"), new TileModel("periwinkle", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PERIWINKLE)), "grass")); - items.add(new TileItem("Pink Lily", new LinkedSprite(SpriteType.Item, "pink_lily"), new TileModel("pink lily", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_LILY)), "grass")); - items.add(new TileItem("White Lily", new LinkedSprite(SpriteType.Item, "white_lily"), new TileModel("white lily", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_LILY)), "grass")); - items.add(new TileItem("Poppy", new LinkedSprite(SpriteType.Item, "poppy"), new TileModel("poppy", flowerModelGenerator.apply(FlowerTile.FlowerVariant.POPPY)), "grass")); - items.add(new TileItem("Violet", new LinkedSprite(SpriteType.Item, "violet"), new TileModel("violet", flowerModelGenerator.apply(FlowerTile.FlowerVariant.VIOLET)), "grass")); + items.add(new TileItem("Rose", new LinkedSprite(SpriteType.Item, "rose"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ROSE)), "grass")); + items.add(new TileItem("Oxeye Daisy", new LinkedSprite(SpriteType.Item, "oxeye_daisy"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.OXEYE_DAISY)), "grass")); + items.add(new TileItem("Sunflower", new LinkedSprite(SpriteType.Item, "sunflower"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.SUNFLOWER)), "grass")); + items.add(new TileItem("Allium", new LinkedSprite(SpriteType.Item, "allium"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ALLIUM)), "grass")); + items.add(new TileItem("Blue Orchid", new LinkedSprite(SpriteType.Item, "blue_orchid"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.BLUE_ORCHID)), "grass")); + items.add(new TileItem("Cornflower", new LinkedSprite(SpriteType.Item, "cornflower"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.CORNFLOWER)), "grass")); + items.add(new TileItem("Dandelion", new LinkedSprite(SpriteType.Item, "dandelion"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.DANDELION)), "grass")); + items.add(new TileItem("Hydrangea", new LinkedSprite(SpriteType.Item, "hydrangea"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.HYDRANGEA)), "grass")); + items.add(new TileItem("Iris", new LinkedSprite(SpriteType.Item, "iris"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.IRIS)), "grass")); + items.add(new TileItem("Orange Tulip", new LinkedSprite(SpriteType.Item, "orange_tulip"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.ORANGE_TULIP)), "grass")); + items.add(new TileItem("Pink Tulip", new LinkedSprite(SpriteType.Item, "pink_tulip"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_TULIP)), "grass")); + items.add(new TileItem("Red Tulip", new LinkedSprite(SpriteType.Item, "red_tulip"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.RED_TULIP)), "grass")); + items.add(new TileItem("White Tulip", new LinkedSprite(SpriteType.Item, "white_tulip"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_TULIP)), "grass")); + items.add(new TileItem("Peony", new LinkedSprite(SpriteType.Item, "peony"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PEONY)), "grass")); + items.add(new TileItem("Periwinkle", new LinkedSprite(SpriteType.Item, "periwinkle"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PERIWINKLE)), "grass")); + items.add(new TileItem("Pink Lily", new LinkedSprite(SpriteType.Item, "pink_lily"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.PINK_LILY)), "grass")); + items.add(new TileItem("White Lily", new LinkedSprite(SpriteType.Item, "white_lily"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.WHITE_LILY)), "grass")); + items.add(new TileItem("Poppy", new LinkedSprite(SpriteType.Item, "poppy"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.POPPY)), "grass")); + items.add(new TileItem("Violet", new LinkedSprite(SpriteType.Item, "violet"), new TileModel("flower", flowerModelGenerator.apply(FlowerTile.FlowerVariant.VIOLET)), "grass")); // Creative mode available tiles: items.add(new TileItem("Farmland", SpriteLinker.missingTexture(SpriteType.Item), new TileModel("farmland"), "dirt", "grass", "hole")); diff --git a/src/client/java/minicraft/saveload/LegacyLoad.java b/src/client/java/minicraft/saveload/LegacyLoad.java index f0b391802..355606072 100644 --- a/src/client/java/minicraft/saveload/LegacyLoad.java +++ b/src/client/java/minicraft/saveload/LegacyLoad.java @@ -231,7 +231,7 @@ public void loadWorld(String filename) { for (int y = 0; y < lvlh - 1; y++) { int tileArrIdx = y + x * lvlw; int tileidx = x + y * lvlw; // The tiles are saved with x outer loop, and y inner loop, meaning that the list reads down, then right one, rather than right, then down one. - Load.loadTile(tiles, tdata, tileArrIdx, Tiles.oldids.get(Integer.parseInt(data.get(tileidx + 3))), + Load.loadTile(worldVer, tiles, tdata, tileArrIdx, Tiles.oldids.get(Integer.parseInt(data.get(tileidx + 3))), extradata.get(tileidx)); } } diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index 817feb2d9..a521632be 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -678,7 +678,7 @@ private void loadWorld(String filename) { } } - loadTile(tiles, tdata, tileArrIdx, tilename, extradata.get(tileidx)); + loadTile(worldVer, tiles, tdata, tileArrIdx, tilename, extradata.get(tileidx)); } } @@ -780,14 +780,18 @@ private void loadWorld(String filename) { private static final Pattern OLD_TORCH_TILE_REGEX = Pattern.compile("TORCH ([\\w ]+)"); - public static void loadTile(short[] tiles, short[] data, int idx, String tileName, String tileData) { + public static void loadTile(Version worldVer, short[] tiles, short[] data, int idx, String tileName, String tileData) { Matcher matcher; if ((matcher = OLD_TORCH_TILE_REGEX.matcher(tileName.toUpperCase())).matches()) { tiles[idx] = 57; // ID of TORCH tile data[idx] = Tiles.get(matcher.group(1)).id; } else { tiles[idx] = Tiles.get(tileName).id; - data[idx] = Short.parseShort(tileData); + if (worldVer.compareTo(new Version("2.2.0")) <= 0 && tileName.equalsIgnoreCase("FLOWER")) { + data[idx] = 0; + } else { + data[idx] = Short.parseShort(tileData); + } } } From f720e23fec93c1d370530765b956789b1d891073 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 24 May 2024 20:24:45 +0800 Subject: [PATCH 35/59] Update texture of colored beds --- .../assets/textures/entity/black_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/blue_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/brown_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/cyan_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/gray_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/green_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/light_blue_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/light_gray_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/lime_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/magenta_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/orange_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/pink_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/purple_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/red_bed.png | Bin 242 -> 285 bytes .../assets/textures/entity/white_bed.png | Bin 238 -> 281 bytes .../assets/textures/entity/yellow_bed.png | Bin 242 -> 285 bytes .../assets/textures/item/black_bed.png | Bin 197 -> 222 bytes .../resources/assets/textures/item/blue_bed.png | Bin 197 -> 229 bytes .../assets/textures/item/brown_bed.png | Bin 197 -> 227 bytes .../resources/assets/textures/item/cyan_bed.png | Bin 197 -> 229 bytes .../resources/assets/textures/item/gray_bed.png | Bin 197 -> 227 bytes .../assets/textures/item/green_bed.png | Bin 197 -> 224 bytes .../assets/textures/item/light_blue_bed.png | Bin 197 -> 228 bytes .../assets/textures/item/light_gray_bed.png | Bin 197 -> 229 bytes .../resources/assets/textures/item/lime_bed.png | Bin 197 -> 226 bytes .../assets/textures/item/magenta_bed.png | Bin 197 -> 229 bytes .../assets/textures/item/orange_bed.png | Bin 197 -> 228 bytes .../resources/assets/textures/item/pink_bed.png | Bin 197 -> 228 bytes .../assets/textures/item/purple_bed.png | Bin 197 -> 229 bytes .../resources/assets/textures/item/red_bed.png | Bin 197 -> 228 bytes .../assets/textures/item/white_bed.png | Bin 185 -> 226 bytes .../assets/textures/item/yellow_bed.png | Bin 197 -> 229 bytes 32 files changed, 0 insertions(+), 0 deletions(-) diff --git a/src/client/resources/assets/textures/entity/black_bed.png b/src/client/resources/assets/textures/entity/black_bed.png index 971e271666aff5a5e78918c9780e7a0a2349cb60..3b5a3fbba51862d9ae72ec985e777d2205013dd0 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a)+$MMX6sArW3aei<1>B_%aUNf{Fp3l$ZO z`UFEA9Rm>&v7T%*1_lQ4t-Fr{DZ!E;zu^C9fI)Tb%p{;BXMsm#F#`kNArNL1)$nQn z3Wj;QIEH8h=bpXE*Py@?>k=4qW9_&9`@^h-wG8jEADS~k;LGKPgojNhc_lYQ2(M{4 zo7k^m`6TGoWaqrQUhT|f+u0fN4weZ#WNxld$~*8|{o$e3=k{k--t+F`ne~i&?RKCQ N44$rjF6*2UngA+sU0?tJ delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oB$I8MkDk7<(tf8i^CnvAWz`$_j#S3O2#aR;M z7yKUz7=ryPgg}A?9+AZi419+{nDKc2iWH!rx2KC^h(>T}x1&&l0S9yN))W8Za}Hbx zll|^gmfo;`MT1J)p4=rD>zKZ&)QR*NrLcTqNfbTPqquF){O#cj&VTs8mBN|Swz0%6 c@#tTspJA+5*;H810nKIbboFyt=akR{0F7lxJOBUy diff --git a/src/client/resources/assets/textures/entity/blue_bed.png b/src/client/resources/assets/textures/entity/blue_bed.png index f1055648778110113e38099ed46783c6bdd29c59..8a8e0db37bb80c6cb62c57c41093e8143320aa5a 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a)+$C%<{>#+`~9$rjEtjqPV^na{NJ*{W+j zyFS6tz;Ugr(Zrr?GX@3*>wCBE0x7|gAiv=MXn;X=?aU;gBxiv~WHAE+-yslY6xHx* z01AeAx;Tbt1m~W;$=9I36YCNfb7Sqd|NFzNg|!Utu^*Zq@(z{>JY;UJP|7>-Tm9jo*5~$TR^IdO+G delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oBr=T5Y=C#l@a<5(PA={uW3=9mvR c#G`+ieulALWm9222Q-(#)78&qol`;+0FVMpbpQYW diff --git a/src/client/resources/assets/textures/entity/brown_bed.png b/src/client/resources/assets/textures/entity/brown_bed.png index 3b387a87bc7ef2e119a29e28c1c03c4f02f0a771..aeb9e33da6d262f89865b6f1a7617694b6e08210 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);MTqm_?b9r}t*#ryOG%ML;E4eBcrEDAd z`UJyL7v%&?`JQYu1_lOIvpKVYlwe7aU+{l4z@WNzW)e`6v%n*=n1O-s5C}7hYIrpO z1;adD978mMbI;!7Yf#{cbqS2QvG&{l{bAO^T88)756zh%@a1wt!o#MMypkItgx55j zP3+gOd=m6(vUA>DuXg6L?d%MB2g?K=GB;N!Qf delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oB7iKJ%Vk6fZWjZ6-t|?HDfq}s|{K{=0#aR;M z7yKUz7=ryPgg}A?9+AZi419+{nDKc2iWH!rx2KC^h(>T}x1&&l0S9yN))W8Za}Hbx zll|^gmfo;`MT1J)p4=rD>zKZ&)QR*NrLcTqNfbTPqquF){O#cj&VTs8mBN|Swz0%6 c@#tTspJA+5*;H810nKIbboFyt=akR{05_CM?EnA( diff --git a/src/client/resources/assets/textures/entity/cyan_bed.png b/src/client/resources/assets/textures/entity/cyan_bed.png index 940f59bc24bb7297ac7e6e98c9c62b022b09475f..49eb6e7821213e3fb243d5f16af9cddedde60d82 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a)+$rQV6$xkW6Yk)l=gVjVpK)%9ZY77KRu z)h8J8PnpTn+}@LI#=yWZZ*9K|kP<8j@(cct1{hS=&P)PIau#?*7BevL9RguSQ4OyK zpkSD%i(`mJaPHZgd<_abu`YozH`adpzdy`cSj+Gp`=L1#1ioBuNO;(El2>v=gz%b% zvx)s0mQR9SO?J+^>($O&ww;|J?_in0L+0iRrMv^b)gK;eeQtkd|Yh*KP+| O!QkoY=d#Wzp$PzBMr3aQ delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oB$KmGApOG#!XO7s)l|oaeGB7YOrNs0BDbA80 zzu^B+z!2lBSEK+1y**tVLo|X*yB&oZ3^r~Y=5G&QaQ?#wt`yFswv8or ciAVo3{S0Hh%BI444rnfer>mdKI;Vst02Gu;ssI20 diff --git a/src/client/resources/assets/textures/entity/gray_bed.png b/src/client/resources/assets/textures/entity/gray_bed.png index c309fadc87dd8679870e60e2d4abbb864b9c2ae2..fb68263c8cfaff7aeb86b91be30edb0c45516c87 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a)+$10z!{T>~W*H3Jh1D?2AcQwuNu5L-u= z`UFE4Pal0_)1GWI1_p+|!MB-!lwe7aU+{l4z@WNzW)e`6v%n*=n1O-s5C}7hYIrpO z1;adD978mMbI;!7Yf#{cbqS2QvG&{l{bAO^T88)756zh%@a1wt!o#MMypkItgx55j zP3+gOd=m6(vUA>DuXg6L?d%MB2g?K=GB;N!M1MG8>R+tbA{L?gJg+fk^&fP*=B>xuvIIR`F; z$$ob#OK;e}qCur?PwtY7bxhw>>O}gCQdqvQB#NHtQQWp?{`T+%=RbVlO5sdu+gM_k cc=RvR&oI`jY$~khfaWrIy85}Sb4q9e0Hjz;od5s; diff --git a/src/client/resources/assets/textures/entity/green_bed.png b/src/client/resources/assets/textures/entity/green_bed.png index ebec65363b97a3e981925b7bc4c768d7f2b7486b..12bfbfa2aa7b97f332a881dfdb500673b7f2cd0c 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a)+$|7>38NC9Ife%}m!?_?pjIDzDPnZOLu z`UJ!1QYo)E>7Hye1_p-m6Nkfrlwe7aU+{l4z@WNzW)e`6v%n*=n1O-s5C}7hYIrpO z1;adD978mMbI;!7Yf#{cbqS2QvG&{l{bAO^T88)756zh%@a1wt!o#MMypkItgx55j zP3+gOd=m6(vUA>DuXg6L?d%MB2g?K=GB;N!M1MG8>R+tbA{L?gJg+fk^&fP*=B>xuvIIR`F; z$$ob#OK;e}qCur?PwtY7bxhw>>O}gCQdqvQB#NHtQQWp?{`T+%=RbVlO5sdu+gM_k cc=RvR&oI`jY$~khfaWrIy85}Sb4q9e0FL@e&j0`b diff --git a/src/client/resources/assets/textures/entity/light_blue_bed.png b/src/client/resources/assets/textures/entity/light_blue_bed.png index 540481e72911dca3ae4211c7d2cc5a3ade1e38ca..6899b704f40ed630708bc8641f75cf607fd79c73 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);M#&hrOmR&QMb29(%i-3J^y|%qbKlVOk z*VFn0!{mc+UDrS8$u?tPVCa5vVk*_(U~3OuncfiXAMe*3>a%vxB>@E-f2ITHlFTy98s*mROtazljh znufE9{Th}}f?iE_&b#Z?&Rn*gogwdFnZQHl<_e{}1HaWD9%_AVe`e)9?>?Sc&$!oa Q2U@}4>FVdQ&MBb@09kZx{{R30 delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oBCzd`>q4k)?{3`})?kaSjVPIeoDO_y=q&Q20 z{DS{O0Yk8Vg%C)vz$3Dlfr0NZ2s0kfUy%Y7^!9Xd4ABTK?RFGuFyLSg-g@GHe9nOj zVY1(y%F-M5uV_$d+mpNGVja^rl{%3=qZF1eEQz9LdK9zopr08$uCt^fc4 diff --git a/src/client/resources/assets/textures/entity/light_gray_bed.png b/src/client/resources/assets/textures/entity/light_gray_bed.png index 6c72df93e0c29acb817ab27882137d071d717be8..7047583ddf763ccce421559c8ce962d1b4aa2982 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);MdGlsvWF&`#_)eVI)6`T~T3RrB_SBl1 z^7;hBi4(gD3bK2$%@`OM_^&Ow52OT3g8YL2qX7ohwKJ1|lAHw|k;M!Qe1|}oQB=dL z0Vo*e>Ealo5uAJWCSQXBPpnH|%#F3*{_hX77S=Mn$9`ze1c5J?8xkHio#d6=5Fxy# z;cQ~RhUJr>SCgId?s~N|mu+Wf$U9gj@Q}H=LMiXSZ}o?VTA$mWS$WU9k7w31?zP*2 PRxo(F`njxgN@xNAVp(W{ delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oB7ZmK9k(DrMa`(Ks)7si=85kJeUQ`ePQk*40 ze!>5tfFanwLI@;S;1OBOz`%DHgc*JPl#(li1zE(uRnbF@a);Mj%(7%>ls3)G1Q(BD?i4bx1YKBoKW!* z#`*-qx|4iayBK@2%@`OMu6=&q2&4o{g8YL2qX7ohwKJ1|lAHw|k;M!Qe1|}oQB=dL z0Vo*e>Ealo5uAJWCSQXBPpnH|%#F3*{_hX77S=Mn$9`ze1c5J?8xkHio#d6=5Fxy# z;cQ~RhUJr>SCgId?s~N|mu+Wf$U9gj@Q}H=LMiXSZ}o?VTA$mWS$WU9k7w31?zP*2 PRxo(F`njxgN@xNAEK6qa delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oB=TI&Xxmcj`uteu+&BV5tfFanwLI@;S;1OBOz`%DHgc*JPl#(li1zE(uRnbF@a);MPx&wRn{L~ry6i>b{kz^*t~s2!8*%BH z@2UC(!`q=3PFn2m$u?tPV5prl%LhmamIV0)|3?E1s%vK^0VO#LJR*x382Ao>Fr%o3 zR|8Nm%+tj&L?bx&>`lG~1)f-!z?d6rzy04IW-Y8`c#r+ioCyM7E;l4RY&yv+xgkP$ zO~cv5ehtefL9Zq|=iT*cXD-{$&X9MoOyD7NbA?jgf#2#654AqGKeO_lcOTEJXWVPI Q1Fc~2boFyt=akR{0Bgu>ivR!s delta 185 zcmbQs^oenTW4&~MPl#(zw%MJB5C8oBS0P&=IpH*GRs&cMJhapPw$AjMe{ zI~@YWOm<8uyN z2$TKpRF>Ybe?@~z+n(Gd7wee5snm(|8Ktm%VM!D{)1$a;&;0G-3(kM|z?H(8)V8t2 dF7fDJrk`P~SJ_lp&jHP4@O1TaS?83{1OUyiO@sgd diff --git a/src/client/resources/assets/textures/entity/orange_bed.png b/src/client/resources/assets/textures/entity/orange_bed.png index 7233aa00ae0f67b4c4851a8ea21914f043073822..fbb77e19160a54752dec8af69ceb255fffe0369b 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);MKmCpmk~q$VF??yW_+F;)K2zXrz2Vb* zk@^I~7nPc?Qn-7v%@`OM{5r020V%q@(z{>JY;UJP|7>-Tm9jo*5~$TR^IdOzopr0Fh8l82|tP diff --git a/src/client/resources/assets/textures/entity/pink_bed.png b/src/client/resources/assets/textures/entity/pink_bed.png index 863595a0c3a4219b7064e70bcdc550deaba51b18..04f5a25eb894a596b480164c9fed4af7696546eb 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);M@2d_S$?aMZQ~Gw!wrh2BFIUWXI(7Zs zhWYgghL3tyo-3T%lWoSpz`)+G&<3OgOM?7@|Dyp0)wMH|fRdaA9+AZi419+`m{C;2 zs{tq&=IP=Xq7j^X_9kD00#B?uq29}=~3LaXa4r^1?N9};7Z|4YTH<1 dmw5Cq)6X#0t86N)=YZxic)I$ztaD0e0ss}VP2KJPl#(li1zE(uRnbF@a);MiM|I@q@(z{>JY;UJP|7>-Tm9jo*5~$TR^IdOiUyUoJ-JIR)-ioksT1ilN@4lJk|=tnM{(Pp`P;)6od58FD}^(uZDWaD c;?ciMKf_qBvZ=711Dea=>FVdQ&MBb@06Yas+W-In diff --git a/src/client/resources/assets/textures/entity/red_bed.png b/src/client/resources/assets/textures/entity/red_bed.png index 0db9761954a3258d461218a4f38c85eb84bc373e..c81086170a80a2eb0be79782fefb85db61a39bea 100644 GIT binary patch delta 228 zcmeywIG1UHW4&>JPl#(li1zE(uRnbF@a);MCVu{MF|lj`fj(j39&zz@35iW|a*L&< z>k|xDDJZl^O7>)%F)%P(;lJ(%qy$TX{DS|Z0S48zGn0UloCO|{#S9F5hd`K7RKu$Q zC>ZAH;uxY4oO|{rUxNZqtV>|bjkVwY?+>#U)-t@uerV1FfiIUE5*{|4E`ixRozOW>Up6OBCwrBqK@CD~TeBesqOlsR$ eVwZUIFVoL3)~jqPtmlB{GI+ZBxvXWl diff --git a/src/client/resources/assets/textures/entity/white_bed.png b/src/client/resources/assets/textures/entity/white_bed.png index 6118e8ad918098cda80cddfdba11696012ff9455..6ebe08ac39b14b79724ce686fc70cbf179fdf96b 100644 GIT binary patch delta 224 zcmaFIIFo6DW4%FuPl#(li1zE(uRnbF@a);MKY#w5J9qBLkt1Kee7Sq~?u{EaUcGwt z=+UG41jEahFZX1dF)%PZ{pfKINC}h#`33(+1q=_AVU**n@4}aQCuQGnx!u>4SktYdg O1%s!npUXO@geCyFP;#pP delta 181 zcmbQq^p0_YW4%OxPl#(zw%MJB5C8oBw`~1}`;VV|`}XbCo7W5s3_pwSaserhk|4j} z{}8}%uX%4IP>i#{BeIx*f$tCqGm2_>H2?*@JzX3_G=fWe9Qh6?@Em56{_@{G?$*)+ zZ6B6yRBiZsqTxXMo{*r7_6F?_=3M0lOi>Ja+j;&p9^Ag?>viJ`=|3viHnA8UjJPl#(li1zE(uRnbF@a);MS0~-hE!00URsF#MyB9m1A8oe&bkyU) zHjDZM!xy{kZmcrv$u?tPU{LKZ-~v*DB|(0{|Iq-0>e`t}KuOL5kH}&M2EIce%qXhi z)c_O>^K@|x(Fo2xdy}t0fhX1_Fy_YEZ~ym)Sqp0!-eW&BXM(_&%MA$+n@;jdZio@ z$S?Rm6fgw)R|tUw3p^r=85sBugD~Uq{1qucL2pkN#}JL+(r!ng1_KV};H@YA$LAcl z5GMQGsVu!=|B42cwmrE^F4i%9Q>hc_GfH9k!jdR@rbltxp84Cu7o7j_fh&bGscmD4 dUE{&pPd5Mn diff --git a/src/client/resources/assets/textures/item/black_bed.png b/src/client/resources/assets/textures/item/black_bed.png index 7bc1fdca6ed49627b9fddb56dc8df520704125e1..e1d8ea8b5cec88e609b3f6a178a39f1f98c03485 100644 GIT binary patch delta 177 zcmX@gc#m;{BnKM<1H%#iecclk73w()JR*x382Ao>Fr%o3R|8P8*we)^L?bv^fkk4W ziHt}~#{YJsgAC3G+xg}H{r~q@`V8Ae4X%__(f`Iuoi+deO>LAs#peC#<3~dSLqo$2 z8#Wl#{QEOe@pQCQ5|fWmii)e& z3Gxg64+0FE_b=HG6yYrJh%9Dc;5!V$jK}j=qyPoAJY5_^B*K#uQd1e26i%Kx#le!m wCM+y$JmVk_i-4d+v*Zb<&@)UfYt}HxX)`>V$-RIVsEfhV)sNL>ol`;+0OZmytN;K2 diff --git a/src/client/resources/assets/textures/item/blue_bed.png b/src/client/resources/assets/textures/item/blue_bed.png index dce6e78f4d6a04c886bbd998c1b74a6323899207..d6db798bc5f17361777d4cbf94bc8122e3286943 100644 GIT binary patch delta 184 zcmV;p07w7D0p$UZ83+ad006`fzKf9|Ab$yPNLh0L01mG`SB9|RaS?_aVXD8gCb5n0T@z;_sg8IR|$NC66JdAc};NQ5URq^2@3DV#iYii0JA wO;}jic*a2<76CztX2}yyp=X#})~sQW(`I-!lY0R#P#1%zs~@Y&I;Vst0PzPg_5c6? diff --git a/src/client/resources/assets/textures/item/brown_bed.png b/src/client/resources/assets/textures/item/brown_bed.png index ce11ae8697ee1d077f63cb1b9abfd4156e986cd8..6bd2adbb63a9817d9971893b21303cbf79a6d9dc 100644 GIT binary patch delta 182 zcmV;n07?JF0pkIX83+ad006`fzKf9|Ab$yPNLh0L01mj^o1Y9@&OHRnF-Dpzpg0O-EF(-3 k40^K7;0lo05Wv6y0Gp{T;B480xc~qF07*qoM6N<$f@^3-IsgCw delta 152 zcmaFNc$9I1BnLAC1HV$-RIVsEfhV)sNL>ol`;+0HUNZPXGV_ diff --git a/src/client/resources/assets/textures/item/cyan_bed.png b/src/client/resources/assets/textures/item/cyan_bed.png index 212dfad45994625372cb10b5f961817cb8057baf..f8a055d5075f61ce752cd84b134ec7a416fad9b6 100644 GIT binary patch delta 184 zcmV;p07w7D0p$UZ83+ad006`fzKf9|Ab$yPNLh0L01m@I#z;cW{8M!Eq0woy> mlLUjFY%{n5WHtmaFaQ9^fiNqiACJob0000xvT$v4PqrCQS}KF(D3D?+ z3Gxg64+0FE_b=HG6yYrJh%9Dc;5!V$jK}j=qyPoAJY5_^B*K#uQd1e26i%Kx#le!m wCM+y$JmVk_i-4d+v*Zb<&@)UfYt}HxX)`>V$-RIVsEfhV)sNL>ol`;+0D>tn@c;k- diff --git a/src/client/resources/assets/textures/item/gray_bed.png b/src/client/resources/assets/textures/item/gray_bed.png index c4991e076386266db4811269844535d80013a04c..33cc7c10b3dd9c63d5b4732316db173512c2a059 100644 GIT binary patch delta 182 zcmX@g_?U5mBnKM<1H%#iecclk73w()JR*x382Ao>Fr%o3R|8P8!qdeuL?bv^fkk4W ziHt}~#{YJsgAC3G+xg}H{r~q@`V8Ae4K5xZoqzxTGEZb_jJK~hFmS$^;K}I7$d;Ct z#%5Ml)}}w--q2;nW=Ed}&wqbDHaE^~ZhrW4@^K#X_3^By4PQw~EVkfE(NXph;;Gtn i_5s&~n*s+8Ffgp*(!Izl{4pQs2nJ7AKbLh*2~7Y>?m`{_ delta 152 zcmaFNc$9I1BnLAC1HV$-RIVsEfhV)sNL>ol`;+0Bsa7*8l(j diff --git a/src/client/resources/assets/textures/item/green_bed.png b/src/client/resources/assets/textures/item/green_bed.png index ef21455c019078b25a0ad4cb81c9cfe73db583a0..9838c477dc25af3c4605d47ce80472c7043c4b54 100644 GIT binary patch delta 179 zcmX@g_<(VOBnKM<1H%#iecclk73w()JR*x382Ao>Fr%o3R|8P8)YHW=L?bv^fkk4W ziHt}~#{YJsgAC3G+xg}H{r~q@`V8Ae4X!^%EdT%iX%qPMsc&MVD<2obOD2>tDnm{r-UW|b4No1 delta 152 zcmaFBc$9I1BnLAC1HV$-RIVsEfhV)sNL>ol`;+0DIIh^#A|> diff --git a/src/client/resources/assets/textures/item/light_blue_bed.png b/src/client/resources/assets/textures/item/light_blue_bed.png index 7918b24f634da8c3062b01a1a094351f78d5d079..6d97271265851f76b29466d85c4d2ed7633a358c 100644 GIT binary patch delta 183 zcmV;o07(DE0ptOY83+ad006`fzKf9|Ab$yPNLh0L01mY!D35{Rp lBpCE$o52+zvmtl6^<M1MG8<*%hSa%L?S#nAvKkON#W$FQyeS_ xY{J6A#xoA`um}iBG)tav3O&Q*vStl~oHoO=ncNF_fw~wxUHw>H);T3K0RYDtGo%0j diff --git a/src/client/resources/assets/textures/item/light_gray_bed.png b/src/client/resources/assets/textures/item/light_gray_bed.png index 4faf3994cf33c00907dae05e77c1ed88dd43bf3e..3863dd704c22fb1c5c9082b5c1e33424a2327f8f 100644 GIT binary patch delta 184 zcmV;p07w7D0p$UZ83+ad006`fzKf9|Ab$yPNLh0L01m{%uqI1 zl9!i@frW*Ifrp2i;pWXd3@WTQAtt~iKYaMeARxfcuy^kvhNVkafaMs=%L`E)1tl^T mCJ6>T*=BGB$ZQB;U;qHO5igz7lN?e200003x0eJ=tbJ=}E3@=L0FW zk|4j}{~*AydH<6AKoQOYkH}&M2EM}}%y>M1MG8<*%hSa%L?S#nAvKkON#W$FQyeS_ xY{J6A#xoA`um}iBG)tav3O&Q*vStl~oHoO=ncNF_fw~wxUHw>H);T3K0RW_7Gim?; diff --git a/src/client/resources/assets/textures/item/lime_bed.png b/src/client/resources/assets/textures/item/lime_bed.png index 3dbfdb1e60431c69aa922337f1a4128e7386ac01..f8d98a34f6c2ac12dfce847efa0dc97cbe506640 100644 GIT binary patch delta 161 zcmV;S0ABya0pbCWNq@os01mvF+_Thg9&Etj; z6JV0x|9)fOWaeVHcl9&Fs&t4PWAb_i6i0!Kg-L=zPqrCc0U9zJ0vH$oC}uJ|4_{_X P00000NkvXXu0mjfY(Pa^ delta 131 zcmV-}0DS-A0mT83NqoZq01m?e$8V@)00015NklMCtUfy6}xP1UZ lgD?i@$u@)g0>Nfr001<&8)g4K$=(0}002ovPDHLkV1n8HE>!>k diff --git a/src/client/resources/assets/textures/item/magenta_bed.png b/src/client/resources/assets/textures/item/magenta_bed.png index 0ae175d1f7a076ca01cb0d50df97ce72d93861bb..e6f0d2a554a8fdffb93b7a3bf009af7338ac7dea 100644 GIT binary patch delta 184 zcmV;p07w7D0p$UZ83+ad006`fzKf9|Ab$yPNLh0L01m&Z3)N^hOhcM3?c zl?3?({|5nv&HI<^2a0eOctjR6Fz_7)VaDV6D^h@hTAnVBArj%q38|?JObRDYo#J3g xU=tP=HlA^ihebe8qFM5UQ|K8cmo;k`FUSovd$@?2>?3gG`0W$ diff --git a/src/client/resources/assets/textures/item/orange_bed.png b/src/client/resources/assets/textures/item/orange_bed.png index 4d1abdd55aeeb6ae179e15fd23e9ed2899fc4624..626adad7375976530eee101c78cf6a19a9a8c0ce 100644 GIT binary patch delta 183 zcmV;o07(DE0ptOY83+ad006`fzKf9|Ab$yPNLh0L01m+Nn3~%0lWZ1@O2r&UB`TN@&239T+hWmG~F_^D}$T40^p lBpCE$o52+zvmt{gJ=tbJX{PtFuYeR= zNswRge-L2Uyno4lpa^GyM`SSr1K(i~W;~w1A_XX@<>}%WA`zaPkebTCq;T@oDGrtd wHeq35;~58eSOf$mnk7#-g`Qz@S+j;gPMhJ`Ozs7|KwS);u70d8>zopr091=IzyJUM diff --git a/src/client/resources/assets/textures/item/pink_bed.png b/src/client/resources/assets/textures/item/pink_bed.png index 3dc8b604b40cafb8bd55ebcff31be51f6f8d76fb..759230dd260cd0a739c3c91d38261917ca13df31 100644 GIT binary patch delta 183 zcmV;o07(DE0ptOY83+ad006`fzKf9|Ab$yPNLh0L01mkkR-7% lNigWiHiIibWFUSovd$@?2>_XwHHrWL diff --git a/src/client/resources/assets/textures/item/purple_bed.png b/src/client/resources/assets/textures/item/purple_bed.png index 24e75b93e5c96cea5d0d2a6c29161dafb0af0445..d4ecad6befde8b79e15865ff13346ce6c56b1cdb 100644 GIT binary patch delta 184 zcmV;p07w7D0p$UZ83+ad006`fzKf9|Ab$yPNLh0L01mrT!>T8ZU^&KowFM}S0woy> mlLUjFY%{n5WHtmaFaQ9DgD+Yj_H&B>0000{1qucK`l=g#}J9|2z1}24*r%rLO yB(Mn!3meZk$ipHaDA6o=!YT9&lgpYl4075G&t`Hj;05Yp@O1TKby??>&;$TeZ8Eq3 diff --git a/src/client/resources/assets/textures/item/red_bed.png b/src/client/resources/assets/textures/item/red_bed.png index 0bfd8392ae69798254db3bd066fcbd1cc6674505..29efdf8d942f44624d7360e9fccd81138ad3b452 100644 GIT binary patch delta 183 zcmX@g_=ItSBnKM<1H%#iecclk73w()JR*x382Ao>Fr%o3R|8P8($mE;L?bv^fkk4W ziHt}~#{YJsgAC3G+xg}H{r~q@`V8Ae4K6EJmw)w%X-%IbB<%kGI(vX8wOQ4)VyEN{ zNl8hTnKLEj>i?fS@P0jmA*0&QZ|CLN62-*Y{>s}K`c(Xv(>WfYt=INQV}i;?15bk& jC(W9*9nzc`n3);oNo#+K2-KDYx`M&e)z4*}Q$iB}- z3Gxg64+0FE_b=HG6yYrJh%9Dc;5!V$jK}j=qyPoAJY5_^B*K#uQd1e26i%Kx#le!m wCM+y$JmVk_i-4d+v*Zb<&@)UfYt}HxX)`>V$-RIVsEfhV)sNL>ol`;+0QG$@u>b%7 diff --git a/src/client/resources/assets/textures/item/white_bed.png b/src/client/resources/assets/textures/item/white_bed.png index 821948bec8b5dd1b2957c7470ff53264cd61da31..2c13b83dc85b730a794d9cb23faf134f95750995 100644 GIT binary patch delta 161 zcmV;S0AByO0pbCWNq@os01m({Rtn4xU2!;k;03@jX+46mNQX4rRD2x0rL{jv#{em| zk|4j}{~*AydH<6AKoQOYkH}&M2EM}}%y>M1MG8<*%hSa%L?S#nAvKkON#W$FQyeS_ xY{J6A#xoA`um}iBG)tav3O&Q*vStl~oHoO=ncNF_fw~wxUHw>H);T3K0RXABGhzS$ From e847c0f11ee97deff6e6787957ca5c96bac0b603 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Sat, 25 May 2024 14:07:53 +0800 Subject: [PATCH 36/59] Fix tile IDs for wool tiles --- .../java/minicraft/level/tile/Tiles.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/client/java/minicraft/level/tile/Tiles.java b/src/client/java/minicraft/level/tile/Tiles.java index 8f4011047..5100a796f 100644 --- a/src/client/java/minicraft/level/tile/Tiles.java +++ b/src/client/java/minicraft/level/tile/Tiles.java @@ -70,16 +70,16 @@ public static void initTileList() { tiles.put((short) 39, new WoolTile(DyeItem.DyeColor.GREEN)); tiles.put((short) 40, new WoolTile(DyeItem.DyeColor.YELLOW)); tiles.put((short) 41, new WoolTile(DyeItem.DyeColor.BLACK)); - tiles.put((short) 54, new WoolTile(DyeItem.DyeColor.BROWN)); - tiles.put((short) 55, new WoolTile(DyeItem.DyeColor.PURPLE)); - tiles.put((short) 56, new WoolTile(DyeItem.DyeColor.CYAN)); - tiles.put((short) 57, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); - tiles.put((short) 58, new WoolTile(DyeItem.DyeColor.GRAY)); - tiles.put((short) 59, new WoolTile(DyeItem.DyeColor.PINK)); - tiles.put((short) 60, new WoolTile(DyeItem.DyeColor.LIME)); - tiles.put((short) 61, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); - tiles.put((short) 62, new WoolTile(DyeItem.DyeColor.MAGENTA)); - tiles.put((short) 63, new WoolTile(DyeItem.DyeColor.ORANGE)); + tiles.put((short) 60, new WoolTile(DyeItem.DyeColor.BROWN)); + tiles.put((short) 61, new WoolTile(DyeItem.DyeColor.PURPLE)); + tiles.put((short) 62, new WoolTile(DyeItem.DyeColor.CYAN)); + tiles.put((short) 63, new WoolTile(DyeItem.DyeColor.LIGHT_GRAY)); + tiles.put((short) 64, new WoolTile(DyeItem.DyeColor.GRAY)); + tiles.put((short) 65, new WoolTile(DyeItem.DyeColor.PINK)); + tiles.put((short) 66, new WoolTile(DyeItem.DyeColor.LIME)); + tiles.put((short) 67, new WoolTile(DyeItem.DyeColor.LIGHT_BLUE)); + tiles.put((short) 68, new WoolTile(DyeItem.DyeColor.MAGENTA)); + tiles.put((short) 69, new WoolTile(DyeItem.DyeColor.ORANGE)); tiles.put((short) 36, new PathTile("Path")); From 4b3261618d214acff51b03614ca9decfd60e922e Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:33:45 +0800 Subject: [PATCH 37/59] Update FlowerTile.java Change `* 16` to `<< 4` --- src/client/java/minicraft/level/tile/FlowerTile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/java/minicraft/level/tile/FlowerTile.java b/src/client/java/minicraft/level/tile/FlowerTile.java index 657dbd027..27e1219d4 100644 --- a/src/client/java/minicraft/level/tile/FlowerTile.java +++ b/src/client/java/minicraft/level/tile/FlowerTile.java @@ -84,7 +84,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir int data = level.getData(x, y); level.setTile(x, y, Tiles.get("Grass")); Sound.play("monsterhurt"); - level.dropItem(x * 16 + 8, y * 16 + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); + level.dropItem((x << 4) + 8, (y << 4) + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.INSTANCE.trigger( new AdvancementElement.AdvancementTrigger.ItemUsedOnTileTrigger.ItemUsedOnTileTriggerConditionHandler.ItemUsedOnTileTriggerConditions( item, this, data, x, y, level.depth)); @@ -96,7 +96,7 @@ public boolean interact(Level level, int x, int y, Player player, Item item, Dir } public boolean hurt(Level level, int x, int y, Mob source, int dmg, Direction attackDir) { - level.dropItem(x * 16 + 8, y * 16 + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); + level.dropItem((x << 4) + 8, (y << 4) + 8, Items.get(FlowerVariant.values()[level.getData(x, y)].name)); level.setTile(x, y, Tiles.get("Grass")); return true; } From ea689596991d5ed280aca34720bccf1e90a82f96 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Wed, 24 Jul 2024 07:39:56 +0800 Subject: [PATCH 38/59] Update overlay opac d from 128 to 160 --- src/client/java/minicraft/gfx/Screen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/java/minicraft/gfx/Screen.java b/src/client/java/minicraft/gfx/Screen.java index dbc05cb22..2b1f72a01 100644 --- a/src/client/java/minicraft/gfx/Screen.java +++ b/src/client/java/minicraft/gfx/Screen.java @@ -513,7 +513,7 @@ public double getOverlayOpacity(int currentLevel, double darkFactor) { return 1; } else { // Outside the caves, not being lit simply means being darker. - return darkFactor / 128; // darkens the color one shade. + return darkFactor / 160; // darkens the color one shade. } } From 3181d26c5f3e3826570c5736fa2b2febf842ba9d Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Wed, 14 Aug 2024 19:05:27 +0800 Subject: [PATCH 39/59] Update loading version check for color system --- src/client/java/minicraft/saveload/Load.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index 59249a8b5..42c869412 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -668,7 +668,7 @@ private void loadWorld(String filename) { default: tilename = "White Wool"; } - } else if (worldVer.compareTo(new Version("2.2.0-dev4")) < 0) { + } else if (worldVer.compareTo(new Version("2.2.1-dev1")) < 0) { tilename = "White Wool"; } } else if (l == World.minLevelDepth + 1 && tilename.equalsIgnoreCase("Lapis") && worldVer.compareTo(new Version("2.0.3-dev6")) < 0) { @@ -796,7 +796,7 @@ public static void loadTile(Version worldVer, short[] tiles, short[] data, int i data[idx] = Tiles.get(matcher.group(1)).id; } else { tiles[idx] = Tiles.get(tileName).id; - if (worldVer.compareTo(new Version("2.2.0")) <= 0 && tileName.equalsIgnoreCase("FLOWER")) { + if (worldVer.compareTo(new Version("2.2.1-dev1")) <= 0 && tileName.equalsIgnoreCase("FLOWER")) { data[idx] = 0; } else { data[idx] = Short.parseShort(tileData); @@ -955,12 +955,15 @@ protected static String subOldName(String name, Version worldVer) { } if (worldVer.compareTo(new Version("2.2.0-dev4")) < 0) { - if (name.startsWith("Wool")) - name = name.replace("Wool", "White Wool"); if (name.startsWith("Potion")) name = name.replace("Potion", "Awkward Potion"); } + if (worldVer.compareTo(new Version("2.2.1-dev1")) < 0) { + if (name.startsWith("Wool")) + name = name.replace("Wool", "White Wool"); + } + return name; } From 828504b99e33922aae5673a40b92f89e4046c671 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:30:58 +0800 Subject: [PATCH 40/59] Create SECURITY.md --- SECURITY.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..01c67e307 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,9 @@ +# Security Policy + +We take security vulnerability seriously. Only the vulnerabilities valid in the latest published build are considered. +Any resolved vulnerabilities in the latest version are considered resolved and anymore new duplicates are regarded as invalid. + +## Reporting a Vulnerability + +To report a vulnerability, go to [issues](https://github.com/MinicraftPlus/minicraft-plus-revived/issues) and report a bug. +If we see the bug report as a security vulnerability, we will categorize it so that it is in high priority. From b05bc2037c35b5a38ca49df88bb8bc750d63e524 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:39:23 +0800 Subject: [PATCH 41/59] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 130 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..432130efe --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,130 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community admins. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +At the moment, enforcement may not be taken strictly under the circumference +of being a small public community project. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. From f63e1887ba81819e0cdf331c8492da647c12168c Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Thu, 29 Aug 2024 23:50:10 +0800 Subject: [PATCH 42/59] Resolve flower issues Obtaining flowers by watering can Resolving old flower items --- build.gradle | 2 +- src/client/java/minicraft/item/WateringCanItem.java | 4 +++- src/client/java/minicraft/saveload/Load.java | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 01be4c064..e3918b62a 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { allprojects { apply plugin: "java" - version = "2.2.1-dev1" + version = "2.2.1-dev2" sourceCompatibility = 8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' diff --git a/src/client/java/minicraft/item/WateringCanItem.java b/src/client/java/minicraft/item/WateringCanItem.java index 486d1c218..8786ab011 100644 --- a/src/client/java/minicraft/item/WateringCanItem.java +++ b/src/client/java/minicraft/item/WateringCanItem.java @@ -8,6 +8,7 @@ import minicraft.gfx.SpriteLinker; import minicraft.level.Level; import minicraft.level.tile.DirtTile; +import minicraft.level.tile.FlowerTile; import minicraft.level.tile.GrassTile; import minicraft.level.tile.Tile; import minicraft.level.tile.Tiles; @@ -85,7 +86,8 @@ public boolean interactOn(Tile tile, Level level, int xt, int yt, Player player, level.add(new Particle((int) x, (int) y, 120 + random.nextInt(21) - 40, particleSprite)); } if (random.nextInt(60) == 0) { // Small chance for growing flowers - level.setTile(xt, yt, Tiles.get((short) 2), random.nextInt(2)); + level.setTile(xt, yt, Tiles.get((short) 2), + random.nextInt(FlowerTile.FlowerVariant.values().length)); } } diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index a63fbab62..ca495da79 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -959,11 +959,16 @@ protected static String subOldName(String name, Version worldVer) { name = name.replace("Potion", "Awkward Potion"); } - if (worldVer.compareTo(new Version("2.2.1-dev1")) < 0) { + if (worldVer.compareTo(new Version("2.2.1-dev2")) < 0) { if (name.startsWith("Wool")) name = name.replace("Wool", "White Wool"); } + if (worldVer.compareTo(new Version("2.2.1-dev2")) < 0) { + if (name.equalsIgnoreCase("FLOWER")) + name = "Oxeye Daisy"; + } + return name; } From ff7417216c4259b7c43dcc4b4abfbb485e198a21 Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 11:58:39 -0400 Subject: [PATCH 43/59] Fix versioning --- src/client/java/minicraft/core/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/java/minicraft/core/Game.java b/src/client/java/minicraft/core/Game.java index f2a97ab69..0be9e3420 100644 --- a/src/client/java/minicraft/core/Game.java +++ b/src/client/java/minicraft/core/Game.java @@ -25,7 +25,7 @@ protected Game() { public static final String NAME = "Minicraft Plus"; // This is the name on the application window. - public static final Version VERSION = new Version("2.2.1-dev1"); + public static final Version VERSION = new Version("2.2.1-dev2"); public static InputHandler input; // Input used in Game, Player, and just about all the *Menu classes. public static Player player; From 7e746534bfe26eaf67d6e3ef4e0ce4a90d690d9e Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 12:14:04 -0400 Subject: [PATCH 44/59] Fixed odd regex --- src/client/java/minicraft/saveload/Load.java | 33 +++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index ca495da79..48a003a67 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -758,7 +758,7 @@ private void loadWorld(String filename) { } boolean signsLoadSucceeded = false; - if (new File(location+"signs.json").exists()) { + if (new File(location + "signs.json").exists()) { try { JSONObject fileObj = new JSONObject(loadFromFile(location + "signs.json", true)); @SuppressWarnings("unused") @@ -965,8 +965,8 @@ protected static String subOldName(String name, Version worldVer) { } if (worldVer.compareTo(new Version("2.2.1-dev2")) < 0) { - if (name.equalsIgnoreCase("FLOWER")) - name = "Oxeye Daisy"; + if (name.startsWith("FLOWER")) + name = name.replace("FLOWER", "Oxeye Daisy"); } return name; @@ -1233,15 +1233,24 @@ private static Entity getEntity(String string, int mobLevel) { case "Player": case "RemotePlayer": return null; - case "Cow": return new Cow(); - case "Sheep": return new Sheep(); - case "Pig": return new Pig(); - case "Zombie": return new Zombie(mobLevel); - case "Slime": return new Slime(mobLevel); - case "Creeper": return new Creeper(mobLevel); - case "Skeleton": return new Skeleton(mobLevel); - case "Knight": return new Knight(mobLevel); - case "Snake": return new Snake(mobLevel); + case "Cow": + return new Cow(); + case "Sheep": + return new Sheep(); + case "Pig": + return new Pig(); + case "Zombie": + return new Zombie(mobLevel); + case "Slime": + return new Slime(mobLevel); + case "Creeper": + return new Creeper(mobLevel); + case "Skeleton": + return new Skeleton(mobLevel); + case "Knight": + return new Knight(mobLevel); + case "Snake": + return new Snake(mobLevel); case "AirWizard": if (mobLevel > 1) return null; return new AirWizard(); From d14fd7696599c68b9524e956d1b4fb9fee924751 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 00:16:19 +0800 Subject: [PATCH 45/59] Fix previously fixed regex --- src/client/java/minicraft/saveload/Load.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index 48a003a67..26cbc3e02 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -965,8 +965,8 @@ protected static String subOldName(String name, Version worldVer) { } if (worldVer.compareTo(new Version("2.2.1-dev2")) < 0) { - if (name.startsWith("FLOWER")) - name = name.replace("FLOWER", "Oxeye Daisy"); + if (name.startsWith("Flower")) + name = name.replace("Flower", "Oxeye Daisy"); } return name; From bc8b9b5b9b568af44fafa7704e2fc6dbde560414 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 00:41:39 +0800 Subject: [PATCH 46/59] Fix clothing recipes about dyes Also recipes... --- src/client/java/minicraft/item/Recipes.java | 18 +- src/client/resources/resources/recipes.json | 6738 +++++++++++++------ 2 files changed, 4806 insertions(+), 1950 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index 66f87f6d7..6ee539f50 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -187,13 +187,13 @@ public class Recipes { loomRecipes.add(new Recipe("magenta Bed_1", "White Bed_1", "magenta dye_1")); loomRecipes.add(new Recipe("orange Bed_1", "White Bed_1", "orange dye_1")); - loomRecipes.add(new Recipe("blue clothes_1", "cloth_5", "Lapis_1")); - loomRecipes.add(new Recipe("green clothes_1", "cloth_5", "Cactus_1")); - loomRecipes.add(new Recipe("yellow clothes_1", "cloth_5", "Flower_1")); - loomRecipes.add(new Recipe("black clothes_1", "cloth_5", "coal_1")); - loomRecipes.add(new Recipe("orange clothes_1", "cloth_5", "rose_1", "Flower_1")); - loomRecipes.add(new Recipe("purple clothes_1", "cloth_5", "Lapis_1", "rose_1")); - loomRecipes.add(new Recipe("cyan clothes_1", "cloth_5", "Lapis_1", "Cactus_1")); + loomRecipes.add(new Recipe("blue clothes_1", "cloth_5", "blue dye_1")); + loomRecipes.add(new Recipe("green clothes_1", "cloth_5", "green dye_1")); + loomRecipes.add(new Recipe("yellow clothes_1", "cloth_5", "yellow dye_1")); + loomRecipes.add(new Recipe("black clothes_1", "cloth_5", "black dye_1")); + loomRecipes.add(new Recipe("orange clothes_1", "cloth_5", "orange dye_1")); + loomRecipes.add(new Recipe("purple clothes_1", "cloth_5", "purple dye_1")); + loomRecipes.add(new Recipe("cyan clothes_1", "cloth_5", "cyan dye_1")); loomRecipes.add(new Recipe("reg clothes_1", "cloth_5")); loomRecipes.add(new Recipe("Leather Armor_1", "leather_10")); @@ -279,12 +279,12 @@ public static void main(String[] args) { Function recipeNameFixer = recipe -> { // This is applied when duplication occurs. Item item = recipe.getProduct(); String name = itemNameFixer.apply(item); - /*if (item instanceof DyeItem) { TODO + if (item instanceof DyeItem) { Map costs = recipe.getCosts(); if (costs.size() == 2 && costs.containsKey("WHITE DYE")) return name + "_from_white_dye"; return name; - } else*/ if (item instanceof FurnitureItem && ((FurnitureItem) item).furniture instanceof Bed) { + } else if (item instanceof FurnitureItem && ((FurnitureItem) item).furniture instanceof Bed) { if (recipe.getCosts().containsKey("WHITE BED")) return name + "_from_white_bed"; return name; diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index f627cefbe..3dec34c34 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -1,181 +1,201 @@ { - "minicraft.advancements.recipes.gem_fishing_rod": { + "minicraft.advancements.recipes.anvil": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_gem", - "has_string" + "has_iron" ] ], + "rewards": { + "recipes": { + "Anvil_1": [ + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.arcane_fertilizer": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", + "has_bone": { "conditions": { "items": [ { "items": [ - "Gem" + "Bone" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", + "has_lapis": { "conditions": { "items": [ { "items": [ - "String" + "Lapis" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_bone", + "has_lapis" + ] + ], "rewards": { "recipes": { - "Gem Fishing Rod_1": [ - "String_3", - "Gem_10" + "ARCANE FERTILIZER_3": [ + "Lapis_6", + "Bone_2" ] } } }, - "minicraft.advancements.recipes.health_potion": { - "requirements": [ - [ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.arrow": { "criteria": { - "has_leather_armor": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Leather Armor" - ] - } - ] - } - }, - "has_gunpowder": { - "trigger": "inventory_changed", + "has_stone": { "conditions": { "items": [ { "items": [ - "Gunpowder" + "Stone" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], "rewards": { "recipes": { - "Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" + "Arrow_3": [ + "Stone_2", + "Wood_2" ] } } }, - "minicraft.advancements.recipes.green_wool": { - "requirements": [ - [ - "has_cactus", - "has_wool" - ] - ], + "minicraft.advancements.recipes.awkward_potion": { "criteria": { - "has_cactus": { - "trigger": "inventory_changed", + "has_glass_bottle": { "conditions": { "items": [ { "items": [ - "Cactus" + "Glass Bottle" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_lapis": { "conditions": { "items": [ { "items": [ - "Wool" + "Lapis" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_lapis", + "has_glass_bottle" + ] + ], "rewards": { "recipes": { - "Green Wool_1": [ - "Cactus_1", - "Wool_1" + "Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" ] } } }, - "minicraft.advancements.recipes.obsidian_brick": { - "requirements": [ - [ - "has_raw_obsidian" - ] - ], + "minicraft.advancements.recipes.baked_potato": { "criteria": { - "has_raw_obsidian": { - "trigger": "inventory_changed", + "has_potato": { "conditions": { "items": [ { "items": [ - "Raw Obsidian" + "Potato" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_potato" + ] + ], "rewards": { "recipes": { - "Obsidian Brick_1": [ - "Raw Obsidian_2" + "Baked Potato_1": [ + "Potato_1" ] } } }, - "minicraft.advancements.recipes.plank": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.black_bed": { "criteria": { + "has_black_wool": { + "conditions": { + "items": [ + { + "items": [ + "BLACK Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -184,600 +204,630 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_black_wool", + "has_wood" + ] + ], "rewards": { "recipes": { - "Plank_2": [ - "Wood_1" + "BLACK Bed_1": [ + "Wood_5", + "BLACK Wool_3" ] } } }, - "minicraft.advancements.recipes.leather_armor": { - "requirements": [ - [ - "has_leather" - ] - ], + "minicraft.advancements.recipes.black_bed_from_white_bed": { "criteria": { - "has_leather": { - "trigger": "inventory_changed", + "has_black_dye": { "conditions": { "items": [ { "items": [ - "Leather" + "BLACK Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_bed", + "has_black_dye" + ] + ], "rewards": { "recipes": { - "Leather Armor_1": [ - "Leather_10" + "BLACK Bed_1": [ + "WHITE Bed_1", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.lava_potion": { - "requirements": [ - [ - "has_awkward_potion", - "has_lava_bucket" - ] - ], + "minicraft.advancements.recipes.black_clothes": { "criteria": { - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_black_dye": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "BLACK Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lava_bucket": { - "trigger": "inventory_changed", + "has_cloth": { "conditions": { "items": [ { "items": [ - "Lava Bucket" + "Cloth" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cloth", + "has_black_dye" + ] + ], "rewards": { "recipes": { - "Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" + "Black Clothes_1": [ + "Cloth_5", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.iron_axe": { + "minicraft.advancements.recipes.black_dye": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_wood", - "has_iron" + "has_coal" ] ], + "rewards": { + "recipes": { + "BLACK Dye_1": [ + "Coal_1" + ] + } + } + }, + "minicraft.advancements.recipes.black_wool": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_black_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "BLACK Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_wool", + "has_black_dye" + ] + ], "rewards": { "recipes": { - "Iron Axe_1": [ - "Wood_5", - "Iron_5" + "BLACK Wool_1": [ + "BLACK Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.black_wool": { - "requirements": [ - [ - "has_coal", - "has_wool" - ] - ], + "minicraft.advancements.recipes.blue_bed": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_blue_wool": { "conditions": { "items": [ { "items": [ - "Coal" + "BLUE Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Wool" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_blue_wool" + ] + ], "rewards": { "recipes": { - "Black Wool_1": [ - "Coal_1", - "Wool_1" + "BLUE Bed_1": [ + "Wood_5", + "BLUE Wool_3" ] } } }, - "minicraft.advancements.recipes.cooked_pork": { - "requirements": [ - [ - "has_coal", - "has_raw_pork" - ] - ], + "minicraft.advancements.recipes.blue_bed_from_white_bed": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Coal" + "BLUE Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_raw_pork": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Raw Pork" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, - "rewards": { - "recipes": { - "Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ] - } - } - }, - "minicraft.advancements.recipes.wooden_hoe": { "requirements": [ [ - "has_wood" + "has_white_bed", + "has_blue_dye" ] ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - } - }, "rewards": { "recipes": { - "Wood Hoe_1": [ - "Wood_5" + "BLUE Bed_1": [ + "BLUE Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.stone_sword": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.blue_clothes": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Stone" + "BLUE Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", + "has_cloth": { "conditions": { "items": [ { "items": [ - "Wood" + "Cloth" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cloth", + "has_blue_dye" + ] + ], "rewards": { "recipes": { - "Rock Sword_1": [ - "Stone_5", - "Wood_5" + "Blue Clothes_1": [ + "BLUE Dye_1", + "Cloth_5" ] } } }, - "minicraft.advancements.recipes.snake_armor": { - "requirements": [ - [ - "has_scale" - ] - ], + "minicraft.advancements.recipes.blue_dye_from_cornflower": { "criteria": { - "has_scale": { - "trigger": "inventory_changed", + "has_cornflower": { "conditions": { "items": [ { "items": [ - "Scale" + "Cornflower" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cornflower" + ] + ], "rewards": { "recipes": { - "Snake Armor_1": [ - "Scale_15" + "BLUE Dye_1": [ + "Cornflower_1" ] } } }, - "minicraft.advancements.recipes.shears": { - "requirements": [ - [ - "has_iron" - ] - ], + "minicraft.advancements.recipes.blue_dye_from_iris": { "criteria": { - "has_iron": { - "trigger": "inventory_changed", + "has_iris": { "conditions": { "items": [ { "items": [ - "Iron" + "Iris" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_iris" + ] + ], "rewards": { "recipes": { - "Shears_1": [ - "Iron_4" + "BLUE Dye_1": [ + "Iris_1" ] } } }, - "minicraft.advancements.recipes.wood_door": { - "requirements": [ - [ - "has_plank" - ] - ], + "minicraft.advancements.recipes.blue_dye_from_lapis": { "criteria": { - "has_plank": { - "trigger": "inventory_changed", + "has_lapis": { "conditions": { "items": [ { "items": [ - "Plank" + "Lapis" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_lapis" + ] + ], "rewards": { "recipes": { - "Wood Door_1": [ - "Plank_5" + "BLUE Dye_1": [ + "Lapis_1" ] } } }, - "minicraft.advancements.recipes.stone_fence": { - "requirements": [ - [ - "has_stone_brick" - ] - ], + "minicraft.advancements.recipes.blue_wool": { "criteria": { - "has_stone_brick": { - "trigger": "inventory_changed", + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Stone Brick" + "BLUE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_wool", + "has_blue_dye" + ] + ], "rewards": { "recipes": { - "Stone Fence_1": [ - "Stone Brick_3" + "BLUE Wool_1": [ + "BLUE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.green_clothes": { + "minicraft.advancements.recipes.bread": { + "criteria": { + "has_wheat": { + "conditions": { + "items": [ + { + "items": [ + "Wheat" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_cactus", - "has_cloth" + "has_wheat" ] ], + "rewards": { + "recipes": { + "Bread_1": [ + "Wheat_4" + ] + } + } + }, + "minicraft.advancements.recipes.brown_bed": { "criteria": { - "has_cactus": { - "trigger": "inventory_changed", + "has_brown_wool": { "conditions": { "items": [ { "items": [ - "Cactus" + "BROWN Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_cloth": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Cloth" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_brown_wool", + "has_wood" + ] + ], "rewards": { "recipes": { - "Green Clothes_1": [ - "Cactus_1", - "Cloth_5" + "BROWN Bed_1": [ + "BROWN Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.red_wool": { - "requirements": [ - [ - "has_rose", - "has_wool" - ] - ], + "minicraft.advancements.recipes.brown_bed_from_white_bed": { "criteria": { - "has_rose": { - "trigger": "inventory_changed", + "has_brown_dye": { "conditions": { "items": [ { "items": [ - "Rose" + "BROWN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Wool" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_bed", + "has_brown_dye" + ] + ], "rewards": { "recipes": { - "Red Wool_1": [ - "Rose_1", - "Wool_1" + "BROWN Bed_1": [ + "WHITE Bed_1", + "BROWN Dye_1" ] } } }, - "minicraft.advancements.recipes.stone_bow": { - "requirements": [ - [ - "has_stone", - "has_wood", - "has_string" - ] - ], + "minicraft.advancements.recipes.brown_dye": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - } - }, - "has_wood": { - "trigger": "inventory_changed", + "has_green_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "GREEN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", + "has_red_dye": { "conditions": { "items": [ { "items": [ - "String" + "RED Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_dye", + "has_red_dye" + ] + ], "rewards": { "recipes": { - "Rock Bow_1": [ - "String_2", - "Stone_5", - "Wood_5" + "BROWN Dye_2": [ + "GREEN Dye_1", + "RED Dye_1" ] } } }, - "minicraft.advancements.recipes.gem_bow": { - "requirements": [ - [ - "has_wood", - "has_gem", - "has_string" - ] - ], + "minicraft.advancements.recipes.brown_wool": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", + "has_brown_dye": { "conditions": { "items": [ { "items": [ - "Gem" + "BROWN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "String" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_wool", + "has_brown_dye" + ] + ], "rewards": { "recipes": { - "Gem Bow_1": [ - "String_2", - "Wood_5", - "Gem_50" + "BROWN Wool_1": [ + "BROWN Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.wooden_axe": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.chest": { "criteria": { "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -786,96 +836,122 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Wood Axe_1": [ - "Wood_5" + "Chest_1": [ + "Wood_20" ] } } }, - "minicraft.advancements.recipes.stone_brick": { - "requirements": [ - [ - "has_stone" - ] - ], + "minicraft.advancements.recipes.cooked_fish": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_coal": { "conditions": { "items": [ { "items": [ - "Stone" + "Coal" ] } ] - } - } + }, + "trigger": "inventory_changed" + }, + "has_raw_fish": { + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + }, + "trigger": "inventory_changed" + } }, + "requirements": [ + [ + "has_coal", + "has_raw_fish" + ] + ], "rewards": { "recipes": { - "Stone Brick_1": [ - "Stone_2" + "Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" ] } } }, - "minicraft.advancements.recipes.workbench": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.cooked_pork": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_coal": { "conditions": { "items": [ { "items": [ - "Wood" + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_raw_pork": { + "conditions": { + "items": [ + { + "items": [ + "Raw Pork" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_coal", + "has_raw_pork" + ] + ], "rewards": { "recipes": { - "Workbench_1": [ - "Wood_10" + "Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" ] } } }, - "minicraft.advancements.recipes.lantern": { - "requirements": [ - [ - "has_glass", - "has_wood", - "has_slime" - ] - ], + "minicraft.advancements.recipes.cyan_bed": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", + "has_cyan_wool": { "conditions": { "items": [ { "items": [ - "Glass" + "CYAN Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -884,69 +960,70 @@ ] } ] - } - }, - "has_slime": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_cyan_wool" + ] + ], "rewards": { "recipes": { - "Lantern_1": [ - "Glass_3", - "Slime_4", - "Wood_8" + "CYAN Bed_1": [ + "Wood_5", + "CYAN Wool_3" ] } } }, - "minicraft.advancements.recipes.gold_armor": { - "requirements": [ - [ - "has_gold" - ] - ], + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { "criteria": { - "has_gold": { - "trigger": "inventory_changed", + "has_cyan_dye": { "conditions": { "items": [ { "items": [ - "Gold" + "CYAN Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cyan_dye", + "has_white_bed" + ] + ], "rewards": { "recipes": { - "Gold Armor_1": [ - "Gold_10" + "CYAN Bed_1": [ + "CYAN Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.yellow_clothes": { - "requirements": [ - [ - "has_cloth", - "has_flower" - ] - ], + "minicraft.advancements.recipes.cyan_clothes": { "criteria": { "has_cloth": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -955,150 +1032,164 @@ ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_flower": { - "trigger": "inventory_changed", + "has_cyan_dye": { "conditions": { "items": [ { "items": [ - "Flower" + "CYAN Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cyan_dye", + "has_cloth" + ] + ], "rewards": { "recipes": { - "Yellow Clothes_1": [ - "Flower_1", + "Cyan Clothes_1": [ + "CYAN Dye_1", "Cloth_5" ] } } }, - "minicraft.advancements.recipes.glass_bottle": { - "requirements": [ - [ - "has_glass" - ] - ], + "minicraft.advancements.recipes.cyan_dye": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Glass" + "BLUE Dye" ] } ] - } + }, + "trigger": "inventory_changed" + }, + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_dye", + "has_blue_dye" + ] + ], "rewards": { "recipes": { - "Glass Bottle_1": [ - "Glass_3" + "CYAN Dye_2": [ + "BLUE Dye_1", + "GREEN Dye_1" ] } } }, - "minicraft.advancements.recipes.gem_claymore": { - "requirements": [ - [ - "has_shard", - "has_gem_sword" - ] - ], + "minicraft.advancements.recipes.cyan_wool": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", + "has_cyan_dye": { "conditions": { "items": [ { "items": [ - "Shard" + "CYAN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gem_sword": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Gem Sword" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cyan_dye", + "has_white_wool" + ] + ], "rewards": { "recipes": { - "Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" + "CYAN Wool_1": [ + "CYAN Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.wood_fence": { - "requirements": [ - [ - "has_plank" - ] - ], + "minicraft.advancements.recipes.empty_bucket": { "criteria": { - "has_plank": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Plank" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_iron" + ] + ], "rewards": { "recipes": { - "Wood Fence_1": [ - "Plank_3" + "Empty Bucket_1": [ + "Iron_5" ] } } }, - "minicraft.advancements.recipes.wood_fishing_rod": { - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], + "minicraft.advancements.recipes.enchanter": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_lapis": { "conditions": { "items": [ { "items": [ - "Wood" + "Lapis" ] } ] - } + }, + "trigger": "inventory_changed" }, "has_string": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -1107,126 +1198,140 @@ ] } ] - } + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_lapis" + ] + ], "rewards": { "recipes": { - "Wood Fishing Rod_1": [ - "String_3", - "Wood_10" + "Enchanter_1": [ + "Lapis_10", + "String_2", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gold_fishing_rod": { - "requirements": [ - [ - "has_string", - "has_gold" - ] - ], + "minicraft.advancements.recipes.energy_potion": { "criteria": { - "has_string": { - "trigger": "inventory_changed", + "has_awkward_potion": { "conditions": { "items": [ { "items": [ - "String" + "Awkward Potion" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Gold" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gem", + "has_awkward_potion" + ] + ], "rewards": { "recipes": { - "Gold Fishing Rod_1": [ - "Gold_10", - "String_3" + "Energy Potion_1": [ + "Awkward Potion_1", + "Gem_25" ] } } }, - "minicraft.advancements.recipes.purple_clothes": { - "requirements": [ - [ - "has_rose", - "has_lapis", - "has_cloth" - ] - ], + "minicraft.advancements.recipes.escape_potion": { "criteria": { - "has_rose": { - "trigger": "inventory_changed", + "has_awkward_potion": { "conditions": { "items": [ { "items": [ - "Rose" + "Awkward Potion" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_gunpowder": { "conditions": { "items": [ { "items": [ - "Lapis" + "Gunpowder" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_cloth": { - "trigger": "inventory_changed", + "has_lapis": { "conditions": { "items": [ { "items": [ - "Cloth" + "Lapis" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ] + ], "rewards": { "recipes": { - "Purple Clothes_1": [ - "Lapis_1", - "Cloth_5", - "Rose_1" + "Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" ] } } }, - "minicraft.advancements.recipes.stone_pickaxe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.furnace": { "criteria": { "has_stone": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -1235,301 +1340,308 @@ ] } ] - } - }, - "has_wood": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Furnace_1": [ + "Stone_20" + ] + } + } + }, + "minicraft.advancements.recipes.gem_armor": { + "criteria": { + "has_gem": { "conditions": { "items": [ { "items": [ - "Wood" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gem" + ] + ], "rewards": { "recipes": { - "Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" + "Gem Armor_1": [ + "Gem_65" ] } } }, - "minicraft.advancements.recipes.blue_clothes": { - "requirements": [ - [ - "has_lapis", - "has_cloth" - ] - ], + "minicraft.advancements.recipes.gem_axe": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Lapis" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_cloth": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Cloth" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Blue Clothes_1": [ - "Lapis_1", - "Cloth_5" + "Gem Axe_1": [ + "Wood_5", + "Gem_50" ] } } }, - "minicraft.advancements.recipes.watering_can": { - "requirements": [ - [ - "has_iron" - ] - ], + "minicraft.advancements.recipes.gem_bow": { "criteria": { - "has_iron": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Iron" + "Gem" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Watering Can_1": [ - "Iron_3" - ] - } - } - }, - "minicraft.advancements.recipes.gem_sword": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "criteria": { - "has_wood": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_string": { "conditions": { "items": [ { "items": [ - "Wood" + "String" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gem" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem", + "has_string" + ] + ], "rewards": { "recipes": { - "Gem Sword_1": [ + "Gem Bow_1": [ + "String_2", "Wood_5", "Gem_50" ] } } }, - "minicraft.advancements.recipes.bed": { - "requirements": [ - [ - "has_wood", - "has_wool" - ] - ], + "minicraft.advancements.recipes.gem_claymore": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gem_sword": { "conditions": { "items": [ { "items": [ - "Wood" + "Gem Sword" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_shard": { "conditions": { "items": [ { "items": [ - "Wool" + "Shard" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_shard", + "has_gem_sword" + ] + ], "rewards": { "recipes": { - "Bed_1": [ - "Wood_5", - "Wool_3" + "Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" ] } } }, - "minicraft.advancements.recipes.swim_potion": { - "requirements": [ - [ - "has_raw_fish", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.gem_fishing_rod": { "criteria": { - "has_raw_fish": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Raw Fish" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_string": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "String" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gem", + "has_string" + ] + ], "rewards": { "recipes": { - "Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" + "Gem Fishing Rod_1": [ + "String_3", + "Gem_10" ] } } }, - "minicraft.advancements.recipes.steak": { - "requirements": [ - [ - "has_coal", - "has_raw_beef" - ] - ], + "minicraft.advancements.recipes.gem_hoe": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Coal" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_raw_beef": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Raw Beef" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Steak_1": [ - "Coal_1", - "Raw Beef_1" + "Gem Hoe_1": [ + "Wood_5", + "Gem_50" ] } } }, "minicraft.advancements.recipes.gem_pickaxe": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Wood" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gem" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { "Gem Pickaxe_1": [ @@ -1539,254 +1651,287 @@ } } }, - "minicraft.advancements.recipes.obsidian_fence": { - "requirements": [ - [ - "has_obsidian_brick" - ] - ], + "minicraft.advancements.recipes.gem_shovel": { "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Obsidian Fence_1": [ - "Obsidian Brick_3" + "Gem Shovel_1": [ + "Wood_5", + "Gem_50" ] } } }, - "minicraft.advancements.recipes.iron_hoe": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.gem_sword": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gem": { "conditions": { "items": [ { "items": [ - "Wood" + "Gem" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Iron" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], "rewards": { "recipes": { - "Iron Hoe_1": [ + "Gem Sword_1": [ "Wood_5", - "Iron_5" + "Gem_50" ] } } }, - "minicraft.advancements.recipes.iron_claymore": { - "requirements": [ - [ - "has_shard", - "has_iron_sword" - ] - ], + "minicraft.advancements.recipes.glass": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", + "has_coal": { "conditions": { "items": [ { "items": [ - "Shard" + "Coal" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron_sword": { - "trigger": "inventory_changed", + "has_sand": { "conditions": { "items": [ { "items": [ - "Iron Sword" + "Sand" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_coal", + "has_sand" + ] + ], "rewards": { "recipes": { - "Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" + "Glass_1": [ + "Coal_1", + "Sand_4" ] } } }, - "minicraft.advancements.recipes.wooden_pickaxe": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.glass_bottle": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_glass": { "conditions": { "items": [ { "items": [ - "Wood" + "Glass" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_glass" + ] + ], "rewards": { "recipes": { - "Wood Pickaxe_1": [ - "Wood_5" + "Glass Bottle_1": [ + "Glass_3" ] } } }, - "minicraft.advancements.recipes.stone_axe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gold": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_coal": { "conditions": { "items": [ { "items": [ - "Stone" + "Coal" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", + "has_gold_ore": { "conditions": { "items": [ { "items": [ - "Wood" + "Gold Ore" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_coal", + "has_gold_ore" + ] + ], "rewards": { "recipes": { - "Rock Axe_1": [ - "Stone_5", - "Wood_5" + "Gold_1": [ + "Coal_1", + "Gold Ore_3" ] } } }, - "minicraft.advancements.recipes.orange_clothes": { - "requirements": [ - [ - "has_rose", - "has_cloth", - "has_flower" - ] - ], + "minicraft.advancements.recipes.gold_armor": { "criteria": { - "has_rose": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Rose" + "Gold" ] } ] - } - }, - "has_cloth": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Armor_1": [ + "Gold_10" + ] + } + } + }, + "minicraft.advancements.recipes.gold_axe": { + "criteria": { + "has_gold": { "conditions": { "items": [ { "items": [ - "Cloth" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_flower": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Flower" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "Orange Clothes_1": [ - "Cloth_5", - "Rose_1", - "Flower_1" + "Gold Axe_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.iron_fishing_rod": { - "requirements": [ - [ - "has_string", - "has_iron" - ] - ], + "minicraft.advancements.recipes.gold_bow": { "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, "has_string": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -1795,217 +1940,254 @@ ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Iron" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_gold" + ] + ], "rewards": { "recipes": { - "Iron Fishing Rod_1": [ - "String_3", - "Iron_10" + "Gold Bow_1": [ + "Gold_5", + "String_2", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.iron_pickaxe": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.gold_claymore": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gold_sword": { "conditions": { "items": [ { "items": [ - "Wood" + "Gold Sword" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_shard": { "conditions": { "items": [ { "items": [ - "Iron" + "Shard" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_shard", + "has_gold_sword" + ] + ], "rewards": { "recipes": { - "Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" + "Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" ] } } }, - "minicraft.advancements.recipes.arcane_fertilizer": { - "requirements": [ - [ - "has_bone", - "has_lapis" - ] - ], + "minicraft.advancements.recipes.gold_fishing_rod": { "criteria": { - "has_bone": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Bone" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_string": { "conditions": { "items": [ { "items": [ - "Lapis" + "String" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_string", + "has_gold" + ] + ], "rewards": { "recipes": { - "ARCANE FERTILIZER_3": [ - "Lapis_6", - "Bone_2" + "Gold Fishing Rod_1": [ + "Gold_10", + "String_3" ] } } }, - "minicraft.advancements.recipes.ornate_stone": { - "requirements": [ - [ - "has_stone" - ] - ], + "minicraft.advancements.recipes.gold_hoe": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Stone" + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "Ornate Stone_1": [ - "Stone_2" + "Gold Hoe_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.wooden_bow": { - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], + "minicraft.advancements.recipes.gold_lantern": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_glass": { "conditions": { "items": [ { "items": [ - "Wood" + "Glass" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "String" + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_slime": { + "conditions": { + "items": [ + { + "items": [ + "Slime" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_glass", + "has_gold", + "has_slime" + ] + ], "rewards": { "recipes": { - "Wood Bow_1": [ - "String_2", - "Wood_5" + "Gold Lantern_1": [ + "Glass_4", + "Gold_10", + "Slime_5" ] } } }, "minicraft.advancements.recipes.gold_pickaxe": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Wood" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { "Gold Pickaxe_1": [ @@ -2015,377 +2197,387 @@ } } }, - "minicraft.advancements.recipes.gold": { - "requirements": [ - [ - "has_coal", - "has_gold_ore" - ] - ], + "minicraft.advancements.recipes.gold_shovel": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Coal" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold_ore": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gold Ore" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "Gold_1": [ - "Coal_1", - "Gold Ore_3" + "Gold Shovel_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.cooked_fish": { - "requirements": [ - [ - "has_coal", - "has_raw_fish" - ] - ], + "minicraft.advancements.recipes.gold_sword": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Coal" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_raw_fish": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Raw Fish" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], "rewards": { "recipes": { - "Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" + "Gold Sword_1": [ + "Gold_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.light_potion": { - "requirements": [ - [ - "has_slime", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.golden_apple": { "criteria": { - "has_slime": { - "trigger": "inventory_changed", + "has_apple": { "conditions": { "items": [ { "items": [ - "Slime" + "Apple" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_gold": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Gold" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_apple", + "has_gold" + ] + ], "rewards": { "recipes": { - "Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" + "Gold Apple_1": [ + "Gold_8", + "Apple_1" ] } } }, - "minicraft.advancements.recipes.gold_sword": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], + "minicraft.advancements.recipes.gray_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gray_wool": { "conditions": { "items": [ { "items": [ - "Wood" + "GRAY Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gray_wool", + "has_wood" + ] + ], "rewards": { "recipes": { - "Gold Sword_1": [ - "Gold_5", + "GRAY Bed_1": [ + "GRAY Wool_3", "Wood_5" ] } } }, - "minicraft.advancements.recipes.gold_shovel": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], + "minicraft.advancements.recipes.gray_bed_from_white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_gray_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "GRAY Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Gold" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gray_dye", + "has_white_bed" + ] + ], "rewards": { "recipes": { - "Gold Shovel_1": [ - "Gold_5", - "Wood_5" + "GRAY Bed_1": [ + "GRAY Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.stone_shovel": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.gray_dye": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_black_dye": { "conditions": { "items": [ { "items": [ - "Stone" + "BLACK Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", + "has_white_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], "rewards": { "recipes": { - "Rock Shovel_1": [ - "Stone_5", - "Wood_5" + "GRAY Dye_2": [ + "WHITE Dye_1", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.escape_potion": { - "requirements": [ - [ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.gray_wool": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", + "has_gray_dye": { "conditions": { "items": [ { "items": [ - "Lapis" + "GRAY Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gunpowder": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Gunpowder" + "WHITE Wool" ] } ] - } - }, - "has_awkward_potion": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_gray_dye" + ] + ], + "rewards": { + "recipes": { + "GRAY Wool_1": [ + "GRAY Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_bed": { + "criteria": { + "has_green_wool": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "GREEN Wool" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_wall": { - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_wood": { "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_wool", + "has_wood" + ] + ], "rewards": { "recipes": { - "Obsidian Wall_1": [ - "Obsidian Brick_3" + "GREEN Bed_1": [ + "GREEN Wool_3", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.cyan_clothes": { - "requirements": [ - [ - "has_cactus", - "has_lapis", - "has_cloth" - ] - ], + "minicraft.advancements.recipes.green_bed_from_white_bed": { "criteria": { - "has_cactus": { - "trigger": "inventory_changed", + "has_green_dye": { "conditions": { "items": [ { "items": [ - "Cactus" + "GREEN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Lapis" + "WHITE Bed" ] } ] - } - }, + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_green_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "GREEN Bed_1": [ + "GREEN Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_clothes": { + "criteria": { "has_cloth": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2394,99 +2586,122 @@ ] } ] - } + }, + "trigger": "inventory_changed" + }, + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "GREEN Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_dye", + "has_cloth" + ] + ], "rewards": { "recipes": { - "Cyan Clothes_1": [ - "Lapis_1", + "Green Clothes_1": [ "Cloth_5", - "Cactus_1" + "GREEN Dye_1" ] } } }, - "minicraft.advancements.recipes.gem_armor": { - "requirements": [ - [ - "has_gem" - ] - ], + "minicraft.advancements.recipes.green_dye": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", + "has_cactus": { "conditions": { "items": [ { "items": [ - "Gem" + "Cactus" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cactus" + ] + ], "rewards": { "recipes": { - "Gem Armor_1": [ - "Gem_65" + "GREEN Dye_1": [ + "Cactus_1" ] } } }, - "minicraft.advancements.recipes.golden_apple": { - "requirements": [ - [ - "has_apple", - "has_gold" - ] - ], + "minicraft.advancements.recipes.green_wool": { "criteria": { - "has_apple": { - "trigger": "inventory_changed", + "has_green_dye": { "conditions": { "items": [ { "items": [ - "Apple" + "GREEN Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Gold" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_dye", + "has_white_wool" + ] + ], "rewards": { "recipes": { - "Gold Apple_1": [ - "Gold_8", - "Apple_1" + "GREEN Wool_1": [ + "GREEN Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.arrow": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.haste_potion": { "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, "has_stone": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2495,10 +2710,10 @@ ] } ] - } + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2507,279 +2722,296 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_stone", + "has_wood", + "has_awkward_potion" + ] + ], "rewards": { "recipes": { - "Arrow_3": [ - "Stone_2", - "Wood_2" + "Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.stone_wall": { - "requirements": [ - [ - "has_stone_brick" - ] - ], + "minicraft.advancements.recipes.health_potion": { "criteria": { - "has_stone_brick": { - "trigger": "inventory_changed", + "has_awkward_potion": { "conditions": { "items": [ { "items": [ - "Stone Brick" + "Awkward Potion" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Stone Wall_1": [ - "Stone Brick_3" - ] - } - } - }, - "minicraft.advancements.recipes.glass": { - "requirements": [ - [ - "has_coal", - "has_sand" - ] - ], - "criteria": { - "has_coal": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_gunpowder": { "conditions": { "items": [ { "items": [ - "Coal" + "Gunpowder" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_sand": { - "trigger": "inventory_changed", + "has_leather_armor": { "conditions": { "items": [ { "items": [ - "Sand" + "Leather Armor" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ] + ], "rewards": { "recipes": { - "Glass_1": [ - "Coal_1", - "Sand_4" + "Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" ] } } }, - "minicraft.advancements.recipes.speed_potion": { - "requirements": [ - [ - "has_cactus", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.iron": { "criteria": { - "has_cactus": { - "trigger": "inventory_changed", + "has_coal": { "conditions": { "items": [ { "items": [ - "Cactus" + "Coal" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_iron_ore": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "Iron Ore" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_coal", + "has_iron_ore" + ] + ], "rewards": { "recipes": { - "Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" + "Iron_1": [ + "Coal_1", + "Iron Ore_3" ] } } }, - "minicraft.advancements.recipes.gold_bow": { + "minicraft.advancements.recipes.iron_armor": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_wood", - "has_string", - "has_gold" + "has_iron" ] ], + "rewards": { + "recipes": { + "Iron Armor_1": [ + "Iron_10" + ] + } + } + }, + "minicraft.advancements.recipes.iron_axe": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Wood" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "String" - ] - } - ] - } - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gold" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "Gold Bow_1": [ - "Gold_5", - "String_2", - "Wood_5" + "Iron Axe_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.gold_lantern": { - "requirements": [ - [ - "has_glass", - "has_gold", - "has_slime" - ] - ], + "minicraft.advancements.recipes.iron_bow": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Glass" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_string": { "conditions": { "items": [ { "items": [ - "Gold" + "String" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_slime": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Slime" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_iron" + ] + ], "rewards": { "recipes": { - "Gold Lantern_1": [ - "Glass_4", - "Gold_10", - "Slime_5" + "Iron Bow_1": [ + "String_2", + "Iron_5", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.plank_wall": { - "requirements": [ - [ - "has_plank" - ] - ], + "minicraft.advancements.recipes.iron_claymore": { "criteria": { - "has_plank": { - "trigger": "inventory_changed", + "has_iron_sword": { "conditions": { "items": [ { "items": [ - "Plank" + "Iron Sword" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_shard", + "has_iron_sword" + ] + ], "rewards": { "recipes": { - "Plank Wall_1": [ - "Plank_3" + "Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" ] } } }, - "minicraft.advancements.recipes.iron_armor": { - "requirements": [ - [ - "has_iron" - ] - ], + "minicraft.advancements.recipes.iron_fishing_rod": { "criteria": { "has_iron": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2788,151 +3020,150 @@ ] } ] - } + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_string", + "has_iron" + ] + ], "rewards": { "recipes": { - "Iron Armor_1": [ + "Iron Fishing Rod_1": [ + "String_3", "Iron_10" ] } } }, - "minicraft.advancements.recipes.iron_shovel": { - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], + "minicraft.advancements.recipes.iron_hoe": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Wood" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Iron" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "Iron Shovel_1": [ + "Iron Hoe_1": [ "Wood_5", "Iron_5" ] } } }, - "minicraft.advancements.recipes.yellow_wool": { - "requirements": [ - [ - "has_wool", - "has_flower" - ] - ], + "minicraft.advancements.recipes.iron_lantern": { "criteria": { - "has_wool": { - "trigger": "inventory_changed", + "has_glass": { "conditions": { "items": [ { "items": [ - "Wool" + "Glass" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_flower": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Flower" + "Iron" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Yellow Wool_1": [ - "Flower_1", - "Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_door": { - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "criteria": { - "has_obsidian_brick": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_slime": { "conditions": { "items": [ { "items": [ - "Obsidian Brick" + "Slime" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_glass", + "has_slime", + "has_iron" + ] + ], "rewards": { "recipes": { - "Obsidian Door_1": [ - "Obsidian Brick_5" + "Iron Lantern_1": [ + "Glass_4", + "Iron_8", + "Slime_5" ] } } }, - "minicraft.advancements.recipes.stone_hoe": { - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], + "minicraft.advancements.recipes.iron_pickaxe": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Stone" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2941,27 +3172,40 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "Rock Hoe_1": [ - "Stone_5", - "Wood_5" + "Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.chest": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.iron_shovel": { "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -2970,210 +3214,208 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], "rewards": { "recipes": { - "Chest_1": [ - "Wood_20" + "Iron Shovel_1": [ + "Wood_5", + "Iron_5" ] } } }, - "minicraft.advancements.recipes.gem_hoe": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], + "minicraft.advancements.recipes.iron_sword": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_iron": { "conditions": { "items": [ { "items": [ - "Wood" + "Iron" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gem" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, - "rewards": { - "recipes": { - "Gem Hoe_1": [ + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Sword_1": [ "Wood_5", - "Gem_50" + "Iron_5" ] } } }, - "minicraft.advancements.recipes.awkward_potion": { - "requirements": [ - [ - "has_lapis", - "has_glass_bottle" - ] - ], + "minicraft.advancements.recipes.lantern": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", + "has_glass": { "conditions": { "items": [ { "items": [ - "Lapis" + "Glass" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_glass_bottle": { - "trigger": "inventory_changed", + "has_slime": { "conditions": { "items": [ { "items": [ - "Glass Bottle" + "Slime" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ] - } - } - }, - "minicraft.advancements.recipes.reg_clothes": { - "requirements": [ - [ - "has_cloth" - ] - ], - "criteria": { - "has_cloth": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_wood": { "conditions": { "items": [ { "items": [ - "Cloth" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_glass", + "has_wood", + "has_slime" + ] + ], "rewards": { "recipes": { - "Reg Clothes_1": [ - "Cloth_5" + "Lantern_1": [ + "Glass_3", + "Slime_4", + "Wood_8" ] } } }, - "minicraft.advancements.recipes.totem_of_air": { - "requirements": [ - [ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ] - ], + "minicraft.advancements.recipes.lava_potion": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - } - }, - "has_cloud_ore": { - "trigger": "inventory_changed", + "has_awkward_potion": { "conditions": { "items": [ { "items": [ - "Cloud Ore" + "Awkward Potion" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_lava_bucket": { "conditions": { "items": [ { "items": [ - "Lapis" + "Lava Bucket" ] } ] - } - }, - "has_gold": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_awkward_potion", + "has_lava_bucket" + ] + ], + "rewards": { + "recipes": { + "Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ] + } + } + }, + "minicraft.advancements.recipes.leather_armor": { + "criteria": { + "has_leather": { "conditions": { "items": [ { "items": [ - "Gold" + "Leather" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_leather" + ] + ], "rewards": { "recipes": { - "Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "Gem_10", - "Cloud Ore_5" + "Leather Armor_1": [ + "Leather_10" ] } } }, - "minicraft.advancements.recipes.iron_bow": { - "requirements": [ - [ - "has_wood", - "has_string", - "has_iron" - ] - ], + "minicraft.advancements.recipes.light_blue_bed": { "criteria": { + "has_light_blue_wool": { + "conditions": { + "items": [ + { + "items": [ + "LIGHT BLUE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -3182,219 +3424,222 @@ ] } ] - } - }, - "has_string": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_light_blue_wool" + ] + ], + "rewards": { + "recipes": { + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Wool_3", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "criteria": { + "has_light_blue_dye": { "conditions": { "items": [ { "items": [ - "String" + "LIGHT BLUE Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_light_blue_dye", + "has_white_bed" + ] + ], "rewards": { "recipes": { - "Iron Bow_1": [ - "String_2", - "Iron_5", - "Wood_5" + "LIGHT BLUE Bed_1": [ + "LIGHT BLUE Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.wooden_shovel": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_blue_orchid": { "conditions": { "items": [ { "items": [ - "Wood" + "Blue Orchid" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_blue_orchid" + ] + ], "rewards": { "recipes": { - "Wood Shovel_1": [ - "Wood_5" + "LIGHT BLUE Dye_1": [ + "Blue Orchid_1" ] } } }, - "minicraft.advancements.recipes.string": { - "requirements": [ - [ - "has_wool" - ] - ], + "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { "criteria": { - "has_wool": { - "trigger": "inventory_changed", + "has_periwinkle": { "conditions": { "items": [ { "items": [ - "Wool" + "Periwinkle" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_periwinkle" + ] + ], "rewards": { "recipes": { - "String_2": [ - "Wool_1" + "LIGHT BLUE Dye_1": [ + "Periwinkle_1" ] } } }, - "minicraft.advancements.recipes.loom": { - "requirements": [ - [ - "has_wood", - "has_wool" - ] - ], + "minicraft.advancements.recipes.light_blue_dye_from_white_dye": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "BLUE Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_white_dye": { "conditions": { "items": [ { "items": [ - "Wool" + "WHITE Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_dye", + "has_blue_dye" + ] + ], "rewards": { "recipes": { - "Loom_1": [ - "Wood_10", - "Wool_5" + "LIGHT BLUE Dye_2": [ + "BLUE Dye_1", + "WHITE Dye_1" ] } } }, - "minicraft.advancements.recipes.bread": { - "requirements": [ - [ - "has_wheat" - ] - ], + "minicraft.advancements.recipes.light_blue_wool": { "criteria": { - "has_wheat": { - "trigger": "inventory_changed", + "has_light_blue_dye": { "conditions": { "items": [ { "items": [ - "Wheat" + "LIGHT BLUE Dye" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Bread_1": [ - "Wheat_4" - ] - } - } - }, - "minicraft.advancements.recipes.anvil": { - "requirements": [ - [ - "has_iron" - ] - ], - "criteria": { - "has_iron": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Iron" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_light_blue_dye", + "has_white_wool" + ] + ], "rewards": { "recipes": { - "Anvil_1": [ - "Iron_5" + "LIGHT BLUE Wool_1": [ + "LIGHT BLUE Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.torch": { - "requirements": [ - [ - "has_coal", - "has_wood" - ] - ], + "minicraft.advancements.recipes.light_gray_bed": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_light_gray_wool": { "conditions": { "items": [ { "items": [ - "Coal" + "LIGHT GRAY Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -3403,430 +3648,2866 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, - "rewards": { - "recipes": { - "Torch_2": [ - "Coal_1", - "Wood_1" - ] - } - } - }, - "minicraft.advancements.recipes.gold_axe": { "requirements": [ [ - "has_wood", - "has_gold" + "has_light_gray_wool", + "has_wood" ] ], + "rewards": { + "recipes": { + "LIGHT GRAY Bed_1": [ + "Wood_5", + "LIGHT GRAY Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_light_gray_dye": { "conditions": { "items": [ { "items": [ - "Wood" + "LIGHT GRAY Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Gold" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_bed", + "has_light_gray_dye" + ] + ], "rewards": { "recipes": { - "Gold Axe_1": [ - "Gold_5", - "Wood_5" + "LIGHT GRAY Bed_1": [ + "WHITE Bed_1", + "LIGHT GRAY Dye_1" ] } } }, - "minicraft.advancements.recipes.iron_lantern": { - "requirements": [ - [ - "has_glass", - "has_slime", - "has_iron" - ] - ], + "minicraft.advancements.recipes.light_gray_dye_from_gray_dye": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", + "has_gray_dye": { "conditions": { "items": [ { "items": [ - "Glass" + "GRAY Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_slime": { - "trigger": "inventory_changed", + "has_white_dye": { "conditions": { "items": [ { "items": [ - "Slime" + "WHITE Dye" ] } ] - } - }, - "has_iron": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gray_dye", + "has_white_dye" + ] + ], + "rewards": { + "recipes": { + "LIGHT GRAY Dye_2": [ + "GRAY Dye_1", + "WHITE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "criteria": { + "has_hydrangea": { "conditions": { "items": [ { "items": [ - "Iron" + "Hydrangea" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_hydrangea" + ] + ], "rewards": { "recipes": { - "Iron Lantern_1": [ - "Glass_4", - "Iron_8", - "Slime_5" + "LIGHT GRAY Dye_1": [ + "Hydrangea_1" ] } } }, - "minicraft.advancements.recipes.enchanter": { - "requirements": [ - [ - "has_wood", - "has_string", - "has_lapis" - ] - ], + "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_oxeye_daisy": { "conditions": { "items": [ { "items": [ - "Wood" + "Oxeye Daisy" ] } ] - } - }, - "has_string": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_oxeye_daisy" + ] + ], + "rewards": { + "recipes": { + "LIGHT GRAY Dye_1": [ + "Oxeye Daisy_1" + ] + } + } + }, + "minicraft.advancements.recipes.light_gray_dye_from_white_dye": { + "criteria": { + "has_black_dye": { "conditions": { "items": [ { "items": [ - "String" + "BLACK Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_white_dye": { "conditions": { "items": [ { "items": [ - "Lapis" + "WHITE Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], "rewards": { "recipes": { - "Enchanter_1": [ - "Lapis_10", - "String_2", - "Wood_5" + "LIGHT GRAY Dye_3": [ + "WHITE Dye_2", + "BLACK Dye_1" ] } } }, - "minicraft.advancements.recipes.gold_claymore": { + "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { + "criteria": { + "has_white_tulip": { + "conditions": { + "items": [ + { + "items": [ + "White Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_shard", - "has_gold_sword" + "has_white_tulip" ] ], + "rewards": { + "recipes": { + "LIGHT GRAY Dye_1": [ + "White Tulip_1" + ] + } + } + }, + "minicraft.advancements.recipes.light_gray_wool": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", + "has_light_gray_dye": { "conditions": { "items": [ { "items": [ - "Shard" + "LIGHT GRAY Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold_sword": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Gold Sword" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_wool", + "has_light_gray_dye" + ] + ], "rewards": { "recipes": { - "Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" + "LIGHT GRAY Wool_1": [ + "LIGHT GRAY Dye_1", + "WHITE Wool_1" ] } } }, - "minicraft.advancements.recipes.baked_potato": { - "requirements": [ - [ - "has_potato" - ] - ], + "minicraft.advancements.recipes.light_potion": { "criteria": { - "has_potato": { - "trigger": "inventory_changed", + "has_awkward_potion": { "conditions": { "items": [ { "items": [ - "Potato" + "Awkward Potion" ] } ] - } - } - }, - "rewards": { - "recipes": { - "Baked Potato_1": [ - "Potato_1" - ] - } - } - }, - "minicraft.advancements.recipes.empty_bucket": { - "requirements": [ - [ - "has_iron" - ] - ], - "criteria": { - "has_iron": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + }, + "has_slime": { "conditions": { "items": [ { "items": [ - "Iron" + "Slime" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_slime", + "has_awkward_potion" + ] + ], "rewards": { "recipes": { - "Empty Bucket_1": [ - "Iron_5" + "Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" ] } } }, - "minicraft.advancements.recipes.gold_hoe": { - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], + "minicraft.advancements.recipes.lime_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_lime_wool": { "conditions": { "items": [ { "items": [ - "Wood" + "LIME Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gold" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_lime_wool" + ] + ], "rewards": { "recipes": { - "Gold Hoe_1": [ - "Gold_5", + "LIME Bed_1": [ + "LIME Wool_3", "Wood_5" ] } } }, - "minicraft.advancements.recipes.iron": { - "requirements": [ - [ - "has_coal", - "has_iron_ore" - ] - ], + "minicraft.advancements.recipes.lime_bed_from_white_bed": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", + "has_lime_dye": { "conditions": { "items": [ { "items": [ - "Coal" + "LIME Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron_ore": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Iron Ore" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_lime_dye", + "has_white_bed" + ] + ], "rewards": { "recipes": { - "Iron_1": [ - "Coal_1", - "Iron Ore_3" + "LIME Bed_1": [ + "LIME Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.stone_door": { - "requirements": [ - [ - "has_stone_brick" - ] - ], + "minicraft.advancements.recipes.lime_dye": { "criteria": { - "has_stone_brick": { - "trigger": "inventory_changed", + "has_green_dye": { "conditions": { "items": [ { "items": [ - "Stone Brick" + "GREEN Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_green_dye", + "has_white_dye" + ] + ], "rewards": { "recipes": { - "Stone Door_1": [ - "Stone Brick_5" + "LIME Dye_2": [ + "GREEN Dye_1", + "WHITE Dye_1" ] } } }, - "minicraft.advancements.recipes.obsidian_poppet": { - "requirements": [ - [ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ] - ], + "minicraft.advancements.recipes.lime_wool": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - } - }, - "has_gem": { - "trigger": "inventory_changed", + "has_lime_dye": { "conditions": { "items": [ { "items": [ - "Gem" + "LIME Dye" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Lapis" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_lime_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "LIME Wool_1": [ + "LIME Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.loom": { + "criteria": { + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Loom_1": [ + "Wood_10", + "WHITE Wool_5" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_bed": { + "criteria": { + "has_magenta_wool": { + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_magenta_wool" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Bed_1": [ + "Wood_5", + "MAGENTA Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "criteria": { + "has_magenta_dye": { + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_bed", + "has_magenta_dye" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Bed_1": [ + "MAGENTA Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_dye_from_allium": { + "criteria": { + "has_allium": { + "conditions": { + "items": [ + { + "items": [ + "Allium" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_allium" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Dye_1": [ + "Allium_1" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_dye_from_pink_dye": { + "criteria": { + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Dye_4": [ + "PINK Dye_1", + "RED Dye_1", + "BLUE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_dye_from_purple_dye": { + "criteria": { + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_dye", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Dye_2": [ + "PINK Dye_1", + "PURPLE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_dye_from_white_dye": { + "criteria": { + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Dye_4": [ + "WHITE Dye_1", + "RED Dye_2", + "BLUE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.magenta_wool": { + "criteria": { + "has_magenta_dye": { + "conditions": { + "items": [ + { + "items": [ + "MAGENTA Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_magenta_dye" + ] + ], + "rewards": { + "recipes": { + "MAGENTA Wool_1": [ + "MAGENTA Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_brick": { + "criteria": { + "has_raw_obsidian": { + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "rewards": { + "recipes": { + "Obsidian Brick_1": [ + "Raw Obsidian_2" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_door": { + "criteria": { + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Door_1": [ + "Obsidian Brick_5" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_fence": { + "criteria": { + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Fence_1": [ + "Obsidian Brick_3" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_poppet": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "Gem_10" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_wall": { + "criteria": { + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Wall_1": [ + "Obsidian Brick_3" + ] + } + } + }, + "minicraft.advancements.recipes.orange_bed": { + "criteria": { + "has_orange_wool": { + "conditions": { + "items": [ + { + "items": [ + "ORANGE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_orange_wool" + ] + ], + "rewards": { + "recipes": { + "ORANGE Bed_1": [ + "Wood_5", + "ORANGE Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "criteria": { + "has_orange_dye": { + "conditions": { + "items": [ + { + "items": [ + "ORANGE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_bed", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "ORANGE Bed_1": [ + "ORANGE Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.orange_clothes": { + "criteria": { + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_orange_dye": { + "conditions": { + "items": [ + { + "items": [ + "ORANGE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_cloth", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "Orange Clothes_1": [ + "Cloth_5", + "ORANGE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { + "criteria": { + "has_orange_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Orange Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_orange_tulip" + ] + ], + "rewards": { + "recipes": { + "ORANGE Dye_1": [ + "Orange Tulip_1" + ] + } + } + }, + "minicraft.advancements.recipes.orange_dye_from_yellow_dye": { + "criteria": { + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "YELLOW Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_red_dye", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "ORANGE Dye_2": [ + "YELLOW Dye_1", + "RED Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.orange_wool": { + "criteria": { + "has_orange_dye": { + "conditions": { + "items": [ + { + "items": [ + "ORANGE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "ORANGE Wool_1": [ + "ORANGE Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.ornate_obsidian": { + "criteria": { + "has_raw_obsidian": { + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "rewards": { + "recipes": { + "Ornate Obsidian_1": [ + "Raw Obsidian_2" + ] + } + } + }, + "minicraft.advancements.recipes.ornate_stone": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Ornate Stone_1": [ + "Stone_2" + ] + } + } + }, + "minicraft.advancements.recipes.oven": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Oven_1": [ + "Stone_15" + ] + } + } + }, + "minicraft.advancements.recipes.pink_bed": { + "criteria": { + "has_pink_wool": { + "conditions": { + "items": [ + { + "items": [ + "PINK Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "PINK Bed_1": [ + "Wood_5", + "PINK Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "criteria": { + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "PINK Bed_1": [ + "PINK Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_dye_from_peony": { + "criteria": { + "has_peony": { + "conditions": { + "items": [ + { + "items": [ + "Peony" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_peony" + ] + ], + "rewards": { + "recipes": { + "PINK Dye_1": [ + "Peony_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_dye_from_pink_lily": { + "criteria": { + "has_pink_lily": { + "conditions": { + "items": [ + { + "items": [ + "Pink Lily" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_lily" + ] + ], + "rewards": { + "recipes": { + "PINK Dye_1": [ + "Pink Lily_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { + "criteria": { + "has_pink_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Pink Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_tulip" + ] + ], + "rewards": { + "recipes": { + "PINK Dye_1": [ + "Pink Tulip_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_dye_from_white_dye": { + "criteria": { + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "PINK Dye_2": [ + "WHITE Dye_1", + "RED Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.pink_wool": { + "criteria": { + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "PINK Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_pink_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "PINK Wool_1": [ + "PINK Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.plank": { + "criteria": { + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Plank_2": [ + "Wood_1" + ] + } + } + }, + "minicraft.advancements.recipes.plank_wall": { + "criteria": { + "has_plank": { + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_plank" + ] + ], + "rewards": { + "recipes": { + "Plank Wall_1": [ + "Plank_3" + ] + } + } + }, + "minicraft.advancements.recipes.purple_bed": { + "criteria": { + "has_purple_wool": { + "conditions": { + "items": [ + { + "items": [ + "PURPLE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_purple_wool" + ] + ], + "rewards": { + "recipes": { + "PURPLE Bed_1": [ + "Wood_5", + "PURPLE Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "criteria": { + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_purple_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "PURPLE Bed_1": [ + "WHITE Bed_1", + "PURPLE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.purple_clothes": { + "criteria": { + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_cloth", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "Purple Clothes_1": [ + "Cloth_5", + "PURPLE Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.purple_dye_from_dye": { + "criteria": { + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "BLUE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "PURPLE Dye_2": [ + "BLUE Dye_1", + "RED Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.purple_dye_from_violet": { + "criteria": { + "has_violet": { + "conditions": { + "items": [ + { + "items": [ + "Violet" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_violet" + ] + ], + "rewards": { + "recipes": { + "PURPLE Dye_1": [ + "Violet_1" + ] + } + } + }, + "minicraft.advancements.recipes.purple_wool": { + "criteria": { + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "PURPLE Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "PURPLE Wool_1": [ + "PURPLE Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_bed": { + "criteria": { + "has_red_wool": { + "conditions": { + "items": [ + { + "items": [ + "RED Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_red_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "RED Bed_1": [ + "Wood_5", + "RED Wool_3" + ] + } + } + }, + "minicraft.advancements.recipes.red_bed_from_white_bed": { + "criteria": { + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_red_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "RED Bed_1": [ + "RED Dye_1", + "WHITE Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_dye_from_poppy": { + "criteria": { + "has_poppy": { + "conditions": { + "items": [ + { + "items": [ + "Poppy" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_poppy" + ] + ], + "rewards": { + "recipes": { + "RED Dye_1": [ + "Poppy_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_dye_from_red_tulip": { + "criteria": { + "has_red_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Red Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_red_tulip" + ] + ], + "rewards": { + "recipes": { + "RED Dye_1": [ + "Red Tulip_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_dye_from_rose": { + "criteria": { + "has_rose": { + "conditions": { + "items": [ + { + "items": [ + "Rose" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_rose" + ] + ], + "rewards": { + "recipes": { + "RED Dye_1": [ + "Rose_1" + ] + } + } + }, + "minicraft.advancements.recipes.red_wool": { + "criteria": { + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "RED Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "RED Wool_1": [ + "RED Dye_1", + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.reg_clothes": { + "criteria": { + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_cloth" + ] + ], + "rewards": { + "recipes": { + "Reg Clothes_1": [ + "Cloth_5" + ] + } + } + }, + "minicraft.advancements.recipes.regen_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_golden_apple": { + "conditions": { + "items": [ + { + "items": [ + "Gold Apple" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_golden_apple", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ] + } + } + }, + "minicraft.advancements.recipes.shears": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Shears_1": [ + "Iron_4" + ] + } + } + }, + "minicraft.advancements.recipes.snake_armor": { + "criteria": { + "has_scale": { + "conditions": { + "items": [ + { + "items": [ + "Scale" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_scale" + ] + ], + "rewards": { + "recipes": { + "Snake Armor_1": [ + "Scale_15" + ] + } + } + }, + "minicraft.advancements.recipes.speed_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_cactus": { + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_cactus", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ] + } + } + }, + "minicraft.advancements.recipes.steak": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_raw_beef": { + "conditions": { + "items": [ + { + "items": [ + "Raw Beef" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_coal", + "has_raw_beef" + ] + ], + "rewards": { + "recipes": { + "Steak_1": [ + "Coal_1", + "Raw Beef_1" + ] + } + } + }, + "minicraft.advancements.recipes.stone_axe": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Axe_1": [ + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_bow": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Rock Bow_1": [ + "String_2", + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_brick": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Stone Brick_1": [ + "Stone_2" + ] + } + } + }, + "minicraft.advancements.recipes.stone_door": { + "criteria": { + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Door_1": [ + "Stone Brick_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_fence": { + "criteria": { + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Fence_1": [ + "Stone Brick_3" + ] + } + } + }, + "minicraft.advancements.recipes.stone_hoe": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_pickaxe": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_shovel": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_sword": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Sword_1": [ + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.stone_wall": { + "criteria": { + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Wall_1": [ + "Stone Brick_3" + ] + } + } + }, + "minicraft.advancements.recipes.string": { + "criteria": { + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "WHITE Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "String_2": [ + "WHITE Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.swim_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_raw_fish": { + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_raw_fish", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ] + } + } + }, + "minicraft.advancements.recipes.tnt": { + "criteria": { + "has_gunpowder": { + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_sand": { + "conditions": { + "items": [ + { + "items": [ + "Sand" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_sand", + "has_gunpowder" + ] + ], + "rewards": { + "recipes": { + "Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ] + } + } + }, + "minicraft.advancements.recipes.torch": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_coal", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Torch_2": [ + "Coal_1", + "Wood_1" + ] + } + } + }, + "minicraft.advancements.recipes.totem_of_air": { + "criteria": { + "has_cloud_ore": { + "conditions": { + "items": [ + { + "items": [ + "Cloud Ore" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_gold": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -3835,155 +6516,338 @@ ] } ] - } + }, + "trigger": "inventory_changed" + }, + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ] + ], "rewards": { "recipes": { - "Obsidian Poppet_1": [ + "Totem of Air_1": [ "Lapis_5", "Gold_10", - "Shard_15", - "Gem_10" + "Gem_10", + "Cloud Ore_5" ] } } }, - "minicraft.advancements.recipes.gem_axe": { + "minicraft.advancements.recipes.watering_can": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_wood", - "has_gem" + "has_iron" ] ], + "rewards": { + "recipes": { + "Watering Can_1": [ + "Iron_3" + ] + } + } + }, + "minicraft.advancements.recipes.white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Wood" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Gem" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], "rewards": { "recipes": { - "Gem Axe_1": [ + "WHITE Bed_1": [ "Wood_5", - "Gem_50" + "WHITE Wool_3" ] } } }, - "minicraft.advancements.recipes.tnt": { + "minicraft.advancements.recipes.white_dye": { + "criteria": { + "has_white_lily": { + "conditions": { + "items": [ + { + "items": [ + "White Lily" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_sand", - "has_gunpowder" + "has_white_lily" ] ], + "rewards": { + "recipes": { + "WHITE Dye_1": [ + "White Lily_1" + ] + } + } + }, + "minicraft.advancements.recipes.white_wool": { "criteria": { - "has_sand": { - "trigger": "inventory_changed", + "has_string": { "conditions": { "items": [ { "items": [ - "Sand" + "String" ] } ] - } - }, - "has_gunpowder": { - "trigger": "inventory_changed", + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_string" + ] + ], + "rewards": { + "recipes": { + "WHITE Wool_1": [ + "String_3" + ] + } + } + }, + "minicraft.advancements.recipes.wood_door": { + "criteria": { + "has_plank": { "conditions": { "items": [ { "items": [ - "Gunpowder" + "Plank" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_plank" + ] + ], "rewards": { "recipes": { - "Tnt_1": [ - "Sand_8", - "Gunpowder_10" + "Wood Door_1": [ + "Plank_5" ] } } }, - "minicraft.advancements.recipes.iron_sword": { + "minicraft.advancements.recipes.wood_fence": { + "criteria": { + "has_plank": { + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_plank" + ] + ], + "rewards": { + "recipes": { + "Wood Fence_1": [ + "Plank_3" + ] + } + } + }, + "minicraft.advancements.recipes.wood_fishing_rod": { + "criteria": { + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ "has_wood", - "has_iron" + "has_string" + ] + ], + "rewards": { + "recipes": { + "Wood Fishing Rod_1": [ + "String_3", + "Wood_10" + ] + } + } + }, + "minicraft.advancements.recipes.wooden_axe": { + "criteria": { + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood" ] ], + "rewards": { + "recipes": { + "Wood Axe_1": [ + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.wooden_bow": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", + "has_string": { "conditions": { "items": [ { "items": [ - "Wood" + "String" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Iron" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], "rewards": { "recipes": { - "Iron Sword_1": [ - "Wood_5", - "Iron_5" + "Wood Bow_1": [ + "String_2", + "Wood_5" ] } } }, - "minicraft.advancements.recipes.wooden_sword": { - "requirements": [ - [ - "has_wood" - ] - ], + "minicraft.advancements.recipes.wooden_hoe": { "criteria": { "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -3992,55 +6856,54 @@ ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Wood Sword_1": [ + "Wood Hoe_1": [ "Wood_5" ] } } }, - "minicraft.advancements.recipes.furnace": { - "requirements": [ - [ - "has_stone" - ] - ], + "minicraft.advancements.recipes.wooden_pickaxe": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Stone" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Furnace_1": [ - "Stone_20" + "Wood Pickaxe_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.gem_shovel": { - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], + "minicraft.advancements.recipes.wooden_shovel": { "criteria": { "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -4049,95 +6912,82 @@ ] } ] - } - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Gem Shovel_1": [ - "Wood_5", - "Gem_50" + "Wood Shovel_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.black_clothes": { - "requirements": [ - [ - "has_coal", - "has_cloth" - ] - ], + "minicraft.advancements.recipes.wooden_sword": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - } - }, - "has_cloth": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Cloth" + "Wood" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_wood" + ] + ], "rewards": { "recipes": { - "Black Clothes_1": [ - "Coal_1", - "Cloth_5" + "Wood Sword_1": [ + "Wood_5" ] } } }, - "minicraft.advancements.recipes.haste_potion": { - "requirements": [ - [ - "has_stone", - "has_wood", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.workbench": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_wood": { "conditions": { "items": [ { "items": [ - "Stone" + "Wood" ] } ] - } - }, + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Workbench_1": [ + "Wood_10" + ] + } + } + }, + "minicraft.advancements.recipes.yellow_bed": { + "criteria": { "has_wood": { - "trigger": "inventory_changed", "conditions": { "items": [ { @@ -4146,209 +6996,215 @@ ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_yellow_wool": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "YELLOW Wool" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_yellow_wool", + "has_wood" + ] + ], "rewards": { "recipes": { - "Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", + "YELLOW Bed_1": [ + "YELLOW Wool_3", "Wood_5" ] } } }, - "minicraft.advancements.recipes.blue_wool": { - "requirements": [ - [ - "has_lapis", - "has_wool" - ] - ], + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", + "has_white_bed": { "conditions": { "items": [ { "items": [ - "Lapis" + "WHITE Bed" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_wool": { - "trigger": "inventory_changed", + "has_yellow_dye": { "conditions": { "items": [ { "items": [ - "Wool" + "YELLOW Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, - "rewards": { - "recipes": { - "Blue Wool_1": [ - "Lapis_1", - "Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.ornate_obsidian": { "requirements": [ [ - "has_raw_obsidian" + "has_white_bed", + "has_yellow_dye" ] ], - "criteria": { - "has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": { - "items": [ - { - "items": [ - "Raw Obsidian" - ] - } - ] - } - } - }, "rewards": { "recipes": { - "Ornate Obsidian_1": [ - "Raw Obsidian_2" + "YELLOW Bed_1": [ + "YELLOW Dye_1", + "WHITE Bed_1" ] } } }, - "minicraft.advancements.recipes.energy_potion": { - "requirements": [ - [ - "has_gem", - "has_awkward_potion" - ] - ], + "minicraft.advancements.recipes.yellow_clothes": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", + "has_cloth": { "conditions": { "items": [ { "items": [ - "Gem" + "Cloth" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_yellow_dye": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "YELLOW Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_cloth", + "has_yellow_dye" + ] + ], "rewards": { "recipes": { - "Energy Potion_1": [ - "Awkward Potion_1", - "Gem_25" + "Yellow Clothes_1": [ + "Cloth_5", + "YELLOW Dye_1" ] } } }, - "minicraft.advancements.recipes.oven": { - "requirements": [ - [ - "has_stone" - ] - ], + "minicraft.advancements.recipes.yellow_dye_from_dandelion": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", + "has_dandelion": { "conditions": { "items": [ { "items": [ - "Stone" + "Dandelion" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_dandelion" + ] + ], "rewards": { "recipes": { - "Oven_1": [ - "Stone_15" + "YELLOW Dye_1": [ + "Dandelion_1" ] } } }, - "minicraft.advancements.recipes.regen_potion": { + "minicraft.advancements.recipes.yellow_dye_from_sunflower": { + "criteria": { + "has_sunflower": { + "conditions": { + "items": [ + { + "items": [ + "Sunflower" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, "requirements": [ [ - "has_golden_apple", - "has_awkward_potion" + "has_sunflower" ] ], + "rewards": { + "recipes": { + "YELLOW Dye_1": [ + "Sunflower_1" + ] + } + } + }, + "minicraft.advancements.recipes.yellow_wool": { "criteria": { - "has_golden_apple": { - "trigger": "inventory_changed", + "has_white_wool": { "conditions": { "items": [ { "items": [ - "Gold Apple" + "WHITE Wool" ] } ] - } + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", + "has_yellow_dye": { "conditions": { "items": [ { "items": [ - "Awkward Potion" + "YELLOW Dye" ] } ] - } + }, + "trigger": "inventory_changed" } }, + "requirements": [ + [ + "has_white_wool", + "has_yellow_dye" + ] + ], "rewards": { "recipes": { - "Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" + "YELLOW Wool_1": [ + "YELLOW Dye_1", + "WHITE Wool_1" ] } } From e7521660ab5e18860f9588f746b08fec3ea8f6a9 Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 13:12:51 -0400 Subject: [PATCH 47/59] Added Dye Vat (WIP) --- .../minicraft/entity/furniture/Crafter.java | 9 +-- src/client/java/minicraft/item/Recipes.java | 71 ++++++++++--------- src/client/java/minicraft/saveload/Load.java | 2 + 3 files changed, 43 insertions(+), 39 deletions(-) diff --git a/src/client/java/minicraft/entity/furniture/Crafter.java b/src/client/java/minicraft/entity/furniture/Crafter.java index 9326b41b7..a3e2af5f2 100644 --- a/src/client/java/minicraft/entity/furniture/Crafter.java +++ b/src/client/java/minicraft/entity/furniture/Crafter.java @@ -19,7 +19,8 @@ public enum Type { Furnace(new LinkedSprite(SpriteType.Entity, "furnace"), new LinkedSprite(SpriteType.Item, "furnace"), 3, 2, Recipes.furnaceRecipes), Anvil(new LinkedSprite(SpriteType.Entity, "anvil"), new LinkedSprite(SpriteType.Item, "anvil"), 3, 2, Recipes.anvilRecipes), Enchanter(new LinkedSprite(SpriteType.Entity, "enchanter"), new LinkedSprite(SpriteType.Item, "enchanter"), 7, 2, Recipes.enchantRecipes), - Loom(new LinkedSprite(SpriteType.Entity, "loom"), new LinkedSprite(SpriteType.Item, "loom"), 7, 2, Recipes.loomRecipes); + Loom(new LinkedSprite(SpriteType.Entity, "loom"), new LinkedSprite(SpriteType.Item, "loom"), 7, 2, Recipes.loomRecipes), + DyeVat(new LinkedSprite(SpriteType.Entity, "dyevat"), new LinkedSprite(SpriteType.Item, "dyevat"), 0, 0, Recipes.dyeVatRecipes); public ArrayList recipes; protected LinkedSprite sprite; @@ -45,12 +46,12 @@ public enum Type { * @param type What type of crafter this is. */ public Crafter(Crafter.Type type) { - super(type.name(), type.sprite, type.itemSprite, type.xr, type.yr); + super((type.name().equalsIgnoreCase("DyeVat") ? "Dye Vat" : type.name()), type.sprite, type.itemSprite, type.xr, type.yr); this.type = type; } public boolean use(Player player) { - Game.setDisplay(new CraftingDisplay(type.recipes, type.name(), player)); + Game.setDisplay(new CraftingDisplay(type.recipes, (type.name().equalsIgnoreCase("DyeVat") ? "Dye Vat" : type.name()), player)); return true; } @@ -61,6 +62,6 @@ public boolean use(Player player) { @Override public String toString() { - return type.name() + getDataPrints(); + return (type.name().equalsIgnoreCase("DyeVat") ? "Dye Vat" : type.name()) + getDataPrints(); } } diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index 6ee539f50..c9e365558 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -45,6 +45,7 @@ public class Recipes { public static final ArrayList enchantRecipes = new ArrayList<>(); public static final ArrayList craftRecipes = new ArrayList<>(); public static final ArrayList loomRecipes = new ArrayList<>(); + public static final ArrayList dyeVatRecipes = new ArrayList<>(); static { craftRecipes.add(new Recipe("Workbench_1", "Wood_10")); @@ -100,41 +101,41 @@ public class Recipes { workbenchRecipes.add(new Recipe("Leather Armor_1", "leather_10")); workbenchRecipes.add(new Recipe("Snake Armor_1", "scale_15")); - workbenchRecipes.add(new Recipe("white dye_1", "White Lily_1")); - workbenchRecipes.add(new Recipe("light gray dye_1", "Oxeye Daisy_1")); - workbenchRecipes.add(new Recipe("light gray dye_1", "Hydrangea_1")); - workbenchRecipes.add(new Recipe("light gray dye_1", "White Tulip_1")); - workbenchRecipes.add(new Recipe("blue dye_1", "Lapis_1")); - workbenchRecipes.add(new Recipe("blue dye_1", "Cornflower_1")); - workbenchRecipes.add(new Recipe("blue dye_1", "Iris_1")); - workbenchRecipes.add(new Recipe("green dye_1", "Cactus_1")); - workbenchRecipes.add(new Recipe("yellow dye_1", "Sunflower_1")); - workbenchRecipes.add(new Recipe("yellow dye_1", "Dandelion_1")); - workbenchRecipes.add(new Recipe("light blue dye_1", "Blue Orchid_1")); - workbenchRecipes.add(new Recipe("light blue dye_1", "Periwinkle_1")); - workbenchRecipes.add(new Recipe("black dye_1", "Coal_1")); - workbenchRecipes.add(new Recipe("red dye_1", "Rose_1")); - workbenchRecipes.add(new Recipe("red dye_1", "Red Tulip_1")); - workbenchRecipes.add(new Recipe("red dye_1", "Poppy_1")); - workbenchRecipes.add(new Recipe("magenta dye_1", "Allium_1")); - workbenchRecipes.add(new Recipe("orange dye_1", "Orange Tulip_1")); - workbenchRecipes.add(new Recipe("pink dye_1", "Pink Tulip_1")); - workbenchRecipes.add(new Recipe("pink dye_1", "Peony_1")); - workbenchRecipes.add(new Recipe("pink dye_1", "Pink Lily_1")); - workbenchRecipes.add(new Recipe("purple dye_1", "Violet_1")); - workbenchRecipes.add(new Recipe("orange dye_2", "red dye_1", "yellow dye_1")); - workbenchRecipes.add(new Recipe("purple dye_2", "blue dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("cyan dye_2", "blue dye_1", "green dye_1")); - workbenchRecipes.add(new Recipe("brown dye_2", "green dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("pink dye_2", "white dye_1", "red dye_1")); - workbenchRecipes.add(new Recipe("light blue dye_2", "white dye_1", "blue dye_1")); - workbenchRecipes.add(new Recipe("lime dye_2", "white dye_1", "green dye_1")); - workbenchRecipes.add(new Recipe("gray dye_2", "white dye_1", "black dye_1")); - workbenchRecipes.add(new Recipe("light gray dye_2", "white dye_1", "gray dye_1")); - workbenchRecipes.add(new Recipe("light gray dye_3", "white dye_2", "black dye_1")); - workbenchRecipes.add(new Recipe("magenta dye_2", "purple dye_1", "pink dye_1")); - workbenchRecipes.add(new Recipe("magenta dye_4", "red dye_2", "white dye_1", "blue dye_1")); - workbenchRecipes.add(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1")); + dyeVatRecipes.add(new Recipe("white dye_1", "White Lily_1")); + dyeVatRecipes.add(new Recipe("light gray dye_1", "Oxeye Daisy_1")); + dyeVatRecipes.add(new Recipe("light gray dye_1", "Hydrangea_1")); + dyeVatRecipes.add(new Recipe("light gray dye_1", "White Tulip_1")); + dyeVatRecipes.add(new Recipe("blue dye_1", "Lapis_1")); + dyeVatRecipes.add(new Recipe("blue dye_1", "Cornflower_1")); + dyeVatRecipes.add(new Recipe("blue dye_1", "Iris_1")); + dyeVatRecipes.add(new Recipe("green dye_1", "Cactus_1")); + dyeVatRecipes.add(new Recipe("yellow dye_1", "Sunflower_1")); + dyeVatRecipes.add(new Recipe("yellow dye_1", "Dandelion_1")); + dyeVatRecipes.add(new Recipe("light blue dye_1", "Blue Orchid_1")); + dyeVatRecipes.add(new Recipe("light blue dye_1", "Periwinkle_1")); + dyeVatRecipes.add(new Recipe("black dye_1", "Coal_1")); + dyeVatRecipes.add(new Recipe("red dye_1", "Rose_1")); + dyeVatRecipes.add(new Recipe("red dye_1", "Red Tulip_1")); + dyeVatRecipes.add(new Recipe("red dye_1", "Poppy_1")); + dyeVatRecipes.add(new Recipe("magenta dye_1", "Allium_1")); + dyeVatRecipes.add(new Recipe("orange dye_1", "Orange Tulip_1")); + dyeVatRecipes.add(new Recipe("pink dye_1", "Pink Tulip_1")); + dyeVatRecipes.add(new Recipe("pink dye_1", "Peony_1")); + dyeVatRecipes.add(new Recipe("pink dye_1", "Pink Lily_1")); + dyeVatRecipes.add(new Recipe("purple dye_1", "Violet_1")); + dyeVatRecipes.add(new Recipe("orange dye_2", "red dye_1", "yellow dye_1")); + dyeVatRecipes.add(new Recipe("purple dye_2", "blue dye_1", "red dye_1")); + dyeVatRecipes.add(new Recipe("cyan dye_2", "blue dye_1", "green dye_1")); + dyeVatRecipes.add(new Recipe("brown dye_2", "green dye_1", "red dye_1")); + dyeVatRecipes.add(new Recipe("pink dye_2", "white dye_1", "red dye_1")); + dyeVatRecipes.add(new Recipe("light blue dye_2", "white dye_1", "blue dye_1")); + dyeVatRecipes.add(new Recipe("lime dye_2", "white dye_1", "green dye_1")); + dyeVatRecipes.add(new Recipe("gray dye_2", "white dye_1", "black dye_1")); + dyeVatRecipes.add(new Recipe("light gray dye_2", "white dye_1", "gray dye_1")); + dyeVatRecipes.add(new Recipe("light gray dye_3", "white dye_2", "black dye_1")); + dyeVatRecipes.add(new Recipe("magenta dye_2", "purple dye_1", "pink dye_1")); + dyeVatRecipes.add(new Recipe("magenta dye_4", "red dye_2", "white dye_1", "blue dye_1")); + dyeVatRecipes.add(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1")); loomRecipes.add(new Recipe("String_2", "white wool_1")); loomRecipes.add(new Recipe("white wool_1", "String_3")); diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index 26cbc3e02..746e789df 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -1294,6 +1294,8 @@ private static Entity getEntity(String string, int mobLevel) { return new KnightStatue(0); case "ObsidianKnight": return new ObsidianKnight(0); + case "DyeVat": + return new Crafter(Crafter.Type.DyeVat); default: Logging.SAVELOAD.error("LOAD ERROR: Unknown or outdated entity requested: " + string); return null; From b3462d727d4c8f525efd84dda97c1ca8f012974d Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 01:21:36 +0800 Subject: [PATCH 48/59] Fix name casing of coloring items and entities --- .../java/minicraft/entity/furniture/Bed.java | 3 +- src/client/java/minicraft/item/DyeItem.java | 3 +- src/client/java/minicraft/item/WoolItem.java | 3 +- src/client/java/minicraft/util/MyUtils.java | 85 +++++++++++++++++++ 4 files changed, 91 insertions(+), 3 deletions(-) diff --git a/src/client/java/minicraft/entity/furniture/Bed.java b/src/client/java/minicraft/entity/furniture/Bed.java index 0b9e9d9a6..bd849a494 100644 --- a/src/client/java/minicraft/entity/furniture/Bed.java +++ b/src/client/java/minicraft/entity/furniture/Bed.java @@ -9,6 +9,7 @@ import minicraft.gfx.SpriteLinker.SpriteType; import minicraft.item.DyeItem; import minicraft.level.Level; +import minicraft.util.MyUtils; import org.jetbrains.annotations.NotNull; import java.util.HashMap; @@ -40,7 +41,7 @@ public class Bed extends Furniture { */ public Bed() { this(DyeItem.DyeColor.WHITE); } public Bed(DyeItem.DyeColor color) { - super(color.toString().replace('_', ' ') + " Bed", sprites.get(color), itemSprites.get(color), 3, 2); + super(MyUtils.capitalizeFully(color.toString().replace('_', ' ')) + " Bed", sprites.get(color), itemSprites.get(color), 3, 2); this.color = color; } diff --git a/src/client/java/minicraft/item/DyeItem.java b/src/client/java/minicraft/item/DyeItem.java index 65a88c934..923e905a1 100644 --- a/src/client/java/minicraft/item/DyeItem.java +++ b/src/client/java/minicraft/item/DyeItem.java @@ -1,6 +1,7 @@ package minicraft.item; import minicraft.gfx.SpriteLinker; +import minicraft.util.MyUtils; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; @@ -11,7 +12,7 @@ protected static ArrayList getAllInstances() { ArrayList items = new ArrayList<>(); for (DyeColor color : DyeColor.values()) { - items.add(new DyeItem(color.toString().replace('_', ' ') + " Dye", new SpriteLinker.LinkedSprite( + items.add(new DyeItem(MyUtils.capitalizeFully(color.toString().replace('_', ' ')) + " Dye", new SpriteLinker.LinkedSprite( SpriteLinker.SpriteType.Item, color.toString().toLowerCase() + "_dye"), color)); } diff --git a/src/client/java/minicraft/item/WoolItem.java b/src/client/java/minicraft/item/WoolItem.java index 754dddcb3..ce5f3321b 100644 --- a/src/client/java/minicraft/item/WoolItem.java +++ b/src/client/java/minicraft/item/WoolItem.java @@ -1,6 +1,7 @@ package minicraft.item; import minicraft.gfx.SpriteLinker; +import minicraft.util.MyUtils; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; @@ -10,7 +11,7 @@ protected static ArrayList getAllInstances() { ArrayList items = new ArrayList<>(); for (DyeItem.DyeColor color : DyeItem.DyeColor.values()) { - items.add(new WoolItem(color.toString().replace('_', ' ') + " Wool", new SpriteLinker.LinkedSprite( + items.add(new WoolItem(MyUtils.capitalizeFully(color.toString().replace('_', ' ')) + " Wool", new SpriteLinker.LinkedSprite( SpriteLinker.SpriteType.Item, color.toString().toLowerCase() + "_wool"), color)); } diff --git a/src/client/java/minicraft/util/MyUtils.java b/src/client/java/minicraft/util/MyUtils.java index 6a0f78614..6dfe6b8b2 100644 --- a/src/client/java/minicraft/util/MyUtils.java +++ b/src/client/java/minicraft/util/MyUtils.java @@ -1,5 +1,7 @@ package minicraft.util; +import org.jetbrains.annotations.NotNull; + public final class MyUtils { private MyUtils() { @@ -24,6 +26,89 @@ public static String plural(int num, String word) { return num + " " + word + p; } + /** + *

Capitalizes all the delimiter separated words in a String. + * Only the first letter of each word is changed. To convert the + * rest of each word to lowercase at the same time, + * use {@link #capitalizeFully(String)}.

+ * + *

The delimiters represent a set of characters understood to separate words. + * The first string character and the first non-delimiter character after a + * delimiter will be capitalized.

+ * + *

A null input String returns null. + * Capitalization uses the unicode title case, normally equivalent to + * upper case.

+ * + *
+	 * WordUtils.capitalize(null, *)            = null
+	 * WordUtils.capitalize("", *)              = ""
+	 * WordUtils.capitalize(*, new char[0])     = *
+	 * WordUtils.capitalize("i am fine", null)  = "I Am Fine"
+	 * WordUtils.capitalize("i aM.fine", {'.'}) = "I aM.Fine"
+	 * 
+ * + * Source: modified and copied from Apache commons-lang WordUtils#capitalize + * + * @param str the String to capitalize, may be null + * @return capitalized String, null if null String input + */ + public static String capitalize(@NotNull String str) { + if (str.isEmpty()) { + return str; + } + int strLen = str.length(); + StringBuffer buffer = new StringBuffer(strLen); + boolean capitalizeNext = true; + for (int i = 0; i < strLen; i++) { + char ch = str.charAt(i); + if (Character.isWhitespace(ch)) { + buffer.append(ch); + capitalizeNext = true; + } else if (capitalizeNext) { + buffer.append(Character.toTitleCase(ch)); + capitalizeNext = false; + } else { + buffer.append(ch); + } + } + return buffer.toString(); + } + + /** + *

Converts all the delimiter separated words in a String into capitalized words, + * that is each word is made up of a titlecase character and then a series of + * lowercase characters.

+ * + *

The delimiters represent a set of characters understood to separate words. + * The first string character and the first non-delimiter character after a + * delimiter will be capitalized.

+ * + *

A null input String returns null. + * Capitalization uses the unicode title case, normally equivalent to + * upper case.

+ * + *
+	 * WordUtils.capitalizeFully(null, *)            = null
+	 * WordUtils.capitalizeFully("", *)              = ""
+	 * WordUtils.capitalizeFully(*, null)            = *
+	 * WordUtils.capitalizeFully(*, new char[0])     = *
+	 * WordUtils.capitalizeFully("i aM.fine", {'.'}) = "I am.Fine"
+	 * 
+ * + * Source: modified and copied from Apache commons-lang WordUtils#capitalizeFully + * + * @param str the String to capitalize, may be null + * @return capitalized String, null if null String input + */ + public static String capitalizeFully(@NotNull String str) { + if (str.isEmpty()) { + return str; + } + str = str.toLowerCase(); + return capitalize(str); + } + public static void sleep(int millis) { try { Thread.sleep(millis); From d464775e506b705f90cac870a12ecb55c1488d14 Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 13:37:19 -0400 Subject: [PATCH 49/59] Added textures for the dye vat --- .../resources/assets/textures/entity/dyevat.png | Bin 0 -> 217 bytes .../resources/assets/textures/item/dyevat.png | Bin 0 -> 156 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/client/resources/assets/textures/entity/dyevat.png create mode 100644 src/client/resources/assets/textures/item/dyevat.png diff --git a/src/client/resources/assets/textures/entity/dyevat.png b/src/client/resources/assets/textures/entity/dyevat.png new file mode 100644 index 0000000000000000000000000000000000000000..e4b52a65fd5cf838ddf1b6cc3b5b0b04e2b4c58f GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|CVRR#hFJI~ zrz{XK2wE|}(TuI2u<-Bk=bQ5H?>ne_tboyD^ODz!Y=(|uZQ<|hlV>ms?cZ@~5@Q-i z7o)-17rQ3#R`0vrr>LgZmUwcKYJ#%?PebN4ervvRMh{`516d3w$|kVzG~_femJ}}H zIUw4h(A?h0Xz+gF5vGMlnq|}!dKJD(uqiAzh-u`w?6Hy2fLr674+EoAnc&*g#ruHH OWAJqKb6Mw<&;$VK^GbsN literal 0 HcmV?d00001 diff --git a/src/client/resources/assets/textures/item/dyevat.png b/src/client/resources/assets/textures/item/dyevat.png new file mode 100644 index 0000000000000000000000000000000000000000..b4d207da9e9382ab9501cfcd4eba26b4ef2128fa GIT binary patch literal 156 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|!aQ9ZLo|Yu zQxq5^5&l}|#OblWodd};#{tE(aVDNPHb6Mw<&;$S$ C`!8Ss literal 0 HcmV?d00001 From be033e669ddcc0f17c3b80444e9e2ff4818e49ad Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 02:06:01 +0800 Subject: [PATCH 50/59] Update recipe advancement auto resolver --- src/client/java/minicraft/item/Recipes.java | 22 +- .../java/minicraft/level/tile/FlowerTile.java | 4 + src/client/resources/resources/recipes.json | 902 +++++++++--------- 3 files changed, 475 insertions(+), 453 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index c9e365558..4838bff15 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -1,6 +1,7 @@ package minicraft.item; import minicraft.entity.furniture.Bed; +import minicraft.level.tile.FlowerTile; import minicraft.saveload.Save; import org.json.JSONArray; import org.json.JSONObject; @@ -30,6 +31,7 @@ import java.io.File; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; @@ -269,6 +271,7 @@ public static void main(String[] args) { recipes.addAll(enchantRecipes); recipes.addAll(craftRecipes); recipes.addAll(loomRecipes); + recipes.addAll(dyeVatRecipes); HashMap recipeMap = new HashMap<>(); HashMap> duplicatedRecipes = new HashMap<>(); Function itemNameFixer = item -> { @@ -277,14 +280,29 @@ public static void main(String[] args) { item instanceof ToolItem ? name.replaceAll("(?i)wood", "wooden").replaceAll("(?i)rock", "stone") : name) .toLowerCase().replace(' ', '_'); }; + String[] flowerNames = Arrays.stream(FlowerTile.FlowerVariant.values()).map(FlowerTile.FlowerVariant::getName).toArray(String[]::new); + HashMap resolvedRecipes = new HashMap<>(); // Directly hardcoded + resolvedRecipes.put(new Recipe("light gray dye_2", "white dye_1", "gray dye_1"), "light_gray_dye_from_gray_white_dye"); + resolvedRecipes.put(new Recipe("light gray dye_2", "white dye_1", "black dye_1"), "light_gray_dye_from_black_white_dye"); + resolvedRecipes.put(new Recipe("magenta dye_2", "purple dye_1", "pink dye_1"), "magenta_dye_from_purple_and_pink"); + resolvedRecipes.put(new Recipe("magenta dye_4", "red dye_2", "white dye_1", "blue dye_1"), "magenta_dye_from_blue_red_white_dye"); + resolvedRecipes.put(new Recipe("magenta dye_4", "pink dye_1", "red dye_1", "blue dye_1"), "magenta_dye_from_blue_red_pink"); Function recipeNameFixer = recipe -> { // This is applied when duplication occurs. Item item = recipe.getProduct(); String name = itemNameFixer.apply(item); + String resolved; + if ((resolved = resolvedRecipes.get(recipe)) != null) return resolved; if (item instanceof DyeItem) { Map costs = recipe.getCosts(); - if (costs.size() == 2 && costs.containsKey("WHITE DYE")) + if (costs.size() == 2 && costs.containsKey("WHITE DYE") && + costs.keySet().stream().filter(c -> c.endsWith("DYE")).count() == 1) return name + "_from_white_dye"; - return name; + if (costs.size() == 1) { + String cost = costs.keySet().iterator().next(); + if (Arrays.stream(flowerNames).anyMatch(n -> n.equalsIgnoreCase(cost))) { + return name + "_from_" + cost.toLowerCase().replace(' ', '_'); + } + } } else if (item instanceof FurnitureItem && ((FurnitureItem) item).furniture instanceof Bed) { if (recipe.getCosts().containsKey("WHITE BED")) return name + "_from_white_bed"; diff --git a/src/client/java/minicraft/level/tile/FlowerTile.java b/src/client/java/minicraft/level/tile/FlowerTile.java index 27e1219d4..eb34b1097 100644 --- a/src/client/java/minicraft/level/tile/FlowerTile.java +++ b/src/client/java/minicraft/level/tile/FlowerTile.java @@ -43,6 +43,10 @@ public enum FlowerVariant { this.name = name; this.sprite = sprite; } + + public String getName() { + return name; + } } protected FlowerTile(String name) { diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index 3dec34c34..8eb58c842 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -188,7 +188,7 @@ "items": [ { "items": [ - "BLACK Wool" + "Black Wool" ] } ] @@ -216,9 +216,9 @@ ], "rewards": { "recipes": { - "BLACK Bed_1": [ + "Black Bed_1": [ "Wood_5", - "BLACK Wool_3" + "Black Wool_3" ] } } @@ -230,7 +230,7 @@ "items": [ { "items": [ - "BLACK Dye" + "Black Dye" ] } ] @@ -242,7 +242,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -258,9 +258,9 @@ ], "rewards": { "recipes": { - "BLACK Bed_1": [ - "WHITE Bed_1", - "BLACK Dye_1" + "Black Bed_1": [ + "White Bed_1", + "Black Dye_1" ] } } @@ -272,7 +272,7 @@ "items": [ { "items": [ - "BLACK Dye" + "Black Dye" ] } ] @@ -302,7 +302,7 @@ "recipes": { "Black Clothes_1": [ "Cloth_5", - "BLACK Dye_1" + "Black Dye_1" ] } } @@ -329,7 +329,7 @@ ], "rewards": { "recipes": { - "BLACK Dye_1": [ + "Black Dye_1": [ "Coal_1" ] } @@ -342,7 +342,7 @@ "items": [ { "items": [ - "BLACK Dye" + "Black Dye" ] } ] @@ -354,7 +354,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -370,9 +370,9 @@ ], "rewards": { "recipes": { - "BLACK Wool_1": [ - "BLACK Dye_1", - "WHITE Wool_1" + "Black Wool_1": [ + "Black Dye_1", + "White Wool_1" ] } } @@ -384,7 +384,7 @@ "items": [ { "items": [ - "BLUE Wool" + "Blue Wool" ] } ] @@ -412,9 +412,9 @@ ], "rewards": { "recipes": { - "BLUE Bed_1": [ + "Blue Bed_1": [ "Wood_5", - "BLUE Wool_3" + "Blue Wool_3" ] } } @@ -426,7 +426,7 @@ "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -438,7 +438,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -454,9 +454,9 @@ ], "rewards": { "recipes": { - "BLUE Bed_1": [ - "BLUE Dye_1", - "WHITE Bed_1" + "Blue Bed_1": [ + "Blue Dye_1", + "White Bed_1" ] } } @@ -468,7 +468,7 @@ "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -497,20 +497,20 @@ "rewards": { "recipes": { "Blue Clothes_1": [ - "BLUE Dye_1", + "Blue Dye_1", "Cloth_5" ] } } }, - "minicraft.advancements.recipes.blue_dye_from_cornflower": { + "minicraft.advancements.recipes.blue_dye": { "criteria": { - "has_cornflower": { + "has_lapis": { "conditions": { "items": [ { "items": [ - "Cornflower" + "Lapis" ] } ] @@ -520,25 +520,25 @@ }, "requirements": [ [ - "has_cornflower" + "has_lapis" ] ], "rewards": { "recipes": { - "BLUE Dye_1": [ - "Cornflower_1" + "Blue Dye_1": [ + "Lapis_1" ] } } }, - "minicraft.advancements.recipes.blue_dye_from_iris": { + "minicraft.advancements.recipes.blue_dye_from_cornflower": { "criteria": { - "has_iris": { + "has_cornflower": { "conditions": { "items": [ { "items": [ - "Iris" + "Cornflower" ] } ] @@ -548,25 +548,25 @@ }, "requirements": [ [ - "has_iris" + "has_cornflower" ] ], "rewards": { "recipes": { - "BLUE Dye_1": [ - "Iris_1" + "Blue Dye_1": [ + "Cornflower_1" ] } } }, - "minicraft.advancements.recipes.blue_dye_from_lapis": { + "minicraft.advancements.recipes.blue_dye_from_iris": { "criteria": { - "has_lapis": { + "has_iris": { "conditions": { "items": [ { "items": [ - "Lapis" + "Iris" ] } ] @@ -576,13 +576,13 @@ }, "requirements": [ [ - "has_lapis" + "has_iris" ] ], "rewards": { "recipes": { - "BLUE Dye_1": [ - "Lapis_1" + "Blue Dye_1": [ + "Iris_1" ] } } @@ -594,7 +594,7 @@ "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -606,7 +606,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -622,9 +622,9 @@ ], "rewards": { "recipes": { - "BLUE Wool_1": [ - "BLUE Dye_1", - "WHITE Wool_1" + "Blue Wool_1": [ + "Blue Dye_1", + "White Wool_1" ] } } @@ -664,7 +664,7 @@ "items": [ { "items": [ - "BROWN Wool" + "Brown Wool" ] } ] @@ -692,8 +692,8 @@ ], "rewards": { "recipes": { - "BROWN Bed_1": [ - "BROWN Wool_3", + "Brown Bed_1": [ + "Brown Wool_3", "Wood_5" ] } @@ -706,7 +706,7 @@ "items": [ { "items": [ - "BROWN Dye" + "Brown Dye" ] } ] @@ -718,7 +718,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -734,9 +734,9 @@ ], "rewards": { "recipes": { - "BROWN Bed_1": [ - "WHITE Bed_1", - "BROWN Dye_1" + "Brown Bed_1": [ + "White Bed_1", + "Brown Dye_1" ] } } @@ -748,7 +748,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -760,7 +760,7 @@ "items": [ { "items": [ - "RED Dye" + "Red Dye" ] } ] @@ -776,9 +776,9 @@ ], "rewards": { "recipes": { - "BROWN Dye_2": [ - "GREEN Dye_1", - "RED Dye_1" + "Brown Dye_2": [ + "Green Dye_1", + "Red Dye_1" ] } } @@ -790,7 +790,7 @@ "items": [ { "items": [ - "BROWN Dye" + "Brown Dye" ] } ] @@ -802,7 +802,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -818,9 +818,9 @@ ], "rewards": { "recipes": { - "BROWN Wool_1": [ - "BROWN Dye_1", - "WHITE Wool_1" + "Brown Wool_1": [ + "Brown Dye_1", + "White Wool_1" ] } } @@ -944,7 +944,7 @@ "items": [ { "items": [ - "CYAN Wool" + "Cyan Wool" ] } ] @@ -972,9 +972,9 @@ ], "rewards": { "recipes": { - "CYAN Bed_1": [ + "Cyan Bed_1": [ "Wood_5", - "CYAN Wool_3" + "Cyan Wool_3" ] } } @@ -986,7 +986,7 @@ "items": [ { "items": [ - "CYAN Dye" + "Cyan Dye" ] } ] @@ -998,7 +998,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -1014,9 +1014,9 @@ ], "rewards": { "recipes": { - "CYAN Bed_1": [ - "CYAN Dye_1", - "WHITE Bed_1" + "Cyan Bed_1": [ + "Cyan Dye_1", + "White Bed_1" ] } } @@ -1040,7 +1040,7 @@ "items": [ { "items": [ - "CYAN Dye" + "Cyan Dye" ] } ] @@ -1057,7 +1057,7 @@ "rewards": { "recipes": { "Cyan Clothes_1": [ - "CYAN Dye_1", + "Cyan Dye_1", "Cloth_5" ] } @@ -1070,7 +1070,7 @@ "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -1082,7 +1082,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -1098,9 +1098,9 @@ ], "rewards": { "recipes": { - "CYAN Dye_2": [ - "BLUE Dye_1", - "GREEN Dye_1" + "Cyan Dye_2": [ + "Blue Dye_1", + "Green Dye_1" ] } } @@ -1112,7 +1112,7 @@ "items": [ { "items": [ - "CYAN Dye" + "Cyan Dye" ] } ] @@ -1124,7 +1124,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -1140,9 +1140,9 @@ ], "rewards": { "recipes": { - "CYAN Wool_1": [ - "CYAN Dye_1", - "WHITE Wool_1" + "Cyan Wool_1": [ + "Cyan Dye_1", + "White Wool_1" ] } } @@ -2330,7 +2330,7 @@ "items": [ { "items": [ - "GRAY Wool" + "Gray Wool" ] } ] @@ -2358,8 +2358,8 @@ ], "rewards": { "recipes": { - "GRAY Bed_1": [ - "GRAY Wool_3", + "Gray Bed_1": [ + "Gray Wool_3", "Wood_5" ] } @@ -2372,7 +2372,7 @@ "items": [ { "items": [ - "GRAY Dye" + "Gray Dye" ] } ] @@ -2384,7 +2384,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -2400,9 +2400,9 @@ ], "rewards": { "recipes": { - "GRAY Bed_1": [ - "GRAY Dye_1", - "WHITE Bed_1" + "Gray Bed_1": [ + "Gray Dye_1", + "White Bed_1" ] } } @@ -2414,7 +2414,7 @@ "items": [ { "items": [ - "BLACK Dye" + "Black Dye" ] } ] @@ -2426,7 +2426,7 @@ "items": [ { "items": [ - "WHITE Dye" + "White Dye" ] } ] @@ -2442,9 +2442,9 @@ ], "rewards": { "recipes": { - "GRAY Dye_2": [ - "WHITE Dye_1", - "BLACK Dye_1" + "Gray Dye_2": [ + "White Dye_1", + "Black Dye_1" ] } } @@ -2456,7 +2456,7 @@ "items": [ { "items": [ - "GRAY Dye" + "Gray Dye" ] } ] @@ -2468,7 +2468,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -2484,9 +2484,9 @@ ], "rewards": { "recipes": { - "GRAY Wool_1": [ - "GRAY Dye_1", - "WHITE Wool_1" + "Gray Wool_1": [ + "Gray Dye_1", + "White Wool_1" ] } } @@ -2498,7 +2498,7 @@ "items": [ { "items": [ - "GREEN Wool" + "Green Wool" ] } ] @@ -2526,8 +2526,8 @@ ], "rewards": { "recipes": { - "GREEN Bed_1": [ - "GREEN Wool_3", + "Green Bed_1": [ + "Green Wool_3", "Wood_5" ] } @@ -2540,7 +2540,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -2552,7 +2552,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -2568,9 +2568,9 @@ ], "rewards": { "recipes": { - "GREEN Bed_1": [ - "GREEN Dye_1", - "WHITE Bed_1" + "Green Bed_1": [ + "Green Dye_1", + "White Bed_1" ] } } @@ -2594,7 +2594,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -2612,7 +2612,7 @@ "recipes": { "Green Clothes_1": [ "Cloth_5", - "GREEN Dye_1" + "Green Dye_1" ] } } @@ -2639,7 +2639,7 @@ ], "rewards": { "recipes": { - "GREEN Dye_1": [ + "Green Dye_1": [ "Cactus_1" ] } @@ -2652,7 +2652,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -2664,7 +2664,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -2680,9 +2680,9 @@ ], "rewards": { "recipes": { - "GREEN Wool_1": [ - "GREEN Dye_1", - "WHITE Wool_1" + "Green Wool_1": [ + "Green Dye_1", + "White Wool_1" ] } } @@ -3408,7 +3408,7 @@ "items": [ { "items": [ - "LIGHT BLUE Wool" + "Light Blue Wool" ] } ] @@ -3436,8 +3436,8 @@ ], "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Wool_3", + "Light Blue Bed_1": [ + "Light Blue Wool_3", "Wood_5" ] } @@ -3450,7 +3450,7 @@ "items": [ { "items": [ - "LIGHT BLUE Dye" + "Light Blue Dye" ] } ] @@ -3462,7 +3462,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -3478,21 +3478,33 @@ ], "rewards": { "recipes": { - "LIGHT BLUE Bed_1": [ - "LIGHT BLUE Dye_1", - "WHITE Bed_1" + "Light Blue Bed_1": [ + "Light Blue Dye_1", + "White Bed_1" ] } } }, - "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { + "minicraft.advancements.recipes.light_blue_dye": { "criteria": { - "has_blue_orchid": { + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "Blue Orchid" + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" ] } ] @@ -3502,25 +3514,27 @@ }, "requirements": [ [ - "has_blue_orchid" + "has_white_dye", + "has_blue_dye" ] ], "rewards": { "recipes": { - "LIGHT BLUE Dye_1": [ - "Blue Orchid_1" + "Light Blue Dye_2": [ + "Blue Dye_1", + "White Dye_1" ] } } }, - "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { + "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { "criteria": { - "has_periwinkle": { + "has_blue_orchid": { "conditions": { "items": [ { "items": [ - "Periwinkle" + "Blue Orchid" ] } ] @@ -3530,37 +3544,25 @@ }, "requirements": [ [ - "has_periwinkle" + "has_blue_orchid" ] ], "rewards": { "recipes": { - "LIGHT BLUE Dye_1": [ - "Periwinkle_1" + "Light Blue Dye_1": [ + "Blue Orchid_1" ] } } }, - "minicraft.advancements.recipes.light_blue_dye_from_white_dye": { + "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "BLUE Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { + "has_periwinkle": { "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Periwinkle" ] } ] @@ -3570,15 +3572,13 @@ }, "requirements": [ [ - "has_white_dye", - "has_blue_dye" + "has_periwinkle" ] ], "rewards": { "recipes": { - "LIGHT BLUE Dye_2": [ - "BLUE Dye_1", - "WHITE Dye_1" + "Light Blue Dye_1": [ + "Periwinkle_1" ] } } @@ -3590,7 +3590,7 @@ "items": [ { "items": [ - "LIGHT BLUE Dye" + "Light Blue Dye" ] } ] @@ -3602,7 +3602,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -3618,9 +3618,9 @@ ], "rewards": { "recipes": { - "LIGHT BLUE Wool_1": [ - "LIGHT BLUE Dye_1", - "WHITE Wool_1" + "Light Blue Wool_1": [ + "Light Blue Dye_1", + "White Wool_1" ] } } @@ -3632,7 +3632,7 @@ "items": [ { "items": [ - "LIGHT GRAY Wool" + "Light Gray Wool" ] } ] @@ -3660,9 +3660,9 @@ ], "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ + "Light Gray Bed_1": [ "Wood_5", - "LIGHT GRAY Wool_3" + "Light Gray Wool_3" ] } } @@ -3674,7 +3674,7 @@ "items": [ { "items": [ - "LIGHT GRAY Dye" + "Light Gray Dye" ] } ] @@ -3686,7 +3686,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -3702,21 +3702,21 @@ ], "rewards": { "recipes": { - "LIGHT GRAY Bed_1": [ - "WHITE Bed_1", - "LIGHT GRAY Dye_1" + "Light Gray Bed_1": [ + "White Bed_1", + "Light Gray Dye_1" ] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_dye": { + "minicraft.advancements.recipes.light_gray_dye": { "criteria": { - "has_gray_dye": { + "has_black_dye": { "conditions": { "items": [ { "items": [ - "GRAY Dye" + "Black Dye" ] } ] @@ -3728,7 +3728,7 @@ "items": [ { "items": [ - "WHITE Dye" + "White Dye" ] } ] @@ -3738,27 +3738,39 @@ }, "requirements": [ [ - "has_gray_dye", - "has_white_dye" + "has_white_dye", + "has_black_dye" ] ], "rewards": { "recipes": { - "LIGHT GRAY Dye_2": [ - "GRAY Dye_1", - "WHITE Dye_1" + "Light Gray Dye_3": [ + "White Dye_2", + "Black Dye_1" ] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { "criteria": { - "has_hydrangea": { + "has_gray_dye": { "conditions": { "items": [ { "items": [ - "Hydrangea" + "Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" ] } ] @@ -3768,25 +3780,27 @@ }, "requirements": [ [ - "has_hydrangea" + "has_gray_dye", + "has_white_dye" ] ], "rewards": { "recipes": { - "LIGHT GRAY Dye_1": [ - "Hydrangea_1" + "Light Gray Dye_2": [ + "Gray Dye_1", + "White Dye_1" ] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { + "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { "criteria": { - "has_oxeye_daisy": { + "has_hydrangea": { "conditions": { "items": [ { "items": [ - "Oxeye Daisy" + "Hydrangea" ] } ] @@ -3796,37 +3810,25 @@ }, "requirements": [ [ - "has_oxeye_daisy" + "has_hydrangea" ] ], "rewards": { "recipes": { - "LIGHT GRAY Dye_1": [ - "Oxeye Daisy_1" + "Light Gray Dye_1": [ + "Hydrangea_1" ] } } }, - "minicraft.advancements.recipes.light_gray_dye_from_white_dye": { + "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "BLACK Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { + "has_oxeye_daisy": { "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Oxeye Daisy" ] } ] @@ -3836,15 +3838,13 @@ }, "requirements": [ [ - "has_white_dye", - "has_black_dye" + "has_oxeye_daisy" ] ], "rewards": { "recipes": { - "LIGHT GRAY Dye_3": [ - "WHITE Dye_2", - "BLACK Dye_1" + "Light Gray Dye_1": [ + "Oxeye Daisy_1" ] } } @@ -3871,7 +3871,7 @@ ], "rewards": { "recipes": { - "LIGHT GRAY Dye_1": [ + "Light Gray Dye_1": [ "White Tulip_1" ] } @@ -3884,7 +3884,7 @@ "items": [ { "items": [ - "LIGHT GRAY Dye" + "Light Gray Dye" ] } ] @@ -3896,7 +3896,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -3912,9 +3912,9 @@ ], "rewards": { "recipes": { - "LIGHT GRAY Wool_1": [ - "LIGHT GRAY Dye_1", - "WHITE Wool_1" + "Light Gray Wool_1": [ + "Light Gray Dye_1", + "White Wool_1" ] } } @@ -3968,7 +3968,7 @@ "items": [ { "items": [ - "LIME Wool" + "Lime Wool" ] } ] @@ -3996,8 +3996,8 @@ ], "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Wool_3", + "Lime Bed_1": [ + "Lime Wool_3", "Wood_5" ] } @@ -4010,7 +4010,7 @@ "items": [ { "items": [ - "LIME Dye" + "Lime Dye" ] } ] @@ -4022,7 +4022,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -4038,9 +4038,9 @@ ], "rewards": { "recipes": { - "LIME Bed_1": [ - "LIME Dye_1", - "WHITE Bed_1" + "Lime Bed_1": [ + "Lime Dye_1", + "White Bed_1" ] } } @@ -4052,7 +4052,7 @@ "items": [ { "items": [ - "GREEN Dye" + "Green Dye" ] } ] @@ -4064,7 +4064,7 @@ "items": [ { "items": [ - "WHITE Dye" + "White Dye" ] } ] @@ -4080,9 +4080,9 @@ ], "rewards": { "recipes": { - "LIME Dye_2": [ - "GREEN Dye_1", - "WHITE Dye_1" + "Lime Dye_2": [ + "Green Dye_1", + "White Dye_1" ] } } @@ -4094,7 +4094,7 @@ "items": [ { "items": [ - "LIME Dye" + "Lime Dye" ] } ] @@ -4106,7 +4106,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -4122,9 +4122,9 @@ ], "rewards": { "recipes": { - "LIME Wool_1": [ - "LIME Dye_1", - "WHITE Wool_1" + "Lime Wool_1": [ + "Lime Dye_1", + "White Wool_1" ] } } @@ -4136,7 +4136,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -4166,7 +4166,7 @@ "recipes": { "Loom_1": [ "Wood_10", - "WHITE Wool_5" + "White Wool_5" ] } } @@ -4178,7 +4178,7 @@ "items": [ { "items": [ - "MAGENTA Wool" + "Magenta Wool" ] } ] @@ -4206,9 +4206,9 @@ ], "rewards": { "recipes": { - "MAGENTA Bed_1": [ + "Magenta Bed_1": [ "Wood_5", - "MAGENTA Wool_3" + "Magenta Wool_3" ] } } @@ -4220,7 +4220,7 @@ "items": [ { "items": [ - "MAGENTA Dye" + "Magenta Dye" ] } ] @@ -4232,7 +4232,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -4248,9 +4248,9 @@ ], "rewards": { "recipes": { - "MAGENTA Bed_1": [ - "MAGENTA Dye_1", - "WHITE Bed_1" + "Magenta Bed_1": [ + "Magenta Dye_1", + "White Bed_1" ] } } @@ -4277,20 +4277,20 @@ ], "rewards": { "recipes": { - "MAGENTA Dye_1": [ + "Magenta Dye_1": [ "Allium_1" ] } } }, - "minicraft.advancements.recipes.magenta_dye_from_pink_dye": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { "criteria": { "has_blue_dye": { "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -4302,7 +4302,7 @@ "items": [ { "items": [ - "PINK Dye" + "Pink Dye" ] } ] @@ -4314,7 +4314,7 @@ "items": [ { "items": [ - "RED Dye" + "Red Dye" ] } ] @@ -4331,34 +4331,46 @@ ], "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "PINK Dye_1", - "RED Dye_1", - "BLUE Dye_1" + "Magenta Dye_4": [ + "Pink Dye_1", + "Red Dye_1", + "Blue Dye_1" ] } } }, - "minicraft.advancements.recipes.magenta_dye_from_purple_dye": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { "criteria": { - "has_pink_dye": { + "has_blue_dye": { "conditions": { "items": [ { "items": [ - "PINK Dye" + "Blue Dye" ] } ] }, "trigger": "inventory_changed" }, - "has_purple_dye": { + "has_red_dye": { "conditions": { "items": [ { "items": [ - "PURPLE Dye" + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" ] } ] @@ -4368,51 +4380,41 @@ }, "requirements": [ [ - "has_pink_dye", - "has_purple_dye" + "has_white_dye", + "has_red_dye", + "has_blue_dye" ] ], "rewards": { "recipes": { - "MAGENTA Dye_2": [ - "PINK Dye_1", - "PURPLE Dye_1" + "Magenta Dye_4": [ + "White Dye_1", + "Red Dye_2", + "Blue Dye_1" ] } } }, - "minicraft.advancements.recipes.magenta_dye_from_white_dye": { + "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "BLUE Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_red_dye": { + "has_pink_dye": { "conditions": { "items": [ { "items": [ - "RED Dye" + "Pink Dye" ] } ] }, "trigger": "inventory_changed" }, - "has_white_dye": { + "has_purple_dye": { "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Purple Dye" ] } ] @@ -4422,17 +4424,15 @@ }, "requirements": [ [ - "has_white_dye", - "has_red_dye", - "has_blue_dye" + "has_pink_dye", + "has_purple_dye" ] ], "rewards": { "recipes": { - "MAGENTA Dye_4": [ - "WHITE Dye_1", - "RED Dye_2", - "BLUE Dye_1" + "Magenta Dye_2": [ + "Pink Dye_1", + "Purple Dye_1" ] } } @@ -4444,7 +4444,7 @@ "items": [ { "items": [ - "MAGENTA Dye" + "Magenta Dye" ] } ] @@ -4456,7 +4456,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -4472,9 +4472,9 @@ ], "rewards": { "recipes": { - "MAGENTA Wool_1": [ - "MAGENTA Dye_1", - "WHITE Wool_1" + "Magenta Wool_1": [ + "Magenta Dye_1", + "White Wool_1" ] } } @@ -4668,7 +4668,7 @@ "items": [ { "items": [ - "ORANGE Wool" + "Orange Wool" ] } ] @@ -4696,9 +4696,9 @@ ], "rewards": { "recipes": { - "ORANGE Bed_1": [ + "Orange Bed_1": [ "Wood_5", - "ORANGE Wool_3" + "Orange Wool_3" ] } } @@ -4710,7 +4710,7 @@ "items": [ { "items": [ - "ORANGE Dye" + "Orange Dye" ] } ] @@ -4722,7 +4722,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -4738,9 +4738,9 @@ ], "rewards": { "recipes": { - "ORANGE Bed_1": [ - "ORANGE Dye_1", - "WHITE Bed_1" + "Orange Bed_1": [ + "Orange Dye_1", + "White Bed_1" ] } } @@ -4764,7 +4764,7 @@ "items": [ { "items": [ - "ORANGE Dye" + "Orange Dye" ] } ] @@ -4782,19 +4782,31 @@ "recipes": { "Orange Clothes_1": [ "Cloth_5", - "ORANGE Dye_1" + "Orange Dye_1" ] } } }, - "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { + "minicraft.advancements.recipes.orange_dye": { "criteria": { - "has_orange_tulip": { + "has_red_dye": { "conditions": { "items": [ { "items": [ - "Orange Tulip" + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Dye" ] } ] @@ -4804,37 +4816,27 @@ }, "requirements": [ [ - "has_orange_tulip" + "has_red_dye", + "has_yellow_dye" ] ], "rewards": { "recipes": { - "ORANGE Dye_1": [ - "Orange Tulip_1" + "Orange Dye_2": [ + "Yellow Dye_1", + "Red Dye_1" ] } } }, - "minicraft.advancements.recipes.orange_dye_from_yellow_dye": { + "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "RED Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_yellow_dye": { + "has_orange_tulip": { "conditions": { "items": [ { "items": [ - "YELLOW Dye" + "Orange Tulip" ] } ] @@ -4844,15 +4846,13 @@ }, "requirements": [ [ - "has_red_dye", - "has_yellow_dye" + "has_orange_tulip" ] ], "rewards": { "recipes": { - "ORANGE Dye_2": [ - "YELLOW Dye_1", - "RED Dye_1" + "Orange Dye_1": [ + "Orange Tulip_1" ] } } @@ -4864,7 +4864,7 @@ "items": [ { "items": [ - "ORANGE Dye" + "Orange Dye" ] } ] @@ -4876,7 +4876,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -4892,9 +4892,9 @@ ], "rewards": { "recipes": { - "ORANGE Wool_1": [ - "ORANGE Dye_1", - "WHITE Wool_1" + "Orange Wool_1": [ + "Orange Dye_1", + "White Wool_1" ] } } @@ -4990,7 +4990,7 @@ "items": [ { "items": [ - "PINK Wool" + "Pink Wool" ] } ] @@ -5018,9 +5018,9 @@ ], "rewards": { "recipes": { - "PINK Bed_1": [ + "Pink Bed_1": [ "Wood_5", - "PINK Wool_3" + "Pink Wool_3" ] } } @@ -5032,7 +5032,7 @@ "items": [ { "items": [ - "PINK Dye" + "Pink Dye" ] } ] @@ -5044,7 +5044,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -5060,21 +5060,33 @@ ], "rewards": { "recipes": { - "PINK Bed_1": [ - "PINK Dye_1", - "WHITE Bed_1" + "Pink Bed_1": [ + "Pink Dye_1", + "White Bed_1" ] } } }, - "minicraft.advancements.recipes.pink_dye_from_peony": { + "minicraft.advancements.recipes.pink_dye": { "criteria": { - "has_peony": { + "has_red_dye": { "conditions": { "items": [ { "items": [ - "Peony" + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" ] } ] @@ -5084,25 +5096,27 @@ }, "requirements": [ [ - "has_peony" + "has_white_dye", + "has_red_dye" ] ], "rewards": { "recipes": { - "PINK Dye_1": [ - "Peony_1" + "Pink Dye_2": [ + "White Dye_1", + "Red Dye_1" ] } } }, - "minicraft.advancements.recipes.pink_dye_from_pink_lily": { + "minicraft.advancements.recipes.pink_dye_from_peony": { "criteria": { - "has_pink_lily": { + "has_peony": { "conditions": { "items": [ { "items": [ - "Pink Lily" + "Peony" ] } ] @@ -5112,25 +5126,25 @@ }, "requirements": [ [ - "has_pink_lily" + "has_peony" ] ], "rewards": { "recipes": { - "PINK Dye_1": [ - "Pink Lily_1" + "Pink Dye_1": [ + "Peony_1" ] } } }, - "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { + "minicraft.advancements.recipes.pink_dye_from_pink_lily": { "criteria": { - "has_pink_tulip": { + "has_pink_lily": { "conditions": { "items": [ { "items": [ - "Pink Tulip" + "Pink Lily" ] } ] @@ -5140,37 +5154,25 @@ }, "requirements": [ [ - "has_pink_tulip" + "has_pink_lily" ] ], "rewards": { "recipes": { - "PINK Dye_1": [ - "Pink Tulip_1" + "Pink Dye_1": [ + "Pink Lily_1" ] } } }, - "minicraft.advancements.recipes.pink_dye_from_white_dye": { + "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "RED Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { + "has_pink_tulip": { "conditions": { "items": [ { "items": [ - "WHITE Dye" + "Pink Tulip" ] } ] @@ -5180,15 +5182,13 @@ }, "requirements": [ [ - "has_white_dye", - "has_red_dye" + "has_pink_tulip" ] ], "rewards": { "recipes": { - "PINK Dye_2": [ - "WHITE Dye_1", - "RED Dye_1" + "Pink Dye_1": [ + "Pink Tulip_1" ] } } @@ -5200,7 +5200,7 @@ "items": [ { "items": [ - "PINK Dye" + "Pink Dye" ] } ] @@ -5212,7 +5212,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -5228,9 +5228,9 @@ ], "rewards": { "recipes": { - "PINK Wool_1": [ - "PINK Dye_1", - "WHITE Wool_1" + "Pink Wool_1": [ + "Pink Dye_1", + "White Wool_1" ] } } @@ -5298,7 +5298,7 @@ "items": [ { "items": [ - "PURPLE Wool" + "Purple Wool" ] } ] @@ -5326,9 +5326,9 @@ ], "rewards": { "recipes": { - "PURPLE Bed_1": [ + "Purple Bed_1": [ "Wood_5", - "PURPLE Wool_3" + "Purple Wool_3" ] } } @@ -5340,7 +5340,7 @@ "items": [ { "items": [ - "PURPLE Dye" + "Purple Dye" ] } ] @@ -5352,7 +5352,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -5368,9 +5368,9 @@ ], "rewards": { "recipes": { - "PURPLE Bed_1": [ - "WHITE Bed_1", - "PURPLE Dye_1" + "Purple Bed_1": [ + "White Bed_1", + "Purple Dye_1" ] } } @@ -5394,7 +5394,7 @@ "items": [ { "items": [ - "PURPLE Dye" + "Purple Dye" ] } ] @@ -5412,19 +5412,19 @@ "recipes": { "Purple Clothes_1": [ "Cloth_5", - "PURPLE Dye_1" + "Purple Dye_1" ] } } }, - "minicraft.advancements.recipes.purple_dye_from_dye": { + "minicraft.advancements.recipes.purple_dye": { "criteria": { "has_blue_dye": { "conditions": { "items": [ { "items": [ - "BLUE Dye" + "Blue Dye" ] } ] @@ -5436,7 +5436,7 @@ "items": [ { "items": [ - "RED Dye" + "Red Dye" ] } ] @@ -5452,9 +5452,9 @@ ], "rewards": { "recipes": { - "PURPLE Dye_2": [ - "BLUE Dye_1", - "RED Dye_1" + "Purple Dye_2": [ + "Blue Dye_1", + "Red Dye_1" ] } } @@ -5481,7 +5481,7 @@ ], "rewards": { "recipes": { - "PURPLE Dye_1": [ + "Purple Dye_1": [ "Violet_1" ] } @@ -5494,7 +5494,7 @@ "items": [ { "items": [ - "PURPLE Dye" + "Purple Dye" ] } ] @@ -5506,7 +5506,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -5522,9 +5522,9 @@ ], "rewards": { "recipes": { - "PURPLE Wool_1": [ - "PURPLE Dye_1", - "WHITE Wool_1" + "Purple Wool_1": [ + "Purple Dye_1", + "White Wool_1" ] } } @@ -5536,7 +5536,7 @@ "items": [ { "items": [ - "RED Wool" + "Red Wool" ] } ] @@ -5564,9 +5564,9 @@ ], "rewards": { "recipes": { - "RED Bed_1": [ + "Red Bed_1": [ "Wood_5", - "RED Wool_3" + "Red Wool_3" ] } } @@ -5578,7 +5578,7 @@ "items": [ { "items": [ - "RED Dye" + "Red Dye" ] } ] @@ -5590,7 +5590,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -5606,9 +5606,9 @@ ], "rewards": { "recipes": { - "RED Bed_1": [ - "RED Dye_1", - "WHITE Bed_1" + "Red Bed_1": [ + "Red Dye_1", + "White Bed_1" ] } } @@ -5635,7 +5635,7 @@ ], "rewards": { "recipes": { - "RED Dye_1": [ + "Red Dye_1": [ "Poppy_1" ] } @@ -5663,7 +5663,7 @@ ], "rewards": { "recipes": { - "RED Dye_1": [ + "Red Dye_1": [ "Red Tulip_1" ] } @@ -5691,7 +5691,7 @@ ], "rewards": { "recipes": { - "RED Dye_1": [ + "Red Dye_1": [ "Rose_1" ] } @@ -5704,7 +5704,7 @@ "items": [ { "items": [ - "RED Dye" + "Red Dye" ] } ] @@ -5716,7 +5716,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -5732,9 +5732,9 @@ ], "rewards": { "recipes": { - "RED Wool_1": [ - "RED Dye_1", - "WHITE Wool_1" + "Red Wool_1": [ + "Red Dye_1", + "White Wool_1" ] } } @@ -6334,7 +6334,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -6350,7 +6350,7 @@ "rewards": { "recipes": { "String_2": [ - "WHITE Wool_1" + "White Wool_1" ] } } @@ -6586,7 +6586,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -6614,9 +6614,9 @@ ], "rewards": { "recipes": { - "WHITE Bed_1": [ + "White Bed_1": [ "Wood_5", - "WHITE Wool_3" + "White Wool_3" ] } } @@ -6643,7 +6643,7 @@ ], "rewards": { "recipes": { - "WHITE Dye_1": [ + "White Dye_1": [ "White Lily_1" ] } @@ -6671,7 +6671,7 @@ ], "rewards": { "recipes": { - "WHITE Wool_1": [ + "White Wool_1": [ "String_3" ] } @@ -7004,7 +7004,7 @@ "items": [ { "items": [ - "YELLOW Wool" + "Yellow Wool" ] } ] @@ -7020,8 +7020,8 @@ ], "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Wool_3", + "Yellow Bed_1": [ + "Yellow Wool_3", "Wood_5" ] } @@ -7034,7 +7034,7 @@ "items": [ { "items": [ - "WHITE Bed" + "White Bed" ] } ] @@ -7046,7 +7046,7 @@ "items": [ { "items": [ - "YELLOW Dye" + "Yellow Dye" ] } ] @@ -7062,9 +7062,9 @@ ], "rewards": { "recipes": { - "YELLOW Bed_1": [ - "YELLOW Dye_1", - "WHITE Bed_1" + "Yellow Bed_1": [ + "Yellow Dye_1", + "White Bed_1" ] } } @@ -7088,7 +7088,7 @@ "items": [ { "items": [ - "YELLOW Dye" + "Yellow Dye" ] } ] @@ -7106,7 +7106,7 @@ "recipes": { "Yellow Clothes_1": [ "Cloth_5", - "YELLOW Dye_1" + "Yellow Dye_1" ] } } @@ -7133,7 +7133,7 @@ ], "rewards": { "recipes": { - "YELLOW Dye_1": [ + "Yellow Dye_1": [ "Dandelion_1" ] } @@ -7161,7 +7161,7 @@ ], "rewards": { "recipes": { - "YELLOW Dye_1": [ + "Yellow Dye_1": [ "Sunflower_1" ] } @@ -7174,7 +7174,7 @@ "items": [ { "items": [ - "WHITE Wool" + "White Wool" ] } ] @@ -7186,7 +7186,7 @@ "items": [ { "items": [ - "YELLOW Dye" + "Yellow Dye" ] } ] @@ -7202,9 +7202,9 @@ ], "rewards": { "recipes": { - "YELLOW Wool_1": [ - "YELLOW Dye_1", - "WHITE Wool_1" + "Yellow Wool_1": [ + "Yellow Dye_1", + "White Wool_1" ] } } From b8e221177db4918b142062605c257e22f9d97956 Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 14:22:43 -0400 Subject: [PATCH 51/59] Increment Version --- build.gradle | 2 +- src/client/java/minicraft/core/Game.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 01be4c064..e3918b62a 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { allprojects { apply plugin: "java" - version = "2.2.1-dev1" + version = "2.2.1-dev2" sourceCompatibility = 8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' diff --git a/src/client/java/minicraft/core/Game.java b/src/client/java/minicraft/core/Game.java index f2a97ab69..0be9e3420 100644 --- a/src/client/java/minicraft/core/Game.java +++ b/src/client/java/minicraft/core/Game.java @@ -25,7 +25,7 @@ protected Game() { public static final String NAME = "Minicraft Plus"; // This is the name on the application window. - public static final Version VERSION = new Version("2.2.1-dev1"); + public static final Version VERSION = new Version("2.2.1-dev2"); public static InputHandler input; // Input used in Game, Player, and just about all the *Menu classes. public static Player player; From 6933f1c2eaa740eabdd4caf61a2e41089274255e Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 14:31:29 -0400 Subject: [PATCH 52/59] Added recipe for Dye Vat --- src/client/java/minicraft/item/Recipes.java | 1 + src/client/resources/resources/recipes.json | 9050 +++++-------------- 2 files changed, 2482 insertions(+), 6569 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index 4838bff15..bdaa4ced6 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -81,6 +81,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("Anvil_1", "iron_5")); workbenchRecipes.add(new Recipe("Tnt_1", "Gunpowder_10", "Sand_8")); workbenchRecipes.add(new Recipe("Loom_1", "Wood_10", "White Wool_5")); + workbenchRecipes.add(new Recipe("Dye Vat_1", "Stone_20", "Water Bucket_1")); workbenchRecipes.add(new Recipe("Wood Fishing Rod_1", "Wood_10", "String_3")); workbenchRecipes.add(new Recipe("Iron Fishing Rod_1", "Iron_10", "String_3")); workbenchRecipes.add(new Recipe("Gold Fishing Rod_1", "Gold_10", "String_3")); diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index 8eb58c842..2de1674d6 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -1,7212 +1,3124 @@ { - "minicraft.advancements.recipes.anvil": { + "minicraft.advancements.recipes.gem_fishing_rod": { + "requirements": [[ + "has_gem", + "has_string" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Anvil_1": [ - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Gem Fishing Rod_1": [ + "String_3", + "Gem_10" + ]}} }, - "minicraft.advancements.recipes.arcane_fertilizer": { + "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "requirements": [[ + "has_gray_dye", + "has_white_bed" + ]], "criteria": { - "has_bone": { - "conditions": { - "items": [ - { - "items": [ - "Bone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_bone", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "ARCANE FERTILIZER_3": [ - "Lapis_6", - "Bone_2" - ] - } - } + "rewards": {"recipes": {"Gray Bed_1": [ + "Gray Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.arrow": { + "minicraft.advancements.recipes.health_potion": { + "requirements": [[ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_leather_armor": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Leather Armor"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Arrow_3": [ - "Stone_2", - "Wood_2" - ] - } - } + "rewards": {"recipes": {"Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" + ]}} }, - "minicraft.advancements.recipes.awkward_potion": { + "minicraft.advancements.recipes.green_wool": { + "requirements": [[ + "has_green_dye", + "has_white_wool" + ]], "criteria": { - "has_glass_bottle": { - "conditions": { - "items": [ - { - "items": [ - "Glass Bottle" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_lapis", - "has_glass_bottle" - ] - ], - "rewards": { - "recipes": { - "Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ] - } - } + "rewards": {"recipes": {"Green Wool_1": [ + "Green Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.baked_potato": { - "criteria": { - "has_potato": { - "conditions": { - "items": [ - { - "items": [ - "Potato" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_potato" - ] - ], - "rewards": { - "recipes": { - "Baked Potato_1": [ - "Potato_1" - ] - } - } + "minicraft.advancements.recipes.obsidian_brick": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Obsidian Brick_1": ["Raw Obsidian_2"]}} }, - "minicraft.advancements.recipes.black_bed": { + "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { + "requirements": [[ + "has_pink_dye", + "has_purple_dye" + ]], "criteria": { - "has_black_wool": { - "conditions": { - "items": [ - { - "items": [ - "Black Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_black_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Black Bed_1": [ - "Wood_5", - "Black Wool_3" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_2": [ + "Pink Dye_1", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.black_bed_from_white_bed": { + "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { + "requirements": [["has_oxeye_daisy"]], + "criteria": {"has_oxeye_daisy": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Oxeye Daisy"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["Oxeye Daisy_1"]}} + }, + "minicraft.advancements.recipes.plank": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Plank_2": ["Wood_1"]}} + }, + "minicraft.advancements.recipes.red_bed_from_white_bed": { + "requirements": [[ + "has_red_dye", + "has_white_bed" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Bed_1": [ - "White Bed_1", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Red Bed_1": [ + "Red Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.black_clothes": { + "minicraft.advancements.recipes.purple_wool": { + "requirements": [[ + "has_white_wool", + "has_purple_dye" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Clothes_1": [ - "Cloth_5", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Purple Wool_1": [ + "Purple Dye_1", + "White Wool_1" + ]}} }, "minicraft.advancements.recipes.black_dye": { + "requirements": [["has_coal"]], + "criteria": {"has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }}, + "rewards": {"recipes": {"Black Dye_1": ["Coal_1"]}} + }, + "minicraft.advancements.recipes.leather_armor": { + "requirements": [["has_leather"]], + "criteria": {"has_leather": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Leather"]}]} + }}, + "rewards": {"recipes": {"Leather Armor_1": ["Leather_10"]}} + }, + "minicraft.advancements.recipes.lava_potion": { + "requirements": [[ + "has_awkward_potion", + "has_lava_bucket" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} + }, + "has_lava_bucket": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lava Bucket"]}]} } }, - "requirements": [ - [ - "has_coal" - ] - ], - "rewards": { - "recipes": { - "Black Dye_1": [ - "Coal_1" - ] + "rewards": {"recipes": {"Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ]}} + }, + "minicraft.advancements.recipes.iron_axe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], + "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } - } + }, + "rewards": {"recipes": {"Iron Axe_1": [ + "Wood_5", + "Iron_5" + ]}} }, "minicraft.advancements.recipes.black_wool": { + "requirements": [[ + "has_white_wool", + "has_black_dye" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Wool_1": [ - "Black Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Black Wool_1": [ + "Black Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.blue_bed": { + "minicraft.advancements.recipes.light_gray_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_blue_wool": { - "conditions": { - "items": [ - { - "items": [ - "Blue Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_blue_wool" - ] - ], - "rewards": { - "recipes": { - "Blue Bed_1": [ - "Wood_5", - "Blue Wool_3" - ] - } - } + "rewards": {"recipes": {"Light Gray Dye_3": [ + "White Dye_2", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.blue_bed_from_white_bed": { + "minicraft.advancements.recipes.white_wool": { + "requirements": [["has_string"]], + "criteria": {"has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }}, + "rewards": {"recipes": {"White Wool_1": ["String_3"]}} + }, + "minicraft.advancements.recipes.pink_dye_from_pink_lily": { + "requirements": [["has_pink_lily"]], + "criteria": {"has_pink_lily": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Lily"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Pink Lily_1"]}} + }, + "minicraft.advancements.recipes.cooked_pork": { + "requirements": [[ + "has_coal", + "has_raw_pork" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_pork": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Pork"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Bed_1": [ - "Blue Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" + ]}} }, - "minicraft.advancements.recipes.blue_clothes": { + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "requirements": [[ + "has_gray_dye", + "has_white_dye" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} }, - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Clothes_1": [ - "Blue Dye_1", - "Cloth_5" - ] - } - } + "rewards": {"recipes": {"Light Gray Dye_2": [ + "Gray Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.blue_dye": { + "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "requirements": [[ + "has_pink_dye", + "has_white_bed" + ]], "criteria": { - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Lapis_1" - ] - } - } + "rewards": {"recipes": {"Pink Bed_1": [ + "Pink Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.blue_dye_from_cornflower": { + "minicraft.advancements.recipes.wooden_hoe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Hoe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_sword": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_cornflower": { - "conditions": { - "items": [ - { - "items": [ - "Cornflower" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_cornflower" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Cornflower_1" - ] - } - } + "rewards": {"recipes": {"Rock Sword_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.blue_dye_from_iris": { + "minicraft.advancements.recipes.brown_wool": { + "requirements": [[ + "has_white_wool", + "has_brown_dye" + ]], "criteria": { - "has_iris": { - "conditions": { - "items": [ - { - "items": [ - "Iris" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Dye"]}]} } }, - "requirements": [ - [ - "has_iris" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Iris_1" - ] - } - } + "rewards": {"recipes": {"Brown Wool_1": [ + "Brown Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.blue_wool": { + "minicraft.advancements.recipes.snake_armor": { + "requirements": [["has_scale"]], + "criteria": {"has_scale": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Scale"]}]} + }}, + "rewards": {"recipes": {"Snake Armor_1": ["Scale_15"]}} + }, + "minicraft.advancements.recipes.shears": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Shears_1": ["Iron_4"]}} + }, + "minicraft.advancements.recipes.wood_door": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Wood Door_1": ["Plank_5"]}} + }, + "minicraft.advancements.recipes.stone_fence": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Fence_1": ["Stone Brick_3"]}} + }, + "minicraft.advancements.recipes.green_clothes": { + "requirements": [[ + "has_green_dye", + "has_cloth" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Wool_1": [ - "Blue Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Green Clothes_1": [ + "Cloth_5", + "Green Dye_1" + ]}} }, - "minicraft.advancements.recipes.bread": { + "minicraft.advancements.recipes.red_wool": { + "requirements": [[ + "has_white_wool", + "has_red_dye" + ]], "criteria": { - "has_wheat": { - "conditions": { - "items": [ - { - "items": [ - "Wheat" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_wheat" - ] - ], - "rewards": { - "recipes": { - "Bread_1": [ - "Wheat_4" - ] - } - } + "rewards": {"recipes": {"Red Wool_1": [ + "Red Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.brown_bed": { + "minicraft.advancements.recipes.stone_bow": { + "requirements": [[ + "has_stone", + "has_wood", + "has_string" + ]], "criteria": { - "has_brown_wool": { - "conditions": { - "items": [ - { - "items": [ - "Brown Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_brown_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Brown Bed_1": [ - "Brown Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Rock Bow_1": [ + "String_2", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.brown_bed_from_white_bed": { + "minicraft.advancements.recipes.gem_bow": { + "requirements": [[ + "has_wood", + "has_gem", + "has_string" + ]], "criteria": { - "has_brown_dye": { - "conditions": { - "items": [ - { - "items": [ - "Brown Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_brown_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Bed_1": [ - "White Bed_1", - "Brown Dye_1" - ] - } - } + "rewards": {"recipes": {"Gem Bow_1": [ + "String_2", + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.brown_dye": { + "minicraft.advancements.recipes.cyan_dye": { + "requirements": [[ + "has_green_dye", + "has_blue_dye" + ]], "criteria": { "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Dye_2": [ - "Green Dye_1", - "Red Dye_1" - ] - } - } + "rewards": {"recipes": {"Cyan Dye_2": [ + "Blue Dye_1", + "Green Dye_1" + ]}} }, - "minicraft.advancements.recipes.brown_wool": { + "minicraft.advancements.recipes.dye_vat": { + "requirements": [[ + "has_stone", + "has_water_bucket" + ]], "criteria": { - "has_brown_dye": { - "conditions": { - "items": [ - { - "items": [ - "Brown Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_water_bucket": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Water Bucket"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_brown_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Wool_1": [ - "Brown Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Dye Vat_1": [ + "Stone_20", + "Water Bucket_1" + ]}} }, - "minicraft.advancements.recipes.chest": { + "minicraft.advancements.recipes.wooden_axe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Axe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.magenta_bed": { + "requirements": [[ + "has_wood", + "has_magenta_wool" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_magenta_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Wool"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Chest_1": [ - "Wood_20" - ] - } - } + "rewards": {"recipes": {"Magenta Bed_1": [ + "Wood_5", + "Magenta Wool_3" + ]}} }, - "minicraft.advancements.recipes.cooked_fish": { + "minicraft.advancements.recipes.pink_dye_from_peony": { + "requirements": [["has_peony"]], + "criteria": {"has_peony": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Peony"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Peony_1"]}} + }, + "minicraft.advancements.recipes.stone_brick": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Stone Brick_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.pink_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_raw_fish": { - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_raw_fish" - ] - ], - "rewards": { - "recipes": { - "Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" - ] - } - } + "rewards": {"recipes": {"Pink Dye_2": [ + "White Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.cooked_pork": { + "minicraft.advancements.recipes.workbench": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Workbench_1": ["Wood_10"]}} + }, + "minicraft.advancements.recipes.lantern": { + "requirements": [[ + "has_glass", + "has_wood", + "has_slime" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, - "has_raw_pork": { - "conditions": { - "items": [ - { - "items": [ - "Raw Pork" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_raw_pork" - ] - ], - "rewards": { - "recipes": { - "Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ] - } - } + "rewards": {"recipes": {"Lantern_1": [ + "Glass_3", + "Slime_4", + "Wood_8" + ]}} }, - "minicraft.advancements.recipes.cyan_bed": { + "minicraft.advancements.recipes.green_dye": { + "requirements": [["has_cactus"]], + "criteria": {"has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} + }}, + "rewards": {"recipes": {"Green Dye_1": ["Cactus_1"]}} + }, + "minicraft.advancements.recipes.orange_dye": { + "requirements": [[ + "has_red_dye", + "has_yellow_dye" + ]], "criteria": { - "has_cyan_wool": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_cyan_wool" - ] - ], - "rewards": { - "recipes": { - "Cyan Bed_1": [ - "Wood_5", - "Cyan Wool_3" - ] - } - } + "rewards": {"recipes": {"Orange Dye_2": [ + "Yellow Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.cyan_bed_from_white_bed": { + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_magenta_dye" + ]], "criteria": { - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_magenta_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Dye"]}]} } }, - "requirements": [ - [ - "has_cyan_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Cyan Bed_1": [ - "Cyan Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Magenta Bed_1": [ + "Magenta Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.cyan_clothes": { + "minicraft.advancements.recipes.gold_armor": { + "requirements": [["has_gold"]], + "criteria": {"has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} + }}, + "rewards": {"recipes": {"Gold Armor_1": ["Gold_10"]}} + }, + "minicraft.advancements.recipes.yellow_clothes": { + "requirements": [[ + "has_cloth", + "has_yellow_dye" + ]], "criteria": { "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_cyan_dye", - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Cyan Clothes_1": [ - "Cyan Dye_1", - "Cloth_5" - ] - } - } + "rewards": {"recipes": {"Yellow Clothes_1": [ + "Cloth_5", + "Yellow Dye_1" + ]}} }, - "minicraft.advancements.recipes.cyan_dye": { + "minicraft.advancements.recipes.glass_bottle": { + "requirements": [["has_glass"]], + "criteria": {"has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} + }}, + "rewards": {"recipes": {"Glass Bottle_1": ["Glass_3"]}} + }, + "minicraft.advancements.recipes.gem_claymore": { + "requirements": [[ + "has_shard", + "has_gem_sword" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem Sword"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Cyan Dye_2": [ - "Blue Dye_1", - "Green Dye_1" - ] - } - } + "rewards": {"recipes": {"Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.cyan_wool": { + "minicraft.advancements.recipes.lime_wool": { + "requirements": [[ + "has_lime_dye", + "has_white_wool" + ]], "criteria": { - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lime_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Dye"]}]} }, "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_cyan_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Cyan Wool_1": [ - "Cyan Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Lime Wool_1": [ + "Lime Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.empty_bucket": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Empty Bucket_1": [ - "Iron_5" - ] - } - } + "minicraft.advancements.recipes.wood_fence": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Wood Fence_1": ["Plank_3"]}} }, - "minicraft.advancements.recipes.enchanter": { + "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { + "requirements": [["has_white_tulip"]], + "criteria": {"has_white_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Tulip"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["White Tulip_1"]}} + }, + "minicraft.advancements.recipes.yellow_dye_from_dandelion": { + "requirements": [["has_dandelion"]], + "criteria": {"has_dandelion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Dandelion"]}]} + }}, + "rewards": {"recipes": {"Yellow Dye_1": ["Dandelion_1"]}} + }, + "minicraft.advancements.recipes.wood_fishing_rod": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Enchanter_1": [ - "Lapis_10", - "String_2", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Wood Fishing Rod_1": [ + "String_3", + "Wood_10" + ]}} }, - "minicraft.advancements.recipes.energy_potion": { + "minicraft.advancements.recipes.red_dye_from_rose": { + "requirements": [["has_rose"]], + "criteria": {"has_rose": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Rose"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Rose_1"]}} + }, + "minicraft.advancements.recipes.pink_bed": { + "requirements": [[ + "has_pink_wool", + "has_wood" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Wool"]}]} }, - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_gem", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Energy Potion_1": [ - "Awkward Potion_1", - "Gem_25" - ] - } - } + "rewards": {"recipes": {"Pink Bed_1": [ + "Wood_5", + "Pink Wool_3" + ]}} }, - "minicraft.advancements.recipes.escape_potion": { + "minicraft.advancements.recipes.gold_fishing_rod": { + "requirements": [[ + "has_string", + "has_gold" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ] - } - } + "rewards": {"recipes": {"Gold Fishing Rod_1": [ + "Gold_10", + "String_3" + ]}} }, - "minicraft.advancements.recipes.furnace": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Furnace_1": [ - "Stone_20" - ] - } - } + "minicraft.advancements.recipes.blue_dye": { + "requirements": [["has_lapis"]], + "criteria": {"has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Lapis_1"]}} }, - "minicraft.advancements.recipes.gem_armor": { + "minicraft.advancements.recipes.purple_clothes": { + "requirements": [[ + "has_cloth", + "has_purple_dye" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }, + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Armor_1": [ - "Gem_65" - ] - } - } + "rewards": {"recipes": {"Purple Clothes_1": [ + "Cloth_5", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.gem_axe": { + "minicraft.advancements.recipes.stone_pickaxe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Axe_1": [ - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gem_bow": { + "minicraft.advancements.recipes.orange_bed": { + "requirements": [[ + "has_wood", + "has_orange_wool" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_orange_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Bow_1": [ - "String_2", - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Orange Bed_1": [ + "Wood_5", + "Orange Wool_3" + ]}} }, - "minicraft.advancements.recipes.gem_claymore": { + "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { + "requirements": [["has_periwinkle"]], + "criteria": {"has_periwinkle": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Periwinkle"]}]} + }}, + "rewards": {"recipes": {"Light Blue Dye_1": ["Periwinkle_1"]}} + }, + "minicraft.advancements.recipes.blue_clothes": { + "requirements": [[ + "has_cloth", + "has_blue_dye" + ]], "criteria": { - "has_gem_sword": { - "conditions": { - "items": [ - { - "items": [ - "Gem Sword" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_shard", - "has_gem_sword" - ] - ], - "rewards": { - "recipes": { - "Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" - ] - } - } + "rewards": {"recipes": {"Blue Clothes_1": [ + "Blue Dye_1", + "Cloth_5" + ]}} }, - "minicraft.advancements.recipes.gem_fishing_rod": { + "minicraft.advancements.recipes.watering_can": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Watering Can_1": ["Iron_3"]}} + }, + "minicraft.advancements.recipes.pink_wool": { + "requirements": [[ + "has_pink_dye", + "has_white_wool" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Fishing Rod_1": [ - "String_3", - "Gem_10" - ] - } - } + "rewards": {"recipes": {"Pink Wool_1": [ + "Pink Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.gem_hoe": { + "minicraft.advancements.recipes.purple_dye_from_violet": { + "requirements": [["has_violet"]], + "criteria": {"has_violet": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Violet"]}]} + }}, + "rewards": {"recipes": {"Purple Dye_1": ["Violet_1"]}} + }, + "minicraft.advancements.recipes.blue_dye_from_iris": { + "requirements": [["has_iris"]], + "criteria": {"has_iris": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iris"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Iris_1"]}} + }, + "minicraft.advancements.recipes.blue_dye_from_cornflower": { + "requirements": [["has_cornflower"]], + "criteria": {"has_cornflower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cornflower"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Cornflower_1"]}} + }, + "minicraft.advancements.recipes.blue_bed": { + "requirements": [[ + "has_wood", + "has_blue_wool" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_blue_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Hoe_1": [ - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Blue Bed_1": [ + "Wood_5", + "Blue Wool_3" + ]}} }, - "minicraft.advancements.recipes.gem_pickaxe": { + "minicraft.advancements.recipes.gem_sword": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Pickaxe_1": [ - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Gem Sword_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.gem_shovel": { + "minicraft.advancements.recipes.swim_potion": { + "requirements": [[ + "has_raw_fish", + "has_awkward_potion" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_fish": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Fish"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Shovel_1": [ - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ]}} }, - "minicraft.advancements.recipes.gem_sword": { + "minicraft.advancements.recipes.gray_wool": { + "requirements": [[ + "has_white_wool", + "has_gray_dye" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Sword_1": [ - "Wood_5", - "Gem_50" - ] - } - } + "rewards": {"recipes": {"Gray Wool_1": [ + "Gray Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.glass": { + "minicraft.advancements.recipes.steak": { + "requirements": [[ + "has_coal", + "has_raw_beef" + ]], "criteria": { "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_sand": { - "conditions": { - "items": [ - { - "items": [ - "Sand" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_beef": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Beef"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_sand" - ] - ], - "rewards": { - "recipes": { - "Glass_1": [ - "Coal_1", - "Sand_4" - ] - } - } + "rewards": {"recipes": {"Steak_1": [ + "Coal_1", + "Raw Beef_1" + ]}} }, - "minicraft.advancements.recipes.glass_bottle": { + "minicraft.advancements.recipes.gem_pickaxe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_glass" - ] - ], - "rewards": { - "recipes": { - "Glass Bottle_1": [ - "Glass_3" - ] - } - } + "rewards": {"recipes": {"Gem Pickaxe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.gold": { + "minicraft.advancements.recipes.light_blue_dye": { + "requirements": [[ + "has_white_dye", + "has_blue_dye" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_gold_ore": { - "conditions": { - "items": [ - { - "items": [ - "Gold Ore" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_gold_ore" - ] - ], - "rewards": { - "recipes": { - "Gold_1": [ - "Coal_1", - "Gold Ore_3" - ] - } - } + "rewards": {"recipes": {"Light Blue Dye_2": [ + "Blue Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.gold_armor": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Armor_1": [ - "Gold_10" - ] - } - } + "minicraft.advancements.recipes.obsidian_fence": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Fence_1": ["Obsidian Brick_3"]}} }, - "minicraft.advancements.recipes.gold_axe": { + "minicraft.advancements.recipes.iron_hoe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Axe_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Hoe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.gold_bow": { + "minicraft.advancements.recipes.iron_claymore": { + "requirements": [[ + "has_shard", + "has_iron_sword" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron Sword"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Bow_1": [ - "Gold_5", - "String_2", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.gold_claymore": { + "minicraft.advancements.recipes.wooden_pickaxe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Pickaxe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_axe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_gold_sword": { - "conditions": { - "items": [ - { - "items": [ - "Gold Sword" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_shard", - "has_gold_sword" - ] - ], - "rewards": { - "recipes": { - "Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" - ] - } - } + "rewards": {"recipes": {"Rock Axe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gold_fishing_rod": { + "minicraft.advancements.recipes.orange_clothes": { + "requirements": [[ + "has_cloth", + "has_orange_dye" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_string", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Fishing Rod_1": [ - "Gold_10", - "String_3" - ] - } - } + "rewards": {"recipes": {"Orange Clothes_1": [ + "Cloth_5", + "Orange Dye_1" + ]}} }, - "minicraft.advancements.recipes.gold_hoe": { + "minicraft.advancements.recipes.iron_fishing_rod": { + "requirements": [[ + "has_string", + "has_iron" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Hoe_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Fishing Rod_1": [ + "String_3", + "Iron_10" + ]}} }, - "minicraft.advancements.recipes.gold_lantern": { + "minicraft.advancements.recipes.iron_pickaxe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_gold", - "has_slime" - ] - ], - "rewards": { - "recipes": { - "Gold Lantern_1": [ - "Glass_4", - "Gold_10", - "Slime_5" - ] - } - } + "rewards": {"recipes": {"Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.gold_pickaxe": { + "minicraft.advancements.recipes.yellow_bed": { + "requirements": [[ + "has_yellow_wool", + "has_wood" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Wool"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Yellow Bed_1": [ + "Yellow Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gold_shovel": { + "minicraft.advancements.recipes.arcane_fertilizer": { + "requirements": [[ + "has_bone", + "has_lapis" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_bone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Bone"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Shovel_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"ARCANE FERTILIZER_3": [ + "Lapis_6", + "Bone_2" + ]}} }, - "minicraft.advancements.recipes.gold_sword": { + "minicraft.advancements.recipes.ornate_stone": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Ornate Stone_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "requirements": [["has_hydrangea"]], + "criteria": {"has_hydrangea": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Hydrangea"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["Hydrangea_1"]}} + }, + "minicraft.advancements.recipes.wooden_bow": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Sword_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Wood Bow_1": [ + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.golden_apple": { + "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { + "requirements": [["has_blue_orchid"]], + "criteria": {"has_blue_orchid": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Orchid"]}]} + }}, + "rewards": {"recipes": {"Light Blue Dye_1": ["Blue Orchid_1"]}} + }, + "minicraft.advancements.recipes.gold_pickaxe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_apple": { - "conditions": { - "items": [ - { - "items": [ - "Apple" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_apple", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Apple_1": [ - "Gold_8", - "Apple_1" - ] - } - } + "rewards": {"recipes": {"Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.gray_bed": { + "minicraft.advancements.recipes.black_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_black_dye" + ]], "criteria": { - "has_gray_wool": { - "conditions": { - "items": [ - { - "items": [ - "Gray Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_gray_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Gray Bed_1": [ - "Gray Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Black Bed_1": [ + "White Bed_1", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "minicraft.advancements.recipes.red_dye_from_poppy": { + "requirements": [["has_poppy"]], + "criteria": {"has_poppy": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Poppy"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Poppy_1"]}} + }, + "minicraft.advancements.recipes.gold": { + "requirements": [[ + "has_coal", + "has_gold_ore" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Ore"]}]} } }, - "requirements": [ - [ - "has_gray_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Gray Bed_1": [ - "Gray Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Gold_1": [ + "Coal_1", + "Gold Ore_3" + ]}} }, - "minicraft.advancements.recipes.gray_dye": { + "minicraft.advancements.recipes.cooked_fish": { + "requirements": [[ + "has_coal", + "has_raw_fish" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_fish": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Fish"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Gray Dye_2": [ - "White Dye_1", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" + ]}} }, - "minicraft.advancements.recipes.gray_wool": { + "minicraft.advancements.recipes.light_potion": { + "requirements": [[ + "has_slime", + "has_awkward_potion" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Gray Wool_1": [ - "Gray Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.green_bed": { + "minicraft.advancements.recipes.gold_sword": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_green_wool": { - "conditions": { - "items": [ - { - "items": [ - "Green Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_green_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Green Bed_1": [ - "Green Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gold Sword_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.green_bed_from_white_bed": { + "minicraft.advancements.recipes.gold_shovel": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Green Bed_1": [ - "Green Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Gold Shovel_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.green_clothes": { + "minicraft.advancements.recipes.stone_shovel": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Green Clothes_1": [ - "Cloth_5", - "Green Dye_1" - ] - } - } + "rewards": {"recipes": {"Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.green_dye": { + "minicraft.advancements.recipes.escape_potion": { + "requirements": [[ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_cactus": { - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "Green Dye_1": [ - "Cactus_1" - ] - } - } + "rewards": {"recipes": {"Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ]}} }, - "minicraft.advancements.recipes.green_wool": { + "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_orange_dye" + ]], "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Green Wool_1": [ - "Green Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Orange Bed_1": [ + "Orange Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.haste_potion": { + "minicraft.advancements.recipes.lime_bed_from_white_bed": { + "requirements": [[ + "has_lime_dye", + "has_white_bed" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lime_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Lime Bed_1": [ + "Lime Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.health_potion": { + "minicraft.advancements.recipes.obsidian_wall": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Wall_1": ["Obsidian Brick_3"]}} + }, + "minicraft.advancements.recipes.magenta_dye_from_allium": { + "requirements": [["has_allium"]], + "criteria": {"has_allium": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Allium"]}]} + }}, + "rewards": {"recipes": {"Magenta Dye_1": ["Allium_1"]}} + }, + "minicraft.advancements.recipes.cyan_clothes": { + "requirements": [[ + "has_cyan_dye", + "has_cloth" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} }, - "has_leather_armor": { - "conditions": { - "items": [ - { - "items": [ - "Leather Armor" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} } }, - "requirements": [ - [ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" - ] - } - } + "rewards": {"recipes": {"Cyan Clothes_1": [ + "Cyan Dye_1", + "Cloth_5" + ]}} }, - "minicraft.advancements.recipes.iron": { + "minicraft.advancements.recipes.brown_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_brown_dye" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_iron_ore": { - "conditions": { - "items": [ - { - "items": [ - "Iron Ore" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Dye"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_iron_ore" - ] - ], - "rewards": { - "recipes": { - "Iron_1": [ - "Coal_1", - "Iron Ore_3" - ] - } - } + "rewards": {"recipes": {"Brown Bed_1": [ + "White Bed_1", + "Brown Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_armor": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Armor_1": [ - "Iron_10" - ] - } - } + "minicraft.advancements.recipes.gem_armor": { + "requirements": [["has_gem"]], + "criteria": {"has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }}, + "rewards": {"recipes": {"Gem Armor_1": ["Gem_65"]}} }, - "minicraft.advancements.recipes.iron_axe": { + "minicraft.advancements.recipes.brown_dye": { + "requirements": [[ + "has_green_dye", + "has_red_dye" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Axe_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Brown Dye_2": [ + "Green Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_bow": { + "minicraft.advancements.recipes.red_bed": { + "requirements": [[ + "has_red_wool", + "has_wood" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Wool"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Bow_1": [ - "String_2", - "Iron_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Red Bed_1": [ + "Wood_5", + "Red Wool_3" + ]}} }, - "minicraft.advancements.recipes.iron_claymore": { + "minicraft.advancements.recipes.green_bed_from_white_bed": { + "requirements": [[ + "has_green_dye", + "has_white_bed" + ]], "criteria": { - "has_iron_sword": { - "conditions": { - "items": [ - { - "items": [ - "Iron Sword" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_shard", - "has_iron_sword" - ] - ], - "rewards": { - "recipes": { - "Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" - ] - } - } + "rewards": {"recipes": {"Green Bed_1": [ + "Green Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.iron_fishing_rod": { + "minicraft.advancements.recipes.golden_apple": { + "requirements": [[ + "has_apple", + "has_gold" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_apple": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Apple"]}]} }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_string", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Fishing Rod_1": [ - "String_3", - "Iron_10" - ] - } - } + "rewards": {"recipes": {"Gold Apple_1": [ + "Gold_8", + "Apple_1" + ]}} }, - "minicraft.advancements.recipes.iron_hoe": { + "minicraft.advancements.recipes.arrow": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Hoe_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Arrow_3": [ + "Stone_2", + "Wood_2" + ]}} }, - "minicraft.advancements.recipes.iron_lantern": { + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_yellow_dye" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_slime", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Lantern_1": [ - "Glass_4", - "Iron_8", - "Slime_5" - ] - } - } + "rewards": {"recipes": {"Yellow Bed_1": [ + "Yellow Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.iron_pickaxe": { + "minicraft.advancements.recipes.stone_wall": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Wall_1": ["Stone Brick_3"]}} + }, + "minicraft.advancements.recipes.glass": { + "requirements": [[ + "has_coal", + "has_sand" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_sand": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sand"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Glass_1": [ + "Coal_1", + "Sand_4" + ]}} }, - "minicraft.advancements.recipes.iron_shovel": { + "minicraft.advancements.recipes.speed_potion": { + "requirements": [[ + "has_cactus", + "has_awkward_potion" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Shovel_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.iron_sword": { + "minicraft.advancements.recipes.brown_bed": { + "requirements": [[ + "has_brown_wool", + "has_wood" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_brown_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Wool"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Sword_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Brown Bed_1": [ + "Brown Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.lantern": { + "minicraft.advancements.recipes.gold_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_gold" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_wood", - "has_slime" - ] - ], - "rewards": { - "recipes": { - "Lantern_1": [ - "Glass_3", - "Slime_4", - "Wood_8" - ] - } - } + "rewards": {"recipes": {"Gold Bow_1": [ + "Gold_5", + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.lava_potion": { + "minicraft.advancements.recipes.yellow_dye_from_sunflower": { + "requirements": [["has_sunflower"]], + "criteria": {"has_sunflower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sunflower"]}]} + }}, + "rewards": {"recipes": {"Yellow Dye_1": ["Sunflower_1"]}} + }, + "minicraft.advancements.recipes.gold_lantern": { + "requirements": [[ + "has_glass", + "has_gold", + "has_slime" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, - "has_lava_bucket": { - "conditions": { - "items": [ - { - "items": [ - "Lava Bucket" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_awkward_potion", - "has_lava_bucket" - ] - ], - "rewards": { - "recipes": { - "Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" - ] - } - } + "rewards": {"recipes": {"Gold Lantern_1": [ + "Glass_4", + "Gold_10", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.leather_armor": { + "minicraft.advancements.recipes.red_dye_from_red_tulip": { + "requirements": [["has_red_tulip"]], + "criteria": {"has_red_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Tulip"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Red Tulip_1"]}} + }, + "minicraft.advancements.recipes.gray_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_leather": { - "conditions": { - "items": [ - { - "items": [ - "Leather" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_leather" - ] - ], - "rewards": { - "recipes": { - "Leather Armor_1": [ - "Leather_10" - ] - } - } + "rewards": {"recipes": {"Gray Dye_2": [ + "White Dye_1", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_bed": { + "minicraft.advancements.recipes.plank_wall": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Plank Wall_1": ["Plank_3"]}} + }, + "minicraft.advancements.recipes.purple_dye": { + "requirements": [[ + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_light_blue_wool": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_light_blue_wool" - ] - ], - "rewards": { - "recipes": { - "Light Blue Bed_1": [ - "Light Blue Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Purple Dye_2": [ + "Blue Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "minicraft.advancements.recipes.light_blue_wool": { + "requirements": [[ + "has_light_blue_dye", + "has_white_wool" + ]], "criteria": { "has_light_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Dye"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_light_blue_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Light Blue Bed_1": [ - "Light Blue Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Wool_1": [ + "Light Blue Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye": { + "minicraft.advancements.recipes.light_blue_bed": { + "requirements": [[ + "has_wood", + "has_light_blue_wool" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_blue_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Wool"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_2": [ - "Blue Dye_1", - "White Dye_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Bed_1": [ + "Light Blue Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { - "criteria": { - "has_blue_orchid": { - "conditions": { - "items": [ - { - "items": [ - "Blue Orchid" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_blue_orchid" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_1": [ - "Blue Orchid_1" - ] - } - } + "minicraft.advancements.recipes.iron_armor": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Iron Armor_1": ["Iron_10"]}} }, - "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_periwinkle": { - "conditions": { - "items": [ - { - "items": [ - "Periwinkle" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_periwinkle" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_1": [ - "Periwinkle_1" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_4": [ + "White Dye_1", + "Red Dye_2", + "Blue Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_wool": { + "minicraft.advancements.recipes.iron_shovel": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_light_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_light_blue_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Light Blue Wool_1": [ - "Light Blue Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Iron Shovel_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.light_gray_bed": { + "minicraft.advancements.recipes.yellow_wool": { + "requirements": [[ + "has_white_wool", + "has_yellow_dye" + ]], "criteria": { - "has_light_gray_wool": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_light_gray_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Light Gray Bed_1": [ - "Wood_5", - "Light Gray Wool_3" - ] - } - } + "rewards": {"recipes": {"Yellow Wool_1": [ + "Yellow Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "minicraft.advancements.recipes.obsidian_door": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Door_1": ["Obsidian Brick_5"]}} + }, + "minicraft.advancements.recipes.stone_hoe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_light_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_light_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Bed_1": [ - "White Bed_1", - "Light Gray Dye_1" - ] - } - } + "rewards": {"recipes": {"Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye": { + "minicraft.advancements.recipes.chest": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Chest_1": ["Wood_20"]}} + }, + "minicraft.advancements.recipes.purple_bed": { + "requirements": [[ + "has_wood", + "has_purple_wool" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Wool"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_3": [ - "White Dye_2", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Purple Bed_1": [ + "Wood_5", + "Purple Wool_3" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "requirements": [[ + "has_purple_dye", + "has_white_bed" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_gray_dye", - "has_white_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_2": [ - "Gray Dye_1", - "White Dye_1" - ] - } - } + "rewards": {"recipes": {"Purple Bed_1": [ + "White Bed_1", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "minicraft.advancements.recipes.gem_hoe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_hydrangea": { - "conditions": { - "items": [ - { - "items": [ - "Hydrangea" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_hydrangea" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "Hydrangea_1" - ] - } - } + "rewards": {"recipes": {"Gem Hoe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "requirements": [[ + "has_light_blue_dye", + "has_white_bed" + ]], "criteria": { - "has_oxeye_daisy": { - "conditions": { - "items": [ - { - "items": [ - "Oxeye Daisy" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_oxeye_daisy" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "Oxeye Daisy_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Bed_1": [ + "Light Blue Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { + "minicraft.advancements.recipes.blue_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_blue_dye" + ]], "criteria": { - "has_white_tulip": { - "conditions": { - "items": [ - { - "items": [ - "White Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_white_tulip" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "White Tulip_1" - ] - } - } + "rewards": {"recipes": {"Blue Bed_1": [ + "Blue Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_wool": { + "minicraft.advancements.recipes.awkward_potion": { + "requirements": [[ + "has_lapis", + "has_glass_bottle" + ]], "criteria": { - "has_light_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass_bottle": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass Bottle"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_light_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Wool_1": [ - "Light Gray Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" + ]}} }, - "minicraft.advancements.recipes.light_potion": { + "minicraft.advancements.recipes.magenta_wool": { + "requirements": [[ + "has_white_wool", + "has_magenta_dye" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_magenta_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Dye"]}]} } }, - "requirements": [ - [ - "has_slime", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" - ] - } - } + "rewards": {"recipes": {"Magenta Wool_1": [ + "Magenta Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.lime_bed": { + "minicraft.advancements.recipes.green_bed": { + "requirements": [[ + "has_green_wool", + "has_wood" + ]], "criteria": { - "has_lime_wool": { - "conditions": { - "items": [ - { - "items": [ - "Lime Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Wool"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_lime_wool" - ] - ], - "rewards": { - "recipes": { - "Lime Bed_1": [ - "Lime Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Green Bed_1": [ + "Green Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.lime_bed_from_white_bed": { - "criteria": { - "has_lime_dye": { - "conditions": { - "items": [ - { - "items": [ - "Lime Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_lime_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Lime Bed_1": [ - "Lime Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.lime_dye": { - "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_green_dye", - "has_white_dye" - ] - ], - "rewards": { - "recipes": { - "Lime Dye_2": [ - "Green Dye_1", - "White Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.lime_wool": { - "criteria": { - "has_lime_dye": { - "conditions": { - "items": [ - { - "items": [ - "Lime Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_lime_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Lime Wool_1": [ - "Lime Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.loom": { - "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Loom_1": [ - "Wood_10", - "White Wool_5" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_bed": { - "criteria": { - "has_magenta_wool": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_magenta_wool" - ] - ], - "rewards": { - "recipes": { - "Magenta Bed_1": [ - "Wood_5", - "Magenta Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_bed_from_white_bed": { - "criteria": { - "has_magenta_dye": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_bed", - "has_magenta_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Bed_1": [ - "Magenta Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_dye_from_allium": { - "criteria": { - "has_allium": { - "conditions": { - "items": [ - { - "items": [ - "Allium" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_allium" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_1": [ - "Allium_1" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_4": [ - "Pink Dye_1", - "Red Dye_1", - "Blue Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_dye", - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_4": [ - "White Dye_1", - "Red Dye_2", - "Blue Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { - "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_dye", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_2": [ - "Pink Dye_1", - "Purple Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.magenta_wool": { - "criteria": { - "has_magenta_dye": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_magenta_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Wool_1": [ - "Magenta Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_brick": { - "criteria": { - "has_raw_obsidian": { - "conditions": { - "items": [ - { - "items": [ - "Raw Obsidian" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Obsidian Brick_1": [ - "Raw Obsidian_2" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_door": { - "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Door_1": [ - "Obsidian Brick_5" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_fence": { - "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Fence_1": [ - "Obsidian Brick_3" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_poppet": { + "minicraft.advancements.recipes.reg_clothes": { + "requirements": [["has_cloth"]], + "criteria": {"has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }}, + "rewards": {"recipes": {"Reg Clothes_1": ["Cloth_5"]}} + }, + "minicraft.advancements.recipes.totem_of_air": { + "requirements": [[ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ]], "criteria": { "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloud_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloud Ore"]}]} }, "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "Gem_10" - ] - } - } - }, - "minicraft.advancements.recipes.obsidian_wall": { - "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Wall_1": [ - "Obsidian Brick_3" - ] - } - } - }, - "minicraft.advancements.recipes.orange_bed": { - "criteria": { - "has_orange_wool": { - "conditions": { - "items": [ - { - "items": [ - "Orange Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_orange_wool" - ] - ], - "rewards": { - "recipes": { - "Orange Bed_1": [ - "Wood_5", - "Orange Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.orange_bed_from_white_bed": { - "criteria": { - "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_bed", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Bed_1": [ - "Orange Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.orange_clothes": { - "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cloth", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Clothes_1": [ - "Cloth_5", - "Orange Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.orange_dye": { - "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_red_dye", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Dye_2": [ - "Yellow Dye_1", - "Red Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { - "criteria": { - "has_orange_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Orange Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_orange_tulip" - ] - ], - "rewards": { - "recipes": { - "Orange Dye_1": [ - "Orange Tulip_1" - ] - } - } - }, - "minicraft.advancements.recipes.orange_wool": { - "criteria": { - "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Wool_1": [ - "Orange Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.ornate_obsidian": { - "criteria": { - "has_raw_obsidian": { - "conditions": { - "items": [ - { - "items": [ - "Raw Obsidian" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Ornate Obsidian_1": [ - "Raw Obsidian_2" - ] - } - } - }, - "minicraft.advancements.recipes.ornate_stone": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Ornate Stone_1": [ - "Stone_2" - ] - } - } - }, - "minicraft.advancements.recipes.oven": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Oven_1": [ - "Stone_15" - ] - } - } - }, - "minicraft.advancements.recipes.pink_bed": { - "criteria": { - "has_pink_wool": { - "conditions": { - "items": [ - { - "items": [ - "Pink Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Pink Bed_1": [ - "Wood_5", - "Pink Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.pink_bed_from_white_bed": { - "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Pink Bed_1": [ - "Pink Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.pink_dye": { - "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_2": [ - "White Dye_1", - "Red Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.pink_dye_from_peony": { - "criteria": { - "has_peony": { - "conditions": { - "items": [ - { - "items": [ - "Peony" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_peony" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Peony_1" - ] - } - } - }, - "minicraft.advancements.recipes.pink_dye_from_pink_lily": { - "criteria": { - "has_pink_lily": { - "conditions": { - "items": [ - { - "items": [ - "Pink Lily" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_lily" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Pink Lily_1" - ] - } - } - }, - "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { - "criteria": { - "has_pink_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Pink Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_tulip" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Pink Tulip_1" - ] - } - } - }, - "minicraft.advancements.recipes.pink_wool": { - "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_pink_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Pink Wool_1": [ - "Pink Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.plank": { - "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Plank_2": [ - "Wood_1" - ] - } - } - }, - "minicraft.advancements.recipes.plank_wall": { - "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Plank Wall_1": [ - "Plank_3" - ] - } - } - }, - "minicraft.advancements.recipes.purple_bed": { - "criteria": { - "has_purple_wool": { - "conditions": { - "items": [ - { - "items": [ - "Purple Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_purple_wool" - ] - ], - "rewards": { - "recipes": { - "Purple Bed_1": [ - "Wood_5", - "Purple Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.purple_bed_from_white_bed": { - "criteria": { - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_purple_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Purple Bed_1": [ - "White Bed_1", - "Purple Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.purple_clothes": { - "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cloth", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Clothes_1": [ - "Cloth_5", - "Purple Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.purple_dye": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Dye_2": [ - "Blue Dye_1", - "Red Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.purple_dye_from_violet": { - "criteria": { - "has_violet": { - "conditions": { - "items": [ - { - "items": [ - "Violet" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_violet" - ] - ], - "rewards": { - "recipes": { - "Purple Dye_1": [ - "Violet_1" - ] - } - } - }, - "minicraft.advancements.recipes.purple_wool": { - "criteria": { - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Wool_1": [ - "Purple Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_bed": { - "criteria": { - "has_red_wool": { - "conditions": { - "items": [ - { - "items": [ - "Red Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_red_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Red Bed_1": [ - "Wood_5", - "Red Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.red_bed_from_white_bed": { - "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_red_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Red Bed_1": [ - "Red Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_dye_from_poppy": { - "criteria": { - "has_poppy": { - "conditions": { - "items": [ - { - "items": [ - "Poppy" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_poppy" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Poppy_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_dye_from_red_tulip": { - "criteria": { - "has_red_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Red Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_red_tulip" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Red Tulip_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_dye_from_rose": { - "criteria": { - "has_rose": { - "conditions": { - "items": [ - { - "items": [ - "Rose" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_rose" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Rose_1" - ] - } - } - }, - "minicraft.advancements.recipes.red_wool": { - "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Red Wool_1": [ - "Red Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.reg_clothes": { - "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Reg Clothes_1": [ - "Cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.regen_potion": { - "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_golden_apple": { - "conditions": { - "items": [ - { - "items": [ - "Gold Apple" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_golden_apple", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" - ] - } - } - }, - "minicraft.advancements.recipes.shears": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Shears_1": [ - "Iron_4" - ] - } - } - }, - "minicraft.advancements.recipes.snake_armor": { - "criteria": { - "has_scale": { - "conditions": { - "items": [ - { - "items": [ - "Scale" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_scale" - ] - ], - "rewards": { - "recipes": { - "Snake Armor_1": [ - "Scale_15" - ] - } - } - }, - "minicraft.advancements.recipes.speed_potion": { - "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_cactus": { - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cactus", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" - ] - } - } - }, - "minicraft.advancements.recipes.steak": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_raw_beef": { - "conditions": { - "items": [ - { - "items": [ - "Raw Beef" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_raw_beef" - ] - ], - "rewards": { - "recipes": { - "Steak_1": [ - "Coal_1", - "Raw Beef_1" - ] - } - } + "rewards": {"recipes": {"Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "Gem_10", + "Cloud Ore_5" + ]}} }, - "minicraft.advancements.recipes.stone_axe": { + "minicraft.advancements.recipes.cyan_wool": { + "requirements": [[ + "has_cyan_dye", + "has_white_wool" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Axe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Wool_1": [ + "Cyan Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.stone_bow": { + "minicraft.advancements.recipes.iron_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_iron" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Rock Bow_1": [ - "String_2", - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Bow_1": [ + "String_2", + "Iron_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.stone_brick": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Stone Brick_1": [ - "Stone_2" - ] - } - } + "minicraft.advancements.recipes.wooden_shovel": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Shovel_1": ["Wood_5"]}} }, - "minicraft.advancements.recipes.stone_door": { + "minicraft.advancements.recipes.string": { + "requirements": [["has_white_wool"]], + "criteria": {"has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }}, + "rewards": {"recipes": {"String_2": ["White Wool_1"]}} + }, + "minicraft.advancements.recipes.loom": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Door_1": [ - "Stone Brick_5" - ] - } - } + "rewards": {"recipes": {"Loom_1": [ + "Wood_10", + "White Wool_5" + ]}} }, - "minicraft.advancements.recipes.stone_fence": { + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_light_gray_dye" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_light_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Dye"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Fence_1": [ - "Stone Brick_3" - ] - } - } + "rewards": {"recipes": {"Light Gray Bed_1": [ + "White Bed_1", + "Light Gray Dye_1" + ]}} }, - "minicraft.advancements.recipes.stone_hoe": { + "minicraft.advancements.recipes.bread": { + "requirements": [["has_wheat"]], + "criteria": {"has_wheat": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wheat"]}]} + }}, + "rewards": {"recipes": {"Bread_1": ["Wheat_4"]}} + }, + "minicraft.advancements.recipes.anvil": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Anvil_1": ["Iron_5"]}} + }, + "minicraft.advancements.recipes.torch": { + "requirements": [[ + "has_coal", + "has_wood" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Hoe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Torch_2": [ + "Coal_1", + "Wood_1" + ]}} }, - "minicraft.advancements.recipes.stone_pickaxe": { + "minicraft.advancements.recipes.gold_axe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gold Axe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.stone_shovel": { + "minicraft.advancements.recipes.iron_lantern": { + "requirements": [[ + "has_glass", + "has_slime", + "has_iron" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Shovel_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Lantern_1": [ + "Glass_4", + "Iron_8", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.stone_sword": { + "minicraft.advancements.recipes.cyan_bed": { + "requirements": [[ + "has_wood", + "has_cyan_wool" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_cyan_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Wool"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Sword_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Bed_1": [ + "Wood_5", + "Cyan Wool_3" + ]}} }, - "minicraft.advancements.recipes.stone_wall": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { + "requirements": [[ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Wall_1": [ - "Stone Brick_3" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_4": [ + "Pink Dye_1", + "Red Dye_1", + "Blue Dye_1" + ]}} }, - "minicraft.advancements.recipes.string": { + "minicraft.advancements.recipes.white_bed": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "String_2": [ - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"White Bed_1": [ + "Wood_5", + "White Wool_3" + ]}} }, - "minicraft.advancements.recipes.swim_potion": { + "minicraft.advancements.recipes.enchanter": { + "requirements": [[ + "has_wood", + "has_string", + "has_lapis" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_raw_fish": { - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} } }, - "requirements": [ - [ - "has_raw_fish", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" - ] - } - } + "rewards": {"recipes": {"Enchanter_1": [ + "Lapis_10", + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.tnt": { + "minicraft.advancements.recipes.light_gray_wool": { + "requirements": [[ + "has_white_wool", + "has_light_gray_dye" + ]], "criteria": { - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_sand": { - "conditions": { - "items": [ - { - "items": [ - "Sand" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Dye"]}]} } }, - "requirements": [ - [ - "has_sand", - "has_gunpowder" - ] - ], - "rewards": { - "recipes": { - "Tnt_1": [ - "Sand_8", - "Gunpowder_10" - ] - } - } + "rewards": {"recipes": {"Light Gray Wool_1": [ + "Light Gray Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.torch": { + "minicraft.advancements.recipes.gold_claymore": { + "requirements": [[ + "has_shard", + "has_gold_sword" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Sword"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Torch_2": [ - "Coal_1", - "Wood_1" - ] - } - } + "rewards": {"recipes": {"Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" + ]}} }, - "minicraft.advancements.recipes.totem_of_air": { + "minicraft.advancements.recipes.baked_potato": { + "requirements": [["has_potato"]], + "criteria": {"has_potato": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Potato"]}]} + }}, + "rewards": {"recipes": {"Baked Potato_1": ["Potato_1"]}} + }, + "minicraft.advancements.recipes.orange_wool": { + "requirements": [[ + "has_white_wool", + "has_orange_dye" + ]], "criteria": { - "has_cloud_ore": { - "conditions": { - "items": [ - { - "items": [ - "Cloud Ore" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "Gem_10", - "Cloud Ore_5" - ] - } - } + "rewards": {"recipes": {"Orange Wool_1": [ + "Orange Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.watering_can": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Watering Can_1": [ - "Iron_3" - ] - } - } + "minicraft.advancements.recipes.empty_bucket": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Empty Bucket_1": ["Iron_5"]}} }, - "minicraft.advancements.recipes.white_bed": { + "minicraft.advancements.recipes.gold_hoe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "White Bed_1": [ - "Wood_5", - "White Wool_3" - ] - } - } + "rewards": {"recipes": {"Gold Hoe_1": [ + "Gold_5", + "Wood_5" + ]}} }, "minicraft.advancements.recipes.white_dye": { - "criteria": { - "has_white_lily": { - "conditions": { - "items": [ - { - "items": [ - "White Lily" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_lily" - ] - ], - "rewards": { - "recipes": { - "White Dye_1": [ - "White Lily_1" - ] - } - } + "requirements": [["has_white_lily"]], + "criteria": {"has_white_lily": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Lily"]}]} + }}, + "rewards": {"recipes": {"White Dye_1": ["White Lily_1"]}} }, - "minicraft.advancements.recipes.white_wool": { + "minicraft.advancements.recipes.gray_bed": { + "requirements": [[ + "has_gray_wool", + "has_wood" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Wool"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_string" - ] - ], - "rewards": { - "recipes": { - "White Wool_1": [ - "String_3" - ] - } - } + "rewards": {"recipes": {"Gray Bed_1": [ + "Gray Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.wood_door": { + "minicraft.advancements.recipes.iron": { + "requirements": [[ + "has_coal", + "has_iron_ore" + ]], "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_iron_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron Ore"]}]} } }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Wood Door_1": [ - "Plank_5" - ] - } - } + "rewards": {"recipes": {"Iron_1": [ + "Coal_1", + "Iron Ore_3" + ]}} }, - "minicraft.advancements.recipes.wood_fence": { - "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Wood Fence_1": [ - "Plank_3" - ] - } - } + "minicraft.advancements.recipes.stone_door": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Door_1": ["Stone Brick_5"]}} }, - "minicraft.advancements.recipes.wood_fishing_rod": { + "minicraft.advancements.recipes.obsidian_poppet": { + "requirements": [[ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Fishing Rod_1": [ - "String_3", - "Wood_10" - ] - } - } + "rewards": {"recipes": {"Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "Gem_10" + ]}} }, - "minicraft.advancements.recipes.wooden_axe": { + "minicraft.advancements.recipes.gem_axe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Axe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Axe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.wooden_bow": { + "minicraft.advancements.recipes.tnt": { + "requirements": [[ + "has_sand", + "has_gunpowder" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_sand": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sand"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Bow_1": [ - "String_2", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ]}} }, - "minicraft.advancements.recipes.wooden_hoe": { + "minicraft.advancements.recipes.lime_bed": { + "requirements": [[ + "has_wood", + "has_lime_wool" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_lime_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Wool"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Hoe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Lime Bed_1": [ + "Lime Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.wooden_pickaxe": { + "minicraft.advancements.recipes.iron_sword": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Pickaxe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Sword_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.wooden_shovel": { + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { + "requirements": [[ + "has_cyan_dye", + "has_white_bed" + ]], "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Shovel_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Bed_1": [ + "Cyan Dye_1", + "White Bed_1" + ]}} + }, + "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { + "requirements": [["has_pink_tulip"]], + "criteria": {"has_pink_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Tulip"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Pink Tulip_1"]}} }, "minicraft.advancements.recipes.wooden_sword": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Sword_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.furnace": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Furnace_1": ["Stone_20"]}} + }, + "minicraft.advancements.recipes.gem_shovel": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Sword_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Shovel_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.workbench": { + "minicraft.advancements.recipes.black_clothes": { + "requirements": [[ + "has_cloth", + "has_black_dye" + ]], "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Workbench_1": [ - "Wood_10" - ] - } - } + "rewards": {"recipes": {"Black Clothes_1": [ + "Cloth_5", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.yellow_bed": { + "minicraft.advancements.recipes.haste_potion": { + "requirements": [[ + "has_stone", + "has_wood", + "has_awkward_potion" + ]], "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_yellow_wool": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_yellow_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Yellow Bed_1": [ - "Yellow Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "minicraft.advancements.recipes.black_bed": { + "requirements": [[ + "has_black_wool", + "has_wood" + ]], "criteria": { - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Wool"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Bed_1": [ - "Yellow Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Black Bed_1": [ + "Wood_5", + "Black Wool_3" + ]}} }, - "minicraft.advancements.recipes.yellow_clothes": { + "minicraft.advancements.recipes.blue_wool": { + "requirements": [[ + "has_white_wool", + "has_blue_dye" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Clothes_1": [ - "Cloth_5", - "Yellow Dye_1" - ] - } - } + "rewards": {"recipes": {"Blue Wool_1": [ + "Blue Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.yellow_dye_from_dandelion": { + "minicraft.advancements.recipes.ornate_obsidian": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Ornate Obsidian_1": ["Raw Obsidian_2"]}} + }, + "minicraft.advancements.recipes.energy_potion": { + "requirements": [[ + "has_gem", + "has_awkward_potion" + ]], "criteria": { - "has_dandelion": { - "conditions": { - "items": [ - { - "items": [ - "Dandelion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_dandelion" - ] - ], - "rewards": { - "recipes": { - "Yellow Dye_1": [ - "Dandelion_1" - ] - } - } + "rewards": {"recipes": {"Energy Potion_1": [ + "Awkward Potion_1", + "Gem_25" + ]}} }, - "minicraft.advancements.recipes.yellow_dye_from_sunflower": { + "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { + "requirements": [["has_orange_tulip"]], + "criteria": {"has_orange_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Tulip"]}]} + }}, + "rewards": {"recipes": {"Orange Dye_1": ["Orange Tulip_1"]}} + }, + "minicraft.advancements.recipes.lime_dye": { + "requirements": [[ + "has_green_dye", + "has_white_dye" + ]], "criteria": { - "has_sunflower": { - "conditions": { - "items": [ - { - "items": [ - "Sunflower" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} + }, + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} } }, - "requirements": [ - [ - "has_sunflower" - ] - ], - "rewards": { - "recipes": { - "Yellow Dye_1": [ - "Sunflower_1" - ] - } - } + "rewards": {"recipes": {"Lime Dye_2": [ + "Green Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.yellow_wool": { + "minicraft.advancements.recipes.oven": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Oven_1": ["Stone_15"]}} + }, + "minicraft.advancements.recipes.regen_potion": { + "requirements": [[ + "has_golden_apple", + "has_awkward_potion" + ]], "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_golden_apple": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Apple"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Wool_1": [ - "Yellow Dye_1", - "White Wool_1" - ] + "rewards": {"recipes": {"Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ]}} + }, + "minicraft.advancements.recipes.light_gray_bed": { + "requirements": [[ + "has_light_gray_wool", + "has_wood" + ]], + "criteria": { + "has_light_gray_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Wool"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } - } + }, + "rewards": {"recipes": {"Light Gray Bed_1": [ + "Wood_5", + "Light Gray Wool_3" + ]}} } -} +} \ No newline at end of file From ae6ee34131416bd90c87c6f77bd34a1f5c01553b Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 14:32:33 -0400 Subject: [PATCH 53/59] Decreased stone cost --- src/client/java/minicraft/item/Recipes.java | 2 +- src/client/resources/resources/recipes.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index bdaa4ced6..f1ea143b3 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -81,7 +81,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("Anvil_1", "iron_5")); workbenchRecipes.add(new Recipe("Tnt_1", "Gunpowder_10", "Sand_8")); workbenchRecipes.add(new Recipe("Loom_1", "Wood_10", "White Wool_5")); - workbenchRecipes.add(new Recipe("Dye Vat_1", "Stone_20", "Water Bucket_1")); + workbenchRecipes.add(new Recipe("Dye Vat_1", "Stone_10", "Water Bucket_1")); workbenchRecipes.add(new Recipe("Wood Fishing Rod_1", "Wood_10", "String_3")); workbenchRecipes.add(new Recipe("Iron Fishing Rod_1", "Iron_10", "String_3")); workbenchRecipes.add(new Recipe("Gold Fishing Rod_1", "Gold_10", "String_3")); diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index 2de1674d6..add3c3773 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -549,7 +549,7 @@ } }, "rewards": {"recipes": {"Dye Vat_1": [ - "Stone_20", + "Stone_10", "Water Bucket_1" ]}} }, From 663162e581e7f2c0c64acfa15fa73ddd76e520bf Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 14:42:47 -0400 Subject: [PATCH 54/59] Cost for the iron has changed to actual iron ingots. --- src/client/java/minicraft/item/Recipes.java | 2 +- src/client/resources/resources/recipes.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index f1ea143b3..3af9f7638 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -81,7 +81,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("Anvil_1", "iron_5")); workbenchRecipes.add(new Recipe("Tnt_1", "Gunpowder_10", "Sand_8")); workbenchRecipes.add(new Recipe("Loom_1", "Wood_10", "White Wool_5")); - workbenchRecipes.add(new Recipe("Dye Vat_1", "Stone_10", "Water Bucket_1")); + workbenchRecipes.add(new Recipe("Dye Vat_1", "Stone_10", "iron_5")); workbenchRecipes.add(new Recipe("Wood Fishing Rod_1", "Wood_10", "String_3")); workbenchRecipes.add(new Recipe("Iron Fishing Rod_1", "Iron_10", "String_3")); workbenchRecipes.add(new Recipe("Gold Fishing Rod_1", "Gold_10", "String_3")); diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index add3c3773..a9486de40 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -536,21 +536,21 @@ "minicraft.advancements.recipes.dye_vat": { "requirements": [[ "has_stone", - "has_water_bucket" + "has_iron" ]], "criteria": { "has_stone": { "trigger": "inventory_changed", "conditions": {"items": [{"items": ["Stone"]}]} }, - "has_water_bucket": { + "has_iron": { "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Water Bucket"]}]} + "conditions": {"items": [{"items": ["Iron"]}]} } }, "rewards": {"recipes": {"Dye Vat_1": [ "Stone_10", - "Water Bucket_1" + "Iron_5" ]}} }, "minicraft.advancements.recipes.wooden_axe": { From 48e1f8f48b79d5eb7d6d32f07db3e5b29d56d27a Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 02:45:09 +0800 Subject: [PATCH 55/59] Reformat recipes.json --- src/client/resources/resources/recipes.json | 9132 ++++++++++++++----- 1 file changed, 6631 insertions(+), 2501 deletions(-) diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index a9486de40..a1a75a57e 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -1,3124 +1,7254 @@ { - "minicraft.advancements.recipes.gem_fishing_rod": { - "requirements": [[ - "has_gem", - "has_string" - ]], + "minicraft.advancements.recipes.anvil": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Fishing Rod_1": [ - "String_3", - "Gem_10" - ]}} + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Anvil_1": [ + "Iron_5" + ] + } + } }, - "minicraft.advancements.recipes.gray_bed_from_white_bed": { - "requirements": [[ - "has_gray_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.arcane_fertilizer": { "criteria": { - "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gray Dye"]}]} + "has_bone": { + "conditions": { + "items": [ + { + "items": [ + "Bone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gray Bed_1": [ - "Gray Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_bone", + "has_lapis" + ] + ], + "rewards": { + "recipes": { + "ARCANE FERTILIZER_3": [ + "Lapis_6", + "Bone_2" + ] + } + } }, - "minicraft.advancements.recipes.health_potion": { - "requirements": [[ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.arrow": { "criteria": { - "has_leather_armor": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Leather Armor"]}]} - }, - "has_gunpowder": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Arrow_3": [ + "Stone_2", + "Wood_2" + ] + } + } }, - "minicraft.advancements.recipes.green_wool": { - "requirements": [[ - "has_green_dye", - "has_white_wool" - ]], + "minicraft.advancements.recipes.awkward_potion": { "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} + "has_glass_bottle": { + "conditions": { + "items": [ + { + "items": [ + "Glass Bottle" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Green Wool_1": [ - "Green Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.obsidian_brick": { - "requirements": [["has_raw_obsidian"]], - "criteria": {"has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Obsidian"]}]} - }}, - "rewards": {"recipes": {"Obsidian Brick_1": ["Raw Obsidian_2"]}} + "requirements": [ + [ + "has_lapis", + "has_glass_bottle" + ] + ], + "rewards": { + "recipes": { + "Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" + ] + } + } }, - "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { - "requirements": [[ - "has_pink_dye", - "has_purple_dye" - ]], + "minicraft.advancements.recipes.baked_potato": { "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Dye"]}]} - }, - "has_purple_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Purple Dye"]}]} + "has_potato": { + "conditions": { + "items": [ + { + "items": [ + "Potato" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Dye_2": [ - "Pink Dye_1", - "Purple Dye_1" - ]}} - }, - "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { - "requirements": [["has_oxeye_daisy"]], - "criteria": {"has_oxeye_daisy": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Oxeye Daisy"]}]} - }}, - "rewards": {"recipes": {"Light Gray Dye_1": ["Oxeye Daisy_1"]}} - }, - "minicraft.advancements.recipes.plank": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Plank_2": ["Wood_1"]}} + "requirements": [ + [ + "has_potato" + ] + ], + "rewards": { + "recipes": { + "Baked Potato_1": [ + "Potato_1" + ] + } + } }, - "minicraft.advancements.recipes.red_bed_from_white_bed": { - "requirements": [[ - "has_red_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.black_bed": { "criteria": { - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_black_wool": { + "conditions": { + "items": [ + { + "items": [ + "Black Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Red Bed_1": [ - "Red Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_black_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Black Bed_1": [ + "Wood_5", + "Black Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.purple_wool": { - "requirements": [[ - "has_white_wool", - "has_purple_dye" - ]], + "minicraft.advancements.recipes.black_bed_from_white_bed": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_black_dye": { + "conditions": { + "items": [ + { + "items": [ + "Black Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_purple_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Purple Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Purple Wool_1": [ - "Purple Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.black_dye": { - "requirements": [["has_coal"]], - "criteria": {"has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} - }}, - "rewards": {"recipes": {"Black Dye_1": ["Coal_1"]}} - }, - "minicraft.advancements.recipes.leather_armor": { - "requirements": [["has_leather"]], - "criteria": {"has_leather": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Leather"]}]} - }}, - "rewards": {"recipes": {"Leather Armor_1": ["Leather_10"]}} + "requirements": [ + [ + "has_white_bed", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "Black Bed_1": [ + "White Bed_1", + "Black Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.lava_potion": { - "requirements": [[ - "has_awkward_potion", - "has_lava_bucket" - ]], + "minicraft.advancements.recipes.black_clothes": { "criteria": { - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_black_dye": { + "conditions": { + "items": [ + { + "items": [ + "Black Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_lava_bucket": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lava Bucket"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" - ]}} + "requirements": [ + [ + "has_cloth", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "Black Clothes_1": [ + "Cloth_5", + "Black Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_axe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "minicraft.advancements.recipes.black_dye": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Axe_1": [ - "Wood_5", - "Iron_5" - ]}} + "requirements": [ + [ + "has_coal" + ] + ], + "rewards": { + "recipes": { + "Black Dye_1": [ + "Coal_1" + ] + } + } }, "minicraft.advancements.recipes.black_wool": { - "requirements": [[ - "has_white_wool", - "has_black_dye" - ]], "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }, "has_black_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "Black Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Black Wool_1": [ - "Black Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "Black Wool_1": [ + "Black Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.light_gray_dye": { - "requirements": [[ - "has_white_dye", - "has_black_dye" - ]], + "minicraft.advancements.recipes.blue_bed": { "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} + "has_blue_wool": { + "conditions": { + "items": [ + { + "items": [ + "Blue Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Dye"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Gray Dye_3": [ - "White Dye_2", - "Black Dye_1" - ]}} - }, - "minicraft.advancements.recipes.white_wool": { - "requirements": [["has_string"]], - "criteria": {"has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} - }}, - "rewards": {"recipes": {"White Wool_1": ["String_3"]}} - }, - "minicraft.advancements.recipes.pink_dye_from_pink_lily": { - "requirements": [["has_pink_lily"]], - "criteria": {"has_pink_lily": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Lily"]}]} - }}, - "rewards": {"recipes": {"Pink Dye_1": ["Pink Lily_1"]}} + "requirements": [ + [ + "has_wood", + "has_blue_wool" + ] + ], + "rewards": { + "recipes": { + "Blue Bed_1": [ + "Wood_5", + "Blue Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.cooked_pork": { - "requirements": [[ - "has_coal", - "has_raw_pork" - ]], + "minicraft.advancements.recipes.blue_bed_from_white_bed": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_raw_pork": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Pork"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ]}} + "requirements": [ + [ + "has_white_bed", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Blue Bed_1": [ + "Blue Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { - "requirements": [[ - "has_gray_dye", - "has_white_dye" - ]], + "minicraft.advancements.recipes.blue_clothes": { "criteria": { - "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gray Dye"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Gray Dye_2": [ - "Gray Dye_1", - "White Dye_1" - ]}} + "requirements": [ + [ + "has_cloth", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Blue Clothes_1": [ + "Blue Dye_1", + "Cloth_5" + ] + } + } }, - "minicraft.advancements.recipes.pink_bed_from_white_bed": { - "requirements": [[ - "has_pink_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.blue_dye": { "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Dye"]}]} - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Pink Bed_1": [ - "Pink Dye_1", - "White Bed_1" - ]}} - }, - "minicraft.advancements.recipes.wooden_hoe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Hoe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_lapis" + ] + ], + "rewards": { + "recipes": { + "Blue Dye_1": [ + "Lapis_1" + ] + } + } }, - "minicraft.advancements.recipes.stone_sword": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.blue_dye_from_cornflower": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_cornflower": { + "conditions": { + "items": [ + { + "items": [ + "Cornflower" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Sword_1": [ - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_cornflower" + ] + ], + "rewards": { + "recipes": { + "Blue Dye_1": [ + "Cornflower_1" + ] + } + } }, - "minicraft.advancements.recipes.brown_wool": { - "requirements": [[ - "has_white_wool", - "has_brown_dye" - ]], + "minicraft.advancements.recipes.blue_dye_from_iris": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }, - "has_brown_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Brown Dye"]}]} + "has_iris": { + "conditions": { + "items": [ + { + "items": [ + "Iris" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Brown Wool_1": [ - "Brown Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.snake_armor": { - "requirements": [["has_scale"]], - "criteria": {"has_scale": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Scale"]}]} - }}, - "rewards": {"recipes": {"Snake Armor_1": ["Scale_15"]}} - }, - "minicraft.advancements.recipes.shears": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Shears_1": ["Iron_4"]}} - }, - "minicraft.advancements.recipes.wood_door": { - "requirements": [["has_plank"]], - "criteria": {"has_plank": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Plank"]}]} - }}, - "rewards": {"recipes": {"Wood Door_1": ["Plank_5"]}} - }, - "minicraft.advancements.recipes.stone_fence": { - "requirements": [["has_stone_brick"]], - "criteria": {"has_stone_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone Brick"]}]} - }}, - "rewards": {"recipes": {"Stone Fence_1": ["Stone Brick_3"]}} + "requirements": [ + [ + "has_iris" + ] + ], + "rewards": { + "recipes": { + "Blue Dye_1": [ + "Iris_1" + ] + } + } }, - "minicraft.advancements.recipes.green_clothes": { - "requirements": [[ - "has_green_dye", - "has_cloth" - ]], + "minicraft.advancements.recipes.blue_wool": { "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Green Clothes_1": [ - "Cloth_5", - "Green Dye_1" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Blue Wool_1": [ + "Blue Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.red_wool": { - "requirements": [[ - "has_white_wool", - "has_red_dye" - ]], + "minicraft.advancements.recipes.bread": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_wheat": { + "conditions": { + "items": [ + { + "items": [ + "Wheat" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Red Wool_1": [ - "Red Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_wheat" + ] + ], + "rewards": { + "recipes": { + "Bread_1": [ + "Wheat_4" + ] + } + } }, - "minicraft.advancements.recipes.stone_bow": { - "requirements": [[ - "has_stone", - "has_wood", - "has_string" - ]], + "minicraft.advancements.recipes.brown_bed": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "has_brown_wool": { + "conditions": { + "items": [ + { + "items": [ + "Brown Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Bow_1": [ - "String_2", - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_brown_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Brown Bed_1": [ + "Brown Wool_3", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.gem_bow": { - "requirements": [[ - "has_wood", - "has_gem", - "has_string" - ]], + "minicraft.advancements.recipes.brown_bed_from_white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_brown_dye": { + "conditions": { + "items": [ + { + "items": [ + "Brown Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Bow_1": [ - "String_2", - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_white_bed", + "has_brown_dye" + ] + ], + "rewards": { + "recipes": { + "Brown Bed_1": [ + "White Bed_1", + "Brown Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.cyan_dye": { - "requirements": [[ - "has_green_dye", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.brown_dye": { "criteria": { "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cyan Dye_2": [ - "Blue Dye_1", - "Green Dye_1" - ]}} + "requirements": [ + [ + "has_green_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "Brown Dye_2": [ + "Green Dye_1", + "Red Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.dye_vat": { - "requirements": [[ - "has_stone", - "has_iron" - ]], + "minicraft.advancements.recipes.brown_wool": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "has_brown_dye": { + "conditions": { + "items": [ + { + "items": [ + "Brown Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Dye Vat_1": [ - "Stone_10", - "Iron_5" - ]}} - }, - "minicraft.advancements.recipes.wooden_axe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Axe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_white_wool", + "has_brown_dye" + ] + ], + "rewards": { + "recipes": { + "Brown Wool_1": [ + "Brown Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.magenta_bed": { - "requirements": [[ - "has_wood", - "has_magenta_wool" - ]], + "minicraft.advancements.recipes.chest": { "criteria": { "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_magenta_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Magenta Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Bed_1": [ - "Wood_5", - "Magenta Wool_3" - ]}} - }, - "minicraft.advancements.recipes.pink_dye_from_peony": { - "requirements": [["has_peony"]], - "criteria": {"has_peony": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Peony"]}]} - }}, - "rewards": {"recipes": {"Pink Dye_1": ["Peony_1"]}} - }, - "minicraft.advancements.recipes.stone_brick": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Stone Brick_1": ["Stone_2"]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Chest_1": [ + "Wood_20" + ] + } + } }, - "minicraft.advancements.recipes.pink_dye": { - "requirements": [[ - "has_white_dye", - "has_red_dye" - ]], + "minicraft.advancements.recipes.cooked_fish": { "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_raw_fish": { + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Pink Dye_2": [ - "White Dye_1", - "Red Dye_1" - ]}} - }, - "minicraft.advancements.recipes.workbench": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Workbench_1": ["Wood_10"]}} + "requirements": [ + [ + "has_coal", + "has_raw_fish" + ] + ], + "rewards": { + "recipes": { + "Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" + ] + } + } }, - "minicraft.advancements.recipes.lantern": { - "requirements": [[ - "has_glass", - "has_wood", - "has_slime" - ]], + "minicraft.advancements.recipes.cooked_pork": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass"]}]} - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_slime": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "has_raw_pork": { + "conditions": { + "items": [ + { + "items": [ + "Raw Pork" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lantern_1": [ - "Glass_3", - "Slime_4", - "Wood_8" - ]}} - }, - "minicraft.advancements.recipes.green_dye": { - "requirements": [["has_cactus"]], - "criteria": {"has_cactus": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} - }}, - "rewards": {"recipes": {"Green Dye_1": ["Cactus_1"]}} + "requirements": [ + [ + "has_coal", + "has_raw_pork" + ] + ], + "rewards": { + "recipes": { + "Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" + ] + } + } }, - "minicraft.advancements.recipes.orange_dye": { - "requirements": [[ - "has_red_dye", - "has_yellow_dye" - ]], + "minicraft.advancements.recipes.cyan_bed": { "criteria": { - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_cyan_wool": { + "conditions": { + "items": [ + { + "items": [ + "Cyan Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_yellow_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Yellow Dye"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Orange Dye_2": [ - "Yellow Dye_1", - "Red Dye_1" - ]}} + "requirements": [ + [ + "has_wood", + "has_cyan_wool" + ] + ], + "rewards": { + "recipes": { + "Cyan Bed_1": [ + "Wood_5", + "Cyan Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.magenta_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_magenta_dye" - ]], + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_cyan_dye": { + "conditions": { + "items": [ + { + "items": [ + "Cyan Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_magenta_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Magenta Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Bed_1": [ - "Magenta Dye_1", - "White Bed_1" - ]}} - }, - "minicraft.advancements.recipes.gold_armor": { - "requirements": [["has_gold"]], - "criteria": {"has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} - }}, - "rewards": {"recipes": {"Gold Armor_1": ["Gold_10"]}} + "requirements": [ + [ + "has_cyan_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Cyan Bed_1": [ + "Cyan Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.yellow_clothes": { - "requirements": [[ - "has_cloth", - "has_yellow_dye" - ]], + "minicraft.advancements.recipes.cyan_clothes": { "criteria": { "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_yellow_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Yellow Dye"]}]} + "has_cyan_dye": { + "conditions": { + "items": [ + { + "items": [ + "Cyan Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Yellow Clothes_1": [ - "Cloth_5", - "Yellow Dye_1" - ]}} - }, - "minicraft.advancements.recipes.glass_bottle": { - "requirements": [["has_glass"]], - "criteria": {"has_glass": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass"]}]} - }}, - "rewards": {"recipes": {"Glass Bottle_1": ["Glass_3"]}} + "requirements": [ + [ + "has_cyan_dye", + "has_cloth" + ] + ], + "rewards": { + "recipes": { + "Cyan Clothes_1": [ + "Cyan Dye_1", + "Cloth_5" + ] + } + } }, - "minicraft.advancements.recipes.gem_claymore": { - "requirements": [[ - "has_shard", - "has_gem_sword" - ]], + "minicraft.advancements.recipes.cyan_dye": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gem_sword": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem Sword"]}]} + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" - ]}} + "requirements": [ + [ + "has_green_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Cyan Dye_2": [ + "Blue Dye_1", + "Green Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.lime_wool": { - "requirements": [[ - "has_lime_dye", - "has_white_wool" - ]], + "minicraft.advancements.recipes.cyan_wool": { "criteria": { - "has_lime_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lime Dye"]}]} + "has_cyan_dye": { + "conditions": { + "items": [ + { + "items": [ + "Cyan Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lime Wool_1": [ - "Lime Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.wood_fence": { - "requirements": [["has_plank"]], - "criteria": {"has_plank": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Plank"]}]} - }}, - "rewards": {"recipes": {"Wood Fence_1": ["Plank_3"]}} - }, - "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { - "requirements": [["has_white_tulip"]], - "criteria": {"has_white_tulip": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Tulip"]}]} - }}, - "rewards": {"recipes": {"Light Gray Dye_1": ["White Tulip_1"]}} + "requirements": [ + [ + "has_cyan_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Cyan Wool_1": [ + "Cyan Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.yellow_dye_from_dandelion": { - "requirements": [["has_dandelion"]], - "criteria": {"has_dandelion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Dandelion"]}]} - }}, - "rewards": {"recipes": {"Yellow Dye_1": ["Dandelion_1"]}} + "minicraft.advancements.recipes.dye_vat": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Dye Vat_1": [ + "Stone_10", + "Iron_5" + ] + } + } }, - "minicraft.advancements.recipes.wood_fishing_rod": { - "requirements": [[ - "has_wood", - "has_string" - ]], + "minicraft.advancements.recipes.empty_bucket": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Empty Bucket_1": [ + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.enchanter": { + "criteria": { + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_lapis" + ] + ], + "rewards": { + "recipes": { + "Enchanter_1": [ + "Lapis_10", + "String_2", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.energy_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gem", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Energy Potion_1": [ + "Awkward Potion_1", + "Gem_25" + ] + } + } + }, + "minicraft.advancements.recipes.escape_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gunpowder": { + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ] + } + } + }, + "minicraft.advancements.recipes.furnace": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Furnace_1": [ + "Stone_20" + ] + } + } + }, + "minicraft.advancements.recipes.gem_armor": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Armor_1": [ + "Gem_65" + ] + } + } + }, + "minicraft.advancements.recipes.gem_axe": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Axe_1": [ + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.gem_bow": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Gem Bow_1": [ + "String_2", + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.gem_claymore": { + "criteria": { + "has_gem_sword": { + "conditions": { + "items": [ + { + "items": [ + "Gem Sword" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_shard", + "has_gem_sword" + ] + ], + "rewards": { + "recipes": { + "Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" + ] + } + } + }, + "minicraft.advancements.recipes.gem_fishing_rod": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gem", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Gem Fishing Rod_1": [ + "String_3", + "Gem_10" + ] + } + } + }, + "minicraft.advancements.recipes.gem_hoe": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Hoe_1": [ + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.gem_pickaxe": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Pickaxe_1": [ + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.gem_shovel": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Shovel_1": [ + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.gem_sword": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gem" + ] + ], + "rewards": { + "recipes": { + "Gem Sword_1": [ + "Wood_5", + "Gem_50" + ] + } + } + }, + "minicraft.advancements.recipes.glass": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_sand": { + "conditions": { + "items": [ + { + "items": [ + "Sand" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_coal", + "has_sand" + ] + ], + "rewards": { + "recipes": { + "Glass_1": [ + "Coal_1", + "Sand_4" + ] + } + } + }, + "minicraft.advancements.recipes.glass_bottle": { + "criteria": { + "has_glass": { + "conditions": { + "items": [ + { + "items": [ + "Glass" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_glass" + ] + ], + "rewards": { + "recipes": { + "Glass Bottle_1": [ + "Glass_3" + ] + } + } + }, + "minicraft.advancements.recipes.gold": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gold_ore": { + "conditions": { + "items": [ + { + "items": [ + "Gold Ore" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_coal", + "has_gold_ore" + ] + ], + "rewards": { + "recipes": { + "Gold_1": [ + "Coal_1", + "Gold Ore_3" + ] + } + } + }, + "minicraft.advancements.recipes.gold_armor": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Armor_1": [ + "Gold_10" + ] + } + } + }, + "minicraft.advancements.recipes.gold_axe": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Axe_1": [ + "Gold_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_bow": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Bow_1": [ + "Gold_5", + "String_2", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_claymore": { + "criteria": { + "has_gold_sword": { + "conditions": { + "items": [ + { + "items": [ + "Gold Sword" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_shard", + "has_gold_sword" + ] + ], + "rewards": { + "recipes": { + "Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" + ] + } + } + }, + "minicraft.advancements.recipes.gold_fishing_rod": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_string", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Fishing Rod_1": [ + "Gold_10", + "String_3" + ] + } + } + }, + "minicraft.advancements.recipes.gold_hoe": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Hoe_1": [ + "Gold_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_lantern": { + "criteria": { + "has_glass": { + "conditions": { + "items": [ + { + "items": [ + "Glass" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_slime": { + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_glass", + "has_gold", + "has_slime" + ] + ], + "rewards": { + "recipes": { + "Gold Lantern_1": [ + "Glass_4", + "Gold_10", + "Slime_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_pickaxe": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_shovel": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Shovel_1": [ + "Gold_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gold_sword": { + "criteria": { + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Sword_1": [ + "Gold_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.golden_apple": { + "criteria": { + "has_apple": { + "conditions": { + "items": [ + { + "items": [ + "Apple" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_apple", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Gold Apple_1": [ + "Gold_8", + "Apple_1" + ] + } + } + }, + "minicraft.advancements.recipes.gray_bed": { + "criteria": { + "has_gray_wool": { + "conditions": { + "items": [ + { + "items": [ + "Gray Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gray_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Gray Bed_1": [ + "Gray Wool_3", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "criteria": { + "has_gray_dye": { + "conditions": { + "items": [ + { + "items": [ + "Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_gray_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Gray Bed_1": [ + "Gray Dye_1", + "White Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.gray_dye": { + "criteria": { + "has_black_dye": { + "conditions": { + "items": [ + { + "items": [ + "Black Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "Gray Dye_2": [ + "White Dye_1", + "Black Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.gray_wool": { + "criteria": { + "has_gray_dye": { + "conditions": { + "items": [ + { + "items": [ + "Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_white_wool", + "has_gray_dye" + ] + ], + "rewards": { + "recipes": { + "Gray Wool_1": [ + "Gray Dye_1", + "White Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_bed": { + "criteria": { + "has_green_wool": { + "conditions": { + "items": [ + { + "items": [ + "Green Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_green_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Green Bed_1": [ + "Green Wool_3", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.green_bed_from_white_bed": { + "criteria": { + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_green_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Green Bed_1": [ + "Green Dye_1", + "White Bed_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_clothes": { + "criteria": { + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_green_dye", + "has_cloth" + ] + ], + "rewards": { + "recipes": { + "Green Clothes_1": [ + "Cloth_5", + "Green Dye_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_dye": { + "criteria": { + "has_cactus": { + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_cactus" + ] + ], + "rewards": { + "recipes": { + "Green Dye_1": [ + "Cactus_1" + ] + } + } + }, + "minicraft.advancements.recipes.green_wool": { + "criteria": { + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_green_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Green Wool_1": [ + "Green Dye_1", + "White Wool_1" + ] + } + } + }, + "minicraft.advancements.recipes.haste_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone", + "has_wood", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.health_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gunpowder": { + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_leather_armor": { + "conditions": { + "items": [ + { + "items": [ + "Leather Armor" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" + ] + } + } + }, + "minicraft.advancements.recipes.iron": { + "criteria": { + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_iron_ore": { + "conditions": { + "items": [ + { + "items": [ + "Iron Ore" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_coal", + "has_iron_ore" + ] + ], + "rewards": { + "recipes": { + "Iron_1": [ + "Coal_1", + "Iron Ore_3" + ] + } + } + }, + "minicraft.advancements.recipes.iron_armor": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Armor_1": [ + "Iron_10" + ] + } + } + }, + "minicraft.advancements.recipes.iron_axe": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Axe_1": [ + "Wood_5", + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_bow": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_string", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Bow_1": [ + "String_2", + "Iron_5", + "Wood_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_claymore": { + "criteria": { + "has_iron_sword": { + "conditions": { + "items": [ + { + "items": [ + "Iron Sword" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_shard", + "has_iron_sword" + ] + ], + "rewards": { + "recipes": { + "Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" + ] + } + } + }, + "minicraft.advancements.recipes.iron_fishing_rod": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_string", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Fishing Rod_1": [ + "String_3", + "Iron_10" + ] + } + } + }, + "minicraft.advancements.recipes.iron_hoe": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Hoe_1": [ + "Wood_5", + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_lantern": { + "criteria": { + "has_glass": { + "conditions": { + "items": [ + { + "items": [ + "Glass" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_slime": { + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_glass", + "has_slime", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Lantern_1": [ + "Glass_4", + "Iron_8", + "Slime_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_pickaxe": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_shovel": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Shovel_1": [ + "Wood_5", + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.iron_sword": { + "criteria": { + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood", + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Iron Sword_1": [ + "Wood_5", + "Iron_5" + ] + } + } + }, + "minicraft.advancements.recipes.lantern": { + "criteria": { + "has_glass": { + "conditions": { + "items": [ + { + "items": [ + "Glass" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_slime": { + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_glass", + "has_wood", + "has_slime" + ] + ], + "rewards": { + "recipes": { + "Lantern_1": [ + "Glass_3", + "Slime_4", + "Wood_8" + ] + } + } + }, + "minicraft.advancements.recipes.lava_potion": { + "criteria": { + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_lava_bucket": { + "conditions": { + "items": [ + { + "items": [ + "Lava Bucket" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Wood Fishing Rod_1": [ - "String_3", - "Wood_10" - ]}} - }, - "minicraft.advancements.recipes.red_dye_from_rose": { - "requirements": [["has_rose"]], - "criteria": {"has_rose": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Rose"]}]} - }}, - "rewards": {"recipes": {"Red Dye_1": ["Rose_1"]}} + "requirements": [ + [ + "has_awkward_potion", + "has_lava_bucket" + ] + ], + "rewards": { + "recipes": { + "Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ] + } + } }, - "minicraft.advancements.recipes.pink_bed": { - "requirements": [[ - "has_pink_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.leather_armor": { "criteria": { - "has_pink_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Wool"]}]} - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_leather": { + "conditions": { + "items": [ + { + "items": [ + "Leather" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Pink Bed_1": [ - "Wood_5", - "Pink Wool_3" - ]}} + "requirements": [ + [ + "has_leather" + ] + ], + "rewards": { + "recipes": { + "Leather Armor_1": [ + "Leather_10" + ] + } + } }, - "minicraft.advancements.recipes.gold_fishing_rod": { - "requirements": [[ - "has_string", - "has_gold" - ]], + "minicraft.advancements.recipes.light_blue_bed": { "criteria": { - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_light_blue_wool": { + "conditions": { + "items": [ + { + "items": [ + "Light Blue Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Fishing Rod_1": [ - "Gold_10", - "String_3" - ]}} - }, - "minicraft.advancements.recipes.blue_dye": { - "requirements": [["has_lapis"]], - "criteria": {"has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} - }}, - "rewards": {"recipes": {"Blue Dye_1": ["Lapis_1"]}} + "requirements": [ + [ + "has_wood", + "has_light_blue_wool" + ] + ], + "rewards": { + "recipes": { + "Light Blue Bed_1": [ + "Light Blue Wool_3", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.purple_clothes": { - "requirements": [[ - "has_cloth", - "has_purple_dye" - ]], + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { "criteria": { - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} + "has_light_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Light Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_purple_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Purple Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Purple Clothes_1": [ - "Cloth_5", - "Purple Dye_1" - ]}} + "requirements": [ + [ + "has_light_blue_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Light Blue Bed_1": [ + "Light Blue Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.stone_pickaxe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.light_blue_dye": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_white_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Light Blue Dye_2": [ + "Blue Dye_1", + "White Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.orange_bed": { - "requirements": [[ - "has_wood", - "has_orange_wool" - ]], + "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_orange_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Orange Wool"]}]} + "has_blue_orchid": { + "conditions": { + "items": [ + { + "items": [ + "Blue Orchid" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Orange Bed_1": [ - "Wood_5", - "Orange Wool_3" - ]}} + "requirements": [ + [ + "has_blue_orchid" + ] + ], + "rewards": { + "recipes": { + "Light Blue Dye_1": [ + "Blue Orchid_1" + ] + } + } }, "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { - "requirements": [["has_periwinkle"]], - "criteria": {"has_periwinkle": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Periwinkle"]}]} - }}, - "rewards": {"recipes": {"Light Blue Dye_1": ["Periwinkle_1"]}} - }, - "minicraft.advancements.recipes.blue_clothes": { - "requirements": [[ - "has_cloth", - "has_blue_dye" - ]], "criteria": { - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} - }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_periwinkle": { + "conditions": { + "items": [ + { + "items": [ + "Periwinkle" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Blue Clothes_1": [ - "Blue Dye_1", - "Cloth_5" - ]}} - }, - "minicraft.advancements.recipes.watering_can": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Watering Can_1": ["Iron_3"]}} + "requirements": [ + [ + "has_periwinkle" + ] + ], + "rewards": { + "recipes": { + "Light Blue Dye_1": [ + "Periwinkle_1" + ] + } + } }, - "minicraft.advancements.recipes.pink_wool": { - "requirements": [[ - "has_pink_dye", - "has_white_wool" - ]], + "minicraft.advancements.recipes.light_blue_wool": { "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Dye"]}]} + "has_light_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Light Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Pink Wool_1": [ - "Pink Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.purple_dye_from_violet": { - "requirements": [["has_violet"]], - "criteria": {"has_violet": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Violet"]}]} - }}, - "rewards": {"recipes": {"Purple Dye_1": ["Violet_1"]}} - }, - "minicraft.advancements.recipes.blue_dye_from_iris": { - "requirements": [["has_iris"]], - "criteria": {"has_iris": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iris"]}]} - }}, - "rewards": {"recipes": {"Blue Dye_1": ["Iris_1"]}} - }, - "minicraft.advancements.recipes.blue_dye_from_cornflower": { - "requirements": [["has_cornflower"]], - "criteria": {"has_cornflower": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cornflower"]}]} - }}, - "rewards": {"recipes": {"Blue Dye_1": ["Cornflower_1"]}} + "requirements": [ + [ + "has_light_blue_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Light Blue Wool_1": [ + "Light Blue Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.blue_bed": { - "requirements": [[ - "has_wood", - "has_blue_wool" - ]], + "minicraft.advancements.recipes.light_gray_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_light_gray_wool": { + "conditions": { + "items": [ + { + "items": [ + "Light Gray Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Wool"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Blue Bed_1": [ - "Wood_5", - "Blue Wool_3" - ]}} + "requirements": [ + [ + "has_light_gray_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Light Gray Bed_1": [ + "Wood_5", + "Light Gray Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.gem_sword": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_light_gray_dye": { + "conditions": { + "items": [ + { + "items": [ + "Light Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Sword_1": [ - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_white_bed", + "has_light_gray_dye" + ] + ], + "rewards": { + "recipes": { + "Light Gray Bed_1": [ + "White Bed_1", + "Light Gray Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.swim_potion": { - "requirements": [[ - "has_raw_fish", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.light_gray_dye": { "criteria": { - "has_raw_fish": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Fish"]}]} + "has_black_dye": { + "conditions": { + "items": [ + { + "items": [ + "Black Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" - ]}} + "requirements": [ + [ + "has_white_dye", + "has_black_dye" + ] + ], + "rewards": { + "recipes": { + "Light Gray Dye_3": [ + "White Dye_2", + "Black Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.gray_wool": { - "requirements": [[ - "has_white_wool", - "has_gray_dye" - ]], + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }, "has_gray_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gray Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gray Wool_1": [ - "Gray Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_gray_dye", + "has_white_dye" + ] + ], + "rewards": { + "recipes": { + "Light Gray Dye_2": [ + "Gray Dye_1", + "White Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.steak": { - "requirements": [[ - "has_coal", - "has_raw_beef" - ]], + "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} - }, - "has_raw_beef": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Beef"]}]} + "has_hydrangea": { + "conditions": { + "items": [ + { + "items": [ + "Hydrangea" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Steak_1": [ - "Coal_1", - "Raw Beef_1" - ]}} + "requirements": [ + [ + "has_hydrangea" + ] + ], + "rewards": { + "recipes": { + "Light Gray Dye_1": [ + "Hydrangea_1" + ] + } + } }, - "minicraft.advancements.recipes.gem_pickaxe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_oxeye_daisy": { + "conditions": { + "items": [ + { + "items": [ + "Oxeye Daisy" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Pickaxe_1": [ - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_oxeye_daisy" + ] + ], + "rewards": { + "recipes": { + "Light Gray Dye_1": [ + "Oxeye Daisy_1" + ] + } + } }, - "minicraft.advancements.recipes.light_blue_dye": { - "requirements": [[ - "has_white_dye", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} - }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_white_tulip": { + "conditions": { + "items": [ + { + "items": [ + "White Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Blue Dye_2": [ - "Blue Dye_1", - "White Dye_1" - ]}} - }, - "minicraft.advancements.recipes.obsidian_fence": { - "requirements": [["has_obsidian_brick"]], - "criteria": {"has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Obsidian Brick"]}]} - }}, - "rewards": {"recipes": {"Obsidian Fence_1": ["Obsidian Brick_3"]}} + "requirements": [ + [ + "has_white_tulip" + ] + ], + "rewards": { + "recipes": { + "Light Gray Dye_1": [ + "White Tulip_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_hoe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "minicraft.advancements.recipes.light_gray_wool": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_light_gray_dye": { + "conditions": { + "items": [ + { + "items": [ + "Light Gray Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Hoe_1": [ - "Wood_5", - "Iron_5" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_light_gray_dye" + ] + ], + "rewards": { + "recipes": { + "Light Gray Wool_1": [ + "Light Gray Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_claymore": { - "requirements": [[ - "has_shard", - "has_iron_sword" - ]], + "minicraft.advancements.recipes.light_potion": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron_sword": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron Sword"]}]} + "has_slime": { + "conditions": { + "items": [ + { + "items": [ + "Slime" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" - ]}} - }, - "minicraft.advancements.recipes.wooden_pickaxe": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Pickaxe_1": ["Wood_5"]}} + "requirements": [ + [ + "has_slime", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" + ] + } + } }, - "minicraft.advancements.recipes.stone_axe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.lime_bed": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "has_lime_wool": { + "conditions": { + "items": [ + { + "items": [ + "Lime Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Axe_1": [ - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood", + "has_lime_wool" + ] + ], + "rewards": { + "recipes": { + "Lime Bed_1": [ + "Lime Wool_3", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.orange_clothes": { - "requirements": [[ - "has_cloth", - "has_orange_dye" - ]], + "minicraft.advancements.recipes.lime_bed_from_white_bed": { "criteria": { - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} + "has_lime_dye": { + "conditions": { + "items": [ + { + "items": [ + "Lime Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_orange_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Orange Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Orange Clothes_1": [ - "Cloth_5", - "Orange Dye_1" - ]}} + "requirements": [ + [ + "has_lime_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Lime Bed_1": [ + "Lime Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_fishing_rod": { - "requirements": [[ - "has_string", - "has_iron" - ]], + "minicraft.advancements.recipes.lime_dye": { "criteria": { - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_green_dye": { + "conditions": { + "items": [ + { + "items": [ + "Green Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Fishing Rod_1": [ - "String_3", - "Iron_10" - ]}} + "requirements": [ + [ + "has_green_dye", + "has_white_dye" + ] + ], + "rewards": { + "recipes": { + "Lime Dye_2": [ + "Green Dye_1", + "White Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_pickaxe": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "minicraft.advancements.recipes.lime_wool": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_lime_dye": { + "conditions": { + "items": [ + { + "items": [ + "Lime Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" - ]}} + "requirements": [ + [ + "has_lime_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Lime Wool_1": [ + "Lime Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.yellow_bed": { - "requirements": [[ - "has_yellow_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.loom": { "criteria": { - "has_yellow_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Yellow Wool"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Yellow Bed_1": [ - "Yellow Wool_3", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Loom_1": [ + "Wood_10", + "White Wool_5" + ] + } + } }, - "minicraft.advancements.recipes.arcane_fertilizer": { - "requirements": [[ - "has_bone", - "has_lapis" - ]], + "minicraft.advancements.recipes.magenta_bed": { "criteria": { - "has_bone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Bone"]}]} + "has_magenta_wool": { + "conditions": { + "items": [ + { + "items": [ + "Magenta Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"ARCANE FERTILIZER_3": [ - "Lapis_6", - "Bone_2" - ]}} - }, - "minicraft.advancements.recipes.ornate_stone": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Ornate Stone_1": ["Stone_2"]}} - }, - "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { - "requirements": [["has_hydrangea"]], - "criteria": {"has_hydrangea": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Hydrangea"]}]} - }}, - "rewards": {"recipes": {"Light Gray Dye_1": ["Hydrangea_1"]}} + "requirements": [ + [ + "has_wood", + "has_magenta_wool" + ] + ], + "rewards": { + "recipes": { + "Magenta Bed_1": [ + "Wood_5", + "Magenta Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.wooden_bow": { - "requirements": [[ - "has_wood", - "has_string" - ]], + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_magenta_dye": { + "conditions": { + "items": [ + { + "items": [ + "Magenta Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Wood Bow_1": [ - "String_2", - "Wood_5" - ]}} + "requirements": [ + [ + "has_white_bed", + "has_magenta_dye" + ] + ], + "rewards": { + "recipes": { + "Magenta Bed_1": [ + "Magenta Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { - "requirements": [["has_blue_orchid"]], - "criteria": {"has_blue_orchid": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Orchid"]}]} - }}, - "rewards": {"recipes": {"Light Blue Dye_1": ["Blue Orchid_1"]}} + "minicraft.advancements.recipes.magenta_dye_from_allium": { + "criteria": { + "has_allium": { + "conditions": { + "items": [ + { + "items": [ + "Allium" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_allium" + ] + ], + "rewards": { + "recipes": { + "Magenta Dye_1": [ + "Allium_1" + ] + } + } }, - "minicraft.advancements.recipes.gold_pickaxe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "Pink Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Magenta Dye_4": [ + "Pink Dye_1", + "Red Dye_1", + "Blue Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.black_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_black_dye" - ]], + "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Dye"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Black Bed_1": [ - "White Bed_1", - "Black Dye_1" - ]}} - }, - "minicraft.advancements.recipes.red_dye_from_poppy": { - "requirements": [["has_poppy"]], - "criteria": {"has_poppy": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Poppy"]}]} - }}, - "rewards": {"recipes": {"Red Dye_1": ["Poppy_1"]}} + "requirements": [ + [ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Magenta Dye_4": [ + "White Dye_1", + "Red Dye_2", + "Blue Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.gold": { - "requirements": [[ - "has_coal", - "has_gold_ore" - ]], + "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "Pink Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold_ore": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Ore"]}]} + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "Purple Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold_1": [ - "Coal_1", - "Gold Ore_3" - ]}} + "requirements": [ + [ + "has_pink_dye", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "Magenta Dye_2": [ + "Pink Dye_1", + "Purple Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.cooked_fish": { - "requirements": [[ - "has_coal", - "has_raw_fish" - ]], + "minicraft.advancements.recipes.magenta_wool": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "has_magenta_dye": { + "conditions": { + "items": [ + { + "items": [ + "Magenta Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_raw_fish": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Fish"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_magenta_dye" + ] + ], + "rewards": { + "recipes": { + "Magenta Wool_1": [ + "Magenta Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.light_potion": { - "requirements": [[ - "has_slime", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.obsidian_brick": { "criteria": { - "has_slime": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_raw_obsidian": { + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" - ]}} + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "rewards": { + "recipes": { + "Obsidian Brick_1": [ + "Raw Obsidian_2" + ] + } + } }, - "minicraft.advancements.recipes.gold_sword": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "minicraft.advancements.recipes.obsidian_door": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Sword_1": [ - "Gold_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Door_1": [ + "Obsidian Brick_5" + ] + } + } }, - "minicraft.advancements.recipes.gold_shovel": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "minicraft.advancements.recipes.obsidian_fence": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Fence_1": [ + "Obsidian Brick_3" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_poppet": { + "criteria": { + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_shard": { + "conditions": { + "items": [ + { + "items": [ + "Shard" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "Gem_10" + ] + } + } + }, + "minicraft.advancements.recipes.obsidian_wall": { + "criteria": { + "has_obsidian_brick": { + "conditions": { + "items": [ + { + "items": [ + "Obsidian Brick" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Shovel_1": [ - "Gold_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_obsidian_brick" + ] + ], + "rewards": { + "recipes": { + "Obsidian Wall_1": [ + "Obsidian Brick_3" + ] + } + } }, - "minicraft.advancements.recipes.stone_shovel": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.orange_bed": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} + "has_orange_wool": { + "conditions": { + "items": [ + { + "items": [ + "Orange Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Shovel_1": [ - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood", + "has_orange_wool" + ] + ], + "rewards": { + "recipes": { + "Orange Bed_1": [ + "Wood_5", + "Orange Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.escape_potion": { - "requirements": [[ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.orange_bed_from_white_bed": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} - }, - "has_gunpowder": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "has_orange_dye": { + "conditions": { + "items": [ + { + "items": [ + "Orange Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ]}} + "requirements": [ + [ + "has_white_bed", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "Orange Bed_1": [ + "Orange Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.orange_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_orange_dye" - ]], + "minicraft.advancements.recipes.orange_clothes": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_orange_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Orange Dye"]}]} + "conditions": { + "items": [ + { + "items": [ + "Orange Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Orange Bed_1": [ - "Orange Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_cloth", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "Orange Clothes_1": [ + "Cloth_5", + "Orange Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.lime_bed_from_white_bed": { - "requirements": [[ - "has_lime_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.orange_dye": { "criteria": { - "has_lime_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lime Dye"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lime Bed_1": [ - "Lime Dye_1", - "White Bed_1" - ]}} - }, - "minicraft.advancements.recipes.obsidian_wall": { - "requirements": [["has_obsidian_brick"]], - "criteria": {"has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Obsidian Brick"]}]} - }}, - "rewards": {"recipes": {"Obsidian Wall_1": ["Obsidian Brick_3"]}} + "requirements": [ + [ + "has_red_dye", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "Orange Dye_2": [ + "Yellow Dye_1", + "Red Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.magenta_dye_from_allium": { - "requirements": [["has_allium"]], - "criteria": {"has_allium": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Allium"]}]} - }}, - "rewards": {"recipes": {"Magenta Dye_1": ["Allium_1"]}} + "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { + "criteria": { + "has_orange_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Orange Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_orange_tulip" + ] + ], + "rewards": { + "recipes": { + "Orange Dye_1": [ + "Orange Tulip_1" + ] + } + } }, - "minicraft.advancements.recipes.cyan_clothes": { - "requirements": [[ - "has_cyan_dye", - "has_cloth" - ]], + "minicraft.advancements.recipes.orange_wool": { "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cyan Dye"]}]} + "has_orange_dye": { + "conditions": { + "items": [ + { + "items": [ + "Orange Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cyan Clothes_1": [ - "Cyan Dye_1", - "Cloth_5" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_orange_dye" + ] + ], + "rewards": { + "recipes": { + "Orange Wool_1": [ + "Orange Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.brown_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_brown_dye" - ]], + "minicraft.advancements.recipes.ornate_obsidian": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} - }, - "has_brown_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Brown Dye"]}]} + "has_raw_obsidian": { + "conditions": { + "items": [ + { + "items": [ + "Raw Obsidian" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Brown Bed_1": [ - "White Bed_1", - "Brown Dye_1" - ]}} + "requirements": [ + [ + "has_raw_obsidian" + ] + ], + "rewards": { + "recipes": { + "Ornate Obsidian_1": [ + "Raw Obsidian_2" + ] + } + } }, - "minicraft.advancements.recipes.gem_armor": { - "requirements": [["has_gem"]], - "criteria": {"has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} - }}, - "rewards": {"recipes": {"Gem Armor_1": ["Gem_65"]}} + "minicraft.advancements.recipes.ornate_stone": { + "criteria": { + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Ornate Stone_1": [ + "Stone_2" + ] + } + } }, - "minicraft.advancements.recipes.brown_dye": { - "requirements": [[ - "has_green_dye", - "has_red_dye" - ]], + "minicraft.advancements.recipes.oven": { "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} - }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Brown Dye_2": [ - "Green Dye_1", - "Red Dye_1" - ]}} + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Oven_1": [ + "Stone_15" + ] + } + } }, - "minicraft.advancements.recipes.red_bed": { - "requirements": [[ - "has_red_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.pink_bed": { "criteria": { - "has_red_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Wool"]}]} + "has_pink_wool": { + "conditions": { + "items": [ + { + "items": [ + "Pink Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Red Bed_1": [ - "Wood_5", - "Red Wool_3" - ]}} + "requirements": [ + [ + "has_pink_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Pink Bed_1": [ + "Wood_5", + "Pink Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.green_bed_from_white_bed": { - "requirements": [[ - "has_green_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.pink_bed_from_white_bed": { "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "Pink Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Green Bed_1": [ - "Green Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_pink_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Pink Bed_1": [ + "Pink Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.golden_apple": { - "requirements": [[ - "has_apple", - "has_gold" - ]], + "minicraft.advancements.recipes.pink_dye": { "criteria": { - "has_apple": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Apple"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_white_dye": { + "conditions": { + "items": [ + { + "items": [ + "White Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Apple_1": [ - "Gold_8", - "Apple_1" - ]}} + "requirements": [ + [ + "has_white_dye", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "Pink Dye_2": [ + "White Dye_1", + "Red Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.arrow": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.pink_dye_from_peony": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_peony": { + "conditions": { + "items": [ + { + "items": [ + "Peony" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Arrow_3": [ - "Stone_2", - "Wood_2" - ]}} + "requirements": [ + [ + "has_peony" + ] + ], + "rewards": { + "recipes": { + "Pink Dye_1": [ + "Peony_1" + ] + } + } }, - "minicraft.advancements.recipes.yellow_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_yellow_dye" - ]], + "minicraft.advancements.recipes.pink_dye_from_pink_lily": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} - }, - "has_yellow_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Yellow Dye"]}]} + "has_pink_lily": { + "conditions": { + "items": [ + { + "items": [ + "Pink Lily" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Yellow Bed_1": [ - "Yellow Dye_1", - "White Bed_1" - ]}} - }, - "minicraft.advancements.recipes.stone_wall": { - "requirements": [["has_stone_brick"]], - "criteria": {"has_stone_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone Brick"]}]} - }}, - "rewards": {"recipes": {"Stone Wall_1": ["Stone Brick_3"]}} + "requirements": [ + [ + "has_pink_lily" + ] + ], + "rewards": { + "recipes": { + "Pink Dye_1": [ + "Pink Lily_1" + ] + } + } }, - "minicraft.advancements.recipes.glass": { - "requirements": [[ - "has_coal", - "has_sand" - ]], + "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} - }, - "has_sand": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Sand"]}]} + "has_pink_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Pink Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Glass_1": [ - "Coal_1", - "Sand_4" - ]}} + "requirements": [ + [ + "has_pink_tulip" + ] + ], + "rewards": { + "recipes": { + "Pink Dye_1": [ + "Pink Tulip_1" + ] + } + } }, - "minicraft.advancements.recipes.speed_potion": { - "requirements": [[ - "has_cactus", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.pink_wool": { "criteria": { - "has_cactus": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cactus"]}]} + "has_pink_dye": { + "conditions": { + "items": [ + { + "items": [ + "Pink Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" - ]}} + "requirements": [ + [ + "has_pink_dye", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "Pink Wool_1": [ + "Pink Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.brown_bed": { - "requirements": [[ - "has_brown_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.plank": { "criteria": { - "has_brown_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Brown Wool"]}]} - }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Brown Bed_1": [ - "Brown Wool_3", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Plank_2": [ + "Wood_1" + ] + } + } }, - "minicraft.advancements.recipes.gold_bow": { - "requirements": [[ - "has_wood", - "has_string", - "has_gold" - ]], + "minicraft.advancements.recipes.plank_wall": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_plank": { + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Bow_1": [ - "Gold_5", - "String_2", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.yellow_dye_from_sunflower": { - "requirements": [["has_sunflower"]], - "criteria": {"has_sunflower": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Sunflower"]}]} - }}, - "rewards": {"recipes": {"Yellow Dye_1": ["Sunflower_1"]}} + "requirements": [ + [ + "has_plank" + ] + ], + "rewards": { + "recipes": { + "Plank Wall_1": [ + "Plank_3" + ] + } + } }, - "minicraft.advancements.recipes.gold_lantern": { - "requirements": [[ - "has_glass", - "has_gold", - "has_slime" - ]], + "minicraft.advancements.recipes.purple_bed": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass"]}]} - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_purple_wool": { + "conditions": { + "items": [ + { + "items": [ + "Purple Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_slime": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Lantern_1": [ - "Glass_4", - "Gold_10", - "Slime_5" - ]}} - }, - "minicraft.advancements.recipes.red_dye_from_red_tulip": { - "requirements": [["has_red_tulip"]], - "criteria": {"has_red_tulip": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Tulip"]}]} - }}, - "rewards": {"recipes": {"Red Dye_1": ["Red Tulip_1"]}} + "requirements": [ + [ + "has_wood", + "has_purple_wool" + ] + ], + "rewards": { + "recipes": { + "Purple Bed_1": [ + "Wood_5", + "Purple Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.gray_dye": { - "requirements": [[ - "has_white_dye", - "has_black_dye" - ]], + "minicraft.advancements.recipes.purple_bed_from_white_bed": { "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "Purple Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gray Dye_2": [ - "White Dye_1", - "Black Dye_1" - ]}} - }, - "minicraft.advancements.recipes.plank_wall": { - "requirements": [["has_plank"]], - "criteria": {"has_plank": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Plank"]}]} - }}, - "rewards": {"recipes": {"Plank Wall_1": ["Plank_3"]}} + "requirements": [ + [ + "has_purple_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Purple Bed_1": [ + "White Bed_1", + "Purple Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.purple_dye": { - "requirements": [[ - "has_red_dye", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.purple_clothes": { "criteria": { - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "Purple Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Purple Dye_2": [ - "Blue Dye_1", - "Red Dye_1" - ]}} + "requirements": [ + [ + "has_cloth", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "Purple Clothes_1": [ + "Cloth_5", + "Purple Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.light_blue_wool": { - "requirements": [[ - "has_light_blue_dye", - "has_white_wool" - ]], + "minicraft.advancements.recipes.purple_dye": { "criteria": { - "has_light_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Blue Dye"]}]} + "has_blue_dye": { + "conditions": { + "items": [ + { + "items": [ + "Blue Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Blue Wool_1": [ - "Light Blue Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_red_dye", + "has_blue_dye" + ] + ], + "rewards": { + "recipes": { + "Purple Dye_2": [ + "Blue Dye_1", + "Red Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.light_blue_bed": { - "requirements": [[ - "has_wood", - "has_light_blue_wool" - ]], + "minicraft.advancements.recipes.purple_dye_from_violet": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_light_blue_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Blue Wool"]}]} + "has_violet": { + "conditions": { + "items": [ + { + "items": [ + "Violet" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Blue Bed_1": [ - "Light Blue Wool_3", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.iron_armor": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Iron Armor_1": ["Iron_10"]}} + "requirements": [ + [ + "has_violet" + ] + ], + "rewards": { + "recipes": { + "Purple Dye_1": [ + "Violet_1" + ] + } + } }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { - "requirements": [[ - "has_white_dye", - "has_red_dye", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.purple_wool": { "criteria": { - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} - }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} + "has_purple_dye": { + "conditions": { + "items": [ + { + "items": [ + "Purple Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Dye_4": [ - "White Dye_1", - "Red Dye_2", - "Blue Dye_1" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_purple_dye" + ] + ], + "rewards": { + "recipes": { + "Purple Wool_1": [ + "Purple Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.iron_shovel": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "minicraft.advancements.recipes.red_bed": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_red_wool": { + "conditions": { + "items": [ + { + "items": [ + "Red Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Shovel_1": [ - "Wood_5", - "Iron_5" - ]}} + "requirements": [ + [ + "has_red_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Red Bed_1": [ + "Wood_5", + "Red Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.yellow_wool": { - "requirements": [[ - "has_white_wool", - "has_yellow_dye" - ]], + "minicraft.advancements.recipes.red_bed_from_white_bed": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_yellow_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Yellow Dye"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Yellow Wool_1": [ - "Yellow Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.obsidian_door": { - "requirements": [["has_obsidian_brick"]], - "criteria": {"has_obsidian_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Obsidian Brick"]}]} - }}, - "rewards": {"recipes": {"Obsidian Door_1": ["Obsidian Brick_5"]}} + "requirements": [ + [ + "has_red_dye", + "has_white_bed" + ] + ], + "rewards": { + "recipes": { + "Red Bed_1": [ + "Red Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.stone_hoe": { - "requirements": [[ - "has_stone", - "has_wood" - ]], + "minicraft.advancements.recipes.red_dye_from_poppy": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_poppy": { + "conditions": { + "items": [ + { + "items": [ + "Poppy" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Rock Hoe_1": [ - "Stone_5", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.chest": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Chest_1": ["Wood_20"]}} + "requirements": [ + [ + "has_poppy" + ] + ], + "rewards": { + "recipes": { + "Red Dye_1": [ + "Poppy_1" + ] + } + } }, - "minicraft.advancements.recipes.purple_bed": { - "requirements": [[ - "has_wood", - "has_purple_wool" - ]], + "minicraft.advancements.recipes.red_dye_from_red_tulip": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_purple_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Purple Wool"]}]} + "has_red_tulip": { + "conditions": { + "items": [ + { + "items": [ + "Red Tulip" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Purple Bed_1": [ - "Wood_5", - "Purple Wool_3" - ]}} + "requirements": [ + [ + "has_red_tulip" + ] + ], + "rewards": { + "recipes": { + "Red Dye_1": [ + "Red Tulip_1" + ] + } + } }, - "minicraft.advancements.recipes.purple_bed_from_white_bed": { - "requirements": [[ - "has_purple_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.red_dye_from_rose": { "criteria": { - "has_purple_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Purple Dye"]}]} - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_rose": { + "conditions": { + "items": [ + { + "items": [ + "Rose" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Purple Bed_1": [ - "White Bed_1", - "Purple Dye_1" - ]}} + "requirements": [ + [ + "has_rose" + ] + ], + "rewards": { + "recipes": { + "Red Dye_1": [ + "Rose_1" + ] + } + } }, - "minicraft.advancements.recipes.gem_hoe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "minicraft.advancements.recipes.red_wool": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_red_dye": { + "conditions": { + "items": [ + { + "items": [ + "Red Dye" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Hoe_1": [ - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_red_dye" + ] + ], + "rewards": { + "recipes": { + "Red Wool_1": [ + "Red Dye_1", + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { - "requirements": [[ - "has_light_blue_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.reg_clothes": { "criteria": { - "has_light_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Blue Dye"]}]} - }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Blue Bed_1": [ - "Light Blue Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_cloth" + ] + ], + "rewards": { + "recipes": { + "Reg Clothes_1": [ + "Cloth_5" + ] + } + } }, - "minicraft.advancements.recipes.blue_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.regen_potion": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_golden_apple": { + "conditions": { + "items": [ + { + "items": [ + "Gold Apple" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Blue Bed_1": [ - "Blue Dye_1", - "White Bed_1" - ]}} + "requirements": [ + [ + "has_golden_apple", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ] + } + } }, - "minicraft.advancements.recipes.awkward_potion": { - "requirements": [[ - "has_lapis", - "has_glass_bottle" - ]], + "minicraft.advancements.recipes.shears": { "criteria": { - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} - }, - "has_glass_bottle": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass Bottle"]}]} + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ]}} + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Shears_1": [ + "Iron_4" + ] + } + } }, - "minicraft.advancements.recipes.magenta_wool": { - "requirements": [[ - "has_white_wool", - "has_magenta_dye" - ]], + "minicraft.advancements.recipes.snake_armor": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }, - "has_magenta_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Magenta Dye"]}]} + "has_scale": { + "conditions": { + "items": [ + { + "items": [ + "Scale" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Wool_1": [ - "Magenta Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_scale" + ] + ], + "rewards": { + "recipes": { + "Snake Armor_1": [ + "Scale_15" + ] + } + } }, - "minicraft.advancements.recipes.green_bed": { - "requirements": [[ - "has_green_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.speed_potion": { "criteria": { - "has_green_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Wool"]}]} + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_cactus": { + "conditions": { + "items": [ + { + "items": [ + "Cactus" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Green Bed_1": [ - "Green Wool_3", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.reg_clothes": { - "requirements": [["has_cloth"]], - "criteria": {"has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} - }}, - "rewards": {"recipes": {"Reg Clothes_1": ["Cloth_5"]}} + "requirements": [ + [ + "has_cactus", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ] + } + } }, - "minicraft.advancements.recipes.totem_of_air": { - "requirements": [[ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ]], + "minicraft.advancements.recipes.steak": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} - }, - "has_cloud_ore": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloud Ore"]}]} - }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_raw_beef": { + "conditions": { + "items": [ + { + "items": [ + "Raw Beef" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "Gem_10", - "Cloud Ore_5" - ]}} + "requirements": [ + [ + "has_coal", + "has_raw_beef" + ] + ], + "rewards": { + "recipes": { + "Steak_1": [ + "Coal_1", + "Raw Beef_1" + ] + } + } }, - "minicraft.advancements.recipes.cyan_wool": { - "requirements": [[ - "has_cyan_dye", - "has_white_wool" - ]], + "minicraft.advancements.recipes.stone_axe": { "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cyan Dye"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cyan Wool_1": [ - "Cyan Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Axe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.iron_bow": { - "requirements": [[ - "has_wood", - "has_string", - "has_iron" - ]], + "minicraft.advancements.recipes.stone_bow": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Bow_1": [ - "String_2", - "Iron_5", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.wooden_shovel": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Shovel_1": ["Wood_5"]}} - }, - "minicraft.advancements.recipes.string": { - "requirements": [["has_white_wool"]], - "criteria": {"has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} - }}, - "rewards": {"recipes": {"String_2": ["White Wool_1"]}} + "requirements": [ + [ + "has_stone", + "has_wood", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Rock Bow_1": [ + "String_2", + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.loom": { - "requirements": [[ - "has_wood", - "has_white_wool" - ]], + "minicraft.advancements.recipes.stone_brick": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Loom_1": [ - "Wood_10", - "White Wool_5" - ]}} + "requirements": [ + [ + "has_stone" + ] + ], + "rewards": { + "recipes": { + "Stone Brick_1": [ + "Stone_2" + ] + } + } }, - "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { - "requirements": [[ - "has_white_bed", - "has_light_gray_dye" - ]], + "minicraft.advancements.recipes.stone_door": { "criteria": { - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} - }, - "has_light_gray_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Gray Dye"]}]} + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Gray Bed_1": [ - "White Bed_1", - "Light Gray Dye_1" - ]}} - }, - "minicraft.advancements.recipes.bread": { - "requirements": [["has_wheat"]], - "criteria": {"has_wheat": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wheat"]}]} - }}, - "rewards": {"recipes": {"Bread_1": ["Wheat_4"]}} + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Door_1": [ + "Stone Brick_5" + ] + } + } }, - "minicraft.advancements.recipes.anvil": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Anvil_1": ["Iron_5"]}} + "minicraft.advancements.recipes.stone_fence": { + "criteria": { + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Fence_1": [ + "Stone Brick_3" + ] + } + } }, - "minicraft.advancements.recipes.torch": { - "requirements": [[ - "has_coal", - "has_wood" - ]], + "minicraft.advancements.recipes.stone_hoe": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Torch_2": [ - "Coal_1", - "Wood_1" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.gold_axe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "minicraft.advancements.recipes.stone_pickaxe": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Axe_1": [ - "Gold_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.iron_lantern": { - "requirements": [[ - "has_glass", - "has_slime", - "has_iron" - ]], + "minicraft.advancements.recipes.stone_shovel": { "criteria": { - "has_glass": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Glass"]}]} - }, - "has_slime": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Slime"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Lantern_1": [ - "Glass_4", - "Iron_8", - "Slime_5" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.cyan_bed": { - "requirements": [[ - "has_wood", - "has_cyan_wool" - ]], + "minicraft.advancements.recipes.stone_sword": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_stone": { + "conditions": { + "items": [ + { + "items": [ + "Stone" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_cyan_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cyan Wool"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cyan Bed_1": [ - "Wood_5", - "Cyan Wool_3" - ]}} + "requirements": [ + [ + "has_stone", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Rock Sword_1": [ + "Stone_5", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { - "requirements": [[ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.stone_wall": { "criteria": { - "has_pink_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Dye"]}]} - }, - "has_red_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Red Dye"]}]} - }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_stone_brick": { + "conditions": { + "items": [ + { + "items": [ + "Stone Brick" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Magenta Dye_4": [ - "Pink Dye_1", - "Red Dye_1", - "Blue Dye_1" - ]}} + "requirements": [ + [ + "has_stone_brick" + ] + ], + "rewards": { + "recipes": { + "Stone Wall_1": [ + "Stone Brick_3" + ] + } + } }, - "minicraft.advancements.recipes.white_bed": { - "requirements": [[ - "has_wood", - "has_white_wool" - ]], + "minicraft.advancements.recipes.string": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"White Bed_1": [ - "Wood_5", - "White Wool_3" - ]}} + "requirements": [ + [ + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "String_2": [ + "White Wool_1" + ] + } + } }, - "minicraft.advancements.recipes.enchanter": { - "requirements": [[ - "has_wood", - "has_string", - "has_lapis" - ]], + "minicraft.advancements.recipes.swim_potion": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_string": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["String"]}]} + "has_awkward_potion": { + "conditions": { + "items": [ + { + "items": [ + "Awkward Potion" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} + "has_raw_fish": { + "conditions": { + "items": [ + { + "items": [ + "Raw Fish" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Enchanter_1": [ - "Lapis_10", - "String_2", - "Wood_5" - ]}} + "requirements": [ + [ + "has_raw_fish", + "has_awkward_potion" + ] + ], + "rewards": { + "recipes": { + "Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ] + } + } }, - "minicraft.advancements.recipes.light_gray_wool": { - "requirements": [[ - "has_white_wool", - "has_light_gray_dye" - ]], + "minicraft.advancements.recipes.tnt": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_gunpowder": { + "conditions": { + "items": [ + { + "items": [ + "Gunpowder" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_light_gray_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Gray Dye"]}]} + "has_sand": { + "conditions": { + "items": [ + { + "items": [ + "Sand" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Gray Wool_1": [ - "Light Gray Dye_1", - "White Wool_1" - ]}} + "requirements": [ + [ + "has_sand", + "has_gunpowder" + ] + ], + "rewards": { + "recipes": { + "Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ] + } + } }, - "minicraft.advancements.recipes.gold_claymore": { - "requirements": [[ - "has_shard", - "has_gold_sword" - ]], + "minicraft.advancements.recipes.torch": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} + "has_coal": { + "conditions": { + "items": [ + { + "items": [ + "Coal" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_gold_sword": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Sword"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" - ]}} - }, - "minicraft.advancements.recipes.baked_potato": { - "requirements": [["has_potato"]], - "criteria": {"has_potato": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Potato"]}]} - }}, - "rewards": {"recipes": {"Baked Potato_1": ["Potato_1"]}} + "requirements": [ + [ + "has_coal", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Torch_2": [ + "Coal_1", + "Wood_1" + ] + } + } }, - "minicraft.advancements.recipes.orange_wool": { - "requirements": [[ - "has_white_wool", - "has_orange_dye" - ]], + "minicraft.advancements.recipes.totem_of_air": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_cloud_ore": { + "conditions": { + "items": [ + { + "items": [ + "Cloud Ore" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_orange_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Orange Dye"]}]} + "has_gem": { + "conditions": { + "items": [ + { + "items": [ + "Gem" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_gold": { + "conditions": { + "items": [ + { + "items": [ + "Gold" + ] + } + ] + }, + "trigger": "inventory_changed" + }, + "has_lapis": { + "conditions": { + "items": [ + { + "items": [ + "Lapis" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Orange Wool_1": [ - "Orange Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.empty_bucket": { - "requirements": [["has_iron"]], - "criteria": {"has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} - }}, - "rewards": {"recipes": {"Empty Bucket_1": ["Iron_5"]}} + "requirements": [ + [ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ] + ], + "rewards": { + "recipes": { + "Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "Gem_10", + "Cloud Ore_5" + ] + } + } }, - "minicraft.advancements.recipes.gold_hoe": { - "requirements": [[ - "has_wood", - "has_gold" - ]], + "minicraft.advancements.recipes.watering_can": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_iron": { + "conditions": { + "items": [ + { + "items": [ + "Iron" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gold Hoe_1": [ - "Gold_5", - "Wood_5" - ]}} - }, - "minicraft.advancements.recipes.white_dye": { - "requirements": [["has_white_lily"]], - "criteria": {"has_white_lily": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Lily"]}]} - }}, - "rewards": {"recipes": {"White Dye_1": ["White Lily_1"]}} + "requirements": [ + [ + "has_iron" + ] + ], + "rewards": { + "recipes": { + "Watering Can_1": [ + "Iron_3" + ] + } + } }, - "minicraft.advancements.recipes.gray_bed": { - "requirements": [[ - "has_gray_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.white_bed": { "criteria": { - "has_gray_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gray Wool"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gray Bed_1": [ - "Gray Wool_3", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood", + "has_white_wool" + ] + ], + "rewards": { + "recipes": { + "White Bed_1": [ + "Wood_5", + "White Wool_3" + ] + } + } }, - "minicraft.advancements.recipes.iron": { - "requirements": [[ - "has_coal", - "has_iron_ore" - ]], + "minicraft.advancements.recipes.white_dye": { "criteria": { - "has_coal": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Coal"]}]} - }, - "has_iron_ore": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron Ore"]}]} + "has_white_lily": { + "conditions": { + "items": [ + { + "items": [ + "White Lily" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron_1": [ - "Coal_1", - "Iron Ore_3" - ]}} - }, - "minicraft.advancements.recipes.stone_door": { - "requirements": [["has_stone_brick"]], - "criteria": {"has_stone_brick": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone Brick"]}]} - }}, - "rewards": {"recipes": {"Stone Door_1": ["Stone Brick_5"]}} + "requirements": [ + [ + "has_white_lily" + ] + ], + "rewards": { + "recipes": { + "White Dye_1": [ + "White Lily_1" + ] + } + } }, - "minicraft.advancements.recipes.obsidian_poppet": { - "requirements": [[ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ]], + "minicraft.advancements.recipes.white_wool": { "criteria": { - "has_shard": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Shard"]}]} - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} - }, - "has_lapis": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lapis"]}]} - }, - "has_gold": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold"]}]} + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "Gem_10" - ]}} + "requirements": [ + [ + "has_string" + ] + ], + "rewards": { + "recipes": { + "White Wool_1": [ + "String_3" + ] + } + } }, - "minicraft.advancements.recipes.gem_axe": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "minicraft.advancements.recipes.wood_door": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_plank": { + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Axe_1": [ - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_plank" + ] + ], + "rewards": { + "recipes": { + "Wood Door_1": [ + "Plank_5" + ] + } + } }, - "minicraft.advancements.recipes.tnt": { - "requirements": [[ - "has_sand", - "has_gunpowder" - ]], + "minicraft.advancements.recipes.wood_fence": { "criteria": { - "has_sand": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Sand"]}]} - }, - "has_gunpowder": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gunpowder"]}]} + "has_plank": { + "conditions": { + "items": [ + { + "items": [ + "Plank" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Tnt_1": [ - "Sand_8", - "Gunpowder_10" - ]}} + "requirements": [ + [ + "has_plank" + ] + ], + "rewards": { + "recipes": { + "Wood Fence_1": [ + "Plank_3" + ] + } + } }, - "minicraft.advancements.recipes.lime_bed": { - "requirements": [[ - "has_wood", - "has_lime_wool" - ]], + "minicraft.advancements.recipes.wood_fishing_rod": { "criteria": { - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_lime_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Lime Wool"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lime Bed_1": [ - "Lime Wool_3", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Wood Fishing Rod_1": [ + "String_3", + "Wood_10" + ] + } + } }, - "minicraft.advancements.recipes.iron_sword": { - "requirements": [[ - "has_wood", - "has_iron" - ]], + "minicraft.advancements.recipes.wooden_axe": { "criteria": { "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_iron": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Iron"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Iron Sword_1": [ - "Wood_5", - "Iron_5" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Axe_1": [ + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.cyan_bed_from_white_bed": { - "requirements": [[ - "has_cyan_dye", - "has_white_bed" - ]], + "minicraft.advancements.recipes.wooden_bow": { "criteria": { - "has_cyan_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cyan Dye"]}]} + "has_string": { + "conditions": { + "items": [ + { + "items": [ + "String" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_bed": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Bed"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Cyan Bed_1": [ - "Cyan Dye_1", - "White Bed_1" - ]}} - }, - "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { - "requirements": [["has_pink_tulip"]], - "criteria": {"has_pink_tulip": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Pink Tulip"]}]} - }}, - "rewards": {"recipes": {"Pink Dye_1": ["Pink Tulip_1"]}} - }, - "minicraft.advancements.recipes.wooden_sword": { - "requirements": [["has_wood"]], - "criteria": {"has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }}, - "rewards": {"recipes": {"Wood Sword_1": ["Wood_5"]}} + "requirements": [ + [ + "has_wood", + "has_string" + ] + ], + "rewards": { + "recipes": { + "Wood Bow_1": [ + "String_2", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.furnace": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Furnace_1": ["Stone_20"]}} + "minicraft.advancements.recipes.wooden_hoe": { + "criteria": { + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Hoe_1": [ + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.gem_shovel": { - "requirements": [[ - "has_wood", - "has_gem" - ]], + "minicraft.advancements.recipes.wooden_pickaxe": { "criteria": { "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Gem Shovel_1": [ - "Wood_5", - "Gem_50" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Pickaxe_1": [ + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.black_clothes": { - "requirements": [[ - "has_cloth", - "has_black_dye" - ]], + "minicraft.advancements.recipes.wooden_shovel": { "criteria": { - "has_cloth": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Cloth"]}]} - }, - "has_black_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Dye"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Black Clothes_1": [ - "Cloth_5", - "Black Dye_1" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Shovel_1": [ + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.haste_potion": { - "requirements": [[ - "has_stone", - "has_wood", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.wooden_sword": { "criteria": { - "has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", - "Wood_5" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Wood Sword_1": [ + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.black_bed": { - "requirements": [[ - "has_black_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.workbench": { "criteria": { - "has_black_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Black Wool"]}]} - }, "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Black Bed_1": [ - "Wood_5", - "Black Wool_3" - ]}} + "requirements": [ + [ + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Workbench_1": [ + "Wood_10" + ] + } + } }, - "minicraft.advancements.recipes.blue_wool": { - "requirements": [[ - "has_white_wool", - "has_blue_dye" - ]], + "minicraft.advancements.recipes.yellow_bed": { "criteria": { - "has_white_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Wool"]}]} + "has_wood": { + "conditions": { + "items": [ + { + "items": [ + "Wood" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_blue_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Blue Dye"]}]} + "has_yellow_wool": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Wool" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Blue Wool_1": [ - "Blue Dye_1", - "White Wool_1" - ]}} - }, - "minicraft.advancements.recipes.ornate_obsidian": { - "requirements": [["has_raw_obsidian"]], - "criteria": {"has_raw_obsidian": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Raw Obsidian"]}]} - }}, - "rewards": {"recipes": {"Ornate Obsidian_1": ["Raw Obsidian_2"]}} + "requirements": [ + [ + "has_yellow_wool", + "has_wood" + ] + ], + "rewards": { + "recipes": { + "Yellow Bed_1": [ + "Yellow Wool_3", + "Wood_5" + ] + } + } }, - "minicraft.advancements.recipes.energy_potion": { - "requirements": [[ - "has_gem", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { "criteria": { - "has_gem": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gem"]}]} + "has_white_bed": { + "conditions": { + "items": [ + { + "items": [ + "White Bed" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Energy Potion_1": [ - "Awkward Potion_1", - "Gem_25" - ]}} - }, - "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { - "requirements": [["has_orange_tulip"]], - "criteria": {"has_orange_tulip": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Orange Tulip"]}]} - }}, - "rewards": {"recipes": {"Orange Dye_1": ["Orange Tulip_1"]}} + "requirements": [ + [ + "has_white_bed", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "Yellow Bed_1": [ + "Yellow Dye_1", + "White Bed_1" + ] + } + } }, - "minicraft.advancements.recipes.lime_dye": { - "requirements": [[ - "has_green_dye", - "has_white_dye" - ]], + "minicraft.advancements.recipes.yellow_clothes": { "criteria": { - "has_green_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Green Dye"]}]} + "has_cloth": { + "conditions": { + "items": [ + { + "items": [ + "Cloth" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_white_dye": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["White Dye"]}]} + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Lime Dye_2": [ - "Green Dye_1", - "White Dye_1" - ]}} + "requirements": [ + [ + "has_cloth", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "Yellow Clothes_1": [ + "Cloth_5", + "Yellow Dye_1" + ] + } + } }, - "minicraft.advancements.recipes.oven": { - "requirements": [["has_stone"]], - "criteria": {"has_stone": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Stone"]}]} - }}, - "rewards": {"recipes": {"Oven_1": ["Stone_15"]}} + "minicraft.advancements.recipes.yellow_dye_from_dandelion": { + "criteria": { + "has_dandelion": { + "conditions": { + "items": [ + { + "items": [ + "Dandelion" + ] + } + ] + }, + "trigger": "inventory_changed" + } + }, + "requirements": [ + [ + "has_dandelion" + ] + ], + "rewards": { + "recipes": { + "Yellow Dye_1": [ + "Dandelion_1" + ] + } + } }, - "minicraft.advancements.recipes.regen_potion": { - "requirements": [[ - "has_golden_apple", - "has_awkward_potion" - ]], + "minicraft.advancements.recipes.yellow_dye_from_sunflower": { "criteria": { - "has_golden_apple": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Gold Apple"]}]} - }, - "has_awkward_potion": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Awkward Potion"]}]} + "has_sunflower": { + "conditions": { + "items": [ + { + "items": [ + "Sunflower" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" - ]}} + "requirements": [ + [ + "has_sunflower" + ] + ], + "rewards": { + "recipes": { + "Yellow Dye_1": [ + "Sunflower_1" + ] + } + } }, - "minicraft.advancements.recipes.light_gray_bed": { - "requirements": [[ - "has_light_gray_wool", - "has_wood" - ]], + "minicraft.advancements.recipes.yellow_wool": { "criteria": { - "has_light_gray_wool": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Light Gray Wool"]}]} + "has_white_wool": { + "conditions": { + "items": [ + { + "items": [ + "White Wool" + ] + } + ] + }, + "trigger": "inventory_changed" }, - "has_wood": { - "trigger": "inventory_changed", - "conditions": {"items": [{"items": ["Wood"]}]} + "has_yellow_dye": { + "conditions": { + "items": [ + { + "items": [ + "Yellow Dye" + ] + } + ] + }, + "trigger": "inventory_changed" } }, - "rewards": {"recipes": {"Light Gray Bed_1": [ - "Wood_5", - "Light Gray Wool_3" - ]}} + "requirements": [ + [ + "has_white_wool", + "has_yellow_dye" + ] + ], + "rewards": { + "recipes": { + "Yellow Wool_1": [ + "Yellow Dye_1", + "White Wool_1" + ] + } + } } -} \ No newline at end of file +} From 32b384f6da4e5d46b6bd296196bfef78521c5a1d Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Fri, 30 Aug 2024 02:58:17 +0800 Subject: [PATCH 56/59] Fix version check for loading wool tile --- src/client/java/minicraft/saveload/Load.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/java/minicraft/saveload/Load.java b/src/client/java/minicraft/saveload/Load.java index a88be905d..ebf995c6a 100644 --- a/src/client/java/minicraft/saveload/Load.java +++ b/src/client/java/minicraft/saveload/Load.java @@ -755,7 +755,7 @@ private void loadWorld(String filename) { default: tilename = "White Wool"; } - } else if (worldVer.compareTo(new Version("2.2.1-dev1")) < 0) { + } else if (worldVer.compareTo(new Version("2.2.1-dev2")) < 0) { tilename = "White Wool"; } } else if (l == World.minLevelDepth + 1 && tilename.equalsIgnoreCase("Lapis") && worldVer.compareTo(new Version("2.0.3-dev6")) < 0) { From 4efa734a44bc8c6b6f288488f5c5d6de19df5c7b Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 15:19:36 -0400 Subject: [PATCH 57/59] Removed remains of scrapped feature --- src/client/java/minicraft/item/Recipes.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index 64015de86..ebce5bd2b 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -173,7 +173,6 @@ public class Recipes { enchantRecipes.add(new Recipe("Escape Potion_1", "awkward potion_1", "Gunpowder_3", "Lapis_7")); enchantRecipes.add(new Recipe("Totem of Air_1", "gold_10", "gem_10", "Lapis_5", "Cloud Ore_5")); enchantRecipes.add(new Recipe("Obsidian Poppet_1", "gold_10", "gem_10", "Lapis_5", "Shard_15")); - enchantRecipes.add(new Recipe("Arcane Fertilizer_3", "Lapis_6", "Bone_2")); } /** From 4e75a1a13900a73073c6bc310bd1864cd1f605cc Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 15:36:40 -0400 Subject: [PATCH 58/59] Added missing recipe for Ornate Wood --- src/client/java/minicraft/item/Recipes.java | 1 + src/client/resources/resources/recipes.json | 9126 +++++-------------- 2 files changed, 2493 insertions(+), 6634 deletions(-) diff --git a/src/client/java/minicraft/item/Recipes.java b/src/client/java/minicraft/item/Recipes.java index 8f3f5fce7..0a37f2a2f 100644 --- a/src/client/java/minicraft/item/Recipes.java +++ b/src/client/java/minicraft/item/Recipes.java @@ -60,6 +60,7 @@ public class Recipes { workbenchRecipes.add(new Recipe("Workbench_1", "Wood_10")); workbenchRecipes.add(new Recipe("Torch_2", "Wood_1", "coal_1")); workbenchRecipes.add(new Recipe("plank_2", "Wood_1")); + workbenchRecipes.add(new Recipe("Ornate Wood_1", "Wood_1")); workbenchRecipes.add(new Recipe("Plank Wall_1", "plank_3")); workbenchRecipes.add(new Recipe("Wood Door_1", "plank_5")); workbenchRecipes.add(new Recipe("Wood Fence_1", "plank_3")); diff --git a/src/client/resources/resources/recipes.json b/src/client/resources/resources/recipes.json index a1a75a57e..9b9ab13ab 100644 --- a/src/client/resources/resources/recipes.json +++ b/src/client/resources/resources/recipes.json @@ -1,7254 +1,3112 @@ { - "minicraft.advancements.recipes.anvil": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Anvil_1": [ - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.arcane_fertilizer": { - "criteria": { - "has_bone": { - "conditions": { - "items": [ - { - "items": [ - "Bone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_bone", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "ARCANE FERTILIZER_3": [ - "Lapis_6", - "Bone_2" - ] - } - } - }, - "minicraft.advancements.recipes.arrow": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Arrow_3": [ - "Stone_2", - "Wood_2" - ] - } - } - }, - "minicraft.advancements.recipes.awkward_potion": { - "criteria": { - "has_glass_bottle": { - "conditions": { - "items": [ - { - "items": [ - "Glass Bottle" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_lapis", - "has_glass_bottle" - ] - ], - "rewards": { - "recipes": { - "Awkward Potion_1": [ - "Lapis_3", - "Glass Bottle_1" - ] - } - } - }, - "minicraft.advancements.recipes.baked_potato": { - "criteria": { - "has_potato": { - "conditions": { - "items": [ - { - "items": [ - "Potato" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_potato" - ] - ], - "rewards": { - "recipes": { - "Baked Potato_1": [ - "Potato_1" - ] - } - } - }, - "minicraft.advancements.recipes.black_bed": { - "criteria": { - "has_black_wool": { - "conditions": { - "items": [ - { - "items": [ - "Black Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_black_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Black Bed_1": [ - "Wood_5", - "Black Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.black_bed_from_white_bed": { - "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_bed", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Bed_1": [ - "White Bed_1", - "Black Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.black_clothes": { - "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cloth", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Clothes_1": [ - "Cloth_5", - "Black Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.black_dye": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_coal" - ] - ], - "rewards": { - "recipes": { - "Black Dye_1": [ - "Coal_1" - ] - } - } - }, - "minicraft.advancements.recipes.black_wool": { - "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Black Wool_1": [ - "Black Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_bed": { - "criteria": { - "has_blue_wool": { - "conditions": { - "items": [ - { - "items": [ - "Blue Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_blue_wool" - ] - ], - "rewards": { - "recipes": { - "Blue Bed_1": [ - "Wood_5", - "Blue Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.blue_bed_from_white_bed": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_bed", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Bed_1": [ - "Blue Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_clothes": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cloth", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Clothes_1": [ - "Blue Dye_1", - "Cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.blue_dye": { - "criteria": { - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Lapis_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_dye_from_cornflower": { - "criteria": { - "has_cornflower": { - "conditions": { - "items": [ - { - "items": [ - "Cornflower" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cornflower" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Cornflower_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_dye_from_iris": { - "criteria": { - "has_iris": { - "conditions": { - "items": [ - { - "items": [ - "Iris" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iris" - ] - ], - "rewards": { - "recipes": { - "Blue Dye_1": [ - "Iris_1" - ] - } - } - }, - "minicraft.advancements.recipes.blue_wool": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Blue Wool_1": [ - "Blue Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.bread": { - "criteria": { - "has_wheat": { - "conditions": { - "items": [ - { - "items": [ - "Wheat" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wheat" - ] - ], - "rewards": { - "recipes": { - "Bread_1": [ - "Wheat_4" - ] - } - } - }, - "minicraft.advancements.recipes.brown_bed": { - "criteria": { - "has_brown_wool": { - "conditions": { - "items": [ - { - "items": [ - "Brown Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_brown_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Brown Bed_1": [ - "Brown Wool_3", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.brown_bed_from_white_bed": { - "criteria": { - "has_brown_dye": { - "conditions": { - "items": [ - { - "items": [ - "Brown Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_bed", - "has_brown_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Bed_1": [ - "White Bed_1", - "Brown Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.brown_dye": { - "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_green_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Dye_2": [ - "Green Dye_1", - "Red Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.brown_wool": { - "criteria": { - "has_brown_dye": { - "conditions": { - "items": [ - { - "items": [ - "Brown Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_wool", - "has_brown_dye" - ] - ], - "rewards": { - "recipes": { - "Brown Wool_1": [ - "Brown Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.chest": { - "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Chest_1": [ - "Wood_20" - ] - } - } - }, - "minicraft.advancements.recipes.cooked_fish": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_raw_fish": { - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_coal", - "has_raw_fish" - ] - ], - "rewards": { - "recipes": { - "Cooked Fish_1": [ - "Coal_1", - "Raw Fish_1" - ] - } - } - }, - "minicraft.advancements.recipes.cooked_pork": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_raw_pork": { - "conditions": { - "items": [ - { - "items": [ - "Raw Pork" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_coal", - "has_raw_pork" - ] - ], - "rewards": { - "recipes": { - "Cooked Pork_1": [ - "Coal_1", - "Raw Pork_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_bed": { - "criteria": { - "has_cyan_wool": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_cyan_wool" - ] - ], - "rewards": { - "recipes": { - "Cyan Bed_1": [ - "Wood_5", - "Cyan Wool_3" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_bed_from_white_bed": { - "criteria": { - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cyan_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Cyan Bed_1": [ - "Cyan Dye_1", - "White Bed_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_clothes": { - "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cyan_dye", - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Cyan Clothes_1": [ - "Cyan Dye_1", - "Cloth_5" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_dye": { - "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_green_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Cyan Dye_2": [ - "Blue Dye_1", - "Green Dye_1" - ] - } - } - }, - "minicraft.advancements.recipes.cyan_wool": { - "criteria": { - "has_cyan_dye": { - "conditions": { - "items": [ - { - "items": [ - "Cyan Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_cyan_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Cyan Wool_1": [ - "Cyan Dye_1", - "White Wool_1" - ] - } - } - }, - "minicraft.advancements.recipes.dye_vat": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Dye Vat_1": [ - "Stone_10", - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.empty_bucket": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Empty Bucket_1": [ - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.enchanter": { - "criteria": { - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_lapis" - ] - ], - "rewards": { - "recipes": { - "Enchanter_1": [ - "Lapis_10", - "String_2", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.energy_potion": { - "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_gem", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Energy Potion_1": [ - "Awkward Potion_1", - "Gem_25" - ] - } - } - }, - "minicraft.advancements.recipes.escape_potion": { - "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_lapis", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Escape Potion_1": [ - "Lapis_7", - "Awkward Potion_1", - "Gunpowder_3" - ] - } - } - }, - "minicraft.advancements.recipes.furnace": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Furnace_1": [ - "Stone_20" - ] - } - } - }, - "minicraft.advancements.recipes.gem_armor": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Armor_1": [ - "Gem_65" - ] - } - } - }, - "minicraft.advancements.recipes.gem_axe": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Axe_1": [ - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_bow": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Bow_1": [ - "String_2", - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_claymore": { - "criteria": { - "has_gem_sword": { - "conditions": { - "items": [ - { - "items": [ - "Gem Sword" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_shard", - "has_gem_sword" - ] - ], - "rewards": { - "recipes": { - "Gem Claymore_1": [ - "Gem Sword_1", - "Shard_15" - ] - } - } - }, - "minicraft.advancements.recipes.gem_fishing_rod": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_gem", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Gem Fishing Rod_1": [ - "String_3", - "Gem_10" - ] - } - } - }, - "minicraft.advancements.recipes.gem_hoe": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Hoe_1": [ - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_pickaxe": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Pickaxe_1": [ - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_shovel": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Shovel_1": [ - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.gem_sword": { - "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gem" - ] - ], - "rewards": { - "recipes": { - "Gem Sword_1": [ - "Wood_5", - "Gem_50" - ] - } - } - }, - "minicraft.advancements.recipes.glass": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_sand": { - "conditions": { - "items": [ - { - "items": [ - "Sand" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_coal", - "has_sand" - ] - ], - "rewards": { - "recipes": { - "Glass_1": [ - "Coal_1", - "Sand_4" - ] - } - } - }, - "minicraft.advancements.recipes.glass_bottle": { - "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_glass" - ] - ], - "rewards": { - "recipes": { - "Glass Bottle_1": [ - "Glass_3" - ] - } - } - }, - "minicraft.advancements.recipes.gold": { - "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gold_ore": { - "conditions": { - "items": [ - { - "items": [ - "Gold Ore" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_coal", - "has_gold_ore" - ] - ], - "rewards": { - "recipes": { - "Gold_1": [ - "Coal_1", - "Gold Ore_3" - ] - } - } - }, - "minicraft.advancements.recipes.gold_armor": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Armor_1": [ - "Gold_10" - ] - } - } - }, - "minicraft.advancements.recipes.gold_axe": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Axe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_bow": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Bow_1": [ - "Gold_5", - "String_2", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_claymore": { - "criteria": { - "has_gold_sword": { - "conditions": { - "items": [ - { - "items": [ - "Gold Sword" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_shard", - "has_gold_sword" - ] - ], - "rewards": { - "recipes": { - "Gold Claymore_1": [ - "Shard_15", - "Gold Sword_1" - ] - } - } - }, - "minicraft.advancements.recipes.gold_fishing_rod": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_string", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Fishing Rod_1": [ - "Gold_10", - "String_3" - ] - } - } - }, - "minicraft.advancements.recipes.gold_hoe": { - "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Hoe_1": [ - "Gold_5", - "Wood_5" - ] - } - } - }, - "minicraft.advancements.recipes.gold_lantern": { + "minicraft.advancements.recipes.gem_fishing_rod": { + "requirements": [[ + "has_gem", + "has_string" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_gold", - "has_slime" - ] - ], - "rewards": { - "recipes": { - "Gold Lantern_1": [ - "Glass_4", - "Gold_10", - "Slime_5" - ] - } - } + "rewards": {"recipes": {"Gem Fishing Rod_1": [ + "String_3", + "Gem_10" + ]}} }, - "minicraft.advancements.recipes.gold_pickaxe": { + "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "requirements": [[ + "has_gray_dye", + "has_white_bed" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Pickaxe_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gray Bed_1": [ + "Gray Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.gold_shovel": { + "minicraft.advancements.recipes.health_potion": { + "requirements": [[ + "has_leather_armor", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_leather_armor": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Leather Armor"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Shovel_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Health Potion_1": [ + "Awkward Potion_1", + "Gunpowder_2", + "Leather Armor_1" + ]}} }, - "minicraft.advancements.recipes.gold_sword": { + "minicraft.advancements.recipes.green_wool": { + "requirements": [[ + "has_green_dye", + "has_white_wool" + ]], "criteria": { - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Sword_1": [ - "Gold_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Green Wool_1": [ + "Green Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.golden_apple": { + "minicraft.advancements.recipes.obsidian_brick": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Obsidian Brick_1": ["Raw Obsidian_2"]}} + }, + "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { + "requirements": [[ + "has_pink_dye", + "has_purple_dye" + ]], "criteria": { - "has_apple": { - "conditions": { - "items": [ - { - "items": [ - "Apple" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_apple", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Gold Apple_1": [ - "Gold_8", - "Apple_1" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_2": [ + "Pink Dye_1", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.gray_bed": { + "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { + "requirements": [["has_oxeye_daisy"]], + "criteria": {"has_oxeye_daisy": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Oxeye Daisy"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["Oxeye Daisy_1"]}} + }, + "minicraft.advancements.recipes.plank": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Plank_2": ["Wood_1"]}} + }, + "minicraft.advancements.recipes.red_bed_from_white_bed": { + "requirements": [[ + "has_red_dye", + "has_white_bed" + ]], "criteria": { - "has_gray_wool": { - "conditions": { - "items": [ - { - "items": [ - "Gray Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_gray_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Gray Bed_1": [ - "Gray Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Red Bed_1": [ + "Red Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.gray_bed_from_white_bed": { + "minicraft.advancements.recipes.purple_wool": { + "requirements": [[ + "has_white_wool", + "has_purple_dye" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_gray_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Gray Bed_1": [ - "Gray Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Purple Wool_1": [ + "Purple Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.gray_dye": { + "minicraft.advancements.recipes.black_dye": { + "requirements": [["has_coal"]], + "criteria": {"has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }}, + "rewards": {"recipes": {"Black Dye_1": ["Coal_1"]}} + }, + "minicraft.advancements.recipes.leather_armor": { + "requirements": [["has_leather"]], + "criteria": {"has_leather": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Leather"]}]} + }}, + "rewards": {"recipes": {"Leather Armor_1": ["Leather_10"]}} + }, + "minicraft.advancements.recipes.lava_potion": { + "requirements": [[ + "has_awkward_potion", + "has_lava_bucket" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lava_bucket": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lava Bucket"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Gray Dye_2": [ - "White Dye_1", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Lava Potion_1": [ + "Awkward Potion_1", + "Lava Bucket_1" + ]}} }, - "minicraft.advancements.recipes.gray_wool": { + "minicraft.advancements.recipes.iron_axe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Gray Wool_1": [ - "Gray Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Iron Axe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.green_bed": { + "minicraft.advancements.recipes.black_wool": { + "requirements": [[ + "has_white_wool", + "has_black_dye" + ]], "criteria": { - "has_green_wool": { - "conditions": { - "items": [ - { - "items": [ - "Green Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_green_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Green Bed_1": [ - "Green Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Black Wool_1": [ + "Black Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.green_bed_from_white_bed": { + "minicraft.advancements.recipes.light_gray_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Green Bed_1": [ - "Green Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Light Gray Dye_3": [ + "White Dye_2", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.green_clothes": { + "minicraft.advancements.recipes.white_wool": { + "requirements": [["has_string"]], + "criteria": {"has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }}, + "rewards": {"recipes": {"White Wool_1": ["String_3"]}} + }, + "minicraft.advancements.recipes.pink_dye_from_pink_lily": { + "requirements": [["has_pink_lily"]], + "criteria": {"has_pink_lily": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Lily"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Pink Lily_1"]}} + }, + "minicraft.advancements.recipes.cooked_pork": { + "requirements": [[ + "has_coal", + "has_raw_pork" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_pork": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Pork"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Green Clothes_1": [ - "Cloth_5", - "Green Dye_1" - ] - } - } + "rewards": {"recipes": {"Cooked Pork_1": [ + "Coal_1", + "Raw Pork_1" + ]}} }, - "minicraft.advancements.recipes.green_dye": { + "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "requirements": [[ + "has_gray_dye", + "has_white_dye" + ]], "criteria": { - "has_cactus": { - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} + }, + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} } }, - "requirements": [ - [ - "has_cactus" - ] - ], - "rewards": { - "recipes": { - "Green Dye_1": [ - "Cactus_1" - ] - } - } + "rewards": {"recipes": {"Light Gray Dye_2": [ + "Gray Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.green_wool": { + "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "requirements": [[ + "has_pink_dye", + "has_white_bed" + ]], "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Green Wool_1": [ - "Green Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Pink Bed_1": [ + "Pink Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.haste_potion": { + "minicraft.advancements.recipes.wooden_hoe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Hoe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_sword": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Haste Potion_1": [ - "Awkward Potion_1", - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Rock Sword_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.health_potion": { + "minicraft.advancements.recipes.brown_wool": { + "requirements": [[ + "has_white_wool", + "has_brown_dye" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_leather_armor": { - "conditions": { - "items": [ - { - "items": [ - "Leather Armor" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Dye"]}]} } }, - "requirements": [ - [ - "has_leather_armor", - "has_gunpowder", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Health Potion_1": [ - "Awkward Potion_1", - "Gunpowder_2", - "Leather Armor_1" - ] - } - } + "rewards": {"recipes": {"Brown Wool_1": [ + "Brown Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.iron": { + "minicraft.advancements.recipes.snake_armor": { + "requirements": [["has_scale"]], + "criteria": {"has_scale": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Scale"]}]} + }}, + "rewards": {"recipes": {"Snake Armor_1": ["Scale_15"]}} + }, + "minicraft.advancements.recipes.shears": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Shears_1": ["Iron_4"]}} + }, + "minicraft.advancements.recipes.wood_door": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Wood Door_1": ["Plank_5"]}} + }, + "minicraft.advancements.recipes.stone_fence": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Fence_1": ["Stone Brick_3"]}} + }, + "minicraft.advancements.recipes.green_clothes": { + "requirements": [[ + "has_green_dye", + "has_cloth" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_iron_ore": { - "conditions": { - "items": [ - { - "items": [ - "Iron Ore" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_iron_ore" - ] - ], - "rewards": { - "recipes": { - "Iron_1": [ - "Coal_1", - "Iron Ore_3" - ] - } - } + "rewards": {"recipes": {"Green Clothes_1": [ + "Cloth_5", + "Green Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_armor": { + "minicraft.advancements.recipes.red_wool": { + "requirements": [[ + "has_white_wool", + "has_red_dye" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Armor_1": [ - "Iron_10" - ] - } - } + "rewards": {"recipes": {"Red Wool_1": [ + "Red Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.iron_axe": { + "minicraft.advancements.recipes.stone_bow": { + "requirements": [[ + "has_stone", + "has_wood", + "has_string" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Axe_1": [ - "Wood_5", - "Iron_5" - ] - } - } - }, - "minicraft.advancements.recipes.iron_bow": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Bow_1": [ - "String_2", - "Iron_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Rock Bow_1": [ + "String_2", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.iron_claymore": { + "minicraft.advancements.recipes.gem_bow": { + "requirements": [[ + "has_wood", + "has_gem", + "has_string" + ]], "criteria": { - "has_iron_sword": { - "conditions": { - "items": [ - { - "items": [ - "Iron Sword" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_shard", - "has_iron_sword" - ] - ], - "rewards": { - "recipes": { - "Iron Claymore_1": [ - "Iron Sword_1", - "Shard_15" - ] - } - } - }, - "minicraft.advancements.recipes.iron_fishing_rod": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} }, "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_string", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Fishing Rod_1": [ - "String_3", - "Iron_10" - ] - } - } + "rewards": {"recipes": {"Gem Bow_1": [ + "String_2", + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.iron_hoe": { + "minicraft.advancements.recipes.cyan_dye": { + "requirements": [[ + "has_green_dye", + "has_blue_dye" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Hoe_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Cyan Dye_2": [ + "Blue Dye_1", + "Green Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_lantern": { + "minicraft.advancements.recipes.dye_vat": { + "requirements": [[ + "has_stone", + "has_iron" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_slime", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Lantern_1": [ - "Glass_4", - "Iron_8", - "Slime_5" - ] - } - } + "rewards": {"recipes": {"Dye Vat_1": [ + "Stone_10", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.iron_pickaxe": { + "minicraft.advancements.recipes.wooden_axe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Axe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.magenta_bed": { + "requirements": [[ + "has_wood", + "has_magenta_wool" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_magenta_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Wool"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Pickaxe_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Magenta Bed_1": [ + "Wood_5", + "Magenta Wool_3" + ]}} }, - "minicraft.advancements.recipes.iron_shovel": { + "minicraft.advancements.recipes.pink_dye_from_peony": { + "requirements": [["has_peony"]], + "criteria": {"has_peony": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Peony"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Peony_1"]}} + }, + "minicraft.advancements.recipes.stone_brick": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Stone Brick_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.pink_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Shovel_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Pink Dye_2": [ + "White Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.iron_sword": { + "minicraft.advancements.recipes.workbench": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Workbench_1": ["Wood_10"]}} + }, + "minicraft.advancements.recipes.lantern": { + "requirements": [[ + "has_glass", + "has_wood", + "has_slime" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Iron Sword_1": [ - "Wood_5", - "Iron_5" - ] - } - } + "rewards": {"recipes": {"Lantern_1": [ + "Glass_3", + "Slime_4", + "Wood_8" + ]}} }, - "minicraft.advancements.recipes.lantern": { + "minicraft.advancements.recipes.green_dye": { + "requirements": [["has_cactus"]], + "criteria": {"has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} + }}, + "rewards": {"recipes": {"Green Dye_1": ["Cactus_1"]}} + }, + "minicraft.advancements.recipes.orange_dye": { + "requirements": [[ + "has_red_dye", + "has_yellow_dye" + ]], "criteria": { - "has_glass": { - "conditions": { - "items": [ - { - "items": [ - "Glass" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_glass", - "has_wood", - "has_slime" - ] - ], - "rewards": { - "recipes": { - "Lantern_1": [ - "Glass_3", - "Slime_4", - "Wood_8" - ] - } - } + "rewards": {"recipes": {"Orange Dye_2": [ + "Yellow Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.lava_potion": { + "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_magenta_dye" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_lava_bucket": { - "conditions": { - "items": [ - { - "items": [ - "Lava Bucket" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_magenta_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Dye"]}]} } }, - "requirements": [ - [ - "has_awkward_potion", - "has_lava_bucket" - ] - ], - "rewards": { - "recipes": { - "Lava Potion_1": [ - "Awkward Potion_1", - "Lava Bucket_1" - ] - } - } + "rewards": {"recipes": {"Magenta Bed_1": [ + "Magenta Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.leather_armor": { + "minicraft.advancements.recipes.gold_armor": { + "requirements": [["has_gold"]], + "criteria": {"has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} + }}, + "rewards": {"recipes": {"Gold Armor_1": ["Gold_10"]}} + }, + "minicraft.advancements.recipes.yellow_clothes": { + "requirements": [[ + "has_cloth", + "has_yellow_dye" + ]], "criteria": { - "has_leather": { - "conditions": { - "items": [ - { - "items": [ - "Leather" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }, + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_leather" - ] - ], - "rewards": { - "recipes": { - "Leather Armor_1": [ - "Leather_10" - ] - } - } + "rewards": {"recipes": {"Yellow Clothes_1": [ + "Cloth_5", + "Yellow Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_bed": { + "minicraft.advancements.recipes.glass_bottle": { + "requirements": [["has_glass"]], + "criteria": {"has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} + }}, + "rewards": {"recipes": {"Glass Bottle_1": ["Glass_3"]}} + }, + "minicraft.advancements.recipes.gem_claymore": { + "requirements": [[ + "has_shard", + "has_gem_sword" + ]], "criteria": { - "has_light_blue_wool": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem Sword"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_light_blue_wool" - ] - ], - "rewards": { - "recipes": { - "Light Blue Bed_1": [ - "Light Blue Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Claymore_1": [ + "Gem Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "minicraft.advancements.recipes.lime_wool": { + "requirements": [[ + "has_lime_dye", + "has_white_wool" + ]], "criteria": { - "has_light_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lime_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Dye"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_light_blue_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Light Blue Bed_1": [ - "Light Blue Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Lime Wool_1": [ + "Lime Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye": { + "minicraft.advancements.recipes.wood_fence": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Wood Fence_1": ["Plank_3"]}} + }, + "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { + "requirements": [["has_white_tulip"]], + "criteria": {"has_white_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Tulip"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["White Tulip_1"]}} + }, + "minicraft.advancements.recipes.yellow_dye_from_dandelion": { + "requirements": [["has_dandelion"]], + "criteria": {"has_dandelion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Dandelion"]}]} + }}, + "rewards": {"recipes": {"Yellow Dye_1": ["Dandelion_1"]}} + }, + "minicraft.advancements.recipes.wood_fishing_rod": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_2": [ - "Blue Dye_1", - "White Dye_1" - ] - } - } + "rewards": {"recipes": {"Wood Fishing Rod_1": [ + "String_3", + "Wood_10" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { + "minicraft.advancements.recipes.red_dye_from_rose": { + "requirements": [["has_rose"]], + "criteria": {"has_rose": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Rose"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Rose_1"]}} + }, + "minicraft.advancements.recipes.pink_bed": { + "requirements": [[ + "has_pink_wool", + "has_wood" + ]], "criteria": { - "has_blue_orchid": { - "conditions": { - "items": [ - { - "items": [ - "Blue Orchid" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Wool"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_blue_orchid" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_1": [ - "Blue Orchid_1" - ] - } - } + "rewards": {"recipes": {"Pink Bed_1": [ + "Wood_5", + "Pink Wool_3" + ]}} }, - "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { + "minicraft.advancements.recipes.gold_fishing_rod": { + "requirements": [[ + "has_string", + "has_gold" + ]], "criteria": { - "has_periwinkle": { - "conditions": { - "items": [ - { - "items": [ - "Periwinkle" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_periwinkle" - ] - ], - "rewards": { - "recipes": { - "Light Blue Dye_1": [ - "Periwinkle_1" - ] - } - } + "rewards": {"recipes": {"Gold Fishing Rod_1": [ + "Gold_10", + "String_3" + ]}} }, - "minicraft.advancements.recipes.light_blue_wool": { + "minicraft.advancements.recipes.blue_dye": { + "requirements": [["has_lapis"]], + "criteria": {"has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Lapis_1"]}} + }, + "minicraft.advancements.recipes.purple_clothes": { + "requirements": [[ + "has_cloth", + "has_purple_dye" + ]], "criteria": { - "has_light_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} } }, - "requirements": [ - [ - "has_light_blue_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Light Blue Wool_1": [ - "Light Blue Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Purple Clothes_1": [ + "Cloth_5", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_bed": { + "minicraft.advancements.recipes.stone_pickaxe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_light_gray_wool": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_light_gray_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Light Gray Bed_1": [ - "Wood_5", - "Light Gray Wool_3" - ] - } - } + "rewards": {"recipes": {"Rock Pickaxe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "minicraft.advancements.recipes.orange_bed": { + "requirements": [[ + "has_wood", + "has_orange_wool" + ]], "criteria": { - "has_light_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Wool"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_light_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Bed_1": [ - "White Bed_1", - "Light Gray Dye_1" - ] - } - } + "rewards": {"recipes": {"Orange Bed_1": [ + "Wood_5", + "Orange Wool_3" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye": { + "minicraft.advancements.recipes.light_blue_dye_from_periwinkle": { + "requirements": [["has_periwinkle"]], + "criteria": {"has_periwinkle": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Periwinkle"]}]} + }}, + "rewards": {"recipes": {"Light Blue Dye_1": ["Periwinkle_1"]}} + }, + "minicraft.advancements.recipes.blue_clothes": { + "requirements": [[ + "has_cloth", + "has_blue_dye" + ]], "criteria": { - "has_black_dye": { - "conditions": { - "items": [ - { - "items": [ - "Black Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_black_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_3": [ - "White Dye_2", - "Black Dye_1" - ] - } - } + "rewards": {"recipes": {"Blue Clothes_1": [ + "Blue Dye_1", + "Cloth_5" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_gray_white_dye": { + "minicraft.advancements.recipes.watering_can": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Watering Can_1": ["Iron_3"]}} + }, + "minicraft.advancements.recipes.pink_wool": { + "requirements": [[ + "has_pink_dye", + "has_white_wool" + ]], "criteria": { - "has_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_gray_dye", - "has_white_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_2": [ - "Gray Dye_1", - "White Dye_1" - ] - } - } + "rewards": {"recipes": {"Pink Wool_1": [ + "Pink Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "minicraft.advancements.recipes.purple_dye_from_violet": { + "requirements": [["has_violet"]], + "criteria": {"has_violet": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Violet"]}]} + }}, + "rewards": {"recipes": {"Purple Dye_1": ["Violet_1"]}} + }, + "minicraft.advancements.recipes.blue_dye_from_iris": { + "requirements": [["has_iris"]], + "criteria": {"has_iris": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iris"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Iris_1"]}} + }, + "minicraft.advancements.recipes.blue_dye_from_cornflower": { + "requirements": [["has_cornflower"]], + "criteria": {"has_cornflower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cornflower"]}]} + }}, + "rewards": {"recipes": {"Blue Dye_1": ["Cornflower_1"]}} + }, + "minicraft.advancements.recipes.blue_bed": { + "requirements": [[ + "has_wood", + "has_blue_wool" + ]], "criteria": { - "has_hydrangea": { - "conditions": { - "items": [ - { - "items": [ - "Hydrangea" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_blue_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Wool"]}]} } }, - "requirements": [ - [ - "has_hydrangea" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "Hydrangea_1" - ] - } - } + "rewards": {"recipes": {"Blue Bed_1": [ + "Wood_5", + "Blue Wool_3" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_oxeye_daisy": { + "minicraft.advancements.recipes.gem_sword": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_oxeye_daisy": { - "conditions": { - "items": [ - { - "items": [ - "Oxeye Daisy" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_oxeye_daisy" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "Oxeye Daisy_1" - ] - } - } + "rewards": {"recipes": {"Gem Sword_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.light_gray_dye_from_white_tulip": { + "minicraft.advancements.recipes.swim_potion": { + "requirements": [[ + "has_raw_fish", + "has_awkward_potion" + ]], "criteria": { - "has_white_tulip": { - "conditions": { - "items": [ - { - "items": [ - "White Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_fish": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Fish"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_tulip" - ] - ], - "rewards": { - "recipes": { - "Light Gray Dye_1": [ - "White Tulip_1" - ] - } - } + "rewards": {"recipes": {"Swim Potion_1": [ + "Awkward Potion_1", + "Raw Fish_5" + ]}} }, - "minicraft.advancements.recipes.light_gray_wool": { + "minicraft.advancements.recipes.gray_wool": { + "requirements": [[ + "has_white_wool", + "has_gray_dye" + ]], "criteria": { - "has_light_gray_dye": { - "conditions": { - "items": [ - { - "items": [ - "Light Gray Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Dye"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_light_gray_dye" - ] - ], - "rewards": { - "recipes": { - "Light Gray Wool_1": [ - "Light Gray Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Gray Wool_1": [ + "Gray Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.light_potion": { + "minicraft.advancements.recipes.steak": { + "requirements": [[ + "has_coal", + "has_raw_beef" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, - "has_slime": { - "conditions": { - "items": [ - { - "items": [ - "Slime" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_raw_beef": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Beef"]}]} } }, - "requirements": [ - [ - "has_slime", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Light Potion_1": [ - "Slime_5", - "Awkward Potion_1" - ] - } - } + "rewards": {"recipes": {"Steak_1": [ + "Coal_1", + "Raw Beef_1" + ]}} }, - "minicraft.advancements.recipes.lime_bed": { + "minicraft.advancements.recipes.gem_pickaxe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_lime_wool": { - "conditions": { - "items": [ - { - "items": [ - "Lime Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_lime_wool" - ] - ], - "rewards": { - "recipes": { - "Lime Bed_1": [ - "Lime Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Pickaxe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.lime_bed_from_white_bed": { + "minicraft.advancements.recipes.light_blue_dye": { + "requirements": [[ + "has_white_dye", + "has_blue_dye" + ]], "criteria": { - "has_lime_dye": { - "conditions": { - "items": [ - { - "items": [ - "Lime Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_lime_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Lime Bed_1": [ - "Lime Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Dye_2": [ + "Blue Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.lime_dye": { + "minicraft.advancements.recipes.obsidian_fence": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Fence_1": ["Obsidian Brick_3"]}} + }, + "minicraft.advancements.recipes.iron_hoe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_green_dye": { - "conditions": { - "items": [ - { - "items": [ - "Green Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_green_dye", - "has_white_dye" - ] - ], - "rewards": { - "recipes": { - "Lime Dye_2": [ - "Green Dye_1", - "White Dye_1" - ] - } - } + "rewards": {"recipes": {"Iron Hoe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.lime_wool": { + "minicraft.advancements.recipes.iron_claymore": { + "requirements": [[ + "has_shard", + "has_iron_sword" + ]], "criteria": { - "has_lime_dye": { - "conditions": { - "items": [ - { - "items": [ - "Lime Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron Sword"]}]} } }, - "requirements": [ - [ - "has_lime_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Lime Wool_1": [ - "Lime Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Iron Claymore_1": [ + "Iron Sword_1", + "Shard_15" + ]}} }, - "minicraft.advancements.recipes.loom": { + "minicraft.advancements.recipes.wooden_pickaxe": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Pickaxe_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.stone_axe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Loom_1": [ - "Wood_10", - "White Wool_5" - ] - } - } + "rewards": {"recipes": {"Rock Axe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.magenta_bed": { + "minicraft.advancements.recipes.orange_clothes": { + "requirements": [[ + "has_cloth", + "has_orange_dye" + ]], "criteria": { - "has_magenta_wool": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_magenta_wool" - ] - ], - "rewards": { - "recipes": { - "Magenta Bed_1": [ - "Wood_5", - "Magenta Wool_3" - ] - } - } + "rewards": {"recipes": {"Orange Clothes_1": [ + "Cloth_5", + "Orange Dye_1" + ]}} }, - "minicraft.advancements.recipes.magenta_bed_from_white_bed": { + "minicraft.advancements.recipes.iron_fishing_rod": { + "requirements": [[ + "has_string", + "has_iron" + ]], "criteria": { - "has_magenta_dye": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_magenta_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Bed_1": [ - "Magenta Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Iron Fishing Rod_1": [ + "String_3", + "Iron_10" + ]}} }, - "minicraft.advancements.recipes.magenta_dye_from_allium": { + "minicraft.advancements.recipes.iron_pickaxe": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_allium": { - "conditions": { - "items": [ - { - "items": [ - "Allium" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_allium" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_1": [ - "Allium_1" - ] - } - } + "rewards": {"recipes": {"Iron Pickaxe_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { + "minicraft.advancements.recipes.yellow_bed": { + "requirements": [[ + "has_yellow_wool", + "has_wood" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Wool"]}]} }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_pink_dye", - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_4": [ - "Pink Dye_1", - "Red Dye_1", - "Blue Dye_1" - ] - } - } + "rewards": {"recipes": {"Yellow Bed_1": [ + "Yellow Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { + "minicraft.advancements.recipes.ornate_stone": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Ornate Stone_1": ["Stone_2"]}} + }, + "minicraft.advancements.recipes.light_gray_dye_from_hydrangea": { + "requirements": [["has_hydrangea"]], + "criteria": {"has_hydrangea": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Hydrangea"]}]} + }}, + "rewards": {"recipes": {"Light Gray Dye_1": ["Hydrangea_1"]}} + }, + "minicraft.advancements.recipes.wooden_bow": { + "requirements": [[ + "has_wood", + "has_string" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_4": [ - "White Dye_1", - "Red Dye_2", - "Blue Dye_1" - ] - } - } + "rewards": {"recipes": {"Wood Bow_1": [ + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.magenta_dye_from_purple_and_pink": { + "minicraft.advancements.recipes.light_blue_dye_from_blue_orchid": { + "requirements": [["has_blue_orchid"]], + "criteria": {"has_blue_orchid": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Orchid"]}]} + }}, + "rewards": {"recipes": {"Light Blue Dye_1": ["Blue Orchid_1"]}} + }, + "minicraft.advancements.recipes.gold_pickaxe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_pink_dye", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Dye_2": [ - "Pink Dye_1", - "Purple Dye_1" - ] - } - } + "rewards": {"recipes": {"Gold Pickaxe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.magenta_wool": { + "minicraft.advancements.recipes.black_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_black_dye" + ]], "criteria": { - "has_magenta_dye": { - "conditions": { - "items": [ - { - "items": [ - "Magenta Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_magenta_dye" - ] - ], - "rewards": { - "recipes": { - "Magenta Wool_1": [ - "Magenta Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Black Bed_1": [ + "White Bed_1", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_brick": { + "minicraft.advancements.recipes.red_dye_from_poppy": { + "requirements": [["has_poppy"]], + "criteria": {"has_poppy": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Poppy"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Poppy_1"]}} + }, + "minicraft.advancements.recipes.gold": { + "requirements": [[ + "has_coal", + "has_gold_ore" + ]], "criteria": { - "has_raw_obsidian": { - "conditions": { - "items": [ - { - "items": [ - "Raw Obsidian" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_gold_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Ore"]}]} } }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Obsidian Brick_1": [ - "Raw Obsidian_2" - ] - } - } + "rewards": {"recipes": {"Gold_1": [ + "Coal_1", + "Gold Ore_3" + ]}} }, - "minicraft.advancements.recipes.obsidian_door": { + "minicraft.advancements.recipes.cooked_fish": { + "requirements": [[ + "has_coal", + "has_raw_fish" + ]], "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_raw_fish": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Fish"]}]} } }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Door_1": [ - "Obsidian Brick_5" - ] - } - } + "rewards": {"recipes": {"Cooked Fish_1": [ + "Coal_1", + "Raw Fish_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_fence": { + "minicraft.advancements.recipes.light_potion": { + "requirements": [[ + "has_slime", + "has_awkward_potion" + ]], "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Fence_1": [ - "Obsidian Brick_3" - ] - } - } + "rewards": {"recipes": {"Light Potion_1": [ + "Slime_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.obsidian_poppet": { + "minicraft.advancements.recipes.gold_sword": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_shard": { - "conditions": { - "items": [ - { - "items": [ - "Shard" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_shard", - "has_gem", - "has_lapis", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Obsidian Poppet_1": [ - "Lapis_5", - "Gold_10", - "Shard_15", - "Gem_10" - ] - } - } + "rewards": {"recipes": {"Gold Sword_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.obsidian_wall": { + "minicraft.advancements.recipes.gold_shovel": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_obsidian_brick": { - "conditions": { - "items": [ - { - "items": [ - "Obsidian Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_obsidian_brick" - ] - ], - "rewards": { - "recipes": { - "Obsidian Wall_1": [ - "Obsidian Brick_3" - ] - } - } + "rewards": {"recipes": {"Gold Shovel_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.orange_bed": { + "minicraft.advancements.recipes.stone_shovel": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_orange_wool": { - "conditions": { - "items": [ - { - "items": [ - "Orange Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_orange_wool" - ] - ], - "rewards": { - "recipes": { - "Orange Bed_1": [ - "Wood_5", - "Orange Wool_3" - ] - } - } + "rewards": {"recipes": {"Rock Shovel_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "minicraft.advancements.recipes.escape_potion": { + "requirements": [[ + "has_lapis", + "has_gunpowder", + "has_awkward_potion" + ]], "criteria": { - "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Bed_1": [ - "Orange Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Escape Potion_1": [ + "Lapis_7", + "Awkward Potion_1", + "Gunpowder_3" + ]}} }, - "minicraft.advancements.recipes.orange_clothes": { + "minicraft.advancements.recipes.orange_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_orange_dye" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Clothes_1": [ - "Cloth_5", - "Orange Dye_1" - ] - } - } + "rewards": {"recipes": {"Orange Bed_1": [ + "Orange Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.orange_dye": { + "minicraft.advancements.recipes.lime_bed_from_white_bed": { + "requirements": [[ + "has_lime_dye", + "has_white_bed" + ]], "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lime_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Dye"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_red_dye", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Dye_2": [ - "Yellow Dye_1", - "Red Dye_1" - ] - } - } + "rewards": {"recipes": {"Lime Bed_1": [ + "Lime Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { - "criteria": { - "has_orange_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Orange Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_orange_tulip" - ] - ], - "rewards": { - "recipes": { - "Orange Dye_1": [ - "Orange Tulip_1" - ] - } - } + "minicraft.advancements.recipes.obsidian_wall": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Wall_1": ["Obsidian Brick_3"]}} }, - "minicraft.advancements.recipes.orange_wool": { + "minicraft.advancements.recipes.magenta_dye_from_allium": { + "requirements": [["has_allium"]], + "criteria": {"has_allium": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Allium"]}]} + }}, + "rewards": {"recipes": {"Magenta Dye_1": ["Allium_1"]}} + }, + "minicraft.advancements.recipes.cyan_clothes": { + "requirements": [[ + "has_cyan_dye", + "has_cloth" + ]], "criteria": { - "has_orange_dye": { - "conditions": { - "items": [ - { - "items": [ - "Orange Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_orange_dye" - ] - ], - "rewards": { - "recipes": { - "Orange Wool_1": [ - "Orange Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Cyan Clothes_1": [ + "Cyan Dye_1", + "Cloth_5" + ]}} }, - "minicraft.advancements.recipes.ornate_obsidian": { + "minicraft.advancements.recipes.brown_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_brown_dye" + ]], "criteria": { - "has_raw_obsidian": { - "conditions": { - "items": [ - { - "items": [ - "Raw Obsidian" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_brown_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Dye"]}]} } }, - "requirements": [ - [ - "has_raw_obsidian" - ] - ], - "rewards": { - "recipes": { - "Ornate Obsidian_1": [ - "Raw Obsidian_2" - ] - } - } + "rewards": {"recipes": {"Brown Bed_1": [ + "White Bed_1", + "Brown Dye_1" + ]}} }, - "minicraft.advancements.recipes.ornate_stone": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Ornate Stone_1": [ - "Stone_2" - ] - } - } + "minicraft.advancements.recipes.gem_armor": { + "requirements": [["has_gem"]], + "criteria": {"has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }}, + "rewards": {"recipes": {"Gem Armor_1": ["Gem_65"]}} }, - "minicraft.advancements.recipes.oven": { + "minicraft.advancements.recipes.brown_dye": { + "requirements": [[ + "has_green_dye", + "has_red_dye" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} } }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Oven_1": [ - "Stone_15" - ] - } - } + "rewards": {"recipes": {"Brown Dye_2": [ + "Green Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.pink_bed": { + "minicraft.advancements.recipes.red_bed": { + "requirements": [[ + "has_red_wool", + "has_wood" + ]], "criteria": { - "has_pink_wool": { - "conditions": { - "items": [ - { - "items": [ - "Pink Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Wool"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_pink_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Pink Bed_1": [ - "Wood_5", - "Pink Wool_3" - ] - } - } + "rewards": {"recipes": {"Red Bed_1": [ + "Wood_5", + "Red Wool_3" + ]}} }, - "minicraft.advancements.recipes.pink_bed_from_white_bed": { + "minicraft.advancements.recipes.green_bed_from_white_bed": { + "requirements": [[ + "has_green_dye", + "has_white_bed" + ]], "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} }, "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_pink_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Pink Bed_1": [ - "Pink Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Green Bed_1": [ + "Green Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.pink_dye": { + "minicraft.advancements.recipes.golden_apple": { + "requirements": [[ + "has_apple", + "has_gold" + ]], "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_apple": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Apple"]}]} }, - "has_white_dye": { - "conditions": { - "items": [ - { - "items": [ - "White Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_white_dye", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_2": [ - "White Dye_1", - "Red Dye_1" - ] - } - } + "rewards": {"recipes": {"Gold Apple_1": [ + "Gold_8", + "Apple_1" + ]}} }, - "minicraft.advancements.recipes.pink_dye_from_peony": { + "minicraft.advancements.recipes.arrow": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_peony": { - "conditions": { - "items": [ - { - "items": [ - "Peony" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_peony" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Peony_1" - ] - } - } + "rewards": {"recipes": {"Arrow_3": [ + "Stone_2", + "Wood_2" + ]}} }, - "minicraft.advancements.recipes.pink_dye_from_pink_lily": { + "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_yellow_dye" + ]], "criteria": { - "has_pink_lily": { - "conditions": { - "items": [ - { - "items": [ - "Pink Lily" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_pink_lily" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Pink Lily_1" - ] - } - } + "rewards": {"recipes": {"Yellow Bed_1": [ + "Yellow Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { + "minicraft.advancements.recipes.stone_wall": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Wall_1": ["Stone Brick_3"]}} + }, + "minicraft.advancements.recipes.glass": { + "requirements": [[ + "has_coal", + "has_sand" + ]], "criteria": { - "has_pink_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Pink Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_sand": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sand"]}]} } }, - "requirements": [ - [ - "has_pink_tulip" - ] - ], - "rewards": { - "recipes": { - "Pink Dye_1": [ - "Pink Tulip_1" - ] - } - } + "rewards": {"recipes": {"Glass_1": [ + "Coal_1", + "Sand_4" + ]}} }, - "minicraft.advancements.recipes.pink_wool": { + "minicraft.advancements.recipes.speed_potion": { + "requirements": [[ + "has_cactus", + "has_awkward_potion" + ]], "criteria": { - "has_pink_dye": { - "conditions": { - "items": [ - { - "items": [ - "Pink Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cactus": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cactus"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_pink_dye", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "Pink Wool_1": [ - "Pink Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Speed Potion_1": [ + "Cactus_5", + "Awkward Potion_1" + ]}} }, - "minicraft.advancements.recipes.plank": { + "minicraft.advancements.recipes.brown_bed": { + "requirements": [[ + "has_brown_wool", + "has_wood" + ]], "criteria": { + "has_brown_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Brown Wool"]}]} + }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Plank_2": [ - "Wood_1" - ] - } - } + "rewards": {"recipes": {"Brown Bed_1": [ + "Brown Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.plank_wall": { + "minicraft.advancements.recipes.gold_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_gold" + ]], "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Plank Wall_1": [ - "Plank_3" - ] - } - } + "rewards": {"recipes": {"Gold Bow_1": [ + "Gold_5", + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.purple_bed": { + "minicraft.advancements.recipes.yellow_dye_from_sunflower": { + "requirements": [["has_sunflower"]], + "criteria": {"has_sunflower": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sunflower"]}]} + }}, + "rewards": {"recipes": {"Yellow Dye_1": ["Sunflower_1"]}} + }, + "minicraft.advancements.recipes.gold_lantern": { + "requirements": [[ + "has_glass", + "has_gold", + "has_slime" + ]], "criteria": { - "has_purple_wool": { - "conditions": { - "items": [ - { - "items": [ - "Purple Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} + }, + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_purple_wool" - ] - ], - "rewards": { - "recipes": { - "Purple Bed_1": [ - "Wood_5", - "Purple Wool_3" - ] - } - } + "rewards": {"recipes": {"Gold Lantern_1": [ + "Glass_4", + "Gold_10", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "minicraft.advancements.recipes.red_dye_from_red_tulip": { + "requirements": [["has_red_tulip"]], + "criteria": {"has_red_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Tulip"]}]} + }}, + "rewards": {"recipes": {"Red Dye_1": ["Red Tulip_1"]}} + }, + "minicraft.advancements.recipes.gray_dye": { + "requirements": [[ + "has_white_dye", + "has_black_dye" + ]], "criteria": { - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_purple_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Purple Bed_1": [ - "White Bed_1", - "Purple Dye_1" - ] - } - } + "rewards": {"recipes": {"Gray Dye_2": [ + "White Dye_1", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.purple_clothes": { + "minicraft.advancements.recipes.plank_wall": { + "requirements": [["has_plank"]], + "criteria": {"has_plank": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Plank"]}]} + }}, + "rewards": {"recipes": {"Plank Wall_1": ["Plank_3"]}} + }, + "minicraft.advancements.recipes.purple_dye": { + "requirements": [[ + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} }, - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Clothes_1": [ - "Cloth_5", - "Purple Dye_1" - ] - } - } + "rewards": {"recipes": {"Purple Dye_2": [ + "Blue Dye_1", + "Red Dye_1" + ]}} }, - "minicraft.advancements.recipes.purple_dye": { + "minicraft.advancements.recipes.ornate_wood": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Ornate Wood_1": ["Wood_1"]}} + }, + "minicraft.advancements.recipes.light_blue_wool": { + "requirements": [[ + "has_light_blue_dye", + "has_white_wool" + ]], "criteria": { - "has_blue_dye": { - "conditions": { - "items": [ - { - "items": [ - "Blue Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Dye"]}]} }, - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_red_dye", - "has_blue_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Dye_2": [ - "Blue Dye_1", - "Red Dye_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Wool_1": [ + "Light Blue Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.purple_dye_from_violet": { + "minicraft.advancements.recipes.light_blue_bed": { + "requirements": [[ + "has_wood", + "has_light_blue_wool" + ]], "criteria": { - "has_violet": { - "conditions": { - "items": [ - { - "items": [ - "Violet" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_light_blue_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Wool"]}]} } }, - "requirements": [ - [ - "has_violet" - ] - ], - "rewards": { - "recipes": { - "Purple Dye_1": [ - "Violet_1" - ] - } - } + "rewards": {"recipes": {"Light Blue Bed_1": [ + "Light Blue Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.purple_wool": { + "minicraft.advancements.recipes.iron_armor": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Iron Armor_1": ["Iron_10"]}} + }, + "minicraft.advancements.recipes.magenta_dye_from_blue_red_white_dye": { + "requirements": [[ + "has_white_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_purple_dye": { - "conditions": { - "items": [ - { - "items": [ - "Purple Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_purple_dye" - ] - ], - "rewards": { - "recipes": { - "Purple Wool_1": [ - "Purple Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_4": [ + "White Dye_1", + "Red Dye_2", + "Blue Dye_1" + ]}} }, - "minicraft.advancements.recipes.red_bed": { + "minicraft.advancements.recipes.iron_shovel": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { - "has_red_wool": { - "conditions": { - "items": [ - { - "items": [ - "Red Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_red_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Red Bed_1": [ - "Wood_5", - "Red Wool_3" - ] - } - } + "rewards": {"recipes": {"Iron Shovel_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.red_bed_from_white_bed": { + "minicraft.advancements.recipes.yellow_wool": { + "requirements": [[ + "has_white_wool", + "has_yellow_dye" + ]], "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_yellow_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Yellow Dye"]}]} } }, - "requirements": [ - [ - "has_red_dye", - "has_white_bed" - ] - ], - "rewards": { - "recipes": { - "Red Bed_1": [ - "Red Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Yellow Wool_1": [ + "Yellow Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.red_dye_from_poppy": { + "minicraft.advancements.recipes.obsidian_door": { + "requirements": [["has_obsidian_brick"]], + "criteria": {"has_obsidian_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Obsidian Brick"]}]} + }}, + "rewards": {"recipes": {"Obsidian Door_1": ["Obsidian Brick_5"]}} + }, + "minicraft.advancements.recipes.stone_hoe": { + "requirements": [[ + "has_stone", + "has_wood" + ]], "criteria": { - "has_poppy": { - "conditions": { - "items": [ - { - "items": [ - "Poppy" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_poppy" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Poppy_1" - ] - } - } + "rewards": {"recipes": {"Rock Hoe_1": [ + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.red_dye_from_red_tulip": { + "minicraft.advancements.recipes.chest": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Chest_1": ["Wood_20"]}} + }, + "minicraft.advancements.recipes.purple_bed": { + "requirements": [[ + "has_wood", + "has_purple_wool" + ]], "criteria": { - "has_red_tulip": { - "conditions": { - "items": [ - { - "items": [ - "Red Tulip" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_purple_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Wool"]}]} } }, - "requirements": [ - [ - "has_red_tulip" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Red Tulip_1" - ] - } - } + "rewards": {"recipes": {"Purple Bed_1": [ + "Wood_5", + "Purple Wool_3" + ]}} }, - "minicraft.advancements.recipes.red_dye_from_rose": { + "minicraft.advancements.recipes.purple_bed_from_white_bed": { + "requirements": [[ + "has_purple_dye", + "has_white_bed" + ]], "criteria": { - "has_rose": { - "conditions": { - "items": [ - { - "items": [ - "Rose" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_purple_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Purple Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_rose" - ] - ], - "rewards": { - "recipes": { - "Red Dye_1": [ - "Rose_1" - ] - } - } + "rewards": {"recipes": {"Purple Bed_1": [ + "White Bed_1", + "Purple Dye_1" + ]}} }, - "minicraft.advancements.recipes.red_wool": { + "minicraft.advancements.recipes.gem_hoe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { - "has_red_dye": { - "conditions": { - "items": [ - { - "items": [ - "Red Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_red_dye" - ] - ], - "rewards": { - "recipes": { - "Red Wool_1": [ - "Red Dye_1", - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"Gem Hoe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.reg_clothes": { + "minicraft.advancements.recipes.light_blue_bed_from_white_bed": { + "requirements": [[ + "has_light_blue_dye", + "has_white_bed" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Blue Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_cloth" - ] - ], - "rewards": { - "recipes": { - "Reg Clothes_1": [ - "Cloth_5" - ] - } - } + "rewards": {"recipes": {"Light Blue Bed_1": [ + "Light Blue Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.regen_potion": { + "minicraft.advancements.recipes.blue_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_blue_dye" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} }, - "has_golden_apple": { - "conditions": { - "items": [ - { - "items": [ - "Gold Apple" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_golden_apple", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Regen Potion_1": [ - "Gold Apple_1", - "Awkward Potion_1" - ] - } - } + "rewards": {"recipes": {"Blue Bed_1": [ + "Blue Dye_1", + "White Bed_1" + ]}} }, - "minicraft.advancements.recipes.shears": { + "minicraft.advancements.recipes.awkward_potion": { + "requirements": [[ + "has_lapis", + "has_glass_bottle" + ]], "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_glass_bottle": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass Bottle"]}]} } }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Shears_1": [ - "Iron_4" - ] - } - } + "rewards": {"recipes": {"Awkward Potion_1": [ + "Lapis_3", + "Glass Bottle_1" + ]}} }, - "minicraft.advancements.recipes.snake_armor": { + "minicraft.advancements.recipes.magenta_wool": { + "requirements": [[ + "has_white_wool", + "has_magenta_dye" + ]], "criteria": { - "has_scale": { - "conditions": { - "items": [ - { - "items": [ - "Scale" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }, + "has_magenta_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Magenta Dye"]}]} } }, - "requirements": [ - [ - "has_scale" - ] - ], - "rewards": { - "recipes": { - "Snake Armor_1": [ - "Scale_15" - ] - } - } + "rewards": {"recipes": {"Magenta Wool_1": [ + "Magenta Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.speed_potion": { + "minicraft.advancements.recipes.green_bed": { + "requirements": [[ + "has_green_wool", + "has_wood" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Wool"]}]} }, - "has_cactus": { - "conditions": { - "items": [ - { - "items": [ - "Cactus" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_cactus", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Speed Potion_1": [ - "Cactus_5", - "Awkward Potion_1" - ] - } - } + "rewards": {"recipes": {"Green Bed_1": [ + "Green Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.steak": { + "minicraft.advancements.recipes.reg_clothes": { + "requirements": [["has_cloth"]], + "criteria": {"has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }}, + "rewards": {"recipes": {"Reg Clothes_1": ["Cloth_5"]}} + }, + "minicraft.advancements.recipes.totem_of_air": { + "requirements": [[ + "has_gem", + "has_cloud_ore", + "has_lapis", + "has_gold" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} }, - "has_raw_beef": { - "conditions": { - "items": [ - { - "items": [ - "Raw Beef" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloud_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloud Ore"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_raw_beef" - ] - ], - "rewards": { - "recipes": { - "Steak_1": [ - "Coal_1", - "Raw Beef_1" - ] - } - } + "rewards": {"recipes": {"Totem of Air_1": [ + "Lapis_5", + "Gold_10", + "Gem_10", + "Cloud Ore_5" + ]}} }, - "minicraft.advancements.recipes.stone_axe": { + "minicraft.advancements.recipes.cyan_wool": { + "requirements": [[ + "has_cyan_dye", + "has_white_wool" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Axe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Wool_1": [ + "Cyan Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.stone_bow": { + "minicraft.advancements.recipes.iron_bow": { + "requirements": [[ + "has_wood", + "has_string", + "has_iron" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Rock Bow_1": [ - "String_2", - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Bow_1": [ + "String_2", + "Iron_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.stone_brick": { - "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_stone" - ] - ], - "rewards": { - "recipes": { - "Stone Brick_1": [ - "Stone_2" - ] - } - } + "minicraft.advancements.recipes.wooden_shovel": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Shovel_1": ["Wood_5"]}} }, - "minicraft.advancements.recipes.stone_door": { + "minicraft.advancements.recipes.string": { + "requirements": [["has_white_wool"]], + "criteria": {"has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} + }}, + "rewards": {"recipes": {"String_2": ["White Wool_1"]}} + }, + "minicraft.advancements.recipes.loom": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Door_1": [ - "Stone Brick_5" - ] - } - } + "rewards": {"recipes": {"Loom_1": [ + "Wood_10", + "White Wool_5" + ]}} }, - "minicraft.advancements.recipes.stone_fence": { + "minicraft.advancements.recipes.light_gray_bed_from_white_bed": { + "requirements": [[ + "has_white_bed", + "has_light_gray_dye" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} + }, + "has_light_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Dye"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Fence_1": [ - "Stone Brick_3" - ] - } - } + "rewards": {"recipes": {"Light Gray Bed_1": [ + "White Bed_1", + "Light Gray Dye_1" + ]}} }, - "minicraft.advancements.recipes.stone_hoe": { + "minicraft.advancements.recipes.bread": { + "requirements": [["has_wheat"]], + "criteria": {"has_wheat": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wheat"]}]} + }}, + "rewards": {"recipes": {"Bread_1": ["Wheat_4"]}} + }, + "minicraft.advancements.recipes.anvil": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Anvil_1": ["Iron_5"]}} + }, + "minicraft.advancements.recipes.torch": { + "requirements": [[ + "has_coal", + "has_wood" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Hoe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Torch_2": [ + "Coal_1", + "Wood_1" + ]}} }, - "minicraft.advancements.recipes.stone_pickaxe": { + "minicraft.advancements.recipes.gold_axe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Pickaxe_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gold Axe_1": [ + "Gold_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.stone_shovel": { + "minicraft.advancements.recipes.iron_lantern": { + "requirements": [[ + "has_glass", + "has_slime", + "has_iron" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_glass": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Glass"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_slime": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Slime"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Shovel_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Lantern_1": [ + "Glass_4", + "Iron_8", + "Slime_5" + ]}} }, - "minicraft.advancements.recipes.stone_sword": { + "minicraft.advancements.recipes.cyan_bed": { + "requirements": [[ + "has_wood", + "has_cyan_wool" + ]], "criteria": { - "has_stone": { - "conditions": { - "items": [ - { - "items": [ - "Stone" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_cyan_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Wool"]}]} } }, - "requirements": [ - [ - "has_stone", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Rock Sword_1": [ - "Stone_5", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Bed_1": [ + "Wood_5", + "Cyan Wool_3" + ]}} }, - "minicraft.advancements.recipes.stone_wall": { + "minicraft.advancements.recipes.magenta_dye_from_blue_red_pink": { + "requirements": [[ + "has_pink_dye", + "has_red_dye", + "has_blue_dye" + ]], "criteria": { - "has_stone_brick": { - "conditions": { - "items": [ - { - "items": [ - "Stone Brick" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_pink_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Dye"]}]} + }, + "has_red_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Red Dye"]}]} + }, + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_stone_brick" - ] - ], - "rewards": { - "recipes": { - "Stone Wall_1": [ - "Stone Brick_3" - ] - } - } + "rewards": {"recipes": {"Magenta Dye_4": [ + "Pink Dye_1", + "Red Dye_1", + "Blue Dye_1" + ]}} }, - "minicraft.advancements.recipes.string": { + "minicraft.advancements.recipes.white_bed": { + "requirements": [[ + "has_wood", + "has_white_wool" + ]], "criteria": { + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} } }, - "requirements": [ - [ - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "String_2": [ - "White Wool_1" - ] - } - } + "rewards": {"recipes": {"White Bed_1": [ + "Wood_5", + "White Wool_3" + ]}} }, - "minicraft.advancements.recipes.swim_potion": { + "minicraft.advancements.recipes.enchanter": { + "requirements": [[ + "has_wood", + "has_string", + "has_lapis" + ]], "criteria": { - "has_awkward_potion": { - "conditions": { - "items": [ - { - "items": [ - "Awkward Potion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_raw_fish": { - "conditions": { - "items": [ - { - "items": [ - "Raw Fish" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_string": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["String"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} } }, - "requirements": [ - [ - "has_raw_fish", - "has_awkward_potion" - ] - ], - "rewards": { - "recipes": { - "Swim Potion_1": [ - "Awkward Potion_1", - "Raw Fish_5" - ] - } - } + "rewards": {"recipes": {"Enchanter_1": [ + "Lapis_10", + "String_2", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.tnt": { + "minicraft.advancements.recipes.light_gray_wool": { + "requirements": [[ + "has_white_wool", + "has_light_gray_dye" + ]], "criteria": { - "has_gunpowder": { - "conditions": { - "items": [ - { - "items": [ - "Gunpowder" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_sand": { - "conditions": { - "items": [ - { - "items": [ - "Sand" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_light_gray_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Dye"]}]} } }, - "requirements": [ - [ - "has_sand", - "has_gunpowder" - ] - ], - "rewards": { - "recipes": { - "Tnt_1": [ - "Sand_8", - "Gunpowder_10" - ] - } - } + "rewards": {"recipes": {"Light Gray Wool_1": [ + "Light Gray Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.torch": { + "minicraft.advancements.recipes.gold_claymore": { + "requirements": [[ + "has_shard", + "has_gold_sword" + ]], "criteria": { - "has_coal": { - "conditions": { - "items": [ - { - "items": [ - "Coal" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gold_sword": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Sword"]}]} } }, - "requirements": [ - [ - "has_coal", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Torch_2": [ - "Coal_1", - "Wood_1" - ] - } - } + "rewards": {"recipes": {"Gold Claymore_1": [ + "Shard_15", + "Gold Sword_1" + ]}} }, - "minicraft.advancements.recipes.totem_of_air": { + "minicraft.advancements.recipes.baked_potato": { + "requirements": [["has_potato"]], + "criteria": {"has_potato": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Potato"]}]} + }}, + "rewards": {"recipes": {"Baked Potato_1": ["Potato_1"]}} + }, + "minicraft.advancements.recipes.orange_wool": { + "requirements": [[ + "has_white_wool", + "has_orange_dye" + ]], "criteria": { - "has_cloud_ore": { - "conditions": { - "items": [ - { - "items": [ - "Cloud Ore" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gem": { - "conditions": { - "items": [ - { - "items": [ - "Gem" - ] - } - ] - }, - "trigger": "inventory_changed" - }, - "has_gold": { - "conditions": { - "items": [ - { - "items": [ - "Gold" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_lapis": { - "conditions": { - "items": [ - { - "items": [ - "Lapis" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_orange_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Dye"]}]} } }, - "requirements": [ - [ - "has_gem", - "has_cloud_ore", - "has_lapis", - "has_gold" - ] - ], - "rewards": { - "recipes": { - "Totem of Air_1": [ - "Lapis_5", - "Gold_10", - "Gem_10", - "Cloud Ore_5" - ] - } - } + "rewards": {"recipes": {"Orange Wool_1": [ + "Orange Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.watering_can": { - "criteria": { - "has_iron": { - "conditions": { - "items": [ - { - "items": [ - "Iron" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_iron" - ] - ], - "rewards": { - "recipes": { - "Watering Can_1": [ - "Iron_3" - ] - } - } + "minicraft.advancements.recipes.empty_bucket": { + "requirements": [["has_iron"]], + "criteria": {"has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} + }}, + "rewards": {"recipes": {"Empty Bucket_1": ["Iron_5"]}} }, - "minicraft.advancements.recipes.white_bed": { + "minicraft.advancements.recipes.gold_hoe": { + "requirements": [[ + "has_wood", + "has_gold" + ]], "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" - }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_white_wool" - ] - ], - "rewards": { - "recipes": { - "White Bed_1": [ - "Wood_5", - "White Wool_3" - ] - } - } + "rewards": {"recipes": {"Gold Hoe_1": [ + "Gold_5", + "Wood_5" + ]}} }, "minicraft.advancements.recipes.white_dye": { - "criteria": { - "has_white_lily": { - "conditions": { - "items": [ - { - "items": [ - "White Lily" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_white_lily" - ] - ], - "rewards": { - "recipes": { - "White Dye_1": [ - "White Lily_1" - ] - } - } + "requirements": [["has_white_lily"]], + "criteria": {"has_white_lily": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Lily"]}]} + }}, + "rewards": {"recipes": {"White Dye_1": ["White Lily_1"]}} }, - "minicraft.advancements.recipes.white_wool": { + "minicraft.advancements.recipes.gray_bed": { + "requirements": [[ + "has_gray_wool", + "has_wood" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gray_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gray Wool"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_string" - ] - ], - "rewards": { - "recipes": { - "White Wool_1": [ - "String_3" - ] - } - } + "rewards": {"recipes": {"Gray Bed_1": [ + "Gray Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.wood_door": { + "minicraft.advancements.recipes.iron": { + "requirements": [[ + "has_coal", + "has_iron_ore" + ]], "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_coal": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Coal"]}]} + }, + "has_iron_ore": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron Ore"]}]} } }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Wood Door_1": [ - "Plank_5" - ] - } - } + "rewards": {"recipes": {"Iron_1": [ + "Coal_1", + "Iron Ore_3" + ]}} }, - "minicraft.advancements.recipes.wood_fence": { - "criteria": { - "has_plank": { - "conditions": { - "items": [ - { - "items": [ - "Plank" - ] - } - ] - }, - "trigger": "inventory_changed" - } - }, - "requirements": [ - [ - "has_plank" - ] - ], - "rewards": { - "recipes": { - "Wood Fence_1": [ - "Plank_3" - ] - } - } + "minicraft.advancements.recipes.stone_door": { + "requirements": [["has_stone_brick"]], + "criteria": {"has_stone_brick": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone Brick"]}]} + }}, + "rewards": {"recipes": {"Stone Door_1": ["Stone Brick_5"]}} }, - "minicraft.advancements.recipes.wood_fishing_rod": { + "minicraft.advancements.recipes.obsidian_poppet": { + "requirements": [[ + "has_shard", + "has_gem", + "has_lapis", + "has_gold" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_shard": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Shard"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_lapis": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lapis"]}]} + }, + "has_gold": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Fishing Rod_1": [ - "String_3", - "Wood_10" - ] - } - } + "rewards": {"recipes": {"Obsidian Poppet_1": [ + "Lapis_5", + "Gold_10", + "Shard_15", + "Gem_10" + ]}} }, - "minicraft.advancements.recipes.wooden_axe": { + "minicraft.advancements.recipes.gem_axe": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Axe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Axe_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.wooden_bow": { + "minicraft.advancements.recipes.tnt": { + "requirements": [[ + "has_sand", + "has_gunpowder" + ]], "criteria": { - "has_string": { - "conditions": { - "items": [ - { - "items": [ - "String" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_sand": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Sand"]}]} }, - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gunpowder": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gunpowder"]}]} } }, - "requirements": [ - [ - "has_wood", - "has_string" - ] - ], - "rewards": { - "recipes": { - "Wood Bow_1": [ - "String_2", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Tnt_1": [ + "Sand_8", + "Gunpowder_10" + ]}} }, - "minicraft.advancements.recipes.wooden_hoe": { + "minicraft.advancements.recipes.lime_bed": { + "requirements": [[ + "has_wood", + "has_lime_wool" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_lime_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Lime Wool"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Hoe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Lime Bed_1": [ + "Lime Wool_3", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.wooden_pickaxe": { + "minicraft.advancements.recipes.iron_sword": { + "requirements": [[ + "has_wood", + "has_iron" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_iron": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Iron"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Pickaxe_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Iron Sword_1": [ + "Wood_5", + "Iron_5" + ]}} }, - "minicraft.advancements.recipes.wooden_shovel": { + "minicraft.advancements.recipes.cyan_bed_from_white_bed": { + "requirements": [[ + "has_cyan_dye", + "has_white_bed" + ]], "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cyan_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cyan Dye"]}]} + }, + "has_white_bed": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Bed"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Shovel_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Cyan Bed_1": [ + "Cyan Dye_1", + "White Bed_1" + ]}} + }, + "minicraft.advancements.recipes.pink_dye_from_pink_tulip": { + "requirements": [["has_pink_tulip"]], + "criteria": {"has_pink_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Pink Tulip"]}]} + }}, + "rewards": {"recipes": {"Pink Dye_1": ["Pink Tulip_1"]}} }, "minicraft.advancements.recipes.wooden_sword": { + "requirements": [["has_wood"]], + "criteria": {"has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }}, + "rewards": {"recipes": {"Wood Sword_1": ["Wood_5"]}} + }, + "minicraft.advancements.recipes.furnace": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Furnace_1": ["Stone_20"]}} + }, + "minicraft.advancements.recipes.gem_shovel": { + "requirements": [[ + "has_wood", + "has_gem" + ]], "criteria": { "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} + }, + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Wood Sword_1": [ - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Gem Shovel_1": [ + "Wood_5", + "Gem_50" + ]}} }, - "minicraft.advancements.recipes.workbench": { + "minicraft.advancements.recipes.black_clothes": { + "requirements": [[ + "has_cloth", + "has_black_dye" + ]], "criteria": { - "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_cloth": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Cloth"]}]} + }, + "has_black_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Dye"]}]} } }, - "requirements": [ - [ - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Workbench_1": [ - "Wood_10" - ] - } - } + "rewards": {"recipes": {"Black Clothes_1": [ + "Cloth_5", + "Black Dye_1" + ]}} }, - "minicraft.advancements.recipes.yellow_bed": { + "minicraft.advancements.recipes.haste_potion": { + "requirements": [[ + "has_stone", + "has_wood", + "has_awkward_potion" + ]], "criteria": { + "has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }, "has_wood": { - "conditions": { - "items": [ - { - "items": [ - "Wood" - ] - } - ] - }, - "trigger": "inventory_changed" + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} }, - "has_yellow_wool": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_yellow_wool", - "has_wood" - ] - ], - "rewards": { - "recipes": { - "Yellow Bed_1": [ - "Yellow Wool_3", - "Wood_5" - ] - } - } + "rewards": {"recipes": {"Haste Potion_1": [ + "Awkward Potion_1", + "Stone_5", + "Wood_5" + ]}} }, - "minicraft.advancements.recipes.yellow_bed_from_white_bed": { + "minicraft.advancements.recipes.black_bed": { + "requirements": [[ + "has_black_wool", + "has_wood" + ]], "criteria": { - "has_white_bed": { - "conditions": { - "items": [ - { - "items": [ - "White Bed" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_black_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Black Wool"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } }, - "requirements": [ - [ - "has_white_bed", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Bed_1": [ - "Yellow Dye_1", - "White Bed_1" - ] - } - } + "rewards": {"recipes": {"Black Bed_1": [ + "Wood_5", + "Black Wool_3" + ]}} }, - "minicraft.advancements.recipes.yellow_clothes": { + "minicraft.advancements.recipes.blue_wool": { + "requirements": [[ + "has_white_wool", + "has_blue_dye" + ]], "criteria": { - "has_cloth": { - "conditions": { - "items": [ - { - "items": [ - "Cloth" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_white_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Wool"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_blue_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Blue Dye"]}]} } }, - "requirements": [ - [ - "has_cloth", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Clothes_1": [ - "Cloth_5", - "Yellow Dye_1" - ] - } - } + "rewards": {"recipes": {"Blue Wool_1": [ + "Blue Dye_1", + "White Wool_1" + ]}} }, - "minicraft.advancements.recipes.yellow_dye_from_dandelion": { + "minicraft.advancements.recipes.ornate_obsidian": { + "requirements": [["has_raw_obsidian"]], + "criteria": {"has_raw_obsidian": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Raw Obsidian"]}]} + }}, + "rewards": {"recipes": {"Ornate Obsidian_1": ["Raw Obsidian_2"]}} + }, + "minicraft.advancements.recipes.energy_potion": { + "requirements": [[ + "has_gem", + "has_awkward_potion" + ]], "criteria": { - "has_dandelion": { - "conditions": { - "items": [ - { - "items": [ - "Dandelion" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_gem": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gem"]}]} + }, + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_dandelion" - ] - ], - "rewards": { - "recipes": { - "Yellow Dye_1": [ - "Dandelion_1" - ] - } - } + "rewards": {"recipes": {"Energy Potion_1": [ + "Awkward Potion_1", + "Gem_25" + ]}} }, - "minicraft.advancements.recipes.yellow_dye_from_sunflower": { + "minicraft.advancements.recipes.orange_dye_from_orange_tulip": { + "requirements": [["has_orange_tulip"]], + "criteria": {"has_orange_tulip": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Orange Tulip"]}]} + }}, + "rewards": {"recipes": {"Orange Dye_1": ["Orange Tulip_1"]}} + }, + "minicraft.advancements.recipes.lime_dye": { + "requirements": [[ + "has_green_dye", + "has_white_dye" + ]], "criteria": { - "has_sunflower": { - "conditions": { - "items": [ - { - "items": [ - "Sunflower" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_green_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Green Dye"]}]} + }, + "has_white_dye": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["White Dye"]}]} } }, - "requirements": [ - [ - "has_sunflower" - ] - ], - "rewards": { - "recipes": { - "Yellow Dye_1": [ - "Sunflower_1" - ] - } - } + "rewards": {"recipes": {"Lime Dye_2": [ + "Green Dye_1", + "White Dye_1" + ]}} }, - "minicraft.advancements.recipes.yellow_wool": { + "minicraft.advancements.recipes.oven": { + "requirements": [["has_stone"]], + "criteria": {"has_stone": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Stone"]}]} + }}, + "rewards": {"recipes": {"Oven_1": ["Stone_15"]}} + }, + "minicraft.advancements.recipes.regen_potion": { + "requirements": [[ + "has_golden_apple", + "has_awkward_potion" + ]], "criteria": { - "has_white_wool": { - "conditions": { - "items": [ - { - "items": [ - "White Wool" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_golden_apple": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Gold Apple"]}]} }, - "has_yellow_dye": { - "conditions": { - "items": [ - { - "items": [ - "Yellow Dye" - ] - } - ] - }, - "trigger": "inventory_changed" + "has_awkward_potion": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Awkward Potion"]}]} } }, - "requirements": [ - [ - "has_white_wool", - "has_yellow_dye" - ] - ], - "rewards": { - "recipes": { - "Yellow Wool_1": [ - "Yellow Dye_1", - "White Wool_1" - ] + "rewards": {"recipes": {"Regen Potion_1": [ + "Gold Apple_1", + "Awkward Potion_1" + ]}} + }, + "minicraft.advancements.recipes.light_gray_bed": { + "requirements": [[ + "has_light_gray_wool", + "has_wood" + ]], + "criteria": { + "has_light_gray_wool": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Light Gray Wool"]}]} + }, + "has_wood": { + "trigger": "inventory_changed", + "conditions": {"items": [{"items": ["Wood"]}]} } - } + }, + "rewards": {"recipes": {"Light Gray Bed_1": [ + "Wood_5", + "Light Gray Wool_3" + ]}} } -} +} \ No newline at end of file From 9e2e579f036df7e2cc9c333b7dcd84ed580bc790 Mon Sep 17 00:00:00 2001 From: Litorom Date: Thu, 29 Aug 2024 15:51:21 -0400 Subject: [PATCH 59/59] Convert to RED instead of WHITE due to texture --- src/client/java/minicraft/entity/furniture/Bed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/java/minicraft/entity/furniture/Bed.java b/src/client/java/minicraft/entity/furniture/Bed.java index bd849a494..d385e937a 100644 --- a/src/client/java/minicraft/entity/furniture/Bed.java +++ b/src/client/java/minicraft/entity/furniture/Bed.java @@ -39,7 +39,7 @@ public class Bed extends Furniture { /** * Creates a new furniture with the name Bed and the bed sprite and color. */ - public Bed() { this(DyeItem.DyeColor.WHITE); } + public Bed() { this(DyeItem.DyeColor.RED); } public Bed(DyeItem.DyeColor color) { super(MyUtils.capitalizeFully(color.toString().replace('_', ' ')) + " Bed", sprites.get(color), itemSprites.get(color), 3, 2); this.color = color;