Commit Graph

468 Commits

Author SHA1 Message Date
Snowiiii
39b4cb3ac9 Move world into entity
Also fixes most of error when leaving while chunks are loading
2024-09-07 22:39:42 +02:00
lukas0008
0d6f7b49ab Update CONTRIBUTING.md 2024-09-07 21:21:59 +02:00
Alexander Medvedev
ef3923c521 Merge pull request #82 from Snowiiii/plugins-feature
Make a way to disable extism
2024-09-07 20:12:14 +01:00
lukas0008
f3728a169a Make a way to disable extism
- Made a `plugins` feature in `pumpkin-plugin`
- Made a `plugins` feature in `pumpkin`, which enables the `plugins` feature in `pumpkin-plugin`
- Made the feature default
2024-09-07 21:01:05 +02:00
Alexander Medvedev
01a71d65ba Merge pull request #81 from Snowiiii/command-rewrite
Command system rewrite
2024-09-07 19:41:11 +01:00
Snowiiii
870059a317 Added Help command back
I just was to lazy and wanted to get it working fast, Now help is back
2024-09-07 20:32:28 +02:00
Snowiiii
3d14e1310b Command system rewrite
Note: Help commands is currently disabled
2024-09-07 20:26:19 +02:00
Snowiiii
2ee9710f93 Refactor Entity 2024-09-07 19:33:01 +02:00
Alexander Medvedev
cd25387a4b Merge pull request #79 from kralverde/more_packet_hardening
Buffer check for varint decoding
2024-09-07 15:15:40 +01:00
lukas0008
ca2e4e2a9b Remove targets from rust-toolchain.toml
Toolchains in the rust-toolchain.toml file do not actually enforce what toolchains are supported, but specified which toolchains need to be downloaded. This forces each device building the project to download all 4 targets before actually building.
2024-09-06 23:30:15 +02:00
kralverde
e4106c3546 add buffer checks for varint decoding 2024-09-06 16:55:31 -04:00
Alexander Medvedev
b40c2fa988 Add Experimental Plains biome
Also add Perlin noise
2024-09-06 17:54:14 +01:00
Alexander Medvedev
91d190c212 Remove unused deps
to mention is the take_mut dep i removed. Its heavily outdated and uses unsafe combined with pointer magic.
2024-09-06 13:30:57 +01:00
Alexander Medvedev
dad4798844 Update deps 2024-09-06 11:34:59 +01:00
Alexander Medvedev
15cceb53ec Merge pull request #69 from DaniD3v/unused_allows
Removed unused #[allow()]'s
2024-09-06 10:29:07 +01:00
DaniD3v
12e3732765 Replaced #[allow()]'s with #[expect()] 2024-09-06 11:20:53 +02:00
DaniD3v
e08309aacd Removed unused #[allow()]'s 2024-09-06 11:19:52 +02:00
Alexander Medvedev
e3c392cc80 Merge pull request #78 from kralverde/network_error
Incoming Packet Validation
2024-09-05 21:24:57 +01:00
kralverde
af878ff549 fix check 2024-09-05 15:29:27 -04:00
kralverde
2993d6bfb6 add checks for everything else 2024-09-05 15:21:33 -04:00
kralverde
fac5436a2b get_string_len extra validity check 2024-09-05 14:28:09 -04:00
Alexander Medvedev
0f60f7475d Merge pull request #74 from StripedMonkey/connection_refactor
Networking Refactor Pt. 1
2024-09-05 10:21:06 +01:00
StripedMonkey
4dce8aa90d Allow From<Vec3<T>> for (_,_,_) for easy destructuring. 2024-09-04 21:52:42 -04:00
StripedMonkey
286253cdc6 eliminate unnecessary (and overloaded) variable 2024-09-04 21:52:42 -04:00
StripedMonkey
8b73cafaf0 expect -> except 2024-09-04 21:52:42 -04:00
StripedMonkey
dc093f4a21 remove unnecessary references
It's already a usize, so the references are meaningless when the pointer is the same size as the type.
2024-09-04 21:52:42 -04:00
StripedMonkey
b55991d8de shift server into its own module 2024-09-03 17:41:21 -04:00
StripedMonkey
f47b8a1ed1 Eliminate Unnecessary Arc<Token>
Tokens already implement copy and clone, keeping a shared reference to the token doesn't actually do anything, and is larger than a token is to begin with.

clone copies
2024-09-03 17:41:21 -04:00
lukas0008
f6a4082410 Set base url to /Pumpkin/ for github pages 2024-09-02 21:08:41 +02:00
lukas0008
fbf2df15d2 Merge pull request #73 from Erb3-forked/docs
Added docs (using vitepress)
2024-09-02 20:34:22 +02:00
Erb3
085d0cd266 fix(docs): move to npm from bun 2024-09-02 20:25:58 +02:00
Erb3
313e99cc6b docs: remove incorrect link 2024-09-02 20:12:41 +02:00
Erb3
2748fa1462 docs: remove unused files 2024-09-02 20:11:33 +02:00
Erb3
2b1bdca58f docs: structure documentation 2024-09-02 20:10:13 +02:00
Snowiiii
66b8644058 Merge branch 'master' of https://github.com/Snowiiii/Pumpkin 2024-09-01 23:14:58 +02:00
Snowiiii
1f4fe2a26e Fix: Chunk loading dead lock 2024-09-01 23:14:53 +02:00
Alexander Medvedev
0e1f8b1f5f Merge pull request #72 from neeleshpoli/event-api
Created Identifier to help keep track of plugin resources.
2024-09-01 19:02:15 +01:00
we sell insurance
047f5a4efc Merge branch 'master' of https://github.com/Snowiiii/Pumpkin into event-api
Resolve merge conflicts
2024-09-01 12:31:09 -05:00
we sell insurance
0a02c28b26 Move serde into workspace 2024-09-01 12:26:48 -05:00
Alexander Medvedev
a7d054a812 Merge pull request #71 from kralverde/legacy_random
implement legacy_random and java string hash
2024-09-01 17:58:03 +01:00
Snowiiii
5c0dffbf9d Dynamic chunk loading 2024-09-01 18:04:27 +02:00
we sell insurance
5ab877a40a Add TODO comment for encoding 2024-09-01 08:16:43 -05:00
Alexander Medvedev
2085307a44 Merge pull request #70 from DaniD3v/remove_lazy_static
Remove lazy static in favor of LazyLock
2024-09-01 09:09:15 +01:00
Alexander Medvedev
f6151df084 Merge pull request #68 from DaniD3v/master
Move config to lazy_lock and into own crate
2024-09-01 09:07:28 +01:00
Alexander Medvedev
9cd245b190 Merge pull request #65 from StripedMonkey/msrv
create rust-toolchain.toml
2024-09-01 08:50:12 +01:00
we sell insurance
14e59dfb8f Create Identifer to help keep track of plugin resources. 2024-08-31 17:24:43 -05:00
kralverde
faceba091c implement legacy_random and java string hash 2024-08-31 15:06:41 -04:00
DaniD3v
8a2e7cada8 Removed lazy_static!{} in favor of LazyLock 2024-08-31 20:34:00 +02:00
DaniD3v
070a50833b Moved config into its own crate 2024-08-31 19:38:47 +02:00
DaniD3v
a17ed23b00 Moved Difficulty into pumpkin-core 2024-08-31 19:34:35 +02:00