Skip to content

0.16.0

Compare
Choose a tag to compare
@DaveyBiggers DaveyBiggers released this 29 Jul 15:58
· 1183 commits to master since this release

Changes:

New: DiscreteCommandHandler now supports AgentQuitFromTouchingBlockType and RewardForTouchingBlockType. (#241)
New: MissionSpec has get/setSummary, getListOfCommandHandlers, getAllowedCommands. (#217)
New: DiscreteCommandHandler now supports attack and use commands. (#219)
New: Bonus - added AllowedMobs to ServerInitialConditions to control which mobs are allowed to spawn (does not affect mob_spawners)
New: Bonus - can now draw mob_spawner blocks and specify the entity they spawn as a variant.
New: ObservationFromRay returns info about nearest block/item/entity in the agent's direct line of sight. (#184)
Fix: RewardForDiscardingItem/RewardForCollectingItem now work with variations, colours etc.
Fix: Inventory and Entity observations now return information in the same format we use to specify things (eg Type, Variation, Colour)
New: More types supported in BlockDrawing, Inventory initialisation etc - see FlowerTypes, EntityTypes, MonsterEggTypes
New: AgentQuitFromCollectingItem (#171)
New: ObservationsFromFullStats now additionally returns Air (#214)
New: Cross-platform Human Action Component

Which version?

  • Unless you want to use the Arcade Learning Environment, avoid the _withALE builds.
  • If you are on Ubuntu 16.04 then you can use the 15.10 release.
  • The Redhat build was made with Fedora23 but may work with other Redhat flavors.

Let us know if you need more builds.

Breaking changes:

  • MazeDecorator waypoint items have changed:

Previous syntax:

<Waypoints quantity="10">
  <WaypointItem>cookie</WaypointItem>
</Waypoints>

New syntax:

<Waypoints quantity="10">
  <WaypointItem type="cookie"/>
</Waypoints>

This allows us to add variants, colours etc - eg, to add spawn eggs of various types:

<Waypoints quantity="10">
  <WaypointItem type="spawn_egg" variant="Creeper Skeleton Spider Ozelot"/>
</Waypoints>
  • ObservationFromHotbar, ObservationFromFullInventory, ObservationFromNearbyEntities etc now return data in the same format as Types.xsd

eg instead of returning a string like "item.dyePowder.red", they will now break the data down into the types / variants / colours found in Types.xsd, and return them separately.

This means that data is now returned in the same format that we send it (eg in DrawItem, InventoryObject, RewardForCollectingItem, etc.etc.)

Deprecations:

  • InventoryItem and InventoryBlock have been deprecated in favour of a single new entity, InventoryObject. Existing inventory XML will continue to work, but InventoryObject is now the preferred way to go. It avoids having to make a distinction in the inventory code between blocks and items, and also allows item variations and colours to be specified.