Commit graph

469 commits

Author SHA1 Message Date
GameHerobrine
8f1850f198 fixed generation 2026-05-16 22:26:42 +03:00
GameHerobrine
8f9a9debc5 added some vanilla block props, some changes for block placement 2026-04-28 15:46:03 +03:00
GameHerobrine
cf4dc73a6c level properties, moved some settings from server.properties, cmd placeholders 2026-04-28 13:57:03 +03:00
GameHerobrine
581a6a8fb2 changes to world format: added skylight into chunk data, replaced loctable in level.dat with a specific byte in every chunk, removed ncleveldata.pmf, bumped api version to 12.3 2026-03-11 01:49:41 +03:00
GameHerobrine
2f6e2ffcab some fixes to prevent deprecated warning spam on php 8.2 2026-01-05 10:39:06 +03:00
GameHerobrine
4c072e91cd fixed player posiiton on bed, hopefully fixed players not receiving packets sometimes 2026-01-03 15:55:22 +03:00
GameHerobrine
f81c8b17bf added mushroom spreading 2025-12-21 14:57:27 +03:00
GameHerobrine
a6d96c4ac7 added ice and snow layer melting based on light level 2025-11-30 01:55:31 +03:00
GameHerobrine
3256a957d3 slightly faster random block ticking 2025-11-02 11:29:56 +03:00
GameHerobrine
42fef5f812 removed useless data when updating tile entity data 2025-10-23 15:58:48 +03:00
GameHerobrine
cc3f333660 fixed memory leak during light recalculation, importing the world saves nc level data and uses blocklight from vanilla world 2025-07-20 13:30:49 +03:00
GameHerobrine
bbe9e0ee13 fixed enitites being able to clip through 0 barrier 2025-07-16 19:16:11 +03:00
GameHerobrine
a62986a8d6 fixed division by zero when breaking tnt, (hopefully?) fixed empty chests 2025-07-03 20:57:00 +03:00
GameHerobrine
6c7bcf014b Level::handleMaterialAcceleration uses materials now 2025-07-03 16:55:47 +03:00
GameHerobrine
5e613268ab container open packet uses block queue packet 2025-07-01 19:42:44 +03:00
GameHerobrine
21f8796e89 better(?) way to handle eid translation, local eid 0 is not used now, some additional fixes 2025-06-29 03:12:24 +03:00
GameHerobrine
565a9420fd local entity ids 2025-06-28 22:33:35 +03:00
GameHerobrine
37e2919f46 entity data packets are sent as ordered reliable packets in entity queue, explosions dont send what blocks they exploded in ExplosionPacket 2025-06-26 04:57:12 +03:00
GameHerobrine
d4036d8ac9 tile entity related packets use block update queue, cleaned up unused code, some phpdocs 2025-06-25 03:22:24 +03:00
GameHerobrine
c2faff0f22 added ability to disable light updates 2025-06-24 16:58:28 +03:00
GameHerobrine
54ef3882b9 small changes 2025-06-24 13:05:19 +03:00
GameHerobrine
cd07581d49 mobs wont spawn if brightness is too high, aditional file with world data for storing additional information 2025-06-23 07:02:31 +03:00
GameHerobrine
d1a724c143 block light 2025-06-23 01:24:00 +03:00
GameHerobrine
60c29e9dd1 all entities will always tick 2025-06-05 01:15:20 +03:00
GameHerobrine
ccdea98d28 added ability to disable emojis on signs 2025-05-25 20:24:35 +03:00
GameHerobrine
3c18f85d89 block updates and chunk data are ordered now, removed 16x16x16 chunk sending 2025-05-22 17:24:27 +03:00
GameHerobrine
fe07ec81ee more packets will be always sent to the client 2025-05-13 03:15:49 +03:00
GameHerobrine
9d82e28297 fixed tileentities getting resetted when unloading level 2025-05-12 23:16:43 +03:00
GameHerobrine
cf25df788f fixed block updates not being unscheduled when level is unloaded 2025-05-12 06:22:43 +03:00
Sunch
761ac69a20 typo fix 2025-01-12 20:26:18 +08:00
Sunch
7d3fac87ab more ?? 2025-01-11 22:00:15 +08:00
Sunch
1fd52e82a5 Level: remove useless var 2025-01-11 21:44:41 +08:00
GameHerobrine
96f4cb6382 ported painting placement from 0.8(didnt add painting collisoion checks yet) 2024-11-26 17:49:10 +03:00
GameHerobrine
61ee4ab335 getSafeSpawn will return default y if no solid blocks were found below 2024-11-25 10:05:16 +03:00
GameHerobrine
19a4008543 fixed inability to collect entity drop, fixed player not getting damage while standing on cactus, tweaked some other stuff 2024-11-23 05:35:41 +03:00
GameHerobrine
8ed1285770 readded 1 removed isset 2024-08-17 16:23:24 +03:00
Sunch
69385e16f2 Unnecessary ":?" (2) 2024-08-17 20:08:11 +08:00
Sunch
4eb6bd14a2 Unnecessary "?:" 2024-08-17 20:01:40 +08:00
Sunch
4630481d54 Unnecessary arguments in the if expression 2024-08-17 19:58:16 +08:00
GameHerobrine
55aa7ca2b7 sleeping will not kick for flying, check for obstructed position added 2024-07-22 18:43:11 +03:00
GameHerobrine
48c1aa1cb9 fixed loss of data 2024-07-19 16:54:13 +03:00
GameHerobrine
b182e35f2a fixed sending of chunk changes 2024-07-19 05:48:00 +03:00
GameHerobrine
66d847c82f made aabb work correctly with 0-height hitboxes, added hitbox for carpet, world will save all data on autosave 2024-07-18 05:00:05 +03:00
GameHerobrine
81aa575749 Player::teleport will set motion to 0, fixed possible divby0 when skeletonm shooting the player, fixed entities not untargetting dead players, fixed wrong distance calculations 2024-07-12 17:50:06 +03:00
GameHerobrine
fcff48b5b8 performance improvements 2024-07-04 05:27:43 +03:00
GameHerobrine
2972e4567e changedBlocks will use 8byte integer now 2024-07-04 04:42:37 +03:00
GameHerobrine
72a1a93283 changed how mobs spawn a bit 2024-07-02 21:13:11 +03:00
GameHerobrine
fb13a6123b fixed unmount (hopefully one last time) 2024-06-08 22:57:49 +03:00
GameHerobrine
2a47f92d9a explosion doesnt use vectors anymore 2024-06-07 06:53:52 +03:00
GameHerobrine
529f2d37dc fixed cactus collisions 2024-06-07 05:56:09 +03:00