def create_actionables(self): return super().create_actionables() + [ handlers.PlaceBlock(['none', 'dirt', 'stone', 'cobblestone', 'crafting_table', 'furnace', 'torch']), handlers.EquipItem(['none', 'air', 'wooden_axe', 'wooden_pickaxe', 'stone_axe', 'stone_pickaxe', 'iron_axe', 'iron_pickaxe']), handlers.CraftItem(['none', 'torch', 'stick', 'planks', 'crafting_table']), handlers.CraftItemNearby( ['none', 'wooden_axe', 'wooden_pickaxe', 'stone_axe', 'stone_pickaxe', 'iron_axe', 'iron_pickaxe', 'furnace']), handlers.SmeltItemNearby(['none', 'iron_ingot', 'coal']), ]
def create_actionables(self) -> List[minerl.herobraine.hero.AgentHandler]: actionables = [ handlers.KeyboardAction(k, v) for k, v in INVERSE_KEYMAP.items() ] actionables += [ handlers.CraftItem(none + ALL_ITEMS), handlers.CraftItemNearby(none + ALL_ITEMS), handlers.SmeltItemNearby(none + ALL_ITEMS), handlers.PlaceBlock(none + ALL_ITEMS), handlers.EquipItem(none + ALL_ITEMS), handlers.Camera(), ] return actionables
def create_actionables(self): return SimpleEnvSpec.create_actionables(self) + [ handlers.PlaceBlock( ['none', 'dirt', 'log', 'log2', 'stone', 'cobblestone', 'crafting_table', 'furnace', 'torch', 'diamond_ore']), handlers.EquipItem( ['none', 'red_flower', 'air', 'wooden_axe', 'wooden_pickaxe', 'stone_axe', 'stone_pickaxe', 'iron_axe', 'iron_pickaxe']), handlers.CraftItem(['none', 'torch', 'stick', 'planks', 'crafting_table']), handlers.CraftItemNearby( ['none', 'wooden_axe', 'wooden_pickaxe', 'stone_axe', 'stone_pickaxe', 'iron_axe', 'iron_pickaxe', 'furnace']), handlers.SmeltItemNearby(['none', 'iron_ingot', 'coal']), ]