MihailRis
4363883728
add 'on_breaking', 'on_block_breaking' events
2024-12-21 14:09:17 +03:00
MihailRis
c3f22c6854
rename
2024-12-21 13:11:23 +03:00
MihailRis
954724c837
add 'culling' property & optimize generated chunk meshes & fix faces culling when 'light-passing' is false
2024-12-21 06:41:03 +03:00
MihailRis
cda34e3975
fix block overriding
2024-12-19 22:54:54 +03:00
MihailRis
f095edda7a
Merge branch 'main' into user-properties
2024-11-24 12:58:09 +03:00
MihailRis
f2e7a54180
add on_replaced block event and on_block_replaced world event
2024-11-22 12:31:45 +03:00
MihailRis
cd630463b3
add block.properties, item.properties (experimental)
2024-11-22 11:08:36 +03:00
MihailRis
8543be87df
add block.materials table
2024-11-22 09:36:48 +03:00
MihailRis
5793c52ac6
Revert "remove 'translucent' block property (will be reverted later)"
...
This reverts commit 7aacadc926432da2583b95f6a02af08ee51c2c91.
2024-11-15 06:47:03 +03:00
MihailRis
423ac2c44e
add 'model-name' block property
2024-11-05 22:23:53 +03:00
MihailRis
5e0bcf8ec0
feat: new block custom models implementation (WIP)
2024-11-05 19:28:40 +03:00
MihailRis
0eeb6b6eb2
add block particles property
2024-11-04 22:48:39 +03:00
MihailRis
5a431ed898
add custom-models in hand support
2024-11-04 18:02:42 +03:00
MihailRis
b191f2ba9d
add fullscreen block overlay
2024-10-31 18:22:55 +03:00
MihailRis
fae372d19f
feat: item models generation simple & remove core:item_models
2024-10-26 18:42:21 +03:00
MihailRis
b4578cfb87
fix caves issues & add block 'surface-replacement' property
2024-10-08 22:37:41 +03:00
MihailRis
ab53922474
extend user block fields check
2024-10-03 16:08:40 +03:00
MihailRis
e0a4876f3f
add explicit block fields total size limit - 240 bytes
2024-10-02 17:08:46 +03:00
MihailRis
44753904dc
add Chunk.blocksMetadata
2024-09-14 20:26:36 +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
54f15ecaea
maths/
2024-08-06 00:06:23 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
245b39be62
refactor: PVS-Studio warnings fixes
2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
...
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
MihailRis
71e20ff805
add block 'ambient-occlusion' property
2024-07-27 18:37:18 +03:00
MihailRis
638a0d9850
fix NONE rotation profile
2024-07-14 01:57:18 +03:00
MihailRis
7487c55e0c
Merge branch 'main' into entities
2024-07-10 09:25:56 +03:00
MihailRis
4c8ae465c7
add 'grounded' support for 'pipe' rotation profile
2024-07-10 09:14:24 +03:00
MihailRis
0a14d6220a
add BodyType, fix crouching
2024-07-09 06:39:05 +03:00
MihailRis
0f26bbadfd
fix Block.rt and ItemDef.rt initialization
2024-07-06 01:34:52 +03:00
MihailRis
ea53009b96
add block 'shadeless' property
2024-06-15 19:55:55 +03:00
MihailRis
4e696520b6
refactor: PlayerController
2024-06-09 16:30:01 +03:00
MihailRis
8aa6d5ee2d
add extended blocks (block size property)
2024-06-08 16:58:05 +03:00
MihailRis
cdfc485ed4
update blockstate structure
2024-06-08 00:02:51 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
7b0e31951b
block tick interval
2024-05-31 18:14:50 +03:00
MihailRis
0bfa717b71
Block.hpp tabs -> spaces
2024-05-31 17:45:16 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00