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.
- plancraft/__init__.py +0 -0
- plancraft/config.py +155 -0
- plancraft/environments/__init__.py +0 -0
- plancraft/environments/actions.py +218 -0
- plancraft/environments/constants.json +64582 -0
- plancraft/environments/env_real.py +316 -0
- plancraft/environments/env_symbolic.py +212 -0
- plancraft/environments/items.py +10 -0
- plancraft/environments/planner.py +109 -0
- plancraft/environments/recipes/acacia_boat.json +16 -0
- plancraft/environments/recipes/acacia_button.json +12 -0
- plancraft/environments/recipes/acacia_door.json +18 -0
- plancraft/environments/recipes/acacia_fence.json +20 -0
- plancraft/environments/recipes/acacia_fence_gate.json +19 -0
- plancraft/environments/recipes/acacia_planks.json +13 -0
- plancraft/environments/recipes/acacia_pressure_plate.json +15 -0
- plancraft/environments/recipes/acacia_sign.json +21 -0
- plancraft/environments/recipes/acacia_slab.json +16 -0
- plancraft/environments/recipes/acacia_stairs.json +18 -0
- plancraft/environments/recipes/acacia_trapdoor.json +17 -0
- plancraft/environments/recipes/acacia_wood.json +17 -0
- plancraft/environments/recipes/activator_rail.json +23 -0
- plancraft/environments/recipes/andesite.json +15 -0
- plancraft/environments/recipes/andesite_slab.json +15 -0
- plancraft/environments/recipes/andesite_slab_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/andesite_stairs.json +17 -0
- plancraft/environments/recipes/andesite_stairs_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/andesite_wall.json +16 -0
- plancraft/environments/recipes/andesite_wall_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/anvil.json +19 -0
- plancraft/environments/recipes/armor_dye.json +3 -0
- plancraft/environments/recipes/armor_stand.json +19 -0
- plancraft/environments/recipes/arrow.json +23 -0
- plancraft/environments/recipes/baked_potato.json +9 -0
- plancraft/environments/recipes/baked_potato_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/baked_potato_from_smoking.json +9 -0
- plancraft/environments/recipes/banner_duplicate.json +3 -0
- plancraft/environments/recipes/barrel.json +19 -0
- plancraft/environments/recipes/beacon.json +22 -0
- plancraft/environments/recipes/beehive.json +19 -0
- plancraft/environments/recipes/beetroot_soup.json +29 -0
- plancraft/environments/recipes/birch_boat.json +16 -0
- plancraft/environments/recipes/birch_button.json +12 -0
- plancraft/environments/recipes/birch_door.json +18 -0
- plancraft/environments/recipes/birch_fence.json +20 -0
- plancraft/environments/recipes/birch_fence_gate.json +19 -0
- plancraft/environments/recipes/birch_planks.json +13 -0
- plancraft/environments/recipes/birch_pressure_plate.json +15 -0
- plancraft/environments/recipes/birch_sign.json +21 -0
- plancraft/environments/recipes/birch_slab.json +16 -0
- plancraft/environments/recipes/birch_stairs.json +18 -0
- plancraft/environments/recipes/birch_trapdoor.json +17 -0
- plancraft/environments/recipes/birch_wood.json +17 -0
- plancraft/environments/recipes/black_banner.json +20 -0
- plancraft/environments/recipes/black_bed.json +19 -0
- plancraft/environments/recipes/black_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/black_carpet.json +16 -0
- plancraft/environments/recipes/black_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/black_concrete_powder.json +37 -0
- plancraft/environments/recipes/black_dye.json +12 -0
- plancraft/environments/recipes/black_dye_from_wither_rose.json +12 -0
- plancraft/environments/recipes/black_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/black_stained_glass.json +21 -0
- plancraft/environments/recipes/black_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/black_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/black_terracotta.json +21 -0
- plancraft/environments/recipes/black_wool.json +15 -0
- plancraft/environments/recipes/blackstone_slab.json +15 -0
- plancraft/environments/recipes/blackstone_slab_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/blackstone_stairs.json +17 -0
- plancraft/environments/recipes/blackstone_stairs_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/blackstone_wall.json +16 -0
- plancraft/environments/recipes/blackstone_wall_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/blast_furnace.json +22 -0
- plancraft/environments/recipes/blaze_powder.json +12 -0
- plancraft/environments/recipes/blue_banner.json +20 -0
- plancraft/environments/recipes/blue_bed.json +19 -0
- plancraft/environments/recipes/blue_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/blue_carpet.json +16 -0
- plancraft/environments/recipes/blue_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/blue_concrete_powder.json +37 -0
- plancraft/environments/recipes/blue_dye.json +12 -0
- plancraft/environments/recipes/blue_dye_from_cornflower.json +12 -0
- plancraft/environments/recipes/blue_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/blue_ice.json +16 -0
- plancraft/environments/recipes/blue_stained_glass.json +21 -0
- plancraft/environments/recipes/blue_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/blue_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/blue_terracotta.json +21 -0
- plancraft/environments/recipes/blue_wool.json +15 -0
- plancraft/environments/recipes/bone_block.json +16 -0
- plancraft/environments/recipes/bone_meal.json +13 -0
- plancraft/environments/recipes/bone_meal_from_bone_block.json +13 -0
- plancraft/environments/recipes/book.json +20 -0
- plancraft/environments/recipes/book_cloning.json +3 -0
- plancraft/environments/recipes/bookshelf.json +19 -0
- plancraft/environments/recipes/bow.json +19 -0
- plancraft/environments/recipes/bowl.json +16 -0
- plancraft/environments/recipes/bread.json +14 -0
- plancraft/environments/recipes/brewing_stand.json +18 -0
- plancraft/environments/recipes/brick.json +9 -0
- plancraft/environments/recipes/brick_slab.json +15 -0
- plancraft/environments/recipes/brick_slab_from_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/brick_stairs.json +17 -0
- plancraft/environments/recipes/brick_stairs_from_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/brick_wall.json +16 -0
- plancraft/environments/recipes/brick_wall_from_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/bricks.json +15 -0
- plancraft/environments/recipes/brown_banner.json +20 -0
- plancraft/environments/recipes/brown_bed.json +19 -0
- plancraft/environments/recipes/brown_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/brown_carpet.json +16 -0
- plancraft/environments/recipes/brown_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/brown_concrete_powder.json +37 -0
- plancraft/environments/recipes/brown_dye.json +12 -0
- plancraft/environments/recipes/brown_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/brown_stained_glass.json +21 -0
- plancraft/environments/recipes/brown_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/brown_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/brown_terracotta.json +21 -0
- plancraft/environments/recipes/brown_wool.json +15 -0
- plancraft/environments/recipes/bucket.json +15 -0
- plancraft/environments/recipes/cake.json +25 -0
- plancraft/environments/recipes/campfire.json +22 -0
- plancraft/environments/recipes/carrot_on_a_stick.json +18 -0
- plancraft/environments/recipes/cartography_table.json +19 -0
- plancraft/environments/recipes/cauldron.json +16 -0
- plancraft/environments/recipes/chain.json +19 -0
- plancraft/environments/recipes/charcoal.json +9 -0
- plancraft/environments/recipes/chest.json +16 -0
- plancraft/environments/recipes/chest_minecart.json +18 -0
- plancraft/environments/recipes/chiseled_nether_bricks.json +15 -0
- plancraft/environments/recipes/chiseled_nether_bricks_from_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_polished_blackstone.json +15 -0
- plancraft/environments/recipes/chiseled_polished_blackstone_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_polished_blackstone_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_quartz_block.json +15 -0
- plancraft/environments/recipes/chiseled_quartz_block_from_quartz_block_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_red_sandstone.json +15 -0
- plancraft/environments/recipes/chiseled_red_sandstone_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_sandstone.json +15 -0
- plancraft/environments/recipes/chiseled_sandstone_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_stone_bricks.json +15 -0
- plancraft/environments/recipes/chiseled_stone_bricks_from_stone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/chiseled_stone_bricks_stone_from_stonecutting.json +8 -0
- plancraft/environments/recipes/clay.json +15 -0
- plancraft/environments/recipes/clock.json +19 -0
- plancraft/environments/recipes/coal.json +12 -0
- plancraft/environments/recipes/coal_block.json +16 -0
- plancraft/environments/recipes/coal_from_blasting.json +9 -0
- plancraft/environments/recipes/coal_from_smelting.json +9 -0
- plancraft/environments/recipes/coarse_dirt.json +19 -0
- plancraft/environments/recipes/cobblestone_slab.json +15 -0
- plancraft/environments/recipes/cobblestone_slab_from_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/cobblestone_stairs.json +17 -0
- plancraft/environments/recipes/cobblestone_stairs_from_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/cobblestone_wall.json +16 -0
- plancraft/environments/recipes/cobblestone_wall_from_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/comparator.json +22 -0
- plancraft/environments/recipes/compass.json +19 -0
- plancraft/environments/recipes/composter.json +16 -0
- plancraft/environments/recipes/conduit.json +19 -0
- plancraft/environments/recipes/cooked_beef.json +9 -0
- plancraft/environments/recipes/cooked_beef_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_beef_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_chicken.json +9 -0
- plancraft/environments/recipes/cooked_chicken_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_chicken_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_cod.json +9 -0
- plancraft/environments/recipes/cooked_cod_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_cod_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_mutton.json +9 -0
- plancraft/environments/recipes/cooked_mutton_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_mutton_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_porkchop.json +9 -0
- plancraft/environments/recipes/cooked_porkchop_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_porkchop_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_rabbit.json +9 -0
- plancraft/environments/recipes/cooked_rabbit_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_rabbit_from_smoking.json +9 -0
- plancraft/environments/recipes/cooked_salmon.json +9 -0
- plancraft/environments/recipes/cooked_salmon_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/cooked_salmon_from_smoking.json +9 -0
- plancraft/environments/recipes/cookie.json +18 -0
- plancraft/environments/recipes/cracked_nether_bricks.json +9 -0
- plancraft/environments/recipes/cracked_polished_blackstone_bricks.json +9 -0
- plancraft/environments/recipes/cracked_stone_bricks.json +9 -0
- plancraft/environments/recipes/crafting_table.json +15 -0
- plancraft/environments/recipes/creeper_banner_pattern.json +14 -0
- plancraft/environments/recipes/crimson_button.json +12 -0
- plancraft/environments/recipes/crimson_door.json +18 -0
- plancraft/environments/recipes/crimson_fence.json +20 -0
- plancraft/environments/recipes/crimson_fence_gate.json +19 -0
- plancraft/environments/recipes/crimson_hyphae.json +17 -0
- plancraft/environments/recipes/crimson_planks.json +13 -0
- plancraft/environments/recipes/crimson_pressure_plate.json +15 -0
- plancraft/environments/recipes/crimson_sign.json +21 -0
- plancraft/environments/recipes/crimson_slab.json +16 -0
- plancraft/environments/recipes/crimson_stairs.json +18 -0
- plancraft/environments/recipes/crimson_trapdoor.json +17 -0
- plancraft/environments/recipes/crossbow.json +25 -0
- plancraft/environments/recipes/cut_red_sandstone.json +16 -0
- plancraft/environments/recipes/cut_red_sandstone_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cut_red_sandstone_slab.json +15 -0
- plancraft/environments/recipes/cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cut_red_sandstone_slab_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cut_sandstone.json +16 -0
- plancraft/environments/recipes/cut_sandstone_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cut_sandstone_slab.json +15 -0
- plancraft/environments/recipes/cut_sandstone_slab_from_cut_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cut_sandstone_slab_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/cyan_banner.json +20 -0
- plancraft/environments/recipes/cyan_bed.json +19 -0
- plancraft/environments/recipes/cyan_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/cyan_carpet.json +16 -0
- plancraft/environments/recipes/cyan_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/cyan_concrete_powder.json +37 -0
- plancraft/environments/recipes/cyan_dye.json +15 -0
- plancraft/environments/recipes/cyan_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/cyan_stained_glass.json +21 -0
- plancraft/environments/recipes/cyan_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/cyan_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/cyan_terracotta.json +21 -0
- plancraft/environments/recipes/cyan_wool.json +15 -0
- plancraft/environments/recipes/dark_oak_boat.json +16 -0
- plancraft/environments/recipes/dark_oak_button.json +12 -0
- plancraft/environments/recipes/dark_oak_door.json +18 -0
- plancraft/environments/recipes/dark_oak_fence.json +20 -0
- plancraft/environments/recipes/dark_oak_fence_gate.json +19 -0
- plancraft/environments/recipes/dark_oak_planks.json +13 -0
- plancraft/environments/recipes/dark_oak_pressure_plate.json +15 -0
- plancraft/environments/recipes/dark_oak_sign.json +21 -0
- plancraft/environments/recipes/dark_oak_slab.json +16 -0
- plancraft/environments/recipes/dark_oak_stairs.json +18 -0
- plancraft/environments/recipes/dark_oak_trapdoor.json +17 -0
- plancraft/environments/recipes/dark_oak_wood.json +17 -0
- plancraft/environments/recipes/dark_prismarine.json +19 -0
- plancraft/environments/recipes/dark_prismarine_slab.json +15 -0
- plancraft/environments/recipes/dark_prismarine_slab_from_dark_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/dark_prismarine_stairs.json +17 -0
- plancraft/environments/recipes/dark_prismarine_stairs_from_dark_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/daylight_detector.json +22 -0
- plancraft/environments/recipes/detector_rail.json +23 -0
- plancraft/environments/recipes/diamond.json +12 -0
- plancraft/environments/recipes/diamond_axe.json +19 -0
- plancraft/environments/recipes/diamond_block.json +16 -0
- plancraft/environments/recipes/diamond_boots.json +15 -0
- plancraft/environments/recipes/diamond_chestplate.json +16 -0
- plancraft/environments/recipes/diamond_from_blasting.json +9 -0
- plancraft/environments/recipes/diamond_from_smelting.json +9 -0
- plancraft/environments/recipes/diamond_helmet.json +15 -0
- plancraft/environments/recipes/diamond_hoe.json +19 -0
- plancraft/environments/recipes/diamond_leggings.json +16 -0
- plancraft/environments/recipes/diamond_pickaxe.json +19 -0
- plancraft/environments/recipes/diamond_shovel.json +19 -0
- plancraft/environments/recipes/diamond_sword.json +19 -0
- plancraft/environments/recipes/diorite.json +19 -0
- plancraft/environments/recipes/diorite_slab.json +15 -0
- plancraft/environments/recipes/diorite_slab_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/diorite_stairs.json +17 -0
- plancraft/environments/recipes/diorite_stairs_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/diorite_wall.json +16 -0
- plancraft/environments/recipes/diorite_wall_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/dispenser.json +22 -0
- plancraft/environments/recipes/dried_kelp.json +12 -0
- plancraft/environments/recipes/dried_kelp_block.json +35 -0
- plancraft/environments/recipes/dried_kelp_from_campfire_cooking.json +9 -0
- plancraft/environments/recipes/dried_kelp_from_smelting.json +9 -0
- plancraft/environments/recipes/dried_kelp_from_smoking.json +9 -0
- plancraft/environments/recipes/dropper.json +19 -0
- plancraft/environments/recipes/emerald.json +12 -0
- plancraft/environments/recipes/emerald_block.json +16 -0
- plancraft/environments/recipes/emerald_from_blasting.json +9 -0
- plancraft/environments/recipes/emerald_from_smelting.json +9 -0
- plancraft/environments/recipes/enchanting_table.json +22 -0
- plancraft/environments/recipes/end_crystal.json +22 -0
- plancraft/environments/recipes/end_rod.json +19 -0
- plancraft/environments/recipes/end_stone_brick_slab.json +15 -0
- plancraft/environments/recipes/end_stone_brick_slab_from_end_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_brick_slab_from_end_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_brick_stairs.json +17 -0
- plancraft/environments/recipes/end_stone_brick_stairs_from_end_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_brick_stairs_from_end_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_brick_wall.json +16 -0
- plancraft/environments/recipes/end_stone_brick_wall_from_end_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_brick_wall_from_end_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/end_stone_bricks.json +16 -0
- plancraft/environments/recipes/end_stone_bricks_from_end_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/ender_chest.json +19 -0
- plancraft/environments/recipes/ender_eye.json +14 -0
- plancraft/environments/recipes/fermented_spider_eye.json +17 -0
- plancraft/environments/recipes/fire_charge.json +23 -0
- plancraft/environments/recipes/firework_rocket.json +3 -0
- plancraft/environments/recipes/firework_star.json +3 -0
- plancraft/environments/recipes/firework_star_fade.json +3 -0
- plancraft/environments/recipes/fishing_rod.json +19 -0
- plancraft/environments/recipes/fletching_table.json +19 -0
- plancraft/environments/recipes/flint_and_steel.json +14 -0
- plancraft/environments/recipes/flower_banner_pattern.json +14 -0
- plancraft/environments/recipes/flower_pot.json +15 -0
- plancraft/environments/recipes/furnace.json +16 -0
- plancraft/environments/recipes/furnace_minecart.json +18 -0
- plancraft/environments/recipes/glass.json +9 -0
- plancraft/environments/recipes/glass_bottle.json +16 -0
- plancraft/environments/recipes/glass_pane.json +16 -0
- plancraft/environments/recipes/glistering_melon_slice.json +19 -0
- plancraft/environments/recipes/glowstone.json +15 -0
- plancraft/environments/recipes/gold_block.json +16 -0
- plancraft/environments/recipes/gold_ingot.json +9 -0
- plancraft/environments/recipes/gold_ingot_from_blasting.json +9 -0
- plancraft/environments/recipes/gold_ingot_from_gold_block.json +13 -0
- plancraft/environments/recipes/gold_ingot_from_nuggets.json +17 -0
- plancraft/environments/recipes/gold_nugget.json +12 -0
- plancraft/environments/recipes/gold_nugget_from_blasting.json +38 -0
- plancraft/environments/recipes/gold_nugget_from_smelting.json +38 -0
- plancraft/environments/recipes/golden_apple.json +19 -0
- plancraft/environments/recipes/golden_axe.json +19 -0
- plancraft/environments/recipes/golden_boots.json +15 -0
- plancraft/environments/recipes/golden_carrot.json +19 -0
- plancraft/environments/recipes/golden_chestplate.json +16 -0
- plancraft/environments/recipes/golden_helmet.json +15 -0
- plancraft/environments/recipes/golden_hoe.json +19 -0
- plancraft/environments/recipes/golden_leggings.json +16 -0
- plancraft/environments/recipes/golden_pickaxe.json +19 -0
- plancraft/environments/recipes/golden_shovel.json +19 -0
- plancraft/environments/recipes/golden_sword.json +19 -0
- plancraft/environments/recipes/granite.json +14 -0
- plancraft/environments/recipes/granite_slab.json +15 -0
- plancraft/environments/recipes/granite_slab_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/granite_stairs.json +17 -0
- plancraft/environments/recipes/granite_stairs_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/granite_wall.json +16 -0
- plancraft/environments/recipes/granite_wall_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/gray_banner.json +20 -0
- plancraft/environments/recipes/gray_bed.json +19 -0
- plancraft/environments/recipes/gray_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/gray_carpet.json +16 -0
- plancraft/environments/recipes/gray_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/gray_concrete_powder.json +37 -0
- plancraft/environments/recipes/gray_dye.json +15 -0
- plancraft/environments/recipes/gray_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/gray_stained_glass.json +21 -0
- plancraft/environments/recipes/gray_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/gray_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/gray_terracotta.json +21 -0
- plancraft/environments/recipes/gray_wool.json +15 -0
- plancraft/environments/recipes/green_banner.json +20 -0
- plancraft/environments/recipes/green_bed.json +19 -0
- plancraft/environments/recipes/green_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/green_carpet.json +16 -0
- plancraft/environments/recipes/green_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/green_concrete_powder.json +37 -0
- plancraft/environments/recipes/green_dye.json +9 -0
- plancraft/environments/recipes/green_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/green_stained_glass.json +21 -0
- plancraft/environments/recipes/green_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/green_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/green_terracotta.json +21 -0
- plancraft/environments/recipes/green_wool.json +15 -0
- plancraft/environments/recipes/grindstone.json +21 -0
- plancraft/environments/recipes/hay_block.json +16 -0
- plancraft/environments/recipes/heavy_weighted_pressure_plate.json +14 -0
- plancraft/environments/recipes/honey_block.json +15 -0
- plancraft/environments/recipes/honey_bottle.json +24 -0
- plancraft/environments/recipes/honeycomb_block.json +15 -0
- plancraft/environments/recipes/hopper.json +19 -0
- plancraft/environments/recipes/hopper_minecart.json +18 -0
- plancraft/environments/recipes/iron_axe.json +19 -0
- plancraft/environments/recipes/iron_bars.json +16 -0
- plancraft/environments/recipes/iron_block.json +16 -0
- plancraft/environments/recipes/iron_boots.json +15 -0
- plancraft/environments/recipes/iron_chestplate.json +16 -0
- plancraft/environments/recipes/iron_door.json +17 -0
- plancraft/environments/recipes/iron_helmet.json +15 -0
- plancraft/environments/recipes/iron_hoe.json +19 -0
- plancraft/environments/recipes/iron_ingot.json +9 -0
- plancraft/environments/recipes/iron_ingot_from_blasting.json +9 -0
- plancraft/environments/recipes/iron_ingot_from_iron_block.json +13 -0
- plancraft/environments/recipes/iron_ingot_from_nuggets.json +17 -0
- plancraft/environments/recipes/iron_leggings.json +16 -0
- plancraft/environments/recipes/iron_nugget.json +12 -0
- plancraft/environments/recipes/iron_nugget_from_blasting.json +50 -0
- plancraft/environments/recipes/iron_nugget_from_smelting.json +50 -0
- plancraft/environments/recipes/iron_pickaxe.json +19 -0
- plancraft/environments/recipes/iron_shovel.json +19 -0
- plancraft/environments/recipes/iron_sword.json +19 -0
- plancraft/environments/recipes/iron_trapdoor.json +15 -0
- plancraft/environments/recipes/item_frame.json +19 -0
- plancraft/environments/recipes/jack_o_lantern.json +18 -0
- plancraft/environments/recipes/jukebox.json +19 -0
- plancraft/environments/recipes/jungle_boat.json +16 -0
- plancraft/environments/recipes/jungle_button.json +12 -0
- plancraft/environments/recipes/jungle_door.json +18 -0
- plancraft/environments/recipes/jungle_fence.json +20 -0
- plancraft/environments/recipes/jungle_fence_gate.json +19 -0
- plancraft/environments/recipes/jungle_planks.json +13 -0
- plancraft/environments/recipes/jungle_pressure_plate.json +15 -0
- plancraft/environments/recipes/jungle_sign.json +21 -0
- plancraft/environments/recipes/jungle_slab.json +16 -0
- plancraft/environments/recipes/jungle_stairs.json +18 -0
- plancraft/environments/recipes/jungle_trapdoor.json +17 -0
- plancraft/environments/recipes/jungle_wood.json +17 -0
- plancraft/environments/recipes/ladder.json +17 -0
- plancraft/environments/recipes/lantern.json +19 -0
- plancraft/environments/recipes/lapis_block.json +16 -0
- plancraft/environments/recipes/lapis_from_blasting.json +9 -0
- plancraft/environments/recipes/lapis_from_smelting.json +9 -0
- plancraft/environments/recipes/lapis_lazuli.json +12 -0
- plancraft/environments/recipes/lead.json +20 -0
- plancraft/environments/recipes/leather.json +15 -0
- plancraft/environments/recipes/leather_boots.json +15 -0
- plancraft/environments/recipes/leather_chestplate.json +16 -0
- plancraft/environments/recipes/leather_helmet.json +15 -0
- plancraft/environments/recipes/leather_horse_armor.json +16 -0
- plancraft/environments/recipes/leather_leggings.json +16 -0
- plancraft/environments/recipes/lectern.json +19 -0
- plancraft/environments/recipes/lever.json +18 -0
- plancraft/environments/recipes/light_blue_banner.json +20 -0
- plancraft/environments/recipes/light_blue_bed.json +19 -0
- plancraft/environments/recipes/light_blue_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/light_blue_carpet.json +16 -0
- plancraft/environments/recipes/light_blue_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/light_blue_concrete_powder.json +37 -0
- plancraft/environments/recipes/light_blue_dye_from_blue_orchid.json +12 -0
- plancraft/environments/recipes/light_blue_dye_from_blue_white_dye.json +16 -0
- plancraft/environments/recipes/light_blue_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/light_blue_stained_glass.json +21 -0
- plancraft/environments/recipes/light_blue_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/light_blue_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/light_blue_terracotta.json +21 -0
- plancraft/environments/recipes/light_blue_wool.json +15 -0
- plancraft/environments/recipes/light_gray_banner.json +20 -0
- plancraft/environments/recipes/light_gray_bed.json +19 -0
- plancraft/environments/recipes/light_gray_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/light_gray_carpet.json +16 -0
- plancraft/environments/recipes/light_gray_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/light_gray_concrete_powder.json +37 -0
- plancraft/environments/recipes/light_gray_dye_from_azure_bluet.json +12 -0
- plancraft/environments/recipes/light_gray_dye_from_black_white_dye.json +19 -0
- plancraft/environments/recipes/light_gray_dye_from_gray_white_dye.json +16 -0
- plancraft/environments/recipes/light_gray_dye_from_oxeye_daisy.json +12 -0
- plancraft/environments/recipes/light_gray_dye_from_white_tulip.json +12 -0
- plancraft/environments/recipes/light_gray_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/light_gray_stained_glass.json +21 -0
- plancraft/environments/recipes/light_gray_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/light_gray_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/light_gray_terracotta.json +21 -0
- plancraft/environments/recipes/light_gray_wool.json +15 -0
- plancraft/environments/recipes/light_weighted_pressure_plate.json +14 -0
- plancraft/environments/recipes/lime_banner.json +20 -0
- plancraft/environments/recipes/lime_bed.json +19 -0
- plancraft/environments/recipes/lime_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/lime_carpet.json +16 -0
- plancraft/environments/recipes/lime_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/lime_concrete_powder.json +37 -0
- plancraft/environments/recipes/lime_dye.json +15 -0
- plancraft/environments/recipes/lime_dye_from_smelting.json +9 -0
- plancraft/environments/recipes/lime_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/lime_stained_glass.json +21 -0
- plancraft/environments/recipes/lime_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/lime_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/lime_terracotta.json +21 -0
- plancraft/environments/recipes/lime_wool.json +15 -0
- plancraft/environments/recipes/lodestone.json +19 -0
- plancraft/environments/recipes/loom.json +18 -0
- plancraft/environments/recipes/magenta_banner.json +20 -0
- plancraft/environments/recipes/magenta_bed.json +19 -0
- plancraft/environments/recipes/magenta_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/magenta_carpet.json +16 -0
- plancraft/environments/recipes/magenta_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/magenta_concrete_powder.json +37 -0
- plancraft/environments/recipes/magenta_dye_from_allium.json +12 -0
- plancraft/environments/recipes/magenta_dye_from_blue_red_pink.json +19 -0
- plancraft/environments/recipes/magenta_dye_from_blue_red_white_dye.json +22 -0
- plancraft/environments/recipes/magenta_dye_from_lilac.json +13 -0
- plancraft/environments/recipes/magenta_dye_from_purple_and_pink.json +16 -0
- plancraft/environments/recipes/magenta_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/magenta_stained_glass.json +21 -0
- plancraft/environments/recipes/magenta_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/magenta_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/magenta_terracotta.json +21 -0
- plancraft/environments/recipes/magenta_wool.json +15 -0
- plancraft/environments/recipes/magma_block.json +15 -0
- plancraft/environments/recipes/magma_cream.json +14 -0
- plancraft/environments/recipes/map.json +19 -0
- plancraft/environments/recipes/map_cloning.json +3 -0
- plancraft/environments/recipes/map_extending.json +3 -0
- plancraft/environments/recipes/melon.json +16 -0
- plancraft/environments/recipes/melon_seeds.json +11 -0
- plancraft/environments/recipes/minecart.json +15 -0
- plancraft/environments/recipes/mojang_banner_pattern.json +14 -0
- plancraft/environments/recipes/mossy_cobblestone.json +14 -0
- plancraft/environments/recipes/mossy_cobblestone_slab.json +15 -0
- plancraft/environments/recipes/mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_cobblestone_stairs.json +17 -0
- plancraft/environments/recipes/mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_cobblestone_wall.json +16 -0
- plancraft/environments/recipes/mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_stone_brick_slab.json +15 -0
- plancraft/environments/recipes/mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_stone_brick_stairs.json +17 -0
- plancraft/environments/recipes/mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_stone_brick_wall.json +16 -0
- plancraft/environments/recipes/mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting.json +8 -0
- plancraft/environments/recipes/mossy_stone_bricks.json +14 -0
- plancraft/environments/recipes/mushroom_stew.json +17 -0
- plancraft/environments/recipes/nether_brick.json +9 -0
- plancraft/environments/recipes/nether_brick_fence.json +19 -0
- plancraft/environments/recipes/nether_brick_slab.json +15 -0
- plancraft/environments/recipes/nether_brick_slab_from_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/nether_brick_stairs.json +17 -0
- plancraft/environments/recipes/nether_brick_stairs_from_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/nether_brick_wall.json +16 -0
- plancraft/environments/recipes/nether_brick_wall_from_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/nether_bricks.json +15 -0
- plancraft/environments/recipes/nether_wart_block.json +16 -0
- plancraft/environments/recipes/netherite_axe_smithing.json +12 -0
- plancraft/environments/recipes/netherite_block.json +16 -0
- plancraft/environments/recipes/netherite_boots_smithing.json +12 -0
- plancraft/environments/recipes/netherite_chestplate_smithing.json +12 -0
- plancraft/environments/recipes/netherite_helmet_smithing.json +12 -0
- plancraft/environments/recipes/netherite_hoe_smithing.json +12 -0
- plancraft/environments/recipes/netherite_ingot.json +33 -0
- plancraft/environments/recipes/netherite_ingot_from_netherite_block.json +13 -0
- plancraft/environments/recipes/netherite_leggings_smithing.json +12 -0
- plancraft/environments/recipes/netherite_pickaxe_smithing.json +12 -0
- plancraft/environments/recipes/netherite_scrap.json +9 -0
- plancraft/environments/recipes/netherite_scrap_from_blasting.json +9 -0
- plancraft/environments/recipes/netherite_shovel_smithing.json +12 -0
- plancraft/environments/recipes/netherite_sword_smithing.json +12 -0
- plancraft/environments/recipes/note_block.json +19 -0
- plancraft/environments/recipes/oak_boat.json +16 -0
- plancraft/environments/recipes/oak_button.json +12 -0
- plancraft/environments/recipes/oak_door.json +18 -0
- plancraft/environments/recipes/oak_fence.json +20 -0
- plancraft/environments/recipes/oak_fence_gate.json +19 -0
- plancraft/environments/recipes/oak_planks.json +13 -0
- plancraft/environments/recipes/oak_pressure_plate.json +15 -0
- plancraft/environments/recipes/oak_sign.json +21 -0
- plancraft/environments/recipes/oak_slab.json +16 -0
- plancraft/environments/recipes/oak_stairs.json +18 -0
- plancraft/environments/recipes/oak_trapdoor.json +17 -0
- plancraft/environments/recipes/oak_wood.json +17 -0
- plancraft/environments/recipes/observer.json +22 -0
- plancraft/environments/recipes/orange_banner.json +20 -0
- plancraft/environments/recipes/orange_bed.json +19 -0
- plancraft/environments/recipes/orange_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/orange_carpet.json +16 -0
- plancraft/environments/recipes/orange_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/orange_concrete_powder.json +37 -0
- plancraft/environments/recipes/orange_dye_from_orange_tulip.json +12 -0
- plancraft/environments/recipes/orange_dye_from_red_yellow.json +16 -0
- plancraft/environments/recipes/orange_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/orange_stained_glass.json +21 -0
- plancraft/environments/recipes/orange_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/orange_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/orange_terracotta.json +21 -0
- plancraft/environments/recipes/orange_wool.json +15 -0
- plancraft/environments/recipes/packed_ice.json +35 -0
- plancraft/environments/recipes/painting.json +19 -0
- plancraft/environments/recipes/paper.json +15 -0
- plancraft/environments/recipes/pink_banner.json +20 -0
- plancraft/environments/recipes/pink_bed.json +19 -0
- plancraft/environments/recipes/pink_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/pink_carpet.json +16 -0
- plancraft/environments/recipes/pink_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/pink_concrete_powder.json +37 -0
- plancraft/environments/recipes/pink_dye_from_peony.json +13 -0
- plancraft/environments/recipes/pink_dye_from_pink_tulip.json +12 -0
- plancraft/environments/recipes/pink_dye_from_red_white_dye.json +16 -0
- plancraft/environments/recipes/pink_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/pink_stained_glass.json +21 -0
- plancraft/environments/recipes/pink_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/pink_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/pink_terracotta.json +21 -0
- plancraft/environments/recipes/pink_wool.json +15 -0
- plancraft/environments/recipes/piston.json +25 -0
- plancraft/environments/recipes/polished_andesite.json +16 -0
- plancraft/environments/recipes/polished_andesite_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_andesite_slab.json +15 -0
- plancraft/environments/recipes/polished_andesite_slab_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_andesite_slab_from_polished_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_andesite_stairs.json +17 -0
- plancraft/environments/recipes/polished_andesite_stairs_from_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_andesite_stairs_from_polished_andesite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_basalt.json +16 -0
- plancraft/environments/recipes/polished_basalt_from_basalt_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone.json +16 -0
- plancraft/environments/recipes/polished_blackstone_brick_slab.json +15 -0
- plancraft/environments/recipes/polished_blackstone_brick_slab_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_slab_from_polished_blackstone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_slab_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_stairs.json +17 -0
- plancraft/environments/recipes/polished_blackstone_brick_stairs_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_stairs_from_polished_blackstone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_stairs_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_wall.json +16 -0
- plancraft/environments/recipes/polished_blackstone_brick_wall_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_wall_from_polished_blackstone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_brick_wall_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_bricks.json +16 -0
- plancraft/environments/recipes/polished_blackstone_bricks_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_bricks_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_button.json +11 -0
- plancraft/environments/recipes/polished_blackstone_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_pressure_plate.json +14 -0
- plancraft/environments/recipes/polished_blackstone_slab.json +15 -0
- plancraft/environments/recipes/polished_blackstone_slab_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_slab_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_stairs.json +17 -0
- plancraft/environments/recipes/polished_blackstone_stairs_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_stairs_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_wall.json +16 -0
- plancraft/environments/recipes/polished_blackstone_wall_from_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_blackstone_wall_from_polished_blackstone_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_diorite.json +16 -0
- plancraft/environments/recipes/polished_diorite_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_diorite_slab.json +15 -0
- plancraft/environments/recipes/polished_diorite_slab_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_diorite_slab_from_polished_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_diorite_stairs.json +17 -0
- plancraft/environments/recipes/polished_diorite_stairs_from_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_diorite_stairs_from_polished_diorite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_granite.json +16 -0
- plancraft/environments/recipes/polished_granite_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_granite_slab.json +15 -0
- plancraft/environments/recipes/polished_granite_slab_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_granite_slab_from_polished_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_granite_stairs.json +17 -0
- plancraft/environments/recipes/polished_granite_stairs_from_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/polished_granite_stairs_from_polished_granite_stonecutting.json +8 -0
- plancraft/environments/recipes/popped_chorus_fruit.json +9 -0
- plancraft/environments/recipes/powered_rail.json +23 -0
- plancraft/environments/recipes/prismarine.json +15 -0
- plancraft/environments/recipes/prismarine_brick_slab.json +15 -0
- plancraft/environments/recipes/prismarine_brick_slab_from_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/prismarine_brick_stairs.json +17 -0
- plancraft/environments/recipes/prismarine_brick_stairs_from_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/prismarine_bricks.json +16 -0
- plancraft/environments/recipes/prismarine_slab.json +15 -0
- plancraft/environments/recipes/prismarine_slab_from_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/prismarine_stairs.json +17 -0
- plancraft/environments/recipes/prismarine_stairs_from_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/prismarine_wall.json +16 -0
- plancraft/environments/recipes/prismarine_wall_from_prismarine_stonecutting.json +8 -0
- plancraft/environments/recipes/pumpkin_pie.json +17 -0
- plancraft/environments/recipes/pumpkin_seeds.json +12 -0
- plancraft/environments/recipes/purple_banner.json +20 -0
- plancraft/environments/recipes/purple_bed.json +19 -0
- plancraft/environments/recipes/purple_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/purple_carpet.json +16 -0
- plancraft/environments/recipes/purple_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/purple_concrete_powder.json +37 -0
- plancraft/environments/recipes/purple_dye.json +15 -0
- plancraft/environments/recipes/purple_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/purple_stained_glass.json +21 -0
- plancraft/environments/recipes/purple_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/purple_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/purple_terracotta.json +21 -0
- plancraft/environments/recipes/purple_wool.json +15 -0
- plancraft/environments/recipes/purpur_block.json +16 -0
- plancraft/environments/recipes/purpur_pillar.json +15 -0
- plancraft/environments/recipes/purpur_pillar_from_purpur_block_stonecutting.json +8 -0
- plancraft/environments/recipes/purpur_slab.json +20 -0
- plancraft/environments/recipes/purpur_slab_from_purpur_block_stonecutting.json +8 -0
- plancraft/environments/recipes/purpur_stairs.json +22 -0
- plancraft/environments/recipes/purpur_stairs_from_purpur_block_stonecutting.json +8 -0
- plancraft/environments/recipes/quartz.json +9 -0
- plancraft/environments/recipes/quartz_block.json +15 -0
- plancraft/environments/recipes/quartz_bricks.json +16 -0
- plancraft/environments/recipes/quartz_bricks_from_quartz_block_stonecutting.json +8 -0
- plancraft/environments/recipes/quartz_from_blasting.json +9 -0
- plancraft/environments/recipes/quartz_pillar.json +16 -0
- plancraft/environments/recipes/quartz_pillar_from_quartz_block_stonecutting.json +8 -0
- plancraft/environments/recipes/quartz_slab.json +23 -0
- plancraft/environments/recipes/quartz_slab_from_stonecutting.json +8 -0
- plancraft/environments/recipes/quartz_stairs.json +25 -0
- plancraft/environments/recipes/quartz_stairs_from_quartz_block_stonecutting.json +8 -0
- plancraft/environments/recipes/rabbit_stew_from_brown_mushroom.json +24 -0
- plancraft/environments/recipes/rabbit_stew_from_red_mushroom.json +24 -0
- plancraft/environments/recipes/rail.json +20 -0
- plancraft/environments/recipes/red_banner.json +20 -0
- plancraft/environments/recipes/red_bed.json +19 -0
- plancraft/environments/recipes/red_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/red_carpet.json +16 -0
- plancraft/environments/recipes/red_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/red_concrete_powder.json +37 -0
- plancraft/environments/recipes/red_dye_from_beetroot.json +12 -0
- plancraft/environments/recipes/red_dye_from_poppy.json +12 -0
- plancraft/environments/recipes/red_dye_from_rose_bush.json +13 -0
- plancraft/environments/recipes/red_dye_from_tulip.json +12 -0
- plancraft/environments/recipes/red_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/red_nether_brick_slab.json +15 -0
- plancraft/environments/recipes/red_nether_brick_slab_from_red_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/red_nether_brick_stairs.json +17 -0
- plancraft/environments/recipes/red_nether_brick_stairs_from_red_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/red_nether_brick_wall.json +16 -0
- plancraft/environments/recipes/red_nether_brick_wall_from_red_nether_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/red_nether_bricks.json +18 -0
- plancraft/environments/recipes/red_sandstone.json +15 -0
- plancraft/environments/recipes/red_sandstone_slab.json +20 -0
- plancraft/environments/recipes/red_sandstone_slab_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/red_sandstone_stairs.json +25 -0
- plancraft/environments/recipes/red_sandstone_stairs_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/red_sandstone_wall.json +16 -0
- plancraft/environments/recipes/red_sandstone_wall_from_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/red_stained_glass.json +21 -0
- plancraft/environments/recipes/red_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/red_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/red_terracotta.json +21 -0
- plancraft/environments/recipes/red_wool.json +15 -0
- plancraft/environments/recipes/redstone.json +12 -0
- plancraft/environments/recipes/redstone_block.json +16 -0
- plancraft/environments/recipes/redstone_from_blasting.json +9 -0
- plancraft/environments/recipes/redstone_from_smelting.json +9 -0
- plancraft/environments/recipes/redstone_lamp.json +19 -0
- plancraft/environments/recipes/redstone_torch.json +18 -0
- plancraft/environments/recipes/repair_item.json +3 -0
- plancraft/environments/recipes/repeater.json +21 -0
- plancraft/environments/recipes/respawn_anchor.json +19 -0
- plancraft/environments/recipes/sandstone.json +15 -0
- plancraft/environments/recipes/sandstone_slab.json +20 -0
- plancraft/environments/recipes/sandstone_slab_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/sandstone_stairs.json +25 -0
- plancraft/environments/recipes/sandstone_stairs_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/sandstone_wall.json +16 -0
- plancraft/environments/recipes/sandstone_wall_from_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/scaffolding.json +20 -0
- plancraft/environments/recipes/sea_lantern.json +19 -0
- plancraft/environments/recipes/shears.json +15 -0
- plancraft/environments/recipes/shield.json +19 -0
- plancraft/environments/recipes/shield_decoration.json +3 -0
- plancraft/environments/recipes/shulker_box.json +19 -0
- plancraft/environments/recipes/shulker_box_coloring.json +3 -0
- plancraft/environments/recipes/skull_banner_pattern.json +14 -0
- plancraft/environments/recipes/slime_ball.json +12 -0
- plancraft/environments/recipes/slime_block.json +16 -0
- plancraft/environments/recipes/smithing_table.json +19 -0
- plancraft/environments/recipes/smoker.json +19 -0
- plancraft/environments/recipes/smooth_quartz.json +9 -0
- plancraft/environments/recipes/smooth_quartz_slab.json +15 -0
- plancraft/environments/recipes/smooth_quartz_slab_from_smooth_quartz_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_quartz_stairs.json +17 -0
- plancraft/environments/recipes/smooth_quartz_stairs_from_smooth_quartz_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_red_sandstone.json +9 -0
- plancraft/environments/recipes/smooth_red_sandstone_slab.json +15 -0
- plancraft/environments/recipes/smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_red_sandstone_stairs.json +17 -0
- plancraft/environments/recipes/smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_sandstone.json +9 -0
- plancraft/environments/recipes/smooth_sandstone_slab.json +15 -0
- plancraft/environments/recipes/smooth_sandstone_slab_from_smooth_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_sandstone_stairs.json +17 -0
- plancraft/environments/recipes/smooth_sandstone_stairs_from_smooth_sandstone_stonecutting.json +8 -0
- plancraft/environments/recipes/smooth_stone.json +9 -0
- plancraft/environments/recipes/smooth_stone_slab.json +15 -0
- plancraft/environments/recipes/smooth_stone_slab_from_smooth_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/snow.json +15 -0
- plancraft/environments/recipes/snow_block.json +15 -0
- plancraft/environments/recipes/soul_campfire.json +22 -0
- plancraft/environments/recipes/soul_lantern.json +19 -0
- plancraft/environments/recipes/soul_torch.json +28 -0
- plancraft/environments/recipes/spectral_arrow.json +20 -0
- plancraft/environments/recipes/sponge.json +9 -0
- plancraft/environments/recipes/spruce_boat.json +16 -0
- plancraft/environments/recipes/spruce_button.json +12 -0
- plancraft/environments/recipes/spruce_door.json +18 -0
- plancraft/environments/recipes/spruce_fence.json +20 -0
- plancraft/environments/recipes/spruce_fence_gate.json +19 -0
- plancraft/environments/recipes/spruce_planks.json +13 -0
- plancraft/environments/recipes/spruce_pressure_plate.json +15 -0
- plancraft/environments/recipes/spruce_sign.json +21 -0
- plancraft/environments/recipes/spruce_slab.json +16 -0
- plancraft/environments/recipes/spruce_stairs.json +18 -0
- plancraft/environments/recipes/spruce_trapdoor.json +17 -0
- plancraft/environments/recipes/spruce_wood.json +17 -0
- plancraft/environments/recipes/stick.json +17 -0
- plancraft/environments/recipes/stick_from_bamboo_item.json +16 -0
- plancraft/environments/recipes/sticky_piston.json +18 -0
- plancraft/environments/recipes/stone.json +9 -0
- plancraft/environments/recipes/stone_axe.json +19 -0
- plancraft/environments/recipes/stone_brick_slab.json +15 -0
- plancraft/environments/recipes/stone_brick_slab_from_stone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_brick_slab_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_brick_stairs.json +17 -0
- plancraft/environments/recipes/stone_brick_stairs_from_stone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_brick_stairs_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_brick_wall.json +16 -0
- plancraft/environments/recipes/stone_brick_wall_from_stone_bricks_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_brick_walls_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_bricks.json +16 -0
- plancraft/environments/recipes/stone_bricks_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_button.json +11 -0
- plancraft/environments/recipes/stone_hoe.json +19 -0
- plancraft/environments/recipes/stone_pickaxe.json +19 -0
- plancraft/environments/recipes/stone_pressure_plate.json +14 -0
- plancraft/environments/recipes/stone_shovel.json +19 -0
- plancraft/environments/recipes/stone_slab.json +15 -0
- plancraft/environments/recipes/stone_slab_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_stairs.json +17 -0
- plancraft/environments/recipes/stone_stairs_from_stone_stonecutting.json +8 -0
- plancraft/environments/recipes/stone_sword.json +19 -0
- plancraft/environments/recipes/stonecutter.json +18 -0
- plancraft/environments/recipes/stripped_acacia_wood.json +17 -0
- plancraft/environments/recipes/stripped_birch_wood.json +17 -0
- plancraft/environments/recipes/stripped_crimson_hyphae.json +17 -0
- plancraft/environments/recipes/stripped_dark_oak_wood.json +17 -0
- plancraft/environments/recipes/stripped_jungle_wood.json +17 -0
- plancraft/environments/recipes/stripped_oak_wood.json +17 -0
- plancraft/environments/recipes/stripped_spruce_wood.json +17 -0
- plancraft/environments/recipes/stripped_warped_hyphae.json +17 -0
- plancraft/environments/recipes/sugar_from_honey_bottle.json +13 -0
- plancraft/environments/recipes/sugar_from_sugar_cane.json +12 -0
- plancraft/environments/recipes/suspicious_stew.json +3 -0
- plancraft/environments/recipes/target.json +19 -0
- plancraft/environments/recipes/terracotta.json +9 -0
- plancraft/environments/recipes/tipped_arrow.json +3 -0
- plancraft/environments/recipes/tnt.json +24 -0
- plancraft/environments/recipes/tnt_minecart.json +18 -0
- plancraft/environments/recipes/torch.json +24 -0
- plancraft/environments/recipes/trapped_chest.json +14 -0
- plancraft/environments/recipes/tripwire_hook.json +23 -0
- plancraft/environments/recipes/turtle_helmet.json +15 -0
- plancraft/environments/recipes/warped_button.json +12 -0
- plancraft/environments/recipes/warped_door.json +18 -0
- plancraft/environments/recipes/warped_fence.json +20 -0
- plancraft/environments/recipes/warped_fence_gate.json +19 -0
- plancraft/environments/recipes/warped_fungus_on_a_stick.json +18 -0
- plancraft/environments/recipes/warped_hyphae.json +17 -0
- plancraft/environments/recipes/warped_planks.json +13 -0
- plancraft/environments/recipes/warped_pressure_plate.json +15 -0
- plancraft/environments/recipes/warped_sign.json +21 -0
- plancraft/environments/recipes/warped_slab.json +16 -0
- plancraft/environments/recipes/warped_stairs.json +18 -0
- plancraft/environments/recipes/warped_trapdoor.json +17 -0
- plancraft/environments/recipes/wheat.json +12 -0
- plancraft/environments/recipes/white_banner.json +20 -0
- plancraft/environments/recipes/white_bed.json +19 -0
- plancraft/environments/recipes/white_carpet.json +16 -0
- plancraft/environments/recipes/white_concrete_powder.json +37 -0
- plancraft/environments/recipes/white_dye.json +12 -0
- plancraft/environments/recipes/white_dye_from_lily_of_the_valley.json +12 -0
- plancraft/environments/recipes/white_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/white_stained_glass.json +21 -0
- plancraft/environments/recipes/white_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/white_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/white_terracotta.json +21 -0
- plancraft/environments/recipes/white_wool_from_string.json +15 -0
- plancraft/environments/recipes/wooden_axe.json +19 -0
- plancraft/environments/recipes/wooden_hoe.json +19 -0
- plancraft/environments/recipes/wooden_pickaxe.json +19 -0
- plancraft/environments/recipes/wooden_shovel.json +19 -0
- plancraft/environments/recipes/wooden_sword.json +19 -0
- plancraft/environments/recipes/writable_book.json +17 -0
- plancraft/environments/recipes/yellow_banner.json +20 -0
- plancraft/environments/recipes/yellow_bed.json +19 -0
- plancraft/environments/recipes/yellow_bed_from_white_bed.json +15 -0
- plancraft/environments/recipes/yellow_carpet.json +16 -0
- plancraft/environments/recipes/yellow_carpet_from_white_carpet.json +21 -0
- plancraft/environments/recipes/yellow_concrete_powder.json +37 -0
- plancraft/environments/recipes/yellow_dye_from_dandelion.json +12 -0
- plancraft/environments/recipes/yellow_dye_from_sunflower.json +13 -0
- plancraft/environments/recipes/yellow_glazed_terracotta.json +9 -0
- plancraft/environments/recipes/yellow_stained_glass.json +21 -0
- plancraft/environments/recipes/yellow_stained_glass_pane.json +17 -0
- plancraft/environments/recipes/yellow_stained_glass_pane_from_glass_pane.json +21 -0
- plancraft/environments/recipes/yellow_terracotta.json +21 -0
- plancraft/environments/recipes/yellow_wool.json +15 -0
- plancraft/environments/recipes.py +542 -0
- plancraft/environments/sampler.py +224 -0
- plancraft/environments/tags/acacia_logs.json +9 -0
- plancraft/environments/tags/anvil.json +8 -0
- plancraft/environments/tags/arrows.json +8 -0
- plancraft/environments/tags/banners.json +21 -0
- plancraft/environments/tags/beacon_payment_items.json +10 -0
- plancraft/environments/tags/beds.json +21 -0
- plancraft/environments/tags/birch_logs.json +9 -0
- plancraft/environments/tags/boats.json +11 -0
- plancraft/environments/tags/buttons.json +8 -0
- plancraft/environments/tags/carpets.json +21 -0
- plancraft/environments/tags/coals.json +7 -0
- plancraft/environments/tags/creeper_drop_music_discs.json +17 -0
- plancraft/environments/tags/crimson_stems.json +9 -0
- plancraft/environments/tags/dark_oak_logs.json +9 -0
- plancraft/environments/tags/doors.json +7 -0
- plancraft/environments/tags/fences.json +7 -0
- plancraft/environments/tags/fishes.json +11 -0
- plancraft/environments/tags/flowers.json +7 -0
- plancraft/environments/tags/gold_ores.json +7 -0
- plancraft/environments/tags/jungle_logs.json +9 -0
- plancraft/environments/tags/leaves.json +11 -0
- plancraft/environments/tags/lectern_books.json +7 -0
- plancraft/environments/tags/logs.json +8 -0
- plancraft/environments/tags/logs_that_burn.json +11 -0
- plancraft/environments/tags/music_discs.json +7 -0
- plancraft/environments/tags/non_flammable_wood.json +33 -0
- plancraft/environments/tags/oak_logs.json +9 -0
- plancraft/environments/tags/piglin_loved.json +26 -0
- plancraft/environments/tags/piglin_repellents.json +8 -0
- plancraft/environments/tags/planks.json +13 -0
- plancraft/environments/tags/rails.json +9 -0
- plancraft/environments/tags/sand.json +7 -0
- plancraft/environments/tags/saplings.json +11 -0
- plancraft/environments/tags/signs.json +13 -0
- plancraft/environments/tags/slabs.json +38 -0
- plancraft/environments/tags/small_flowers.json +18 -0
- plancraft/environments/tags/soul_fire_base_blocks.json +7 -0
- plancraft/environments/tags/spruce_logs.json +9 -0
- plancraft/environments/tags/stairs.json +34 -0
- plancraft/environments/tags/stone_bricks.json +9 -0
- plancraft/environments/tags/stone_crafting_materials.json +7 -0
- plancraft/environments/tags/stone_tool_materials.json +7 -0
- plancraft/environments/tags/tall_flowers.json +9 -0
- plancraft/environments/tags/trapdoors.json +7 -0
- plancraft/environments/tags/walls.json +22 -0
- plancraft/environments/tags/warped_stems.json +9 -0
- plancraft/environments/tags/wooden_buttons.json +13 -0
- plancraft/environments/tags/wooden_doors.json +13 -0
- plancraft/environments/tags/wooden_fences.json +13 -0
- plancraft/environments/tags/wooden_pressure_plates.json +13 -0
- plancraft/environments/tags/wooden_slabs.json +13 -0
- plancraft/environments/tags/wooden_stairs.json +13 -0
- plancraft/environments/tags/wooden_trapdoors.json +13 -0
- plancraft/environments/tags/wool.json +21 -0
- plancraft/evaluator.py +273 -0
- plancraft/models/__init__.py +21 -0
- plancraft/models/act.py +184 -0
- plancraft/models/base.py +152 -0
- plancraft/models/bbox_model.py +492 -0
- plancraft/models/dummy.py +54 -0
- plancraft/models/few_shot_images/0.png +0 -0
- plancraft/models/few_shot_images/1.png +0 -0
- plancraft/models/few_shot_images/2.png +0 -0
- plancraft/models/few_shot_images/3.png +0 -0
- plancraft/models/few_shot_images/__init__.py +16 -0
- plancraft/models/generators.py +480 -0
- plancraft/models/oam.py +283 -0
- plancraft/models/oracle.py +265 -0
- plancraft/models/prompts.py +158 -0
- plancraft/models/react.py +93 -0
- plancraft/models/utils.py +289 -0
- plancraft/train/dataset.py +187 -0
- plancraft/utils.py +84 -0
- {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/METADATA +1 -1
- plancraft-0.1.4.dist-info/RECORD +948 -0
- plancraft-0.1.4.dist-info/top_level.txt +1 -0
- plancraft-0.1.2.dist-info/RECORD +0 -5
- plancraft-0.1.2.dist-info/top_level.txt +0 -1
- {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/LICENSE +0 -0
- {plancraft-0.1.2.dist-info → plancraft-0.1.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,224 @@
|
|
1
|
+
import math
|
2
|
+
import random
|
3
|
+
from collections import Counter
|
4
|
+
|
5
|
+
import numpy as np
|
6
|
+
from plancraft.environments.items import all_data, ALL_ITEMS
|
7
|
+
from plancraft.environments.recipes import RECIPES
|
8
|
+
from plancraft.environments.planner import optimal_planner, get_ancestors
|
9
|
+
|
10
|
+
|
11
|
+
MAX_STACK_SIZE = {}
|
12
|
+
for data_item in all_data["items"]:
|
13
|
+
if data_item["stackable"]:
|
14
|
+
MAX_STACK_SIZE[data_item["type"]] = data_item["stackSize"]
|
15
|
+
else:
|
16
|
+
MAX_STACK_SIZE[data_item["type"]] = 1
|
17
|
+
|
18
|
+
|
19
|
+
def sample_distractors(
|
20
|
+
exclude_set: set = None, num_distractors: int = 16
|
21
|
+
) -> dict[str, int]:
|
22
|
+
distractors = {}
|
23
|
+
while len(distractors) < num_distractors:
|
24
|
+
item = random.choice(ALL_ITEMS)
|
25
|
+
if exclude_set is not None and item in exclude_set:
|
26
|
+
continue
|
27
|
+
count = random.randint(1, MAX_STACK_SIZE[item])
|
28
|
+
distractors[item] = count
|
29
|
+
return distractors
|
30
|
+
|
31
|
+
|
32
|
+
def assign_to_slots(inventory: dict[str, int]) -> list[dict]:
|
33
|
+
# slots available outside of crafting interface
|
34
|
+
available_slots = list(range(10, 46))
|
35
|
+
random.shuffle(available_slots)
|
36
|
+
inventory_list = []
|
37
|
+
|
38
|
+
for item, total_count in inventory.items():
|
39
|
+
while total_count > 0:
|
40
|
+
if len(available_slots) == 0:
|
41
|
+
print("Not enough slots available")
|
42
|
+
break
|
43
|
+
slot = available_slots.pop()
|
44
|
+
count_in_slot = min(total_count, MAX_STACK_SIZE[item])
|
45
|
+
inventory_list.append({"slot": slot, "item": item, "count": count_in_slot})
|
46
|
+
total_count -= count_in_slot
|
47
|
+
|
48
|
+
return inventory_list
|
49
|
+
|
50
|
+
|
51
|
+
def sample_recipes(
|
52
|
+
target: str,
|
53
|
+
overall_exclude_set: set,
|
54
|
+
target_count: int = 1,
|
55
|
+
current_depth=0,
|
56
|
+
max_depth=20,
|
57
|
+
) -> tuple[set, set]:
|
58
|
+
# stop if the depth is too high
|
59
|
+
if current_depth > max_depth:
|
60
|
+
return {}, overall_exclude_set
|
61
|
+
|
62
|
+
# get all the recipes that can craft the target
|
63
|
+
overall_exclude_set.update([target])
|
64
|
+
local_exclude_set = set()
|
65
|
+
random_recipes = []
|
66
|
+
for r in RECIPES[target]:
|
67
|
+
recipe_inputs, exclude_set = r.sample_inputs()
|
68
|
+
# if inputs are already in the exclude set, skip this recipe (ensures no cycle)
|
69
|
+
if exclude_set.intersection(overall_exclude_set):
|
70
|
+
return {}, overall_exclude_set
|
71
|
+
local_exclude_set.update(exclude_set)
|
72
|
+
random_recipes.append((r, recipe_inputs))
|
73
|
+
|
74
|
+
overall_exclude_set |= local_exclude_set
|
75
|
+
|
76
|
+
# no recipes found
|
77
|
+
if len(random_recipes) == 0:
|
78
|
+
return {}, overall_exclude_set
|
79
|
+
|
80
|
+
# sample a random recipe
|
81
|
+
random_recipe = random.choice(random_recipes)
|
82
|
+
recipe, start_inputs = random_recipe
|
83
|
+
|
84
|
+
# recipe will not produce enough
|
85
|
+
if recipe.result.count < target_count:
|
86
|
+
# must do recipe X times
|
87
|
+
recipe_multiplier = math.ceil(target_count / recipe.result.count)
|
88
|
+
start_inputs = {k: v * recipe_multiplier for k, v in start_inputs.items()}
|
89
|
+
|
90
|
+
for input_item in list(start_inputs.keys()):
|
91
|
+
# randomize depth first search to end early
|
92
|
+
if random.choice([True, False]):
|
93
|
+
continue
|
94
|
+
|
95
|
+
children_recipe_inputs, updated_exclude_set = sample_recipes(
|
96
|
+
target=input_item,
|
97
|
+
overall_exclude_set=overall_exclude_set,
|
98
|
+
target_count=start_inputs[input_item],
|
99
|
+
current_depth=current_depth + 1,
|
100
|
+
)
|
101
|
+
if len(children_recipe_inputs) == 0:
|
102
|
+
continue
|
103
|
+
|
104
|
+
overall_exclude_set.update(updated_exclude_set)
|
105
|
+
|
106
|
+
# remove recipe input item since we are crafting it
|
107
|
+
start_inputs[input_item] = 0
|
108
|
+
|
109
|
+
# add the children recipe inputs
|
110
|
+
for item, count in children_recipe_inputs.items():
|
111
|
+
start_inputs[item] = start_inputs.get(item, 0) + count
|
112
|
+
|
113
|
+
overall_exclude_set = overall_exclude_set - {None}
|
114
|
+
start_inputs = {k: v for k, v in start_inputs.items() if v > 0}
|
115
|
+
|
116
|
+
return start_inputs, overall_exclude_set
|
117
|
+
|
118
|
+
|
119
|
+
def remove_ancestor_items(target: str, inventory: dict[str, int]) -> dict[str, int]:
|
120
|
+
ancestors = set(get_ancestors(target))
|
121
|
+
possible_items = set(inventory.keys())
|
122
|
+
items_to_remove = list(ancestors.intersection(possible_items))
|
123
|
+
num_items = random.randint(1, len(items_to_remove))
|
124
|
+
for item in random.sample(items_to_remove, num_items):
|
125
|
+
count_to_remove = random.randint(1, inventory[item])
|
126
|
+
inventory[item] -= count_to_remove
|
127
|
+
if inventory[item] == 0:
|
128
|
+
del inventory[item]
|
129
|
+
return inventory
|
130
|
+
|
131
|
+
|
132
|
+
def construct_example(
|
133
|
+
target: str,
|
134
|
+
num_distractors: 16,
|
135
|
+
impossible=False,
|
136
|
+
) -> list[dict]:
|
137
|
+
"""
|
138
|
+
For a given target object, number of distractors, and impossible flag
|
139
|
+
Return a dictionary with the start inventory for the crafting task
|
140
|
+
|
141
|
+
The crafting task should be to craft the target, the inventory should contain
|
142
|
+
the resources required for the recipe to be crafted.
|
143
|
+
|
144
|
+
The number of distractors are how many random items should be added to the inventory.
|
145
|
+
|
146
|
+
If impossible is True, the target item should not be craftable with the given inventory.
|
147
|
+
"""
|
148
|
+
|
149
|
+
# sample the recipe
|
150
|
+
inventory, overall_exclude_set = sample_recipes(target, set())
|
151
|
+
if impossible:
|
152
|
+
# if impossible then remove one or more items from the inventory
|
153
|
+
inventory = remove_ancestor_items(
|
154
|
+
target,
|
155
|
+
inventory,
|
156
|
+
)
|
157
|
+
|
158
|
+
# add distractors to the inventory
|
159
|
+
distractors = sample_distractors(overall_exclude_set, num_distractors)
|
160
|
+
inventory.update(distractors)
|
161
|
+
|
162
|
+
optimal_path = optimal_planner(target, inventory)
|
163
|
+
# @TODO this is a hack to ensure that we don't have impossible examples
|
164
|
+
while optimal_path is not None and impossible:
|
165
|
+
inventory = remove_ancestor_items(target, inventory)
|
166
|
+
optimal_path = optimal_planner(target, inventory)
|
167
|
+
|
168
|
+
# assign to slots
|
169
|
+
inventory_list = assign_to_slots(inventory)
|
170
|
+
example = {
|
171
|
+
"inventory": inventory,
|
172
|
+
"slotted_inventory": inventory_list,
|
173
|
+
"target": target,
|
174
|
+
"num_distractors": num_distractors,
|
175
|
+
"impossible": impossible,
|
176
|
+
}
|
177
|
+
# either impossible and no path or not impossible and path exists
|
178
|
+
assert (impossible and optimal_path is None) or (
|
179
|
+
not impossible and optimal_path is not None
|
180
|
+
)
|
181
|
+
|
182
|
+
if not impossible:
|
183
|
+
example["optimal_path_length"] = len(optimal_path)
|
184
|
+
example["optimal_path"] = [r.result.item for (r, i) in optimal_path]
|
185
|
+
example["inventory_trace"] = [i for (r, i) in optimal_path]
|
186
|
+
items_used, unique_items_used = calculate_stats_from_inventory_trace(
|
187
|
+
[example["inventory"]] + example["inventory_trace"]
|
188
|
+
)
|
189
|
+
example["items_used"] = items_used
|
190
|
+
example["unique_items_used"] = unique_items_used
|
191
|
+
|
192
|
+
return example
|
193
|
+
|
194
|
+
|
195
|
+
def calculate_stats_from_inventory_trace(
|
196
|
+
inventory_trace: list[dict],
|
197
|
+
) -> tuple[int, int]:
|
198
|
+
total_items_used = 0
|
199
|
+
total_unique_items_used = 0
|
200
|
+
|
201
|
+
for a, b in zip(inventory_trace[:-1], inventory_trace[1:]):
|
202
|
+
diff = Counter(a) - Counter(b)
|
203
|
+
total_items_used += sum(diff.values())
|
204
|
+
total_unique_items_used += len(diff)
|
205
|
+
|
206
|
+
return total_items_used, total_unique_items_used
|
207
|
+
|
208
|
+
|
209
|
+
def generate_dataset(seed=2024, distractors=[4, 8, 16], num_examples=10):
|
210
|
+
random.seed(seed)
|
211
|
+
np.random.seed(seed)
|
212
|
+
|
213
|
+
dataset = []
|
214
|
+
for recipe_target in list(RECIPES.keys()):
|
215
|
+
if len(RECIPES[recipe_target]) == 0:
|
216
|
+
continue
|
217
|
+
for num_distractors in distractors:
|
218
|
+
for _ in range(num_examples):
|
219
|
+
example = construct_example(
|
220
|
+
target=recipe_target, num_distractors=num_distractors
|
221
|
+
)
|
222
|
+
dataset.append(example)
|
223
|
+
|
224
|
+
return dataset
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:white_banner",
|
5
|
+
"minecraft:orange_banner",
|
6
|
+
"minecraft:magenta_banner",
|
7
|
+
"minecraft:light_blue_banner",
|
8
|
+
"minecraft:yellow_banner",
|
9
|
+
"minecraft:lime_banner",
|
10
|
+
"minecraft:pink_banner",
|
11
|
+
"minecraft:gray_banner",
|
12
|
+
"minecraft:light_gray_banner",
|
13
|
+
"minecraft:cyan_banner",
|
14
|
+
"minecraft:purple_banner",
|
15
|
+
"minecraft:blue_banner",
|
16
|
+
"minecraft:brown_banner",
|
17
|
+
"minecraft:green_banner",
|
18
|
+
"minecraft:red_banner",
|
19
|
+
"minecraft:black_banner"
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:red_bed",
|
5
|
+
"minecraft:black_bed",
|
6
|
+
"minecraft:blue_bed",
|
7
|
+
"minecraft:brown_bed",
|
8
|
+
"minecraft:cyan_bed",
|
9
|
+
"minecraft:gray_bed",
|
10
|
+
"minecraft:green_bed",
|
11
|
+
"minecraft:light_blue_bed",
|
12
|
+
"minecraft:light_gray_bed",
|
13
|
+
"minecraft:lime_bed",
|
14
|
+
"minecraft:magenta_bed",
|
15
|
+
"minecraft:orange_bed",
|
16
|
+
"minecraft:pink_bed",
|
17
|
+
"minecraft:purple_bed",
|
18
|
+
"minecraft:white_bed",
|
19
|
+
"minecraft:yellow_bed"
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:white_carpet",
|
5
|
+
"minecraft:orange_carpet",
|
6
|
+
"minecraft:magenta_carpet",
|
7
|
+
"minecraft:light_blue_carpet",
|
8
|
+
"minecraft:yellow_carpet",
|
9
|
+
"minecraft:lime_carpet",
|
10
|
+
"minecraft:pink_carpet",
|
11
|
+
"minecraft:gray_carpet",
|
12
|
+
"minecraft:light_gray_carpet",
|
13
|
+
"minecraft:cyan_carpet",
|
14
|
+
"minecraft:purple_carpet",
|
15
|
+
"minecraft:blue_carpet",
|
16
|
+
"minecraft:brown_carpet",
|
17
|
+
"minecraft:green_carpet",
|
18
|
+
"minecraft:red_carpet",
|
19
|
+
"minecraft:black_carpet"
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:music_disc_13",
|
5
|
+
"minecraft:music_disc_cat",
|
6
|
+
"minecraft:music_disc_blocks",
|
7
|
+
"minecraft:music_disc_chirp",
|
8
|
+
"minecraft:music_disc_far",
|
9
|
+
"minecraft:music_disc_mall",
|
10
|
+
"minecraft:music_disc_mellohi",
|
11
|
+
"minecraft:music_disc_stal",
|
12
|
+
"minecraft:music_disc_strad",
|
13
|
+
"minecraft:music_disc_ward",
|
14
|
+
"minecraft:music_disc_11",
|
15
|
+
"minecraft:music_disc_wait"
|
16
|
+
]
|
17
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:warped_stem",
|
5
|
+
"minecraft:stripped_warped_stem",
|
6
|
+
"minecraft:warped_hyphae",
|
7
|
+
"minecraft:stripped_warped_hyphae",
|
8
|
+
"minecraft:crimson_stem",
|
9
|
+
"minecraft:stripped_crimson_stem",
|
10
|
+
"minecraft:crimson_hyphae",
|
11
|
+
"minecraft:stripped_crimson_hyphae",
|
12
|
+
"minecraft:crimson_planks",
|
13
|
+
"minecraft:warped_planks",
|
14
|
+
"minecraft:crimson_slab",
|
15
|
+
"minecraft:warped_slab",
|
16
|
+
"minecraft:crimson_pressure_plate",
|
17
|
+
"minecraft:warped_pressure_plate",
|
18
|
+
"minecraft:crimson_fence",
|
19
|
+
"minecraft:warped_fence",
|
20
|
+
"minecraft:crimson_trapdoor",
|
21
|
+
"minecraft:warped_trapdoor",
|
22
|
+
"minecraft:crimson_fence_gate",
|
23
|
+
"minecraft:warped_fence_gate",
|
24
|
+
"minecraft:crimson_stairs",
|
25
|
+
"minecraft:warped_stairs",
|
26
|
+
"minecraft:crimson_button",
|
27
|
+
"minecraft:warped_button",
|
28
|
+
"minecraft:crimson_door",
|
29
|
+
"minecraft:warped_door",
|
30
|
+
"minecraft:crimson_sign",
|
31
|
+
"minecraft:warped_sign"
|
32
|
+
]
|
33
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"#minecraft:gold_ores",
|
5
|
+
"minecraft:gold_block",
|
6
|
+
"minecraft:gilded_blackstone",
|
7
|
+
"minecraft:light_weighted_pressure_plate",
|
8
|
+
"minecraft:gold_ingot",
|
9
|
+
"minecraft:bell",
|
10
|
+
"minecraft:clock",
|
11
|
+
"minecraft:golden_carrot",
|
12
|
+
"minecraft:glistering_melon_slice",
|
13
|
+
"minecraft:golden_apple",
|
14
|
+
"minecraft:enchanted_golden_apple",
|
15
|
+
"minecraft:golden_helmet",
|
16
|
+
"minecraft:golden_chestplate",
|
17
|
+
"minecraft:golden_leggings",
|
18
|
+
"minecraft:golden_boots",
|
19
|
+
"minecraft:golden_horse_armor",
|
20
|
+
"minecraft:golden_sword",
|
21
|
+
"minecraft:golden_pickaxe",
|
22
|
+
"minecraft:golden_shovel",
|
23
|
+
"minecraft:golden_axe",
|
24
|
+
"minecraft:golden_hoe"
|
25
|
+
]
|
26
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:oak_planks",
|
5
|
+
"minecraft:spruce_planks",
|
6
|
+
"minecraft:birch_planks",
|
7
|
+
"minecraft:jungle_planks",
|
8
|
+
"minecraft:acacia_planks",
|
9
|
+
"minecraft:dark_oak_planks",
|
10
|
+
"minecraft:crimson_planks",
|
11
|
+
"minecraft:warped_planks"
|
12
|
+
]
|
13
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"replace": false,
|
3
|
+
"values": [
|
4
|
+
"minecraft:oak_sign",
|
5
|
+
"minecraft:spruce_sign",
|
6
|
+
"minecraft:birch_sign",
|
7
|
+
"minecraft:acacia_sign",
|
8
|
+
"minecraft:jungle_sign",
|
9
|
+
"minecraft:dark_oak_sign",
|
10
|
+
"minecraft:crimson_sign",
|
11
|
+
"minecraft:warped_sign"
|
12
|
+
]
|
13
|
+
}
|