I think it would be beneficial to all mod developers to update player_api and provide it as such.
For compatibility simply make a mod mcl_player that requires player_api and contains:
mcl_player = player_api
Player API is used by almost every game made for the Minetest engine, so staying compatible will decrease the labour to support games for mod developers and increase the amount of mods available for each of them.
We do a lot of stuff in mcl_player that player_api does not. Even if we would do your suggestion in reverse, it still wouldn't work, as player_api and mcl_player are not compatible.
Player API is used by almost every game made for the Minetest engine, ...
There's a difference between Minetest Game and Minetest engine (MTG and MTE). The reason why player_api can be seen in so many games for MTE is the same reason why default can bee seen in them: they are based on MTG>
We forked from MTG many, many years ago, and our APIs developed in parallel. However, we do not set compatibility with MTG as our goal, simply because we have better things to do.
I think it would be beneficial to all mod developers to update player_api and provide it as such. For compatibility simply make a mod mcl_player that requires player_api and contains: mcl_player = player_api
Player API is used by almost every game made for the Minetest engine, so staying compatible will decrease the labour to support games for mod developers and increase the amount of mods available for each of them.
We do a lot of stuff in
mcl_player
thatplayer_api
does not. Even if we would do your suggestion in reverse, it still wouldn't work, asplayer_api
andmcl_player
are not compatible.There's a difference between Minetest Game and Minetest engine (MTG and MTE). The reason why
player_api
can be seen in so many games for MTE is the same reason whydefault
can bee seen in them: they are based on MTG>We forked from MTG many, many years ago, and our APIs developed in parallel. However, we do not set compatibility with MTG as our goal, simply because we have better things to do.
Just compare them: * https://git.minetest.land/VoxeLibre/VoxeLibre/src/branch/master/mods/PLAYER/mcl_player/game_api.txt * https://github.com/minetest/minetest_game/blob/599dedd92737479e6608fcae28577eb14e30a94c/game_api.txt#L442
P.S. Also it is pretty trivial to migrate from one API to the other. I already did that a few times and any mod developer can do it.