Skip to content

Commit

Permalink
fix recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
asakamifuyuka committed Apr 21, 2024
1 parent 2837573 commit a4139ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ public static double execute(LevelAccessor world, double x, double y, double z)
if (MystiasIzakayaModItems.TANG_YUAN.get() == target.getItem()) {
time = 60;
}
if (MystiasIzakayaModItems.SHUI_ZHU_YU.get() == target.getItem()) {
time = 96;
}
}
if (GetItemStack.getItemStack(world, BlockPos.containing(x, y, z), 0).getItem() == MystiasIzakayaModItems.ZHENG_GUO.get()) {
if (MystiasIzakayaModItems.HUAN_TAN_HUA_GAO.get() == target.getItem()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static String execute(LevelAccessor world, double x, double y, double z)
&& raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.MO_GU.get()).toString())) && raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.HAI_TAI.get()).toString()))) {
str = str + "$start%" + ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.ZHU_TONG_ZHENG_DAN.get()).toString() + "$end%";
}
if (raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.MO_GU.get()).toString())) && raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.NAN_GUA.get()).toString()))
if (raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.MO_GU.get()).toString())) && raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.YANG_CONG.get()).toString()))
&& raws.contains((ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.HUANG_YOU.get()).toString()))) {
str = str + "$start%" + ForgeRegistries.ITEMS.getKey(MystiasIzakayaModItems.NAI_YOU_TUN_CAI.get()).toString() + "$end%";
}
Expand Down

0 comments on commit a4139ec

Please sign in to comment.