Skip to content

v0.7.0

Compare
Choose a tag to compare
@S-S-X S-S-X released this 26 Jul 23:22
· 6 commits to master since this release

Behavior, generic and test execution

  • Allowed constant configurable get_us_time step.
  • Added minetest.global_exists(key).
  • Added mineunit:has_module(name) method to test if module is loaded.
  • Added no-op registrations for ore, biome and decoration.
  • Also added many other no-op methods.
  • Fixed ABM handling performance.
  • Configuration file minetest.cfg is not loaded anymore, warnings removed. Use minetest.conf instead.
  • Added engine version support, default engine settings and engine features table.
  • Added assert.has_item(inv|pos|player, list, [slot,] expected) and assert.is_coordinate(thing).
  • Return the result when loading fixtures.

Player / server related

  • Added player online status, minetest.get_connected_players() returns only players who joined.
  • Added Player:do_place(pointed_thing_or_pos), Player:do_use, Player:do_place_from_above
  • Added Player:do_set_wieldslot(invslot), Player:do_reset() and fixed empty pointed_thing.
  • Added Player:hud_get_flags() and Player:hud_set_flags(...).
  • Added Player:set_eye_offset(...) #75
  • Added core.get_player_information #77
  • Added mineunit:get_players() to get all registered players.
  • Fixed core.check_player_privilege bug when used without server module.
  • Authentication API added.
  • Added base entity API, mostly no-op.
  • True placement for Player (#47) …
  • Improved Player:do_metadata_inventory_put #57
  • Fixed player look direction bug.
  • Handling write_json/parse_json errors.

Metadata and inventories

  • Added default player inventory.
  • Added InvRef:contains_item, fix InvRef:get_lists.
  • Fix MetaDataRef:to_table, add NodeMetaRef:to_table (#42) …
  • Merge pull request #32 from S-S-X/player-inventory …
  • Hidden InvList methods and made it behave like table (#25) …
  • Fixed NodeMetaRef:to_table #60
  • Fixed ItemStack:set_wear() #58
  • Fixed other problems with ItemStack, NodeMetaRef, MetaDataRef and InvRef
  • Other additions for ItemStack, NodeMetaRef, MetaDataRef and InvRef

World API

  • Added incomplete find_nodes_in_area implementation.
  • Layout allows areas, just give it list of 2 coordinates instead of single point.
  • Added dig_node and remove_node.
  • Added world.set_default_node(node), unset locations will return this node instead of ignore-node.
  • Added world.get_node for better behavior management, functions similar to core.get_node_or_nil.
  • Added core.get_name_from_content_id.
  • Added fake core.compare_block_status.
  • Better node alias support.
  • Fixed possible world.clear problem. #52
  • Non-mapgen VoxelManip functionality. #82

Other

  • Added demo spec, can be installed with command mineunit --demo.
  • Updated README.md documentation.
  • Updated rockspec.
  • Released Docker container image.