Commit graph

453 commits

Author SHA1 Message Date
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
GameHerobrine
bbf506c887 invalidated all tile entities on block change 2024-06-01 00:57:17 +03:00
GameHerobrine
686f6e1056 attempt to fix crash when switching world, entity physics in water 2024-05-26 13:39:52 +03:00
GameHerobrine
5d5099c06f removed some useless stuff from explosion, onPlace should be called every ti 2024-05-24 06:57:52 +03:00
GameHerobrine
9c21a984cd vanilla(or close to vanila) liquid physics 2024-05-24 06:45:34 +03:00
GameHerobrine
3d6c4feb0f some tweaks 2024-05-23 06:38:20 +03:00
GameHerobrine
b94d0f2ba1 ported by needs fixing 2024-05-23 04:59:48 +03:00
GameHerobrine
2ebc482e3d separated neighbor updates and scheduled updates 2024-05-22 06:15:34 +03:00
GameHerobrine
ee989ef556 onUpdate is now static, disabled rail, water and lava updates to rework. 2024-05-20 13:16:48 +03:00
GameHerobrine
236f641d6c fixed closestPlayerEID being not in entityList 2024-04-29 22:01:09 +03:00
GameHerobrine
da28b3b0ff changes to skeleton ai, theoretical performance increase with huge amount of mobs and players 2024-04-12 06:06:59 +03:00
GameHerobrine
2678243d8b tnt will not regenerate you now + will add knockback to players 2024-03-26 06:26:32 +03:00
GameHerobrine
f1a91f28d0 using tab instead of 4 spaces(CONTRIBUTING.md) 2024-03-25 22:59:20 +03:00
Kran
f7b88ab7cc BoneMeal improvements 2024-03-25 11:14:56 -07:00
GameHerobrine
3df03ae96b snowballs and eggs 2024-03-24 05:35:38 +03:00
GameHerobrine
3b15c26b0c entity collisions 2024-03-24 01:52:15 +03:00
GameHerobrine
2ce333af5e arrows block collision fix, uncommented commented code 2024-03-23 23:33:13 +03:00