minetest/builtin/game
Wuzzy 1d04903c19
Add paramtype2s for 4 horizontal rotations and 64 colors (#11431)
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits.
It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir).

color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-16 13:18:55 +02:00
..
async.lua Async environment for mods to do concurrent tasks (#11131) 2022-05-02 20:56:06 +02:00
auth.lua Run on_grant and on_revoke callbacks after privs change (#11387) 2021-06-30 20:40:45 +02:00
chat.lua Don't allow banning in singleplayer 2022-05-29 14:00:19 +02:00
constants.lua Fix breath_bar scaling; delay breath_bar hiding by one second (#8271) 2020-04-28 19:30:57 +02:00
deprecated.lua Removed some obsolete code (#10562) 2021-01-21 18:17:09 +00:00
detached_inventory.lua Add core.remove_detached_inventory (#7684) 2018-10-10 20:48:58 +02:00
falling.lua Add paramtype2s for 4 horizontal rotations and 64 colors (#11431) 2022-09-16 13:18:55 +02:00
features.lua Allow buffer argument to VoxelManip:get_light_data (#12682) 2022-08-13 08:53:47 +02:00
forceloading.lua Use safe_file_write to save forceloaded blocks 2021-05-30 11:40:14 +02:00
init.lua Let core.get_mod_storage be called multiple times (#12572) 2022-07-23 22:27:07 +02:00
item_entity.lua item_entity: Cache collisionbox for use in on_step 2022-05-08 19:12:10 +02:00
item_s.lua Add paramtype2s for 4 horizontal rotations and 64 colors (#11431) 2022-09-16 13:18:55 +02:00
item.lua Add paramtype2s for 4 horizontal rotations and 64 colors (#11431) 2022-09-16 13:18:55 +02:00
knockback.lua Replace deprecated call to add_player_velocity in builtin (#10968) 2021-02-18 14:39:04 +00:00
misc_s.lua Reorganize some builtin functions in preparation for async env 2022-05-02 20:54:55 +02:00
misc.lua Use native packer to transfer globals into async env(s) 2022-05-10 22:37:42 +02:00
privileges.lua Get rid of basic_debug last minute 2022-01-30 21:32:49 +01:00
register.lua Fix crash when crafting callbacks return strings (#12685) 2022-08-12 10:17:37 +01:00
statbars.lua Fix error when item isn't provided to core.hud_replace_builtin (#12484) 2022-07-02 18:28:11 +01:00
static_spawn.lua Builtin: Replace deprecated function calls (#7561) 2018-07-17 20:17:54 +02:00
voxelarea.lua Make VoxelArea:position() return a vector with metatable (#12521) 2022-07-09 22:32:33 +02:00