def create_observables(self) -> List[AgentHandler]: # TODO: Parameterize these observations. return super().create_observables() + [ handlers.FlatInventoryObservation([ 'dirt', 'coal', 'torch', 'log', 'planks', 'stick', 'crafting_table', 'wooden_axe', 'wooden_pickaxe', 'stone', 'cobblestone', 'furnace', 'stone_axe', 'stone_pickaxe', 'iron_ore', 'iron_ingot', 'iron_axe', 'iron_pickaxe' ]), handlers.DamageObservation('mainhand'), handlers.MaxDamageObservation('mainhand'), handlers.TypeObservation('mainhand', ['none', 'air', 'wooden_axe', 'wooden_pickaxe', 'stone_axe', 'stone_pickaxe', 'iron_axe', 'iron_pickaxe', 'other']), ]
def create_observables(self) -> List[minerl.herobraine.hero.AgentHandler]: return [ handlers.POVObservation(self.resolution), handlers.FlatInventoryObservation(ALL_ITEMS), handlers.TypeObservation('mainhand', none + ALL_ITEMS + other), handlers.DamageObservation('mainhand'), handlers.MaxDamageObservation('mainhand') ]
def create_observables(self) -> List[Handler]: return super().create_observables() + [ handlers.CompassObservation(angle=True, distance=False), handlers.FlatInventoryObservation(['dirt']) ]
def create_observables(self) -> List[minerl.herobraine.hero.AgentHandler]: return super().create_observables() + [ handlers.CompassObservation(), handlers.FlatInventoryObservation(['dirt']) ]