plancraft 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (950) hide show
  1. plancraft/__init__.py +0 -0
  2. plancraft/config.py +155 -0
  3. plancraft/environments/__init__.py +0 -0
  4. plancraft/environments/actions.py +218 -0
  5. plancraft/environments/constants.json +64582 -0
  6. plancraft/environments/env_real.py +316 -0
  7. plancraft/environments/env_symbolic.py +212 -0
  8. plancraft/environments/items.py +10 -0
  9. plancraft/environments/planner.py +109 -0
  10. plancraft/environments/recipes/acacia_boat.json +16 -0
  11. plancraft/environments/recipes/acacia_button.json +12 -0
  12. plancraft/environments/recipes/acacia_door.json +18 -0
  13. plancraft/environments/recipes/acacia_fence.json +20 -0
  14. plancraft/environments/recipes/acacia_fence_gate.json +19 -0
  15. plancraft/environments/recipes/acacia_planks.json +13 -0
  16. plancraft/environments/recipes/acacia_pressure_plate.json +15 -0
  17. plancraft/environments/recipes/acacia_sign.json +21 -0
  18. plancraft/environments/recipes/acacia_slab.json +16 -0
  19. plancraft/environments/recipes/acacia_stairs.json +18 -0
  20. plancraft/environments/recipes/acacia_trapdoor.json +17 -0
  21. plancraft/environments/recipes/acacia_wood.json +17 -0
  22. plancraft/environments/recipes/activator_rail.json +23 -0
  23. plancraft/environments/recipes/andesite.json +15 -0
  24. plancraft/environments/recipes/andesite_slab.json +15 -0
  25. plancraft/environments/recipes/andesite_slab_from_andesite_stonecutting.json +8 -0
  26. plancraft/environments/recipes/andesite_stairs.json +17 -0
  27. plancraft/environments/recipes/andesite_stairs_from_andesite_stonecutting.json +8 -0
  28. plancraft/environments/recipes/andesite_wall.json +16 -0
  29. plancraft/environments/recipes/andesite_wall_from_andesite_stonecutting.json +8 -0
  30. plancraft/environments/recipes/anvil.json +19 -0
  31. plancraft/environments/recipes/armor_dye.json +3 -0
  32. plancraft/environments/recipes/armor_stand.json +19 -0
  33. plancraft/environments/recipes/arrow.json +23 -0
  34. plancraft/environments/recipes/baked_potato.json +9 -0
  35. plancraft/environments/recipes/baked_potato_from_campfire_cooking.json +9 -0
  36. plancraft/environments/recipes/baked_potato_from_smoking.json +9 -0
  37. plancraft/environments/recipes/banner_duplicate.json +3 -0
  38. plancraft/environments/recipes/barrel.json +19 -0
  39. plancraft/environments/recipes/beacon.json +22 -0
  40. plancraft/environments/recipes/beehive.json +19 -0
  41. plancraft/environments/recipes/beetroot_soup.json +29 -0
  42. plancraft/environments/recipes/birch_boat.json +16 -0
  43. plancraft/environments/recipes/birch_button.json +12 -0
  44. plancraft/environments/recipes/birch_door.json +18 -0
  45. plancraft/environments/recipes/birch_fence.json +20 -0
  46. plancraft/environments/recipes/birch_fence_gate.json +19 -0
  47. plancraft/environments/recipes/birch_planks.json +13 -0
  48. plancraft/environments/recipes/birch_pressure_plate.json +15 -0
  49. plancraft/environments/recipes/birch_sign.json +21 -0
  50. plancraft/environments/recipes/birch_slab.json +16 -0
  51. plancraft/environments/recipes/birch_stairs.json +18 -0
  52. plancraft/environments/recipes/birch_trapdoor.json +17 -0
  53. plancraft/environments/recipes/birch_wood.json +17 -0
  54. plancraft/environments/recipes/black_banner.json +20 -0
  55. plancraft/environments/recipes/black_bed.json +19 -0
  56. plancraft/environments/recipes/black_bed_from_white_bed.json +15 -0
  57. plancraft/environments/recipes/black_carpet.json +16 -0
  58. plancraft/environments/recipes/black_carpet_from_white_carpet.json +21 -0
  59. plancraft/environments/recipes/black_concrete_powder.json +37 -0
  60. plancraft/environments/recipes/black_dye.json +12 -0
  61. plancraft/environments/recipes/black_dye_from_wither_rose.json +12 -0
  62. plancraft/environments/recipes/black_glazed_terracotta.json +9 -0
  63. plancraft/environments/recipes/black_stained_glass.json +21 -0
  64. plancraft/environments/recipes/black_stained_glass_pane.json +17 -0
  65. plancraft/environments/recipes/black_stained_glass_pane_from_glass_pane.json +21 -0
  66. plancraft/environments/recipes/black_terracotta.json +21 -0
  67. plancraft/environments/recipes/black_wool.json +15 -0
  68. plancraft/environments/recipes/blackstone_slab.json +15 -0
  69. plancraft/environments/recipes/blackstone_slab_from_blackstone_stonecutting.json +8 -0
  70. plancraft/environments/recipes/blackstone_stairs.json +17 -0
  71. plancraft/environments/recipes/blackstone_stairs_from_blackstone_stonecutting.json +8 -0
  72. plancraft/environments/recipes/blackstone_wall.json +16 -0
  73. plancraft/environments/recipes/blackstone_wall_from_blackstone_stonecutting.json +8 -0
  74. plancraft/environments/recipes/blast_furnace.json +22 -0
  75. plancraft/environments/recipes/blaze_powder.json +12 -0
  76. plancraft/environments/recipes/blue_banner.json +20 -0
  77. plancraft/environments/recipes/blue_bed.json +19 -0
  78. plancraft/environments/recipes/blue_bed_from_white_bed.json +15 -0
  79. plancraft/environments/recipes/blue_carpet.json +16 -0
  80. plancraft/environments/recipes/blue_carpet_from_white_carpet.json +21 -0
  81. plancraft/environments/recipes/blue_concrete_powder.json +37 -0
  82. plancraft/environments/recipes/blue_dye.json +12 -0
  83. plancraft/environments/recipes/blue_dye_from_cornflower.json +12 -0
  84. plancraft/environments/recipes/blue_glazed_terracotta.json +9 -0
  85. plancraft/environments/recipes/blue_ice.json +16 -0
  86. plancraft/environments/recipes/blue_stained_glass.json +21 -0
  87. plancraft/environments/recipes/blue_stained_glass_pane.json +17 -0
  88. plancraft/environments/recipes/blue_stained_glass_pane_from_glass_pane.json +21 -0
  89. plancraft/environments/recipes/blue_terracotta.json +21 -0
  90. plancraft/environments/recipes/blue_wool.json +15 -0
  91. plancraft/environments/recipes/bone_block.json +16 -0
  92. plancraft/environments/recipes/bone_meal.json +13 -0
  93. plancraft/environments/recipes/bone_meal_from_bone_block.json +13 -0
  94. plancraft/environments/recipes/book.json +20 -0
  95. plancraft/environments/recipes/book_cloning.json +3 -0
  96. plancraft/environments/recipes/bookshelf.json +19 -0
  97. plancraft/environments/recipes/bow.json +19 -0
  98. plancraft/environments/recipes/bowl.json +16 -0
  99. plancraft/environments/recipes/bread.json +14 -0
  100. plancraft/environments/recipes/brewing_stand.json +18 -0
  101. plancraft/environments/recipes/brick.json +9 -0
  102. plancraft/environments/recipes/brick_slab.json +15 -0
  103. plancraft/environments/recipes/brick_slab_from_bricks_stonecutting.json +8 -0
  104. plancraft/environments/recipes/brick_stairs.json +17 -0
  105. plancraft/environments/recipes/brick_stairs_from_bricks_stonecutting.json +8 -0
  106. plancraft/environments/recipes/brick_wall.json +16 -0
  107. plancraft/environments/recipes/brick_wall_from_bricks_stonecutting.json +8 -0
  108. plancraft/environments/recipes/bricks.json +15 -0
  109. plancraft/environments/recipes/brown_banner.json +20 -0
  110. plancraft/environments/recipes/brown_bed.json +19 -0
  111. plancraft/environments/recipes/brown_bed_from_white_bed.json +15 -0
  112. plancraft/environments/recipes/brown_carpet.json +16 -0
  113. plancraft/environments/recipes/brown_carpet_from_white_carpet.json +21 -0
  114. plancraft/environments/recipes/brown_concrete_powder.json +37 -0
  115. plancraft/environments/recipes/brown_dye.json +12 -0
  116. plancraft/environments/recipes/brown_glazed_terracotta.json +9 -0
  117. plancraft/environments/recipes/brown_stained_glass.json +21 -0
  118. plancraft/environments/recipes/brown_stained_glass_pane.json +17 -0
  119. plancraft/environments/recipes/brown_stained_glass_pane_from_glass_pane.json +21 -0
  120. plancraft/environments/recipes/brown_terracotta.json +21 -0
  121. plancraft/environments/recipes/brown_wool.json +15 -0
  122. plancraft/environments/recipes/bucket.json +15 -0
  123. plancraft/environments/recipes/cake.json +25 -0
  124. plancraft/environments/recipes/campfire.json +22 -0
  125. plancraft/environments/recipes/carrot_on_a_stick.json +18 -0
  126. plancraft/environments/recipes/cartography_table.json +19 -0
  127. plancraft/environments/recipes/cauldron.json +16 -0
  128. plancraft/environments/recipes/chain.json +19 -0
  129. plancraft/environments/recipes/charcoal.json +9 -0
  130. plancraft/environments/recipes/chest.json +16 -0
  131. plancraft/environments/recipes/chest_minecart.json +18 -0
  132. plancraft/environments/recipes/chiseled_nether_bricks.json +15 -0
  133. plancraft/environments/recipes/chiseled_nether_bricks_from_nether_bricks_stonecutting.json +8 -0
  134. plancraft/environments/recipes/chiseled_polished_blackstone.json +15 -0
  135. plancraft/environments/recipes/chiseled_polished_blackstone_from_blackstone_stonecutting.json +8 -0
  136. plancraft/environments/recipes/chiseled_polished_blackstone_from_polished_blackstone_stonecutting.json +8 -0
  137. plancraft/environments/recipes/chiseled_quartz_block.json +15 -0
  138. plancraft/environments/recipes/chiseled_quartz_block_from_quartz_block_stonecutting.json +8 -0
  139. plancraft/environments/recipes/chiseled_red_sandstone.json +15 -0
  140. plancraft/environments/recipes/chiseled_red_sandstone_from_red_sandstone_stonecutting.json +8 -0
  141. plancraft/environments/recipes/chiseled_sandstone.json +15 -0
  142. plancraft/environments/recipes/chiseled_sandstone_from_sandstone_stonecutting.json +8 -0
  143. plancraft/environments/recipes/chiseled_stone_bricks.json +15 -0
  144. plancraft/environments/recipes/chiseled_stone_bricks_from_stone_bricks_stonecutting.json +8 -0
  145. plancraft/environments/recipes/chiseled_stone_bricks_stone_from_stonecutting.json +8 -0
  146. plancraft/environments/recipes/clay.json +15 -0
  147. plancraft/environments/recipes/clock.json +19 -0
  148. plancraft/environments/recipes/coal.json +12 -0
  149. plancraft/environments/recipes/coal_block.json +16 -0
  150. plancraft/environments/recipes/coal_from_blasting.json +9 -0
  151. plancraft/environments/recipes/coal_from_smelting.json +9 -0
  152. plancraft/environments/recipes/coarse_dirt.json +19 -0
  153. plancraft/environments/recipes/cobblestone_slab.json +15 -0
  154. plancraft/environments/recipes/cobblestone_slab_from_cobblestone_stonecutting.json +8 -0
  155. plancraft/environments/recipes/cobblestone_stairs.json +17 -0
  156. plancraft/environments/recipes/cobblestone_stairs_from_cobblestone_stonecutting.json +8 -0
  157. plancraft/environments/recipes/cobblestone_wall.json +16 -0
  158. plancraft/environments/recipes/cobblestone_wall_from_cobblestone_stonecutting.json +8 -0
  159. plancraft/environments/recipes/comparator.json +22 -0
  160. plancraft/environments/recipes/compass.json +19 -0
  161. plancraft/environments/recipes/composter.json +16 -0
  162. plancraft/environments/recipes/conduit.json +19 -0
  163. plancraft/environments/recipes/cooked_beef.json +9 -0
  164. plancraft/environments/recipes/cooked_beef_from_campfire_cooking.json +9 -0
  165. plancraft/environments/recipes/cooked_beef_from_smoking.json +9 -0
  166. plancraft/environments/recipes/cooked_chicken.json +9 -0
  167. plancraft/environments/recipes/cooked_chicken_from_campfire_cooking.json +9 -0
  168. plancraft/environments/recipes/cooked_chicken_from_smoking.json +9 -0
  169. plancraft/environments/recipes/cooked_cod.json +9 -0
  170. plancraft/environments/recipes/cooked_cod_from_campfire_cooking.json +9 -0
  171. plancraft/environments/recipes/cooked_cod_from_smoking.json +9 -0
  172. plancraft/environments/recipes/cooked_mutton.json +9 -0
  173. plancraft/environments/recipes/cooked_mutton_from_campfire_cooking.json +9 -0
  174. plancraft/environments/recipes/cooked_mutton_from_smoking.json +9 -0
  175. plancraft/environments/recipes/cooked_porkchop.json +9 -0
  176. plancraft/environments/recipes/cooked_porkchop_from_campfire_cooking.json +9 -0
  177. plancraft/environments/recipes/cooked_porkchop_from_smoking.json +9 -0
  178. plancraft/environments/recipes/cooked_rabbit.json +9 -0
  179. plancraft/environments/recipes/cooked_rabbit_from_campfire_cooking.json +9 -0
  180. plancraft/environments/recipes/cooked_rabbit_from_smoking.json +9 -0
  181. plancraft/environments/recipes/cooked_salmon.json +9 -0
  182. plancraft/environments/recipes/cooked_salmon_from_campfire_cooking.json +9 -0
  183. plancraft/environments/recipes/cooked_salmon_from_smoking.json +9 -0
  184. plancraft/environments/recipes/cookie.json +18 -0
  185. plancraft/environments/recipes/cracked_nether_bricks.json +9 -0
  186. plancraft/environments/recipes/cracked_polished_blackstone_bricks.json +9 -0
  187. plancraft/environments/recipes/cracked_stone_bricks.json +9 -0
  188. plancraft/environments/recipes/crafting_table.json +15 -0
  189. plancraft/environments/recipes/creeper_banner_pattern.json +14 -0
  190. plancraft/environments/recipes/crimson_button.json +12 -0
  191. plancraft/environments/recipes/crimson_door.json +18 -0
  192. plancraft/environments/recipes/crimson_fence.json +20 -0
  193. plancraft/environments/recipes/crimson_fence_gate.json +19 -0
  194. plancraft/environments/recipes/crimson_hyphae.json +17 -0
  195. plancraft/environments/recipes/crimson_planks.json +13 -0
  196. plancraft/environments/recipes/crimson_pressure_plate.json +15 -0
  197. plancraft/environments/recipes/crimson_sign.json +21 -0
  198. plancraft/environments/recipes/crimson_slab.json +16 -0
  199. plancraft/environments/recipes/crimson_stairs.json +18 -0
  200. plancraft/environments/recipes/crimson_trapdoor.json +17 -0
  201. plancraft/environments/recipes/crossbow.json +25 -0
  202. plancraft/environments/recipes/cut_red_sandstone.json +16 -0
  203. plancraft/environments/recipes/cut_red_sandstone_from_red_sandstone_stonecutting.json +8 -0
  204. plancraft/environments/recipes/cut_red_sandstone_slab.json +15 -0
  205. plancraft/environments/recipes/cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting.json +8 -0
  206. plancraft/environments/recipes/cut_red_sandstone_slab_from_red_sandstone_stonecutting.json +8 -0
  207. plancraft/environments/recipes/cut_sandstone.json +16 -0
  208. plancraft/environments/recipes/cut_sandstone_from_sandstone_stonecutting.json +8 -0
  209. plancraft/environments/recipes/cut_sandstone_slab.json +15 -0
  210. plancraft/environments/recipes/cut_sandstone_slab_from_cut_sandstone_stonecutting.json +8 -0
  211. plancraft/environments/recipes/cut_sandstone_slab_from_sandstone_stonecutting.json +8 -0
  212. plancraft/environments/recipes/cyan_banner.json +20 -0
  213. plancraft/environments/recipes/cyan_bed.json +19 -0
  214. plancraft/environments/recipes/cyan_bed_from_white_bed.json +15 -0
  215. plancraft/environments/recipes/cyan_carpet.json +16 -0
  216. plancraft/environments/recipes/cyan_carpet_from_white_carpet.json +21 -0
  217. plancraft/environments/recipes/cyan_concrete_powder.json +37 -0
  218. plancraft/environments/recipes/cyan_dye.json +15 -0
  219. plancraft/environments/recipes/cyan_glazed_terracotta.json +9 -0
  220. plancraft/environments/recipes/cyan_stained_glass.json +21 -0
  221. plancraft/environments/recipes/cyan_stained_glass_pane.json +17 -0
  222. plancraft/environments/recipes/cyan_stained_glass_pane_from_glass_pane.json +21 -0
  223. plancraft/environments/recipes/cyan_terracotta.json +21 -0
  224. plancraft/environments/recipes/cyan_wool.json +15 -0
  225. plancraft/environments/recipes/dark_oak_boat.json +16 -0
  226. plancraft/environments/recipes/dark_oak_button.json +12 -0
  227. plancraft/environments/recipes/dark_oak_door.json +18 -0
  228. plancraft/environments/recipes/dark_oak_fence.json +20 -0
  229. plancraft/environments/recipes/dark_oak_fence_gate.json +19 -0
  230. plancraft/environments/recipes/dark_oak_planks.json +13 -0
  231. plancraft/environments/recipes/dark_oak_pressure_plate.json +15 -0
  232. plancraft/environments/recipes/dark_oak_sign.json +21 -0
  233. plancraft/environments/recipes/dark_oak_slab.json +16 -0
  234. plancraft/environments/recipes/dark_oak_stairs.json +18 -0
  235. plancraft/environments/recipes/dark_oak_trapdoor.json +17 -0
  236. plancraft/environments/recipes/dark_oak_wood.json +17 -0
  237. plancraft/environments/recipes/dark_prismarine.json +19 -0
  238. plancraft/environments/recipes/dark_prismarine_slab.json +15 -0
  239. plancraft/environments/recipes/dark_prismarine_slab_from_dark_prismarine_stonecutting.json +8 -0
  240. plancraft/environments/recipes/dark_prismarine_stairs.json +17 -0
  241. plancraft/environments/recipes/dark_prismarine_stairs_from_dark_prismarine_stonecutting.json +8 -0
  242. plancraft/environments/recipes/daylight_detector.json +22 -0
  243. plancraft/environments/recipes/detector_rail.json +23 -0
  244. plancraft/environments/recipes/diamond.json +12 -0
  245. plancraft/environments/recipes/diamond_axe.json +19 -0
  246. plancraft/environments/recipes/diamond_block.json +16 -0
  247. plancraft/environments/recipes/diamond_boots.json +15 -0
  248. plancraft/environments/recipes/diamond_chestplate.json +16 -0
  249. plancraft/environments/recipes/diamond_from_blasting.json +9 -0
  250. plancraft/environments/recipes/diamond_from_smelting.json +9 -0
  251. plancraft/environments/recipes/diamond_helmet.json +15 -0
  252. plancraft/environments/recipes/diamond_hoe.json +19 -0
  253. plancraft/environments/recipes/diamond_leggings.json +16 -0
  254. plancraft/environments/recipes/diamond_pickaxe.json +19 -0
  255. plancraft/environments/recipes/diamond_shovel.json +19 -0
  256. plancraft/environments/recipes/diamond_sword.json +19 -0
  257. plancraft/environments/recipes/diorite.json +19 -0
  258. plancraft/environments/recipes/diorite_slab.json +15 -0
  259. plancraft/environments/recipes/diorite_slab_from_diorite_stonecutting.json +8 -0
  260. plancraft/environments/recipes/diorite_stairs.json +17 -0
  261. plancraft/environments/recipes/diorite_stairs_from_diorite_stonecutting.json +8 -0
  262. plancraft/environments/recipes/diorite_wall.json +16 -0
  263. plancraft/environments/recipes/diorite_wall_from_diorite_stonecutting.json +8 -0
  264. plancraft/environments/recipes/dispenser.json +22 -0
  265. plancraft/environments/recipes/dried_kelp.json +12 -0
  266. plancraft/environments/recipes/dried_kelp_block.json +35 -0
  267. plancraft/environments/recipes/dried_kelp_from_campfire_cooking.json +9 -0
  268. plancraft/environments/recipes/dried_kelp_from_smelting.json +9 -0
  269. plancraft/environments/recipes/dried_kelp_from_smoking.json +9 -0
  270. plancraft/environments/recipes/dropper.json +19 -0
  271. plancraft/environments/recipes/emerald.json +12 -0
  272. plancraft/environments/recipes/emerald_block.json +16 -0
  273. plancraft/environments/recipes/emerald_from_blasting.json +9 -0
  274. plancraft/environments/recipes/emerald_from_smelting.json +9 -0
  275. plancraft/environments/recipes/enchanting_table.json +22 -0
  276. plancraft/environments/recipes/end_crystal.json +22 -0
  277. plancraft/environments/recipes/end_rod.json +19 -0
  278. plancraft/environments/recipes/end_stone_brick_slab.json +15 -0
  279. plancraft/environments/recipes/end_stone_brick_slab_from_end_stone_brick_stonecutting.json +8 -0
  280. plancraft/environments/recipes/end_stone_brick_slab_from_end_stone_stonecutting.json +8 -0
  281. plancraft/environments/recipes/end_stone_brick_stairs.json +17 -0
  282. plancraft/environments/recipes/end_stone_brick_stairs_from_end_stone_brick_stonecutting.json +8 -0
  283. plancraft/environments/recipes/end_stone_brick_stairs_from_end_stone_stonecutting.json +8 -0
  284. plancraft/environments/recipes/end_stone_brick_wall.json +16 -0
  285. plancraft/environments/recipes/end_stone_brick_wall_from_end_stone_brick_stonecutting.json +8 -0
  286. plancraft/environments/recipes/end_stone_brick_wall_from_end_stone_stonecutting.json +8 -0
  287. plancraft/environments/recipes/end_stone_bricks.json +16 -0
  288. plancraft/environments/recipes/end_stone_bricks_from_end_stone_stonecutting.json +8 -0
  289. plancraft/environments/recipes/ender_chest.json +19 -0
  290. plancraft/environments/recipes/ender_eye.json +14 -0
  291. plancraft/environments/recipes/fermented_spider_eye.json +17 -0
  292. plancraft/environments/recipes/fire_charge.json +23 -0
  293. plancraft/environments/recipes/firework_rocket.json +3 -0
  294. plancraft/environments/recipes/firework_star.json +3 -0
  295. plancraft/environments/recipes/firework_star_fade.json +3 -0
  296. plancraft/environments/recipes/fishing_rod.json +19 -0
  297. plancraft/environments/recipes/fletching_table.json +19 -0
  298. plancraft/environments/recipes/flint_and_steel.json +14 -0
  299. plancraft/environments/recipes/flower_banner_pattern.json +14 -0
  300. plancraft/environments/recipes/flower_pot.json +15 -0
  301. plancraft/environments/recipes/furnace.json +16 -0
  302. plancraft/environments/recipes/furnace_minecart.json +18 -0
  303. plancraft/environments/recipes/glass.json +9 -0
  304. plancraft/environments/recipes/glass_bottle.json +16 -0
  305. plancraft/environments/recipes/glass_pane.json +16 -0
  306. plancraft/environments/recipes/glistering_melon_slice.json +19 -0
  307. plancraft/environments/recipes/glowstone.json +15 -0
  308. plancraft/environments/recipes/gold_block.json +16 -0
  309. plancraft/environments/recipes/gold_ingot.json +9 -0
  310. plancraft/environments/recipes/gold_ingot_from_blasting.json +9 -0
  311. plancraft/environments/recipes/gold_ingot_from_gold_block.json +13 -0
  312. plancraft/environments/recipes/gold_ingot_from_nuggets.json +17 -0
  313. plancraft/environments/recipes/gold_nugget.json +12 -0
  314. plancraft/environments/recipes/gold_nugget_from_blasting.json +38 -0
  315. plancraft/environments/recipes/gold_nugget_from_smelting.json +38 -0
  316. plancraft/environments/recipes/golden_apple.json +19 -0
  317. plancraft/environments/recipes/golden_axe.json +19 -0
  318. plancraft/environments/recipes/golden_boots.json +15 -0
  319. plancraft/environments/recipes/golden_carrot.json +19 -0
  320. plancraft/environments/recipes/golden_chestplate.json +16 -0
  321. plancraft/environments/recipes/golden_helmet.json +15 -0
  322. plancraft/environments/recipes/golden_hoe.json +19 -0
  323. plancraft/environments/recipes/golden_leggings.json +16 -0
  324. plancraft/environments/recipes/golden_pickaxe.json +19 -0
  325. plancraft/environments/recipes/golden_shovel.json +19 -0
  326. plancraft/environments/recipes/golden_sword.json +19 -0
  327. plancraft/environments/recipes/granite.json +14 -0
  328. plancraft/environments/recipes/granite_slab.json +15 -0
  329. plancraft/environments/recipes/granite_slab_from_granite_stonecutting.json +8 -0
  330. plancraft/environments/recipes/granite_stairs.json +17 -0
  331. plancraft/environments/recipes/granite_stairs_from_granite_stonecutting.json +8 -0
  332. plancraft/environments/recipes/granite_wall.json +16 -0
  333. plancraft/environments/recipes/granite_wall_from_granite_stonecutting.json +8 -0
  334. plancraft/environments/recipes/gray_banner.json +20 -0
  335. plancraft/environments/recipes/gray_bed.json +19 -0
  336. plancraft/environments/recipes/gray_bed_from_white_bed.json +15 -0
  337. plancraft/environments/recipes/gray_carpet.json +16 -0
  338. plancraft/environments/recipes/gray_carpet_from_white_carpet.json +21 -0
  339. plancraft/environments/recipes/gray_concrete_powder.json +37 -0
  340. plancraft/environments/recipes/gray_dye.json +15 -0
  341. plancraft/environments/recipes/gray_glazed_terracotta.json +9 -0
  342. plancraft/environments/recipes/gray_stained_glass.json +21 -0
  343. plancraft/environments/recipes/gray_stained_glass_pane.json +17 -0
  344. plancraft/environments/recipes/gray_stained_glass_pane_from_glass_pane.json +21 -0
  345. plancraft/environments/recipes/gray_terracotta.json +21 -0
  346. plancraft/environments/recipes/gray_wool.json +15 -0
  347. plancraft/environments/recipes/green_banner.json +20 -0
  348. plancraft/environments/recipes/green_bed.json +19 -0
  349. plancraft/environments/recipes/green_bed_from_white_bed.json +15 -0
  350. plancraft/environments/recipes/green_carpet.json +16 -0
  351. plancraft/environments/recipes/green_carpet_from_white_carpet.json +21 -0
  352. plancraft/environments/recipes/green_concrete_powder.json +37 -0
  353. plancraft/environments/recipes/green_dye.json +9 -0
  354. plancraft/environments/recipes/green_glazed_terracotta.json +9 -0
  355. plancraft/environments/recipes/green_stained_glass.json +21 -0
  356. plancraft/environments/recipes/green_stained_glass_pane.json +17 -0
  357. plancraft/environments/recipes/green_stained_glass_pane_from_glass_pane.json +21 -0
  358. plancraft/environments/recipes/green_terracotta.json +21 -0
  359. plancraft/environments/recipes/green_wool.json +15 -0
  360. plancraft/environments/recipes/grindstone.json +21 -0
  361. plancraft/environments/recipes/hay_block.json +16 -0
  362. plancraft/environments/recipes/heavy_weighted_pressure_plate.json +14 -0
  363. plancraft/environments/recipes/honey_block.json +15 -0
  364. plancraft/environments/recipes/honey_bottle.json +24 -0
  365. plancraft/environments/recipes/honeycomb_block.json +15 -0
  366. plancraft/environments/recipes/hopper.json +19 -0
  367. plancraft/environments/recipes/hopper_minecart.json +18 -0
  368. plancraft/environments/recipes/iron_axe.json +19 -0
  369. plancraft/environments/recipes/iron_bars.json +16 -0
  370. plancraft/environments/recipes/iron_block.json +16 -0
  371. plancraft/environments/recipes/iron_boots.json +15 -0
  372. plancraft/environments/recipes/iron_chestplate.json +16 -0
  373. plancraft/environments/recipes/iron_door.json +17 -0
  374. plancraft/environments/recipes/iron_helmet.json +15 -0
  375. plancraft/environments/recipes/iron_hoe.json +19 -0
  376. plancraft/environments/recipes/iron_ingot.json +9 -0
  377. plancraft/environments/recipes/iron_ingot_from_blasting.json +9 -0
  378. plancraft/environments/recipes/iron_ingot_from_iron_block.json +13 -0
  379. plancraft/environments/recipes/iron_ingot_from_nuggets.json +17 -0
  380. plancraft/environments/recipes/iron_leggings.json +16 -0
  381. plancraft/environments/recipes/iron_nugget.json +12 -0
  382. plancraft/environments/recipes/iron_nugget_from_blasting.json +50 -0
  383. plancraft/environments/recipes/iron_nugget_from_smelting.json +50 -0
  384. plancraft/environments/recipes/iron_pickaxe.json +19 -0
  385. plancraft/environments/recipes/iron_shovel.json +19 -0
  386. plancraft/environments/recipes/iron_sword.json +19 -0
  387. plancraft/environments/recipes/iron_trapdoor.json +15 -0
  388. plancraft/environments/recipes/item_frame.json +19 -0
  389. plancraft/environments/recipes/jack_o_lantern.json +18 -0
  390. plancraft/environments/recipes/jukebox.json +19 -0
  391. plancraft/environments/recipes/jungle_boat.json +16 -0
  392. plancraft/environments/recipes/jungle_button.json +12 -0
  393. plancraft/environments/recipes/jungle_door.json +18 -0
  394. plancraft/environments/recipes/jungle_fence.json +20 -0
  395. plancraft/environments/recipes/jungle_fence_gate.json +19 -0
  396. plancraft/environments/recipes/jungle_planks.json +13 -0
  397. plancraft/environments/recipes/jungle_pressure_plate.json +15 -0
  398. plancraft/environments/recipes/jungle_sign.json +21 -0
  399. plancraft/environments/recipes/jungle_slab.json +16 -0
  400. plancraft/environments/recipes/jungle_stairs.json +18 -0
  401. plancraft/environments/recipes/jungle_trapdoor.json +17 -0
  402. plancraft/environments/recipes/jungle_wood.json +17 -0
  403. plancraft/environments/recipes/ladder.json +17 -0
  404. plancraft/environments/recipes/lantern.json +19 -0
  405. plancraft/environments/recipes/lapis_block.json +16 -0
  406. plancraft/environments/recipes/lapis_from_blasting.json +9 -0
  407. plancraft/environments/recipes/lapis_from_smelting.json +9 -0
  408. plancraft/environments/recipes/lapis_lazuli.json +12 -0
  409. plancraft/environments/recipes/lead.json +20 -0
  410. plancraft/environments/recipes/leather.json +15 -0
  411. plancraft/environments/recipes/leather_boots.json +15 -0
  412. plancraft/environments/recipes/leather_chestplate.json +16 -0
  413. plancraft/environments/recipes/leather_helmet.json +15 -0
  414. plancraft/environments/recipes/leather_horse_armor.json +16 -0
  415. plancraft/environments/recipes/leather_leggings.json +16 -0
  416. plancraft/environments/recipes/lectern.json +19 -0
  417. plancraft/environments/recipes/lever.json +18 -0
  418. plancraft/environments/recipes/light_blue_banner.json +20 -0
  419. plancraft/environments/recipes/light_blue_bed.json +19 -0
  420. plancraft/environments/recipes/light_blue_bed_from_white_bed.json +15 -0
  421. plancraft/environments/recipes/light_blue_carpet.json +16 -0
  422. plancraft/environments/recipes/light_blue_carpet_from_white_carpet.json +21 -0
  423. plancraft/environments/recipes/light_blue_concrete_powder.json +37 -0
  424. plancraft/environments/recipes/light_blue_dye_from_blue_orchid.json +12 -0
  425. plancraft/environments/recipes/light_blue_dye_from_blue_white_dye.json +16 -0
  426. plancraft/environments/recipes/light_blue_glazed_terracotta.json +9 -0
  427. plancraft/environments/recipes/light_blue_stained_glass.json +21 -0
  428. plancraft/environments/recipes/light_blue_stained_glass_pane.json +17 -0
  429. plancraft/environments/recipes/light_blue_stained_glass_pane_from_glass_pane.json +21 -0
  430. plancraft/environments/recipes/light_blue_terracotta.json +21 -0
  431. plancraft/environments/recipes/light_blue_wool.json +15 -0
  432. plancraft/environments/recipes/light_gray_banner.json +20 -0
  433. plancraft/environments/recipes/light_gray_bed.json +19 -0
  434. plancraft/environments/recipes/light_gray_bed_from_white_bed.json +15 -0
  435. plancraft/environments/recipes/light_gray_carpet.json +16 -0
  436. plancraft/environments/recipes/light_gray_carpet_from_white_carpet.json +21 -0
  437. plancraft/environments/recipes/light_gray_concrete_powder.json +37 -0
  438. plancraft/environments/recipes/light_gray_dye_from_azure_bluet.json +12 -0
  439. plancraft/environments/recipes/light_gray_dye_from_black_white_dye.json +19 -0
  440. plancraft/environments/recipes/light_gray_dye_from_gray_white_dye.json +16 -0
  441. plancraft/environments/recipes/light_gray_dye_from_oxeye_daisy.json +12 -0
  442. plancraft/environments/recipes/light_gray_dye_from_white_tulip.json +12 -0
  443. plancraft/environments/recipes/light_gray_glazed_terracotta.json +9 -0
  444. plancraft/environments/recipes/light_gray_stained_glass.json +21 -0
  445. plancraft/environments/recipes/light_gray_stained_glass_pane.json +17 -0
  446. plancraft/environments/recipes/light_gray_stained_glass_pane_from_glass_pane.json +21 -0
  447. plancraft/environments/recipes/light_gray_terracotta.json +21 -0
  448. plancraft/environments/recipes/light_gray_wool.json +15 -0
  449. plancraft/environments/recipes/light_weighted_pressure_plate.json +14 -0
  450. plancraft/environments/recipes/lime_banner.json +20 -0
  451. plancraft/environments/recipes/lime_bed.json +19 -0
  452. plancraft/environments/recipes/lime_bed_from_white_bed.json +15 -0
  453. plancraft/environments/recipes/lime_carpet.json +16 -0
  454. plancraft/environments/recipes/lime_carpet_from_white_carpet.json +21 -0
  455. plancraft/environments/recipes/lime_concrete_powder.json +37 -0
  456. plancraft/environments/recipes/lime_dye.json +15 -0
  457. plancraft/environments/recipes/lime_dye_from_smelting.json +9 -0
  458. plancraft/environments/recipes/lime_glazed_terracotta.json +9 -0
  459. plancraft/environments/recipes/lime_stained_glass.json +21 -0
  460. plancraft/environments/recipes/lime_stained_glass_pane.json +17 -0
  461. plancraft/environments/recipes/lime_stained_glass_pane_from_glass_pane.json +21 -0
  462. plancraft/environments/recipes/lime_terracotta.json +21 -0
  463. plancraft/environments/recipes/lime_wool.json +15 -0
  464. plancraft/environments/recipes/lodestone.json +19 -0
  465. plancraft/environments/recipes/loom.json +18 -0
  466. plancraft/environments/recipes/magenta_banner.json +20 -0
  467. plancraft/environments/recipes/magenta_bed.json +19 -0
  468. plancraft/environments/recipes/magenta_bed_from_white_bed.json +15 -0
  469. plancraft/environments/recipes/magenta_carpet.json +16 -0
  470. plancraft/environments/recipes/magenta_carpet_from_white_carpet.json +21 -0
  471. plancraft/environments/recipes/magenta_concrete_powder.json +37 -0
  472. plancraft/environments/recipes/magenta_dye_from_allium.json +12 -0
  473. plancraft/environments/recipes/magenta_dye_from_blue_red_pink.json +19 -0
  474. plancraft/environments/recipes/magenta_dye_from_blue_red_white_dye.json +22 -0
  475. plancraft/environments/recipes/magenta_dye_from_lilac.json +13 -0
  476. plancraft/environments/recipes/magenta_dye_from_purple_and_pink.json +16 -0
  477. plancraft/environments/recipes/magenta_glazed_terracotta.json +9 -0
  478. plancraft/environments/recipes/magenta_stained_glass.json +21 -0
  479. plancraft/environments/recipes/magenta_stained_glass_pane.json +17 -0
  480. plancraft/environments/recipes/magenta_stained_glass_pane_from_glass_pane.json +21 -0
  481. plancraft/environments/recipes/magenta_terracotta.json +21 -0
  482. plancraft/environments/recipes/magenta_wool.json +15 -0
  483. plancraft/environments/recipes/magma_block.json +15 -0
  484. plancraft/environments/recipes/magma_cream.json +14 -0
  485. plancraft/environments/recipes/map.json +19 -0
  486. plancraft/environments/recipes/map_cloning.json +3 -0
  487. plancraft/environments/recipes/map_extending.json +3 -0
  488. plancraft/environments/recipes/melon.json +16 -0
  489. plancraft/environments/recipes/melon_seeds.json +11 -0
  490. plancraft/environments/recipes/minecart.json +15 -0
  491. plancraft/environments/recipes/mojang_banner_pattern.json +14 -0
  492. plancraft/environments/recipes/mossy_cobblestone.json +14 -0
  493. plancraft/environments/recipes/mossy_cobblestone_slab.json +15 -0
  494. plancraft/environments/recipes/mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting.json +8 -0
  495. plancraft/environments/recipes/mossy_cobblestone_stairs.json +17 -0
  496. plancraft/environments/recipes/mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting.json +8 -0
  497. plancraft/environments/recipes/mossy_cobblestone_wall.json +16 -0
  498. plancraft/environments/recipes/mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting.json +8 -0
  499. plancraft/environments/recipes/mossy_stone_brick_slab.json +15 -0
  500. plancraft/environments/recipes/mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting.json +8 -0
  501. plancraft/environments/recipes/mossy_stone_brick_stairs.json +17 -0
  502. plancraft/environments/recipes/mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting.json +8 -0
  503. plancraft/environments/recipes/mossy_stone_brick_wall.json +16 -0
  504. plancraft/environments/recipes/mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting.json +8 -0
  505. plancraft/environments/recipes/mossy_stone_bricks.json +14 -0
  506. plancraft/environments/recipes/mushroom_stew.json +17 -0
  507. plancraft/environments/recipes/nether_brick.json +9 -0
  508. plancraft/environments/recipes/nether_brick_fence.json +19 -0
  509. plancraft/environments/recipes/nether_brick_slab.json +15 -0
  510. plancraft/environments/recipes/nether_brick_slab_from_nether_bricks_stonecutting.json +8 -0
  511. plancraft/environments/recipes/nether_brick_stairs.json +17 -0
  512. plancraft/environments/recipes/nether_brick_stairs_from_nether_bricks_stonecutting.json +8 -0
  513. plancraft/environments/recipes/nether_brick_wall.json +16 -0
  514. plancraft/environments/recipes/nether_brick_wall_from_nether_bricks_stonecutting.json +8 -0
  515. plancraft/environments/recipes/nether_bricks.json +15 -0
  516. plancraft/environments/recipes/nether_wart_block.json +16 -0
  517. plancraft/environments/recipes/netherite_axe_smithing.json +12 -0
  518. plancraft/environments/recipes/netherite_block.json +16 -0
  519. plancraft/environments/recipes/netherite_boots_smithing.json +12 -0
  520. plancraft/environments/recipes/netherite_chestplate_smithing.json +12 -0
  521. plancraft/environments/recipes/netherite_helmet_smithing.json +12 -0
  522. plancraft/environments/recipes/netherite_hoe_smithing.json +12 -0
  523. plancraft/environments/recipes/netherite_ingot.json +33 -0
  524. plancraft/environments/recipes/netherite_ingot_from_netherite_block.json +13 -0
  525. plancraft/environments/recipes/netherite_leggings_smithing.json +12 -0
  526. plancraft/environments/recipes/netherite_pickaxe_smithing.json +12 -0
  527. plancraft/environments/recipes/netherite_scrap.json +9 -0
  528. plancraft/environments/recipes/netherite_scrap_from_blasting.json +9 -0
  529. plancraft/environments/recipes/netherite_shovel_smithing.json +12 -0
  530. plancraft/environments/recipes/netherite_sword_smithing.json +12 -0
  531. plancraft/environments/recipes/note_block.json +19 -0
  532. plancraft/environments/recipes/oak_boat.json +16 -0
  533. plancraft/environments/recipes/oak_button.json +12 -0
  534. plancraft/environments/recipes/oak_door.json +18 -0
  535. plancraft/environments/recipes/oak_fence.json +20 -0
  536. plancraft/environments/recipes/oak_fence_gate.json +19 -0
  537. plancraft/environments/recipes/oak_planks.json +13 -0
  538. plancraft/environments/recipes/oak_pressure_plate.json +15 -0
  539. plancraft/environments/recipes/oak_sign.json +21 -0
  540. plancraft/environments/recipes/oak_slab.json +16 -0
  541. plancraft/environments/recipes/oak_stairs.json +18 -0
  542. plancraft/environments/recipes/oak_trapdoor.json +17 -0
  543. plancraft/environments/recipes/oak_wood.json +17 -0
  544. plancraft/environments/recipes/observer.json +22 -0
  545. plancraft/environments/recipes/orange_banner.json +20 -0
  546. plancraft/environments/recipes/orange_bed.json +19 -0
  547. plancraft/environments/recipes/orange_bed_from_white_bed.json +15 -0
  548. plancraft/environments/recipes/orange_carpet.json +16 -0
  549. plancraft/environments/recipes/orange_carpet_from_white_carpet.json +21 -0
  550. plancraft/environments/recipes/orange_concrete_powder.json +37 -0
  551. plancraft/environments/recipes/orange_dye_from_orange_tulip.json +12 -0
  552. plancraft/environments/recipes/orange_dye_from_red_yellow.json +16 -0
  553. plancraft/environments/recipes/orange_glazed_terracotta.json +9 -0
  554. plancraft/environments/recipes/orange_stained_glass.json +21 -0
  555. plancraft/environments/recipes/orange_stained_glass_pane.json +17 -0
  556. plancraft/environments/recipes/orange_stained_glass_pane_from_glass_pane.json +21 -0
  557. plancraft/environments/recipes/orange_terracotta.json +21 -0
  558. plancraft/environments/recipes/orange_wool.json +15 -0
  559. plancraft/environments/recipes/packed_ice.json +35 -0
  560. plancraft/environments/recipes/painting.json +19 -0
  561. plancraft/environments/recipes/paper.json +15 -0
  562. plancraft/environments/recipes/pink_banner.json +20 -0
  563. plancraft/environments/recipes/pink_bed.json +19 -0
  564. plancraft/environments/recipes/pink_bed_from_white_bed.json +15 -0
  565. plancraft/environments/recipes/pink_carpet.json +16 -0
  566. plancraft/environments/recipes/pink_carpet_from_white_carpet.json +21 -0
  567. plancraft/environments/recipes/pink_concrete_powder.json +37 -0
  568. plancraft/environments/recipes/pink_dye_from_peony.json +13 -0
  569. plancraft/environments/recipes/pink_dye_from_pink_tulip.json +12 -0
  570. plancraft/environments/recipes/pink_dye_from_red_white_dye.json +16 -0
  571. plancraft/environments/recipes/pink_glazed_terracotta.json +9 -0
  572. plancraft/environments/recipes/pink_stained_glass.json +21 -0
  573. plancraft/environments/recipes/pink_stained_glass_pane.json +17 -0
  574. plancraft/environments/recipes/pink_stained_glass_pane_from_glass_pane.json +21 -0
  575. plancraft/environments/recipes/pink_terracotta.json +21 -0
  576. plancraft/environments/recipes/pink_wool.json +15 -0
  577. plancraft/environments/recipes/piston.json +25 -0
  578. plancraft/environments/recipes/polished_andesite.json +16 -0
  579. plancraft/environments/recipes/polished_andesite_from_andesite_stonecutting.json +8 -0
  580. plancraft/environments/recipes/polished_andesite_slab.json +15 -0
  581. plancraft/environments/recipes/polished_andesite_slab_from_andesite_stonecutting.json +8 -0
  582. plancraft/environments/recipes/polished_andesite_slab_from_polished_andesite_stonecutting.json +8 -0
  583. plancraft/environments/recipes/polished_andesite_stairs.json +17 -0
  584. plancraft/environments/recipes/polished_andesite_stairs_from_andesite_stonecutting.json +8 -0
  585. plancraft/environments/recipes/polished_andesite_stairs_from_polished_andesite_stonecutting.json +8 -0
  586. plancraft/environments/recipes/polished_basalt.json +16 -0
  587. plancraft/environments/recipes/polished_basalt_from_basalt_stonecutting.json +8 -0
  588. plancraft/environments/recipes/polished_blackstone.json +16 -0
  589. plancraft/environments/recipes/polished_blackstone_brick_slab.json +15 -0
  590. plancraft/environments/recipes/polished_blackstone_brick_slab_from_blackstone_stonecutting.json +8 -0
  591. plancraft/environments/recipes/polished_blackstone_brick_slab_from_polished_blackstone_bricks_stonecutting.json +8 -0
  592. plancraft/environments/recipes/polished_blackstone_brick_slab_from_polished_blackstone_stonecutting.json +8 -0
  593. plancraft/environments/recipes/polished_blackstone_brick_stairs.json +17 -0
  594. plancraft/environments/recipes/polished_blackstone_brick_stairs_from_blackstone_stonecutting.json +8 -0
  595. plancraft/environments/recipes/polished_blackstone_brick_stairs_from_polished_blackstone_bricks_stonecutting.json +8 -0
  596. plancraft/environments/recipes/polished_blackstone_brick_stairs_from_polished_blackstone_stonecutting.json +8 -0
  597. plancraft/environments/recipes/polished_blackstone_brick_wall.json +16 -0
  598. plancraft/environments/recipes/polished_blackstone_brick_wall_from_blackstone_stonecutting.json +8 -0
  599. plancraft/environments/recipes/polished_blackstone_brick_wall_from_polished_blackstone_bricks_stonecutting.json +8 -0
  600. plancraft/environments/recipes/polished_blackstone_brick_wall_from_polished_blackstone_stonecutting.json +8 -0
  601. plancraft/environments/recipes/polished_blackstone_bricks.json +16 -0
  602. plancraft/environments/recipes/polished_blackstone_bricks_from_blackstone_stonecutting.json +8 -0
  603. plancraft/environments/recipes/polished_blackstone_bricks_from_polished_blackstone_stonecutting.json +8 -0
  604. plancraft/environments/recipes/polished_blackstone_button.json +11 -0
  605. plancraft/environments/recipes/polished_blackstone_from_blackstone_stonecutting.json +8 -0
  606. plancraft/environments/recipes/polished_blackstone_pressure_plate.json +14 -0
  607. plancraft/environments/recipes/polished_blackstone_slab.json +15 -0
  608. plancraft/environments/recipes/polished_blackstone_slab_from_blackstone_stonecutting.json +8 -0
  609. plancraft/environments/recipes/polished_blackstone_slab_from_polished_blackstone_stonecutting.json +8 -0
  610. plancraft/environments/recipes/polished_blackstone_stairs.json +17 -0
  611. plancraft/environments/recipes/polished_blackstone_stairs_from_blackstone_stonecutting.json +8 -0
  612. plancraft/environments/recipes/polished_blackstone_stairs_from_polished_blackstone_stonecutting.json +8 -0
  613. plancraft/environments/recipes/polished_blackstone_wall.json +16 -0
  614. plancraft/environments/recipes/polished_blackstone_wall_from_blackstone_stonecutting.json +8 -0
  615. plancraft/environments/recipes/polished_blackstone_wall_from_polished_blackstone_stonecutting.json +8 -0
  616. plancraft/environments/recipes/polished_diorite.json +16 -0
  617. plancraft/environments/recipes/polished_diorite_from_diorite_stonecutting.json +8 -0
  618. plancraft/environments/recipes/polished_diorite_slab.json +15 -0
  619. plancraft/environments/recipes/polished_diorite_slab_from_diorite_stonecutting.json +8 -0
  620. plancraft/environments/recipes/polished_diorite_slab_from_polished_diorite_stonecutting.json +8 -0
  621. plancraft/environments/recipes/polished_diorite_stairs.json +17 -0
  622. plancraft/environments/recipes/polished_diorite_stairs_from_diorite_stonecutting.json +8 -0
  623. plancraft/environments/recipes/polished_diorite_stairs_from_polished_diorite_stonecutting.json +8 -0
  624. plancraft/environments/recipes/polished_granite.json +16 -0
  625. plancraft/environments/recipes/polished_granite_from_granite_stonecutting.json +8 -0
  626. plancraft/environments/recipes/polished_granite_slab.json +15 -0
  627. plancraft/environments/recipes/polished_granite_slab_from_granite_stonecutting.json +8 -0
  628. plancraft/environments/recipes/polished_granite_slab_from_polished_granite_stonecutting.json +8 -0
  629. plancraft/environments/recipes/polished_granite_stairs.json +17 -0
  630. plancraft/environments/recipes/polished_granite_stairs_from_granite_stonecutting.json +8 -0
  631. plancraft/environments/recipes/polished_granite_stairs_from_polished_granite_stonecutting.json +8 -0
  632. plancraft/environments/recipes/popped_chorus_fruit.json +9 -0
  633. plancraft/environments/recipes/powered_rail.json +23 -0
  634. plancraft/environments/recipes/prismarine.json +15 -0
  635. plancraft/environments/recipes/prismarine_brick_slab.json +15 -0
  636. plancraft/environments/recipes/prismarine_brick_slab_from_prismarine_stonecutting.json +8 -0
  637. plancraft/environments/recipes/prismarine_brick_stairs.json +17 -0
  638. plancraft/environments/recipes/prismarine_brick_stairs_from_prismarine_stonecutting.json +8 -0
  639. plancraft/environments/recipes/prismarine_bricks.json +16 -0
  640. plancraft/environments/recipes/prismarine_slab.json +15 -0
  641. plancraft/environments/recipes/prismarine_slab_from_prismarine_stonecutting.json +8 -0
  642. plancraft/environments/recipes/prismarine_stairs.json +17 -0
  643. plancraft/environments/recipes/prismarine_stairs_from_prismarine_stonecutting.json +8 -0
  644. plancraft/environments/recipes/prismarine_wall.json +16 -0
  645. plancraft/environments/recipes/prismarine_wall_from_prismarine_stonecutting.json +8 -0
  646. plancraft/environments/recipes/pumpkin_pie.json +17 -0
  647. plancraft/environments/recipes/pumpkin_seeds.json +12 -0
  648. plancraft/environments/recipes/purple_banner.json +20 -0
  649. plancraft/environments/recipes/purple_bed.json +19 -0
  650. plancraft/environments/recipes/purple_bed_from_white_bed.json +15 -0
  651. plancraft/environments/recipes/purple_carpet.json +16 -0
  652. plancraft/environments/recipes/purple_carpet_from_white_carpet.json +21 -0
  653. plancraft/environments/recipes/purple_concrete_powder.json +37 -0
  654. plancraft/environments/recipes/purple_dye.json +15 -0
  655. plancraft/environments/recipes/purple_glazed_terracotta.json +9 -0
  656. plancraft/environments/recipes/purple_stained_glass.json +21 -0
  657. plancraft/environments/recipes/purple_stained_glass_pane.json +17 -0
  658. plancraft/environments/recipes/purple_stained_glass_pane_from_glass_pane.json +21 -0
  659. plancraft/environments/recipes/purple_terracotta.json +21 -0
  660. plancraft/environments/recipes/purple_wool.json +15 -0
  661. plancraft/environments/recipes/purpur_block.json +16 -0
  662. plancraft/environments/recipes/purpur_pillar.json +15 -0
  663. plancraft/environments/recipes/purpur_pillar_from_purpur_block_stonecutting.json +8 -0
  664. plancraft/environments/recipes/purpur_slab.json +20 -0
  665. plancraft/environments/recipes/purpur_slab_from_purpur_block_stonecutting.json +8 -0
  666. plancraft/environments/recipes/purpur_stairs.json +22 -0
  667. plancraft/environments/recipes/purpur_stairs_from_purpur_block_stonecutting.json +8 -0
  668. plancraft/environments/recipes/quartz.json +9 -0
  669. plancraft/environments/recipes/quartz_block.json +15 -0
  670. plancraft/environments/recipes/quartz_bricks.json +16 -0
  671. plancraft/environments/recipes/quartz_bricks_from_quartz_block_stonecutting.json +8 -0
  672. plancraft/environments/recipes/quartz_from_blasting.json +9 -0
  673. plancraft/environments/recipes/quartz_pillar.json +16 -0
  674. plancraft/environments/recipes/quartz_pillar_from_quartz_block_stonecutting.json +8 -0
  675. plancraft/environments/recipes/quartz_slab.json +23 -0
  676. plancraft/environments/recipes/quartz_slab_from_stonecutting.json +8 -0
  677. plancraft/environments/recipes/quartz_stairs.json +25 -0
  678. plancraft/environments/recipes/quartz_stairs_from_quartz_block_stonecutting.json +8 -0
  679. plancraft/environments/recipes/rabbit_stew_from_brown_mushroom.json +24 -0
  680. plancraft/environments/recipes/rabbit_stew_from_red_mushroom.json +24 -0
  681. plancraft/environments/recipes/rail.json +20 -0
  682. plancraft/environments/recipes/red_banner.json +20 -0
  683. plancraft/environments/recipes/red_bed.json +19 -0
  684. plancraft/environments/recipes/red_bed_from_white_bed.json +15 -0
  685. plancraft/environments/recipes/red_carpet.json +16 -0
  686. plancraft/environments/recipes/red_carpet_from_white_carpet.json +21 -0
  687. plancraft/environments/recipes/red_concrete_powder.json +37 -0
  688. plancraft/environments/recipes/red_dye_from_beetroot.json +12 -0
  689. plancraft/environments/recipes/red_dye_from_poppy.json +12 -0
  690. plancraft/environments/recipes/red_dye_from_rose_bush.json +13 -0
  691. plancraft/environments/recipes/red_dye_from_tulip.json +12 -0
  692. plancraft/environments/recipes/red_glazed_terracotta.json +9 -0
  693. plancraft/environments/recipes/red_nether_brick_slab.json +15 -0
  694. plancraft/environments/recipes/red_nether_brick_slab_from_red_nether_bricks_stonecutting.json +8 -0
  695. plancraft/environments/recipes/red_nether_brick_stairs.json +17 -0
  696. plancraft/environments/recipes/red_nether_brick_stairs_from_red_nether_bricks_stonecutting.json +8 -0
  697. plancraft/environments/recipes/red_nether_brick_wall.json +16 -0
  698. plancraft/environments/recipes/red_nether_brick_wall_from_red_nether_bricks_stonecutting.json +8 -0
  699. plancraft/environments/recipes/red_nether_bricks.json +18 -0
  700. plancraft/environments/recipes/red_sandstone.json +15 -0
  701. plancraft/environments/recipes/red_sandstone_slab.json +20 -0
  702. plancraft/environments/recipes/red_sandstone_slab_from_red_sandstone_stonecutting.json +8 -0
  703. plancraft/environments/recipes/red_sandstone_stairs.json +25 -0
  704. plancraft/environments/recipes/red_sandstone_stairs_from_red_sandstone_stonecutting.json +8 -0
  705. plancraft/environments/recipes/red_sandstone_wall.json +16 -0
  706. plancraft/environments/recipes/red_sandstone_wall_from_red_sandstone_stonecutting.json +8 -0
  707. plancraft/environments/recipes/red_stained_glass.json +21 -0
  708. plancraft/environments/recipes/red_stained_glass_pane.json +17 -0
  709. plancraft/environments/recipes/red_stained_glass_pane_from_glass_pane.json +21 -0
  710. plancraft/environments/recipes/red_terracotta.json +21 -0
  711. plancraft/environments/recipes/red_wool.json +15 -0
  712. plancraft/environments/recipes/redstone.json +12 -0
  713. plancraft/environments/recipes/redstone_block.json +16 -0
  714. plancraft/environments/recipes/redstone_from_blasting.json +9 -0
  715. plancraft/environments/recipes/redstone_from_smelting.json +9 -0
  716. plancraft/environments/recipes/redstone_lamp.json +19 -0
  717. plancraft/environments/recipes/redstone_torch.json +18 -0
  718. plancraft/environments/recipes/repair_item.json +3 -0
  719. plancraft/environments/recipes/repeater.json +21 -0
  720. plancraft/environments/recipes/respawn_anchor.json +19 -0
  721. plancraft/environments/recipes/sandstone.json +15 -0
  722. plancraft/environments/recipes/sandstone_slab.json +20 -0
  723. plancraft/environments/recipes/sandstone_slab_from_sandstone_stonecutting.json +8 -0
  724. plancraft/environments/recipes/sandstone_stairs.json +25 -0
  725. plancraft/environments/recipes/sandstone_stairs_from_sandstone_stonecutting.json +8 -0
  726. plancraft/environments/recipes/sandstone_wall.json +16 -0
  727. plancraft/environments/recipes/sandstone_wall_from_sandstone_stonecutting.json +8 -0
  728. plancraft/environments/recipes/scaffolding.json +20 -0
  729. plancraft/environments/recipes/sea_lantern.json +19 -0
  730. plancraft/environments/recipes/shears.json +15 -0
  731. plancraft/environments/recipes/shield.json +19 -0
  732. plancraft/environments/recipes/shield_decoration.json +3 -0
  733. plancraft/environments/recipes/shulker_box.json +19 -0
  734. plancraft/environments/recipes/shulker_box_coloring.json +3 -0
  735. plancraft/environments/recipes/skull_banner_pattern.json +14 -0
  736. plancraft/environments/recipes/slime_ball.json +12 -0
  737. plancraft/environments/recipes/slime_block.json +16 -0
  738. plancraft/environments/recipes/smithing_table.json +19 -0
  739. plancraft/environments/recipes/smoker.json +19 -0
  740. plancraft/environments/recipes/smooth_quartz.json +9 -0
  741. plancraft/environments/recipes/smooth_quartz_slab.json +15 -0
  742. plancraft/environments/recipes/smooth_quartz_slab_from_smooth_quartz_stonecutting.json +8 -0
  743. plancraft/environments/recipes/smooth_quartz_stairs.json +17 -0
  744. plancraft/environments/recipes/smooth_quartz_stairs_from_smooth_quartz_stonecutting.json +8 -0
  745. plancraft/environments/recipes/smooth_red_sandstone.json +9 -0
  746. plancraft/environments/recipes/smooth_red_sandstone_slab.json +15 -0
  747. plancraft/environments/recipes/smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting.json +8 -0
  748. plancraft/environments/recipes/smooth_red_sandstone_stairs.json +17 -0
  749. plancraft/environments/recipes/smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting.json +8 -0
  750. plancraft/environments/recipes/smooth_sandstone.json +9 -0
  751. plancraft/environments/recipes/smooth_sandstone_slab.json +15 -0
  752. plancraft/environments/recipes/smooth_sandstone_slab_from_smooth_sandstone_stonecutting.json +8 -0
  753. plancraft/environments/recipes/smooth_sandstone_stairs.json +17 -0
  754. plancraft/environments/recipes/smooth_sandstone_stairs_from_smooth_sandstone_stonecutting.json +8 -0
  755. plancraft/environments/recipes/smooth_stone.json +9 -0
  756. plancraft/environments/recipes/smooth_stone_slab.json +15 -0
  757. plancraft/environments/recipes/smooth_stone_slab_from_smooth_stone_stonecutting.json +8 -0
  758. plancraft/environments/recipes/snow.json +15 -0
  759. plancraft/environments/recipes/snow_block.json +15 -0
  760. plancraft/environments/recipes/soul_campfire.json +22 -0
  761. plancraft/environments/recipes/soul_lantern.json +19 -0
  762. plancraft/environments/recipes/soul_torch.json +28 -0
  763. plancraft/environments/recipes/spectral_arrow.json +20 -0
  764. plancraft/environments/recipes/sponge.json +9 -0
  765. plancraft/environments/recipes/spruce_boat.json +16 -0
  766. plancraft/environments/recipes/spruce_button.json +12 -0
  767. plancraft/environments/recipes/spruce_door.json +18 -0
  768. plancraft/environments/recipes/spruce_fence.json +20 -0
  769. plancraft/environments/recipes/spruce_fence_gate.json +19 -0
  770. plancraft/environments/recipes/spruce_planks.json +13 -0
  771. plancraft/environments/recipes/spruce_pressure_plate.json +15 -0
  772. plancraft/environments/recipes/spruce_sign.json +21 -0
  773. plancraft/environments/recipes/spruce_slab.json +16 -0
  774. plancraft/environments/recipes/spruce_stairs.json +18 -0
  775. plancraft/environments/recipes/spruce_trapdoor.json +17 -0
  776. plancraft/environments/recipes/spruce_wood.json +17 -0
  777. plancraft/environments/recipes/stick.json +17 -0
  778. plancraft/environments/recipes/stick_from_bamboo_item.json +16 -0
  779. plancraft/environments/recipes/sticky_piston.json +18 -0
  780. plancraft/environments/recipes/stone.json +9 -0
  781. plancraft/environments/recipes/stone_axe.json +19 -0
  782. plancraft/environments/recipes/stone_brick_slab.json +15 -0
  783. plancraft/environments/recipes/stone_brick_slab_from_stone_bricks_stonecutting.json +8 -0
  784. plancraft/environments/recipes/stone_brick_slab_from_stone_stonecutting.json +8 -0
  785. plancraft/environments/recipes/stone_brick_stairs.json +17 -0
  786. plancraft/environments/recipes/stone_brick_stairs_from_stone_bricks_stonecutting.json +8 -0
  787. plancraft/environments/recipes/stone_brick_stairs_from_stone_stonecutting.json +8 -0
  788. plancraft/environments/recipes/stone_brick_wall.json +16 -0
  789. plancraft/environments/recipes/stone_brick_wall_from_stone_bricks_stonecutting.json +8 -0
  790. plancraft/environments/recipes/stone_brick_walls_from_stone_stonecutting.json +8 -0
  791. plancraft/environments/recipes/stone_bricks.json +16 -0
  792. plancraft/environments/recipes/stone_bricks_from_stone_stonecutting.json +8 -0
  793. plancraft/environments/recipes/stone_button.json +11 -0
  794. plancraft/environments/recipes/stone_hoe.json +19 -0
  795. plancraft/environments/recipes/stone_pickaxe.json +19 -0
  796. plancraft/environments/recipes/stone_pressure_plate.json +14 -0
  797. plancraft/environments/recipes/stone_shovel.json +19 -0
  798. plancraft/environments/recipes/stone_slab.json +15 -0
  799. plancraft/environments/recipes/stone_slab_from_stone_stonecutting.json +8 -0
  800. plancraft/environments/recipes/stone_stairs.json +17 -0
  801. plancraft/environments/recipes/stone_stairs_from_stone_stonecutting.json +8 -0
  802. plancraft/environments/recipes/stone_sword.json +19 -0
  803. plancraft/environments/recipes/stonecutter.json +18 -0
  804. plancraft/environments/recipes/stripped_acacia_wood.json +17 -0
  805. plancraft/environments/recipes/stripped_birch_wood.json +17 -0
  806. plancraft/environments/recipes/stripped_crimson_hyphae.json +17 -0
  807. plancraft/environments/recipes/stripped_dark_oak_wood.json +17 -0
  808. plancraft/environments/recipes/stripped_jungle_wood.json +17 -0
  809. plancraft/environments/recipes/stripped_oak_wood.json +17 -0
  810. plancraft/environments/recipes/stripped_spruce_wood.json +17 -0
  811. plancraft/environments/recipes/stripped_warped_hyphae.json +17 -0
  812. plancraft/environments/recipes/sugar_from_honey_bottle.json +13 -0
  813. plancraft/environments/recipes/sugar_from_sugar_cane.json +12 -0
  814. plancraft/environments/recipes/suspicious_stew.json +3 -0
  815. plancraft/environments/recipes/target.json +19 -0
  816. plancraft/environments/recipes/terracotta.json +9 -0
  817. plancraft/environments/recipes/tipped_arrow.json +3 -0
  818. plancraft/environments/recipes/tnt.json +24 -0
  819. plancraft/environments/recipes/tnt_minecart.json +18 -0
  820. plancraft/environments/recipes/torch.json +24 -0
  821. plancraft/environments/recipes/trapped_chest.json +14 -0
  822. plancraft/environments/recipes/tripwire_hook.json +23 -0
  823. plancraft/environments/recipes/turtle_helmet.json +15 -0
  824. plancraft/environments/recipes/warped_button.json +12 -0
  825. plancraft/environments/recipes/warped_door.json +18 -0
  826. plancraft/environments/recipes/warped_fence.json +20 -0
  827. plancraft/environments/recipes/warped_fence_gate.json +19 -0
  828. plancraft/environments/recipes/warped_fungus_on_a_stick.json +18 -0
  829. plancraft/environments/recipes/warped_hyphae.json +17 -0
  830. plancraft/environments/recipes/warped_planks.json +13 -0
  831. plancraft/environments/recipes/warped_pressure_plate.json +15 -0
  832. plancraft/environments/recipes/warped_sign.json +21 -0
  833. plancraft/environments/recipes/warped_slab.json +16 -0
  834. plancraft/environments/recipes/warped_stairs.json +18 -0
  835. plancraft/environments/recipes/warped_trapdoor.json +17 -0
  836. plancraft/environments/recipes/wheat.json +12 -0
  837. plancraft/environments/recipes/white_banner.json +20 -0
  838. plancraft/environments/recipes/white_bed.json +19 -0
  839. plancraft/environments/recipes/white_carpet.json +16 -0
  840. plancraft/environments/recipes/white_concrete_powder.json +37 -0
  841. plancraft/environments/recipes/white_dye.json +12 -0
  842. plancraft/environments/recipes/white_dye_from_lily_of_the_valley.json +12 -0
  843. plancraft/environments/recipes/white_glazed_terracotta.json +9 -0
  844. plancraft/environments/recipes/white_stained_glass.json +21 -0
  845. plancraft/environments/recipes/white_stained_glass_pane.json +17 -0
  846. plancraft/environments/recipes/white_stained_glass_pane_from_glass_pane.json +21 -0
  847. plancraft/environments/recipes/white_terracotta.json +21 -0
  848. plancraft/environments/recipes/white_wool_from_string.json +15 -0
  849. plancraft/environments/recipes/wooden_axe.json +19 -0
  850. plancraft/environments/recipes/wooden_hoe.json +19 -0
  851. plancraft/environments/recipes/wooden_pickaxe.json +19 -0
  852. plancraft/environments/recipes/wooden_shovel.json +19 -0
  853. plancraft/environments/recipes/wooden_sword.json +19 -0
  854. plancraft/environments/recipes/writable_book.json +17 -0
  855. plancraft/environments/recipes/yellow_banner.json +20 -0
  856. plancraft/environments/recipes/yellow_bed.json +19 -0
  857. plancraft/environments/recipes/yellow_bed_from_white_bed.json +15 -0
  858. plancraft/environments/recipes/yellow_carpet.json +16 -0
  859. plancraft/environments/recipes/yellow_carpet_from_white_carpet.json +21 -0
  860. plancraft/environments/recipes/yellow_concrete_powder.json +37 -0
  861. plancraft/environments/recipes/yellow_dye_from_dandelion.json +12 -0
  862. plancraft/environments/recipes/yellow_dye_from_sunflower.json +13 -0
  863. plancraft/environments/recipes/yellow_glazed_terracotta.json +9 -0
  864. plancraft/environments/recipes/yellow_stained_glass.json +21 -0
  865. plancraft/environments/recipes/yellow_stained_glass_pane.json +17 -0
  866. plancraft/environments/recipes/yellow_stained_glass_pane_from_glass_pane.json +21 -0
  867. plancraft/environments/recipes/yellow_terracotta.json +21 -0
  868. plancraft/environments/recipes/yellow_wool.json +15 -0
  869. plancraft/environments/recipes.py +542 -0
  870. plancraft/environments/sampler.py +224 -0
  871. plancraft/environments/tags/acacia_logs.json +9 -0
  872. plancraft/environments/tags/anvil.json +8 -0
  873. plancraft/environments/tags/arrows.json +8 -0
  874. plancraft/environments/tags/banners.json +21 -0
  875. plancraft/environments/tags/beacon_payment_items.json +10 -0
  876. plancraft/environments/tags/beds.json +21 -0
  877. plancraft/environments/tags/birch_logs.json +9 -0
  878. plancraft/environments/tags/boats.json +11 -0
  879. plancraft/environments/tags/buttons.json +8 -0
  880. plancraft/environments/tags/carpets.json +21 -0
  881. plancraft/environments/tags/coals.json +7 -0
  882. plancraft/environments/tags/creeper_drop_music_discs.json +17 -0
  883. plancraft/environments/tags/crimson_stems.json +9 -0
  884. plancraft/environments/tags/dark_oak_logs.json +9 -0
  885. plancraft/environments/tags/doors.json +7 -0
  886. plancraft/environments/tags/fences.json +7 -0
  887. plancraft/environments/tags/fishes.json +11 -0
  888. plancraft/environments/tags/flowers.json +7 -0
  889. plancraft/environments/tags/gold_ores.json +7 -0
  890. plancraft/environments/tags/jungle_logs.json +9 -0
  891. plancraft/environments/tags/leaves.json +11 -0
  892. plancraft/environments/tags/lectern_books.json +7 -0
  893. plancraft/environments/tags/logs.json +8 -0
  894. plancraft/environments/tags/logs_that_burn.json +11 -0
  895. plancraft/environments/tags/music_discs.json +7 -0
  896. plancraft/environments/tags/non_flammable_wood.json +33 -0
  897. plancraft/environments/tags/oak_logs.json +9 -0
  898. plancraft/environments/tags/piglin_loved.json +26 -0
  899. plancraft/environments/tags/piglin_repellents.json +8 -0
  900. plancraft/environments/tags/planks.json +13 -0
  901. plancraft/environments/tags/rails.json +9 -0
  902. plancraft/environments/tags/sand.json +7 -0
  903. plancraft/environments/tags/saplings.json +11 -0
  904. plancraft/environments/tags/signs.json +13 -0
  905. plancraft/environments/tags/slabs.json +38 -0
  906. plancraft/environments/tags/small_flowers.json +18 -0
  907. plancraft/environments/tags/soul_fire_base_blocks.json +7 -0
  908. plancraft/environments/tags/spruce_logs.json +9 -0
  909. plancraft/environments/tags/stairs.json +34 -0
  910. plancraft/environments/tags/stone_bricks.json +9 -0
  911. plancraft/environments/tags/stone_crafting_materials.json +7 -0
  912. plancraft/environments/tags/stone_tool_materials.json +7 -0
  913. plancraft/environments/tags/tall_flowers.json +9 -0
  914. plancraft/environments/tags/trapdoors.json +7 -0
  915. plancraft/environments/tags/walls.json +22 -0
  916. plancraft/environments/tags/warped_stems.json +9 -0
  917. plancraft/environments/tags/wooden_buttons.json +13 -0
  918. plancraft/environments/tags/wooden_doors.json +13 -0
  919. plancraft/environments/tags/wooden_fences.json +13 -0
  920. plancraft/environments/tags/wooden_pressure_plates.json +13 -0
  921. plancraft/environments/tags/wooden_slabs.json +13 -0
  922. plancraft/environments/tags/wooden_stairs.json +13 -0
  923. plancraft/environments/tags/wooden_trapdoors.json +13 -0
  924. plancraft/environments/tags/wool.json +21 -0
  925. plancraft/evaluator.py +273 -0
  926. plancraft/models/__init__.py +21 -0
  927. plancraft/models/act.py +184 -0
  928. plancraft/models/base.py +152 -0
  929. plancraft/models/bbox_model.py +492 -0
  930. plancraft/models/dummy.py +54 -0
  931. plancraft/models/few_shot_images/0.png +0 -0
  932. plancraft/models/few_shot_images/1.png +0 -0
  933. plancraft/models/few_shot_images/2.png +0 -0
  934. plancraft/models/few_shot_images/3.png +0 -0
  935. plancraft/models/few_shot_images/__init__.py +16 -0
  936. plancraft/models/generators.py +480 -0
  937. plancraft/models/oam.py +283 -0
  938. plancraft/models/oracle.py +265 -0
  939. plancraft/models/prompts.py +158 -0
  940. plancraft/models/react.py +93 -0
  941. plancraft/models/utils.py +289 -0
  942. plancraft/train/dataset.py +187 -0
  943. plancraft/utils.py +84 -0
  944. {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/METADATA +1 -1
  945. plancraft-0.1.4.dist-info/RECORD +948 -0
  946. plancraft-0.1.4.dist-info/top_level.txt +1 -0
  947. plancraft-0.1.2.dist-info/RECORD +0 -5
  948. plancraft-0.1.2.dist-info/top_level.txt +0 -1
  949. {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/LICENSE +0 -0
  950. {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,158 @@
1
+ from plancraft.models.utils import gold_search_recipe
2
+
3
+ VALID_ACTIONS = ["move", "smelt", "think", "search", "impossible"]
4
+
5
+ ACTIONS_DESCRIPTIONS = {
6
+ "move": {
7
+ "description": "Transfer a specific quantity of an item from one slot to another",
8
+ "format": "`move: from [Source] to [Target] with quantity N`",
9
+ },
10
+ "smelt": {
11
+ "description": "Smelt an item in a furnace and moves the output to a specific slot",
12
+ "format": "`smelt: from [Source] to [Target] with quantity N`",
13
+ },
14
+ "think": {
15
+ "description": "Generate thoughts to help you decide on the next action",
16
+ "format": "`think: <thought message>`",
17
+ },
18
+ "search": {
19
+ "description": "Search for a recipe to craft a specific item",
20
+ "format": "`search: <recipe name>`",
21
+ },
22
+ "impossible": {
23
+ "description": "Stop task if it is certain that it is impossible with given inventory",
24
+ "format": "`impossible: <reason>`",
25
+ },
26
+ }
27
+
28
+ BASE_SYSTEM_PROMPT = """You are crafting in Minecraft. You need to decide on the next action.
29
+
30
+ Crafting Grid: The crafting table is organized into a 3x3 grid. Each slot in the grid has a unique identifier:
31
+ - Top row: [A1] [A2] [A3]
32
+ - Middle row: [B1] [B2] [B3]
33
+ - Bottom row: [C1] [C2] [C3]
34
+
35
+ The output of the crafting process is placed in a designated output slot labeled [0] You cannot move or smelt items directly into slot [0]
36
+
37
+ Inventory Slots: The remaining inventory slots (outside of the crafting grid) are used for storing items. These slots are labeled as [I1] to [I36]"""
38
+
39
+ BASE_SYSTEM_PROMPT_EXAMPLE = """Example:
40
+ - `move: from [I2] to [A1] with quantity 3`
41
+ - `smelt: from [I5] to [I6] with quantity 1`
42
+
43
+ Constraints:
44
+ - You cannot move or smelt items into [0]
45
+ - If an item is not in slot [0] then the recipe is incorrect
46
+ - You need to move items from [0] to a free inventory slot to complete the crafting process"""
47
+
48
+
49
+ def get_system_prompt(actions: list[str]):
50
+ assert set(actions).issubset(VALID_ACTIONS), f"Invalid actions: {actions}"
51
+ assert "move" in actions, "move should be one of the actions"
52
+ assert "smelt" in actions, "smelt should be one of the actions"
53
+
54
+ descriptions = ""
55
+ for action in actions:
56
+ descriptions += f"\n\t- {action}: {ACTIONS_DESCRIPTIONS[action]['description']}"
57
+
58
+ output_format = ""
59
+ for action in actions:
60
+ output_format += f"\n\t- {ACTIONS_DESCRIPTIONS[action]['format']}"
61
+
62
+ return f"{BASE_SYSTEM_PROMPT}\n\nActions:{descriptions}\n\nFormat{output_format}\n\n{BASE_SYSTEM_PROMPT_EXAMPLE}"
63
+
64
+
65
+ CRAFTING_STEPS = [
66
+ "Craft an item of type: andesite\ninventory:\n - diorite [I18] quantity 1\n - cobblestone [I30] quantity 1",
67
+ "Craft an item of type: andesite\ninventory:\n - diorite [B1] quantity 1\n - cobblestone [I30] quantity 1",
68
+ "Craft an item of type: andesite\ninventory:\n - andesite [0] quantity 1\n - diorite [B1] quantity 1\n - cobblestone [B2] quantity 1",
69
+ "Craft an item of type: iron_ingot\ninventory:\n - iron_ore [I36] quantity 1\n - cobblestone [I30] quantity 1",
70
+ ]
71
+
72
+ BASE_ACTION_STEPS = [
73
+ "move: from [I18] to [B1] with quantity 1",
74
+ "move: from [I30] to [B2] with quantity 1",
75
+ "move: from [0] to [I6] with quantity 1",
76
+ "smelt: from [I36] to [I35] with quantity 1",
77
+ ]
78
+
79
+ THINK_STEPS = [
80
+ "think: To solve this task I need to craft andesite using 1 diorite and 1 cobblestone side by side.",
81
+ "think: Now I need to move the cobblestone into position [B2] to be right of the diorite.",
82
+ "think: Now I can craft the andesite by moving it from the craft slot [0] to a free inventory slot.",
83
+ "think: To craft an iron_ingot, I need to smelt iron_ore into an empty slot.",
84
+ ]
85
+
86
+ SEARCH_STEPS = [
87
+ "search: andesite",
88
+ None,
89
+ None,
90
+ "search: iron_ingot",
91
+ ]
92
+
93
+
94
+ def get_prompt_example(
95
+ actions: list[str],
96
+ use_text_inventory=True,
97
+ use_multimodal_content_format=False,
98
+ use_images=False,
99
+ ) -> list[dict]:
100
+ assert set(actions).issubset(VALID_ACTIONS), f"Invalid actions: {actions}"
101
+ assert "move" in actions, "move should be one of the actions"
102
+ assert "smelt" in actions, "smelt should be one of the actions"
103
+
104
+ if use_images:
105
+ assert (
106
+ use_multimodal_content_format
107
+ ), "use_images requires use_multimodal_content_format"
108
+
109
+ example_dialogue = []
110
+ for i, step in enumerate(CRAFTING_STEPS):
111
+ text = step
112
+ if not use_text_inventory:
113
+ text = text.split("\ninventory:\n")[0]
114
+
115
+ example_dialogue.append({"role": "user", "content": text})
116
+ if "search" in actions and SEARCH_STEPS[i]:
117
+ example_dialogue.append({"role": "assistant", "content": SEARCH_STEPS[i]})
118
+ search_target = text.split("seach: ")[-1].strip()
119
+ search_response = gold_search_recipe(search_target)
120
+ example_dialogue.append({"role": "user", "content": search_response})
121
+ if "think" in actions:
122
+ example_dialogue.append({"role": "assistant", "content": THINK_STEPS[i]})
123
+ example_dialogue.append({"role": "user", "content": "Ok"})
124
+ example_dialogue.append({"role": "assistant", "content": BASE_ACTION_STEPS[i]})
125
+
126
+ if not use_multimodal_content_format:
127
+ return example_dialogue
128
+
129
+ # convert to multimodal dialogue
130
+ multimodal_dialogue = []
131
+ for message in example_dialogue:
132
+ if "Craft an item" in message["content"]:
133
+ content_list = [
134
+ {
135
+ "type": "text",
136
+ "text": message["content"],
137
+ }
138
+ ]
139
+ if use_images:
140
+ content_list.append(
141
+ {
142
+ "type": "image",
143
+ }
144
+ )
145
+
146
+ multimodal_dialogue.append(
147
+ {"role": message["role"], "content": content_list}
148
+ )
149
+ else:
150
+ multimodal_dialogue.append(
151
+ {
152
+ "role": message["role"],
153
+ "content": [
154
+ {"type": "text", "text": message["content"]},
155
+ ],
156
+ }
157
+ )
158
+ return multimodal_dialogue
@@ -0,0 +1,93 @@
1
+ from dotenv import load_dotenv
2
+
3
+ from plancraft.config import EvalConfig
4
+ from plancraft.environments.actions import (
5
+ NoOp,
6
+ SymbolicAction,
7
+ )
8
+ from plancraft.models.act import ActModel
9
+ from plancraft.models.utils import (
10
+ convert_observation_to_message,
11
+ parse_content_response,
12
+ )
13
+
14
+ load_dotenv()
15
+
16
+
17
+ class ReactModel(ActModel):
18
+ """
19
+ Model that does action with interleaved thinking step
20
+ """
21
+
22
+ def __init__(self, cfg: EvalConfig):
23
+ super().__init__(cfg)
24
+ self.max_invalid_actions = 3
25
+
26
+ def step(self, observation: dict) -> SymbolicAction:
27
+ # override the step method in ActModel to force thinking step
28
+
29
+ self.history.add_observation_to_history(observation)
30
+ observation_message = convert_observation_to_message(
31
+ observation,
32
+ objective=self.history.objective,
33
+ bbox_model=self.bbox_model,
34
+ oam_model="oam" in self.llm.model_name,
35
+ use_text_inventory=self.use_text_inventory,
36
+ use_multimodal_content_format=self.use_multimodal_content_format,
37
+ use_images=self.use_images,
38
+ )
39
+ # add observation to history
40
+ self.history.add_message_to_history(content=observation_message, role="user")
41
+
42
+ i = 0
43
+ while i < self.max_invalid_actions:
44
+ message_window, image_window = self.llm.prepare_messages(
45
+ history=self.history,
46
+ max_messages_window=self.max_messages_window,
47
+ system_prompt=self.system_prompt,
48
+ prompt_images=self.prompt_images,
49
+ )
50
+ think_messages, think_token_used = self.llm.generate_unconstrained(
51
+ batch_messages=[message_window],
52
+ images=[image_window],
53
+ start_messages_generation="think:",
54
+ )
55
+ self.history.tokens_used += think_token_used
56
+ think_message = "think: " + think_messages[0].split("\n")[0].strip()
57
+ self.history.add_message_to_history(content=think_message, role="assistant")
58
+
59
+ # retrieve new message window (with thinking prompt)
60
+ message_window, image_window = self.llm.prepare_messages(
61
+ history=self.history,
62
+ max_messages_window=self.max_messages_window,
63
+ system_prompt=self.system_prompt,
64
+ prompt_images=self.prompt_images,
65
+ )
66
+ action_messages, action_token_used = self.llm.generate_unconstrained(
67
+ batch_messages=[message_window],
68
+ images=[image_window],
69
+ start_messages_generation="",
70
+ )
71
+ self.history.tokens_used += action_token_used
72
+
73
+ action_message = action_messages[0].split("\n")[0].strip()
74
+
75
+ self.history.add_message_to_history(
76
+ content=action_message, role="assistant"
77
+ )
78
+
79
+ response = parse_content_response(
80
+ action_message, valid_actions=self.valid_actions
81
+ )
82
+ if not isinstance(response, str):
83
+ # valid action
84
+ self.history.add_action_to_history(response)
85
+ return response
86
+
87
+ self.history.add_message_to_history(
88
+ content=response,
89
+ )
90
+ i += 1
91
+
92
+ # default move action
93
+ return NoOp()
@@ -0,0 +1,289 @@
1
+ import base64
2
+ import glob
3
+ import io
4
+ import pathlib
5
+ import re
6
+
7
+ import numpy as np
8
+ import torch
9
+ from PIL import Image
10
+ from transformers import AutoModelForCausalLM, AutoTokenizer
11
+
12
+ from plancraft.environments.actions import (
13
+ StopAction,
14
+ SymbolicAction,
15
+ SymbolicMoveAction,
16
+ SymbolicSmeltAction,
17
+ convert_from_slot_index,
18
+ )
19
+ from plancraft.environments.recipes import RECIPES
20
+
21
+
22
+ def numpy_to_base64(img_array: np.ndarray, image_format: str = "PNG") -> str:
23
+ """
24
+ Convert a NumPy array to a base64 encoded string.
25
+
26
+ Parameters:
27
+ - img_array: np.ndarray - Input image array.
28
+ - image_format: str - The format to save the image in (e.g., "PNG", "JPEG").
29
+
30
+ Returns:
31
+ - str - Base64 encoded string of the image.
32
+ """
33
+ # Convert NumPy array to image
34
+ image = Image.fromarray(img_array)
35
+
36
+ # Save the image to a bytes buffer
37
+ buffered = io.BytesIO()
38
+ image.save(buffered, format=image_format)
39
+
40
+ # Encode the bytes to a base64 string
41
+ img_str = base64.b64encode(buffered.getvalue()).decode("utf-8")
42
+
43
+ return img_str
44
+
45
+
46
+ def get_downloaded_models() -> dict:
47
+ """
48
+ Get the list of downloaded models on the NFS partition (EIDF).
49
+ """
50
+ downloaded_models = {}
51
+ # known models on NFS partition
52
+ if pathlib.Path("/nfs").exists():
53
+ local_models = glob.glob("/nfs/public/hf/models/*/*")
54
+ downloaded_models = {
55
+ model.replace("/nfs/public/hf/models/", ""): model for model in local_models
56
+ }
57
+ return downloaded_models
58
+
59
+
60
+ class TrieNode:
61
+ def __init__(self):
62
+ self.children = {}
63
+ self.is_end_of_sequence = False
64
+
65
+
66
+ class Trie:
67
+ def __init__(self):
68
+ self.root = TrieNode()
69
+ self.longest_sequence_length = 0
70
+
71
+ def insert(self, sequence: list):
72
+ node = self.root
73
+ for num in sequence:
74
+ if num not in node.children:
75
+ node.children[num] = TrieNode()
76
+ node = node.children[num]
77
+ node.is_end_of_sequence = True
78
+
79
+ if len(sequence) > self.longest_sequence_length:
80
+ self.longest_sequence_length = len(sequence)
81
+
82
+ def starts_with(self, prefix: list) -> bool:
83
+ node = self.root
84
+ for num in prefix:
85
+ if num not in node.children:
86
+ return False
87
+ node = node.children[num]
88
+ return True
89
+
90
+ def get_next(self, prefix: list) -> list:
91
+ node = self.root
92
+ for num in prefix:
93
+ if num not in node.children:
94
+ return []
95
+ node = node.children[num]
96
+ return list(node.children.keys())
97
+
98
+
99
+ def tokenize(
100
+ model: AutoModelForCausalLM,
101
+ tokenizer: AutoTokenizer,
102
+ batch_messages: list[list[dict]],
103
+ start_messages_generation: list[str],
104
+ max_tokens=256,
105
+ images=None,
106
+ ) -> dict[str, torch.Tensor]:
107
+ """
108
+ Tokenize a list of messages and start the response message
109
+ """
110
+ assert len(start_messages_generation) == len(
111
+ batch_messages
112
+ ), "Length of start_messages_generation should be equal to batch_messages"
113
+
114
+ message_texts = tokenizer.apply_chat_template(
115
+ batch_messages,
116
+ add_generation_prompt=True,
117
+ tokenize=False,
118
+ )
119
+ # add the start of the response message for each message
120
+ message_texts = [
121
+ messages_text + new_message_start
122
+ for (messages_text, new_message_start) in zip(
123
+ message_texts, start_messages_generation
124
+ )
125
+ ]
126
+
127
+ max_prompt_length = None
128
+ # need to truncate if max_length is set
129
+ if model.generation_config.max_length > max_tokens:
130
+ max_prompt_length = model.generation_config.max_length - max_tokens
131
+
132
+ if images:
133
+ assert len(images) == len(
134
+ batch_messages
135
+ ), "Length of images should be equal to batch_messages"
136
+ tokenized_messages = tokenizer(
137
+ message_texts,
138
+ return_tensors="pt",
139
+ truncation=True,
140
+ max_length=max_prompt_length,
141
+ padding=True,
142
+ images=images,
143
+ )
144
+ else:
145
+ tokenized_messages = tokenizer(
146
+ message_texts,
147
+ return_tensors="pt",
148
+ truncation=True,
149
+ max_length=max_prompt_length,
150
+ padding=True,
151
+ )
152
+ return tokenized_messages
153
+
154
+
155
+ def objective_and_inventory_to_str(objective: str, inventory: list[dict]) -> str:
156
+ inventory_str = ""
157
+ for item in inventory:
158
+ if item["quantity"] > 0:
159
+ if "index" in item:
160
+ slot = item["index"]
161
+ else:
162
+ slot = item["slot"]
163
+
164
+ if isinstance(slot, int):
165
+ slot = convert_from_slot_index(slot)
166
+
167
+ inventory_str += f"\n - {item['type']} {slot} quantity {item['quantity']}"
168
+
169
+ return f"{objective}\ninventory:{inventory_str}"
170
+
171
+
172
+ def convert_observation_to_message(
173
+ observation: dict,
174
+ objective: str,
175
+ bbox_model=None,
176
+ oam_model=False,
177
+ use_text_inventory=True,
178
+ use_multimodal_content_format=False,
179
+ use_images=False,
180
+ ) -> str | dict:
181
+ """
182
+ Convert an observation to a message format
183
+
184
+ Parameters:
185
+ - observation: dict - The observation to convert.
186
+ - objective: str - The objective of the observation.
187
+ - bbox_model: Optional - The bounding box model to use.
188
+ - oam_model: bool - Whether to use the OAM model.
189
+ - use_text_inventory: bool - Whether to use text inventory.
190
+ - use_multimodal_content_format: bool - Whether to use multimodal content format.
191
+ - use_images: bool - Whether to append an image to the message content - must be used with use_multimodal_content_format.
192
+ """
193
+ if bbox_model is not None:
194
+ # convert to tensor
195
+ inventory = bbox_model.get_inventory(observation["pov"].copy())
196
+ text_content = objective_and_inventory_to_str(
197
+ objective, sorted(inventory, key=lambda x: x["slot"])
198
+ )
199
+ elif oam_model:
200
+ text_content = f"{objective}\ninventory:\n"
201
+ elif not use_text_inventory:
202
+ text_content = objective
203
+ else:
204
+ # if not multimodal, we only have text - we just dump a JSON of the inventory
205
+ inventory = []
206
+ for o in observation["inventory"]:
207
+ if o["quantity"] > 0:
208
+ inventory.append(
209
+ {
210
+ "type": o["type"],
211
+ "slot": convert_from_slot_index(o["index"]),
212
+ "quantity": o["quantity"],
213
+ }
214
+ )
215
+ text_content = objective_and_inventory_to_str(objective, inventory)
216
+
217
+ if not use_multimodal_content_format:
218
+ return text_content
219
+
220
+ content_list = [{"type": "text", "text": text_content}]
221
+ if use_images:
222
+ content_list.append({"type": "image"})
223
+ return {"content": content_list}
224
+
225
+
226
+ def gold_search_recipe(recipe_name: str) -> str:
227
+ """
228
+ Gold search recipe for the given observation and action
229
+ """
230
+ if recipe_name not in RECIPES:
231
+ return "Could not find a recipe by that name."
232
+
233
+ out_string = f"Recipes to craft {recipe_name}:\n"
234
+ for i, r in enumerate(RECIPES[recipe_name]):
235
+ if r.recipe_type != "smelting":
236
+ # sample a valid input grid (note that this is not guaranteed to be the only valid grid)
237
+ input_crafting_grid = r.sample_input_crafting_grid()
238
+ recipe_instructions = ""
239
+ for item in input_crafting_grid:
240
+ recipe_instructions += (
241
+ f"{item['type']} at {convert_from_slot_index(item['slot'])}\n"
242
+ )
243
+ else:
244
+ # smelting recipe
245
+ recipe_instructions = f"smelt {r.ingredient}\n"
246
+ out_string += f"recipe {i+1}:\n{recipe_instructions}"
247
+ return out_string
248
+
249
+
250
+ def parse_content_response(
251
+ content: str, valid_actions: list[str] = ["smelt", "move"]
252
+ ) -> str | SymbolicAction | StopAction:
253
+ """
254
+ Given a message and set of valid actions, parse the content to return the action
255
+ or a message if the action is not valid/requires message response
256
+ """
257
+
258
+ action_match = re.search(f"({'|'.join(valid_actions)}):", content)
259
+ if action_match:
260
+ action = action_match.group(1)
261
+ if action == "think":
262
+ return "Ok"
263
+ elif action == "impossible":
264
+ reason = re.search(r"impossible: (.*)", content).group(1)
265
+ return StopAction(reason=reason)
266
+ elif action == "search":
267
+ search_target = re.search(r"search: (\w+)", content).group(1)
268
+ return gold_search_recipe(search_target)
269
+ else:
270
+ try:
271
+ slot_from = re.search(r" from (\[[ABCI]?\d+\])", content).group(1)
272
+ slot_to = re.search(r" to (\[[ABCI]?\d+\])", content).group(1)
273
+ quantity = re.search(r"with quantity (\d+)", content).group(1)
274
+ if action == "move":
275
+ action = SymbolicMoveAction(
276
+ slot_from=slot_from,
277
+ slot_to=slot_to,
278
+ quantity=quantity,
279
+ )
280
+ else:
281
+ action = SymbolicSmeltAction(
282
+ slot_from=slot_from,
283
+ slot_to=slot_to,
284
+ quantity=quantity,
285
+ )
286
+ return action
287
+ except AttributeError as e:
288
+ return f"Format Error: {e}"
289
+ return f"Only select actions from the following: {', '.join(valid_actions)}"