MihailRis
b1bd4feee7
add 'number' uses display mode
2025-02-18 12:49:15 +03:00
MihailRis
df2cff3e4c
add item 'uses-display' property
2025-02-18 03:24:52 +03:00
MihailRis
bbfc0dbf17
add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker
2025-02-17 04:40:18 +03:00
MihailRis
231fc7e0d0
refactor InventoryView & add 'uses' item property (WIP)
2025-02-16 20:41:13 +03:00
MihailRis
c3f22c6854
rename
2024-12-21 13:11:23 +03:00
MihailRis
cd630463b3
add block.properties, item.properties (experimental)
2024-11-22 11:08:36 +03:00
MihailRis
0618028df1
add 'model-name' item property
2024-10-30 12:46:36 +03:00
MihailRis
fae372d19f
feat: item models generation simple & remove core:item_models
2024-10-26 18:42:21 +03:00
REDxEYE
5f6ae5daba
ItemDef/EntityDef/Block: Add method cloneTo to definition to other definition
...
ContentBuilder: Add method `get` to get definition or nullptr
ContentLoader: Add functionality to clone from definition specified in `parent` field in json
2024-08-20 21:58:01 +03:00
MihailRis
de5c75d782
replace include guards with pragma once
2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2
update project includes format
2024-08-10 01:37:48 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
52905ff27b
fix: optimization: PVS-Studio warning V802
...
Rearranged structure fields in decreasing order of size to reduce structure size from 32 to 24 and 12 to 8 bytes on 64-bit platforms.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:42:06 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
c3e4341a04
fix: optimization: PVS-Studio warning V802
...
Rearranged structure fields in decreasing order of size to reduce structure size from 32 to 24 and 12 to 8 bytes on 64-bit platforms.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 06:12:30 +03:00
MihailRis
0f26bbadfd
fix Block.rt and ItemDef.rt initialization
2024-07-06 01:34:52 +03:00
MihailRis
66a1240fbc
refactor ContentBuilder and add entities support
2024-06-26 03:40:14 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00