Tiiita
4067f65ff9
Check collision before block place ( #251 )
...
* Add bounding box to entities)
* Try to update boundingbox when changin pos
* Remove unused imports
* Update / recalc boundingbox when changing pos
* Add collision when placing check
* Add todo: Check collision with every entity in pos
* Change BoundingBox::new() args
* Seperate bounding box width and height
* Change intersect fn name
* Clean up code
2024-11-10 23:28:14 +01:00
Snowiiii
17f1984699
Remove some ToPrimitive
2024-11-05 23:32:56 +01:00
Snowiiii
9e7adec16b
Parse Registries from JSON
2024-11-02 16:34:35 +01:00
Snowiiii
790adbc0b3
Merge branch 'master' of https://github.com/Snowiiii/Pumpkin
2024-10-22 11:29:32 +02:00
Edvin Bryntesson
4338bcff16
refactor things out into functions
2024-10-21 22:29:27 +02:00
Snowiiii
287f466ae1
More workspace dependencies
2024-10-21 19:36:42 +02:00
AnonymousBit
112110272b
Better logging ( #167 )
...
* feat: logs for when a player interacts with a block out of reach
* cleanup: used self.gameprofile instead of getting it from the client
* cleanup: better logging
* fix: added logging library
* cleanup:removed unused namespace
* cleanup: capitalisation and log levels
* fix: removed simple logging
* fix: removed todo! where not needed
* cleanup: removed duplicate dbg!
* Fix mistake in merging
* Fix my bad
* Merge repeated match arms
2024-10-21 18:36:19 +02:00
Snowiiii
75e7b0a8e8
tokio: Support RCON
2024-10-19 18:12:06 +02:00
Julian Braha
72d3e49937
Optimize some floating point operations, but maintain parity with Java
2024-10-16 23:08:19 +01:00
Alexander Medvedev
310d5d4877
Revert "Optimize floating point operations"
2024-10-16 23:34:15 +02:00
Julian Braha
62c9614ce9
Optimize floating point operations
2024-10-16 22:09:29 +01:00
kralverde
90c19ae744
remove git diff and hypot
2024-10-14 17:13:18 -04:00
kralverde
0754a128d7
rebase master
2024-10-14 17:13:18 -04:00
kralverde
2815ff90a9
remove main cargo.lock
2024-10-14 17:12:45 -04:00
kralverde
f98df7144d
add noise generation and default overworld noises
2024-10-14 17:11:58 -04:00
Snowiiii
c5fdb39d6a
Fix: forgot serde_inline_default in config
2024-10-14 22:09:04 +02:00
Alexander Medvedev
0da078a0fb
Merge pull request #90 from kralverde/surface_generation
...
start work on noise for chunk generation
2024-09-14 10:33:14 +01:00
kralverde
642e3ee9f4
implement some changes
2024-09-13 18:51:04 -04:00
kralverde
f57ff1ab78
add inline(always)
2024-09-13 13:21:03 -04:00
kralverde
41b9e90112
add enum wrapper around random implementations
2024-09-13 13:08:51 -04:00
Asurar0
d176fbd37e
fix fmt
2024-09-11 22:56:03 +02:00
Asurar0
c6043189d3
Improved synchronization primitives
...
- Replaced all `std::sync::Mutex` by `parking_lot::Mutex` and refactored implementation accordingly
- Replaced all `Mutex<T> where T: Copy` by `crossbeam::AtomicCell<T>` and refactored implementation accordingly
2024-09-11 22:39:53 +02:00
kralverde
987d2cf87e
continue implementation of noise
2024-09-11 13:44:28 -04:00
Alexander Medvedev
dad4798844
Update deps
2024-09-06 11:34:59 +01:00
DaniD3v
e08309aacd
Removed unused #[allow()]'s
2024-09-06 11:19:52 +02:00
StripedMonkey
4dce8aa90d
Allow From<Vec3<T>> for (_,_,_) for easy destructuring.
2024-09-04 21:52:42 -04: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
kralverde
faceba091c
implement legacy_random and java string hash
2024-08-31 15:06:41 -04: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
DaniD3v
2fbf450ed3
Moved GameMode into pumpkin-core
2024-08-31 19:33:47 +02:00
kralverde
fea3cf7ad1
refactor and verify
2024-08-29 18:25:02 -04:00
kralverde
df92b5fbcf
verify originals were not mutated
2024-08-28 23:44:21 -04:00
kralverde
21c7c2c04c
tweaks
2024-08-28 23:26:56 -04:00
kralverde
0a351171c6
implement xoroshiro128 RNG
2024-08-28 19:16:22 -04:00
Alexander Medvedev
13206d58d9
Add Console Colors & Styles
2024-08-21 20:08:14 +01:00
lukas0008
8eb894ef13
Create pumpkin-core, and move pumpkin-text
2024-08-21 16:12:09 +02:00