Commit Graph
100 Commits
Author SHA1 Message Date
Alexander Medvedev 16abf08de3 fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1334 2026-01-17 10:52:34 +01:00
Alexander Medvedev 6f18d16581 fix: the chunk unloading issue
at least hopefully, i think it was an Ticket Overlap, By adding the new ticket before removing the old one, the ChunkLoading system always sees at least one valid path for the chunks that overlap between the two view distances.
The fix seems to made the system slower but atleast it seems to not bug anymore
2026-01-16 17:48:30 +01:00
Alexander Medvedev 526c9cc465 fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1298 2026-01-16 16:24:13 +01:00
Alexander Medvedev ff1f3a0fbd remove: pumpkin-registry
it is gone for good, i made the new registry be parsed from compile time in pumpkin-nbt and even parse the nbt code at compile time as well, And like expected this gives a massive speedup in first time parsing and also decreased bin size
2026-01-15 21:10:18 +01:00
Alexander Medvedev db486d5572 fix: make item drops fall smooth 2026-01-15 20:29:30 +01:00
Alexander Medvedev 0ef17af5d0 fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1283 2026-01-15 17:47:30 +01:00
Alexander Medvedev 2faf24bb42 fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1286 2026-01-15 16:51:37 +01:00
Alexander Medvedev b8e0dc85e8 chore: batch some things together
also added DrownedEntity
2026-01-14 22:31:58 +01:00
Alexander Medvedev 6889399e65 fix: use the correct health for entities 2026-01-14 19:55:34 +01:00
Alexander Medvedev 0555f804e0 feat: guess living entities 2026-01-13 23:36:49 +01:00
Alexander Medvedev e46459915c feat: Implement fireworks
also fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1217
also includes some bedrock work, but still broken
2026-01-13 19:09:19 +01:00
Alexander Medvedev 60d65f1f48 Revert "Reuse TickData allocations between cycles (#1250)"
This reverts commit 0e5eaf5500.
2026-01-11 23:16:18 +01:00
Alexander Medvedev a44a5babe3 feat: partially implement Stronghold
also fixed some bugs
2026-01-10 17:56:25 +01:00
Alexander Medvedev ce652860e0 fix nether 2026-01-04 20:28:51 +01:00
Alexander Medvedev 01d3be963d feat: Structures 2026-01-03 23:36:19 +01:00
Alexander Medvedev 42c903493a port to 1.21.11 2025-12-24 13:09:01 +01:00
Alexander Medvedev fba4d405ac ci: add Windows Arm and macOS Intel 2025-12-09 19:29:57 +01:00
Alexander Medvedev 92fe87e921 smaller structure gen preparations 2025-12-08 20:52:03 +01:00
Alexander Medvedev 200d85132a fix: allow non English usernames 2025-12-08 10:49:05 +01:00
Alexander Medvedev 3829850607 removed some clones
fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1226
2025-12-07 22:43:26 +01:00
Alexander Medvedev f734230cd6 chunk-gen: add MatchingFluids BlockPredicate
this lets some more things generate, like sugar cane
2025-12-06 14:31:12 +01:00
Alexander Medvedev a3cfb28d38 fix: one clippy warn
ofc -_-
2025-12-06 10:39:37 +01:00
Alexander Medvedev 4c86808506 fix: pumpkin-world external crate compilation 2025-12-06 10:33:10 +01:00
Alexander Medvedev a2d8ca8d98 fix: pumpkin-world external crate compilation 2025-12-06 10:30:03 +01:00
Alexander Medvedev 74deee228d fix typo 2025-12-05 17:39:03 +01:00
Alexander Medvedevandteknostom d31465386d fix: some water fixes
Co-Authored-By: teknostom <42341753+teknostom@users.noreply.github.com>
2025-12-05 17:35:41 +01:00
Alexander Medvedev 698589806a fix: don't crash when failed to lock session.lock
fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1212
fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1194
2025-12-05 16:57:41 +01:00
Alexander Medvedev 70b75a0ac5 remove async-trait entirely 2025-12-04 23:50:00 +01:00
Alexander Medvedev ae751f3a83 remove #[async_trait] from many many places
Compile time got improved by 77% (including last commit)
2025-12-04 13:57:03 +01:00
Alexander Medvedev 71392b4a38 remove async_trait from Commands
This decreased compile time by 30%, Plugins also are not required anymore to use async_trait when adding custom Commands
2025-12-03 18:25:58 +01:00
Alexander Medvedev 74c66e25e8 fix typo
and some compilation changes,
fix https://github.com/Pumpkin-MC/Pumpkin/issues/1010
2025-12-01 11:23:57 +01:00
Alexander Medvedev 6f7006fcb9 improve block to_props 2025-11-27 18:44:14 +01:00
Alexander Medvedev 5e8d7221e3 fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1174 2025-11-27 17:31:39 +01:00
Alexander Medvedev 03b3ff5e15 This should prevent some dead locks 2025-11-23 20:08:47 +01:00
Alexander Medvedev 2104367d0e fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1216 2025-11-20 19:40:50 +01:00
Alexander Medvedev 0ce5471761 Overhaul registry loading
Registry data is now loaded dynamically for automatic future-proofing, ending the need for manual struct updates. Access to specific values now requires explicit data lookups.
2025-11-18 19:00:18 +01:00
Alexander Medvedev 47bbc56591 this should fix plugin errors
at least for now
2025-11-01 12:13:28 +01:00
Alexander Medvedev 32b76fc730 Revert "ci: add multi-platform Docker image support for ARM64 (#1180)"
This reverts commit ddc57f21f9.
2025-11-01 11:07:52 +01:00
Alexander Medvedev 0c2b647a45 fix CI
Replaced old chunk files used for testing
2025-10-06 16:14:03 +02:00
Alexander Medvedev 58583da4c1 Port to 1.21.9
I did not update density functions because i'm too lazy to refactor a bunch of things because Mojang decided to remove "initial_density_without_jaggedness", but i will in the future
2025-10-02 18:27:10 +02:00
Alexander Medvedev 85a4d10a36 CI: add rustfmt on clippy step 2025-10-02 17:03:23 +02:00
Alexander Medvedev 932512b5d6 lets try fix CI 2025-10-02 16:54:48 +02:00
Alexander Medvedev bbf685622b Update RSA
this should fix some plugin issues
2025-08-31 15:56:46 +02:00
Alexander Medvedev 91e77c33a0 add more loot table conditions
fix https://github.com/Pumpkin-MC/Pumpkin/issues/1155
2025-08-30 11:58:43 +02:00
Alexander Medvedev c066787cc1 feat: implement Mob Spawners 2025-08-24 23:02:59 +02:00
Alexander Medvedev 46c048483c fix: thanks typos 2025-08-22 12:31:14 +02:00
Alexander Medvedev c5c3ffc005 feat: add name tag logic 2025-08-22 12:09:30 +02:00
Alexander Medvedev 8feb6c9b93 feat: add end crystals 2025-08-21 17:54:07 +02:00
Alexander Medvedev 94bdae9684 feat: make totems work 2025-08-21 16:43:13 +02:00
Alexander Medvedev 4ad4498380 fix https://github.com/Pumpkin-MC/Pumpkin/issues/1145 2025-08-21 10:35:51 +02:00
Alexander Medvedev f0668ec746 readme: check eating as complete 2025-08-20 16:31:07 +02:00
Alexander Medvedev bc2bdb87b2 fix shield blocking
(shields still don't reduce/block damage, but you can block with it)
2025-08-20 16:11:48 +02:00
Alexander Medvedev 684db059e5 feat: Support for eating food 2025-08-19 20:46:52 +02:00
Alexander Medvedev 314547eb5f entity: Arc<RwLock<Arc<World>> to Arc<World>
This removed a bunch of locks and .awaits, now instead of switching the world inside a entity we will just recreate it in a new World
2025-08-19 13:03:52 +02:00
Alexander Medvedev 47254b14ba Structures: begin adding Nether Fortress 2025-08-18 17:59:14 +02:00
Alexander Medvedev a65b30db02 fix typos 2025-08-17 22:17:06 +02:00
Alexander Medvedev 53cef4b050 Add structures
this is by far not done and the implementation is not correct in many ways, but it is still something
2025-08-17 22:12:38 +02:00
Alexander Medvedev c1b6044457 Parse SocketAddr
this allows for Ipv6 addresses
2025-08-16 17:02:25 +02:00
Alexander Medvedev 273803fbb0 fix: tests 2 2025-08-15 16:04:51 +02:00
Alexander Medvedev 034399aeb5 fix: test 2025-08-15 15:35:30 +02:00
Alexander Medvedev fbbade23dc Improved chunk deserializing performance
doing `let _ = io::copy(&mut self.reader.by_ref().take(count), &mut io::sink())` was just crazy slow when skipping bytes in NBT, we now instead use `seek`

The Palette was also changed and does not use a HashMap anymore
2025-08-15 14:57:43 +02:00
Alexander Medvedev 3407404e95 pumpkin-world(structure): add BuriedTreasureGenerator 2025-08-14 23:35:38 +02:00
Alexander Medvedev fae24008db pumpkin-world(structures): Add structure placement calculation 2025-08-13 17:11:56 +02:00
Alexander Medvedev 308ca77440 I give up 2025-08-12 18:05:04 +02:00
Alexander Medvedev f8b896092c Update rust.yml 2025-08-12 17:32:17 +02:00
Alexander Medvedev d38f5a51da maybe this 2025-08-12 17:00:53 +02:00
Alexander Medvedev 1fc3de914d Update rust.yml 2025-08-12 16:44:22 +02:00
Alexander Medvedev 4b2a8b9fca Update rust.yml 2025-08-12 16:34:57 +02:00
Alexander Medvedev 60dda6ecf1 Update rust.yml 2025-08-12 15:52:30 +02:00
Alexander Medvedev a12f8c38e5 😞 2025-08-12 15:12:52 +02:00
Alexander Medvedev f5bc7982f6 lets try that 😞 2025-08-12 14:53:19 +02:00
Alexander Medvedev 8da91bae6b lets try this 2025-08-12 14:26:00 +02:00
Alexander Medvedev cb3483372c hope that this fixes CI 2025-08-12 14:09:10 +02:00
Alexander Medvedev 86f3f5794d fix: tests 2025-08-12 13:57:15 +02:00
Alexander Medvedev 472946f85d fix clippy 2025-08-12 13:08:21 +02:00
Alexander Medvedev 6a1cd304d7 Add release per commit workflow 2025-08-12 12:57:05 +02:00
Alexander Medvedev 40fb8ec481 pumpkin-world: Move noise_router into noise/router 2025-08-12 12:21:18 +02:00
Alexander Medvedev 386fe547ad use rust's new file::try_lock
I was already waiting for this for a long time, now in the newest rust 1.89 it got stabilized :D
https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.try_lock
2025-08-11 21:03:29 +02:00
Alexander Medvedev 7e3a1c0972 Fix rust 1.89 warns 2025-08-11 20:45:55 +02:00
Alexander Medvedev 9f94ce1d0d Made Chunks faster
Moreeee Speeeedddddd
2025-08-04 15:43:47 +02:00
Alexander Medvedev 43e8d9b6d9 Make some packets ServerPacket 2025-08-03 23:25:02 +02:00
Alexander Medvedev 306a007e3c feat: Falling Blocks 2025-08-03 17:21:46 +02:00
Alexander Medvedev 14db025fa6 Revert "solve deadlock (#1091)"
This reverts commit 2b8f2726f3.
2025-08-02 16:24:18 +02:00
Alexander Medvedevandakashbeh 6e4a05d66d More Entity Physics work
Co-Authored-By: akashbeh <112662680+akashbeh@users.noreply.github.com>
2025-08-02 16:24:06 +02:00
Alexander Medvedevandakashbeh 3f2484672c Add Entity physics
Thanks to akashbeh for his work
https://github.com/Pumpkin-MC/Pumpkin/pull/824

Co-Authored-By: akashbeh <112662680+akashbeh@users.noreply.github.com>
2025-08-01 15:25:18 +02:00
Alexander Medvedev 0c1f0b9a33 Send Inventory and Health when Switching dimension 2025-07-31 20:10:51 +02:00
Alexander Medvedev 7468f2cf76 Smaller fixes 2025-07-31 10:29:41 +02:00
Alexander Medvedev dbaf240da5 Remove spawn chunks
these will be also soon gone in Vanilla
2025-07-30 15:26:40 +02:00
Alexander Medvedev fd8d89a219 Fix https://github.com/Pumpkin-MC/Pumpkin/issues/1075 2025-07-29 12:19:05 +02:00
Alexander Medvedev a66fbc9671 add killed_by_player for loot table 2025-07-28 19:59:07 +02:00
Alexander Medvedev eaf5959f2b Minor Chunk gen speed gains 2025-07-28 12:18:54 +02:00
Alexander Medvedev 46e7eba48a Revert "fix Heightmap when spawning (#1067)"
This reverts commit 514460316a.
2025-07-27 20:53:42 +02:00
Alexander Medvedev 8ccc135d74 Update all crates 2025-07-26 17:51:15 +02:00
Alexander Medvedev b0cea38596 remove some internal crates 2025-07-11 14:23:14 +02:00
Alexander Medvedev 6ea5da408a Fix https://github.com/Pumpkin-MC/Pumpkin/issues/964
this was because of the light level not being checked, now there are too few mushrooms but i think still better
2025-07-10 10:22:30 +02:00
Alexander Medvedev 0c717e2d0e move to pure rust zstd 2025-07-09 16:50:02 +02:00
Alexander Medvedev e96dc4d98e Improve compile time 2025-07-09 16:26:16 +02:00
Alexander Medvedev 8fec1d56cd Improve compile time by a bit 2025-07-08 23:58:00 +02:00
Alexander Medvedev c19e6135d3 use get_state_id instead of get_state when loading Chunks 2025-07-08 17:13:36 +02:00
Alexander Medvedev b9f2de33f4 Fix dead locks, vanilla chunk loading and packet issues 2025-07-07 19:36:45 +02:00