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
Snowiiii
5c0dffbf9d
Dynamic chunk loading
2024-09-01 18:04:27 +02:00
Snowiiii
7ed46e25a0
Add EntityPose
2024-08-29 17:35:49 +02:00
DaniD3v
e2d2b53f41
Fixed bug where whole chunk can break in one mined block
2024-08-28 17:34:56 +02:00
DaniD3v
cf283323fc
BlockId refactor.
...
Moved `BlockId` to it's own file.
Prefixed all of the `block_registry` types with Registry to avoid confusion.
Made stuff that should not be public private.
2024-08-28 12:52:19 +02:00
DaniD3v
52c34caaa6
Added ChunkBlocks abstraction for ChunkData
...
ChunkBlocks makes it easy & safer to access blocks of a chunk.
It also makes it possible to consistently handle the heightmap updates in 1 place.
2024-08-28 12:52:07 +02:00
DaniD3v
43164ee4f1
Added abstraction for BlockId
...
`i32` is really ambiguous and it is not immediately obvious what it is supposed to represent.
`BlockId` is much more readable.
Changed internal type to u16 because we currently have ~30k/64k block states.
(and i32 doesn't make a lot of sense for an Id, except when replicating mojang behavior)
2024-08-28 12:52:07 +02:00
DaniD3v
be98a730b0
Added abstraction for coordinates.
...
These ensure that there aren't any out of bound values
and make the code significantly more readable
2024-08-28 12:38:22 +02:00
Snowiiii
3b438872a8
Add pumpkin-plugin
...
mhh, Whats that?
2024-08-27 22:47:21 +02:00
Snowiiii
80ffaff777
Update deps
2024-08-26 17:06:15 +02:00
Alexander Medvedev
52ffec0dd3
Merge pull request #61 from neeleshpoli/master
...
Implement Use Item (packet id 0x39) packet
2024-08-25 21:48:23 +01:00
Snowiiii
9d6c8dc524
Check block distance
2024-08-25 19:16:38 +02:00
we sell insurance
98b983676e
Run cargo fmt
2024-08-25 08:36:34 -05:00
we sell insurance
1849dacfc6
Merge branch 'master' of https://github.com/Snowiiii/Pumpkin
...
Resolve merge conflicts
Update Use Item (SUseItem) to return Ok
2024-08-25 08:27:09 -05:00
Snowiiii
83aad86005
Made everything thread safe
...
- Also improved gamemode command
- We now can use Server in commands
2024-08-25 13:20:49 +02:00
Snowiiii
ddd3f1e781
Add Serverbound Set Player On Ground
2024-08-25 12:06:09 +02:00
Snowiiii
0ce03c0497
Support Transfer
2024-08-25 09:37:58 +02:00
we sell insurance
6e8a598bab
Merge branch 'Snowiiii:master' into master
2024-08-24 18:22:25 -05:00
Snowiiii
d69f6c5fc1
Add Clientbound Teleport Entity
...
usually used when Player moves more than 8 blocks
2024-08-24 23:07:12 +02:00
Bryntet
67dd35e0cb
Merge branch 'master' into master
2024-08-24 18:04:40 +02:00
StripedMonkey
4240df86b7
cargo fmt
2024-08-23 07:59:03 -04:00
StripedMonkey
dbe3964e41
postion -> position
2024-08-23 07:56:41 -04:00
StripedMonkey
f56b566afb
mailformed -> malformed
2024-08-23 07:54:40 -04:00
StripedMonkey
7c30391e2c
messge,messagee -> message
2024-08-23 07:54:40 -04:00
StripedMonkey
8494388324
entitiy -> entity
2024-08-23 07:54:36 -04:00
StripedMonkey
51da48d937
hourse -> Horse
2024-08-23 07:52:24 -04:00
Edvin Bryntesson
ef21b3ae40
add serverbound packet SContainerClose
2024-08-23 12:36:22 +02:00
Edvin Bryntesson
e1a7d4e7ee
add serverbound packet SContainerClose
2024-08-23 12:30:24 +02:00
Edvin Bryntesson
98fcd412c2
formatting
2024-08-23 11:52:21 +02:00
Edvin Bryntesson
85f7ab041a
add clientbound packet: CSetContainerProperty
2024-08-23 11:51:12 +02:00
Edvin Bryntesson
7c2b650bdb
add clientbound packet: CCloseContainer
2024-08-23 10:35:16 +02:00
Alexander Medvedev
8068b5d53b
Merge pull request #57 from kralverde/unload_chunk_packet
...
Implement the unload chunk packet
2024-08-23 06:10:08 +01:00
kralverde
88ebd25e9b
implement the unload chunk packet
2024-08-22 18:21:52 -04:00
we sell insurance
d0e6d47398
Merge branch 'Snowiiii:master' into master
2024-08-22 15:38:31 -05:00
Alexander Medvedev
84464c343a
Merge pull request #53 from kralverde/chat-packet-updates
...
Chat packet updates + Serialization additions
2024-08-22 20:28:50 +01:00
kralverde
c07ea947fc
remove _ from used values
2024-08-22 15:24:58 -04:00
we sell insurance
cd841fd2f5
Merge branch 'Snowiiii:master' into master
2024-08-22 07:09:15 -05:00
Edvin Bryntesson
4c572eca2d
add CSetContainerSlot packet
2024-08-22 13:24:12 +02:00
we sell insurance
84252bbfe2
Remove unneccessary import
2024-08-21 22:01:55 -05:00
we sell insurance
4bdd026efd
Removed duplicate enum for hand
2024-08-21 22:01:10 -05:00
kralverde
cd6defe9a2
implement filtering and serialization changes
2024-08-21 17:17:33 -04:00
Edvin Bryntesson
7818f83ea2
fix lints
2024-08-21 19:38:19 +02:00
Bryntet
1bbadf7b50
Merge branch 'master' into master
2024-08-21 19:33:56 +02:00
Edvin Bryntesson
816215c698
format
2024-08-21 19:28:48 +02:00
Edvin Bryntesson
9003ee3dcc
add CSetContainerContent
2024-08-21 19:27:58 +02:00
kralverde
8bc55e8dda
parse fixed bitset from player chat
2024-08-21 12:34:25 -04:00
lukas0008
c02200c7fd
Cargo fmt + added *.local.nbt to .gitignore
2024-08-21 18:06:57 +02:00
lukas0008
0d05e5ef36
Add .set_block on ChunkData
2024-08-21 17:31:43 +02:00
Alexander Medvedev
b37039126a
Make Icon Optional
2024-08-21 15:49:28 +01:00