1
0
Fork 0
Commit Graph

96 Commits (c31226041f484f8db4801eaba827f4c935f4d881)

Author SHA1 Message Date
James David Clarke aa4d5738c7 Fix Survival Inventory Tab API (#4147)
* restored some old code that had gone missing
* fixed the survival inventory tab API not working
* fixed some grammar

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4147
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: James David Clarke <james@jamesdavidclarke.com>
Co-committed-by: James David Clarke <james@jamesdavidclarke.com>
2024-01-20 00:42:56 +00:00
AFCMS e324a1a74b Make inventory use the util functions 2023-11-25 23:52:04 +00:00
AFCMS 4f0620c7c1
Fix meshhand not updating correctly 2023-08-19 18:06:31 +02:00
AFCMS e936cede03
Update meshhand 2023-08-19 18:01:32 +02:00
AFCMS df2ab1fd8c
Remove duplicated armor update code 2023-08-19 18:01:32 +02:00
AFCMS dc20267b4f
Update inventory when player visuals change 2023-08-19 18:01:32 +02:00
AFCMS ae632fe773
Fixes in `mcl_inventory`
- Fix (yet another) rebase conflict
- Remove unused code and annotations
- Fix annotations in `mcl_gamemode` to https://github.com/minetest-toolkit/minetest-lsp-api
2023-08-19 18:01:30 +02:00
AFCMS 3bbae86baf
Fix this stupid merge conflict 2023-08-19 18:01:29 +02:00
AFCMS 1065eb4d8c
Hooper formspec 2023-08-19 18:01:26 +02:00
AFCMS 452cd26558
Reenable creative formspec armor update 2023-08-19 18:01:26 +02:00
AFCMS fbb51835b3
survival inventory tabs API + mcl_gamemode 2023-08-19 18:01:26 +02:00
AFCMS fb79465052
Fixes 2023-08-19 18:01:26 +02:00
AFCMS 691b93ac68
Modern Survival Inventory (9 slice images, formspec v6) 2023-08-19 18:01:25 +02:00
AFCMS 4ee6a67516
survival inventory 2023-08-19 18:01:25 +02:00
Johannes Fritz a1cc24f8d3 Slowing creative digging 2023-01-24 11:16:28 -06:00
CyberMango bd38827f60 Fixes #2976
Now the inventory view on creative is no longer set to the survival
inventory upon taking damage.
Also the initial inventory view when openning a world in creative is at
the search page, not the survival inventory page.

mcl_inventory/init.lua no longer wraps mcl_armor.update_player to also
update the inventory view. This visual update happens anyways since it
is registered to happen on a visual change with
mcl_player.register_on_visual_change .

This also fixes a small visual bug that, on creative mode, if you would
equip/unequip an armor piece, the image of the player would be updated
twice.
2022-12-23 13:54:41 +02:00
MysticTempest 6a0bcf9881 Fix insta-digging crash when punching stairs. 2022-11-09 04:26:41 -06:00
MysticTempest 2be75c9628 Better fix for creative digging drops, and fix the itemframes LBM. 2022-11-06 07:08:49 -06:00
cora e6aeb9ffba Use dig_node instead of remove in creative dig 2022-10-18 11:42:56 +02:00
PrairieWind f9f74d2af7 Changed Achievements to Advancements in player visible text. 2022-10-10 01:10:49 +02:00
cora 2a9d704293 Fix dumb mistake in creative crash fix 2022-10-10 01:07:11 +02:00
cora a1919b572a Fix crash in 5.6 gm-creative digging 2022-10-10 00:52:55 +02:00
Johannes Fritz 18f8768909 Fix invisibility potion when changing skin 2022-09-15 12:04:20 -05:00
cora e0abc7515d Prevent possible crashes in creative dig and place 2022-09-14 14:48:42 +02:00
cora 8fbe770cee Don't subtract items when placing in gm-creative 2022-09-14 00:52:23 +00:00
cora c7045bc415 Instadig nodes on punch in (gamemode) creative 2022-09-13 16:52:53 +00:00
Johannes Fritz 8e6b6393c2 Add advanced skin customization 2022-09-06 12:16:46 -05:00
cora ae2860d017 Show/Hide XP-hud immediately after gamemode switch 2022-05-27 19:56:47 +02:00
Elias Fleckenstein f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00
cora d863a6298b fix/simplifiy things from review 2022-05-25 16:36:04 +02:00
cora 2499fe1e83 add complete input validation, better result msgs 2022-05-25 05:43:49 +02:00
cora f89780695e Add /gamemode command for per player gamemode 2022-05-25 05:43:49 +02:00
AFCMS 3ca40cd4e4 Remove 2D preview 2022-05-04 23:15:11 +00:00
NO411 db68c0e26b Add shield 2022-03-15 15:58:27 +01:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 5f82e76862 fix many codestyle issues 2021-05-28 00:34:58 +02:00
AFCMS 8baea02f24 [mcl_inventory] fix warnings 2021-05-23 13:20:00 +02:00
Elias Fleckenstein ca74f23094 Merge branch 'master' into damage 2021-04-19 18:58:00 +02:00
Elias Fleckenstein d8d4cb5def Revert color changes to GUI.
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5.
2021-04-19 14:44:20 +02:00
Elias Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
AFCMS 84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
Elias Fleckenstein 51ace85d4e Enable 3D player preview by default now that MT 5.4 is released 2021-02-25 09:52:08 +01:00
Elias Fleckenstein 7932f4e470 Disable 3D player preview by default 2021-02-10 18:30:58 +01:00
Elias Fleckenstein b36db2044f 3D Player preview in inventory 2021-02-08 20:13:08 +01:00
Elias Fleckenstein 6c3588bad8 Rework inventory 2020-12-17 13:29:21 +01:00
Elias Fleckenstein ed738da016 Added Enchanting Table 2020-11-25 12:47:27 +01:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy 7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy 03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00