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 c3eb584 commit 7a07bcb
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 @@ -72,6 +72,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, new BlockPos(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 @@ -46,7 +46,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 7a07bcb

Please sign in to comment.