Commit Graph

171 Commits

Author SHA1 Message Date
Holly Stubbs 328ddca458
Implement EntityLiving -> EntityLiving damage & block break sfx / effects 2023-12-24 17:47:20 +00:00
Holly Stubbs 4afb4a0633
death and item drops n' stuff 2023-12-18 21:49:23 +00:00
Holly Stubbs 797cd5db62
add TrackedProperty
This will be used for updating inventory slots when ItemStack properties change
2023-12-18 11:19:51 +00:00
Holly Stubbs f4733f50a3
Make item collection work 2023-12-18 11:18:15 +00:00
Holly Stubbs dc05cd4a2d
WIP: Item Collection 2023-12-18 01:23:52 +00:00
Holly Stubbs 3ea5e47c57
Allow for entities to be killed. 2023-12-06 00:04:57 +00:00
Holly Stubbs 91395db919
stop storing individual worlds in class vars 2023-12-05 20:36:50 +00:00
Holly Stubbs 9231ce85d6
fix not having a seed crashing the server on startup 2023-12-05 20:07:32 +00:00
Holly Stubbs d3ebe1518d
WIP: Start trying to handle respawn. 2023-11-13 00:00:33 +00:00
Holly Stubbs a5910abd86
Only save player data on entity remove if the player is not dead. 2023-11-13 00:00:17 +00:00
Holly Stubbs 1a08b5e991
Inform clients of entity destruction for all entity types 2023-11-12 23:59:54 +00:00
Holly Stubbs 278c90f5f9
Make tall grass not drop 2023-11-11 00:14:27 +00:00
Holly Stubbs 604bec9e89
Implement Entity / Player data saving 2023-11-09 21:59:45 +00:00
Holly Stubbs 5a250cb601 WIP: Player Saving 2023-11-09 17:04:11 +00:00
Holly Stubbs e303cbc5df Remove AABB creation logging 2023-11-09 16:32:34 +00:00
Holly Stubbs 63333a04aa Implement AABB collision and add EntityItem properly.
The items are fully functional apart from picking them up, they are commented out in the MPClient breakBlock function if you want to play with them.
2023-11-09 16:30:40 +00:00
Holly Stubbs 6033c86247 start work on AABB 2023-11-08 15:45:25 +00:00
Holly Stubbs 875318db04 improve initial generation logging 2023-11-08 15:44:46 +00:00
Holly Stubbs 228602a54d remove time debug printing 2023-11-08 13:40:27 +00:00
Holly Stubbs 64709abfb9 generate spawn chunks smarter 2023-11-08 13:36:22 +00:00
Holly Stubbs de4203d9f0
new save format 2023-11-07 20:46:17 +00:00
Holly Stubbs 79f3ae1d4f
handle block breaking better 2023-11-07 01:50:51 +00:00
Holly Stubbs 61b667ac49
Read multiple packets per chunk 2023-11-07 01:50:35 +00:00
Holly Stubbs 0403ace046
zero the fall distance 2023-11-05 13:53:45 +00:00
Holly Stubbs 617cebe2e0
Prevent fall damage if in water 2023-11-05 13:30:17 +00:00
Holly Stubbs f9d4c6b1f9
Merge branch 'typescript' of https://github.com/tgpholly/mc-beta-server into typescript 2023-11-05 10:58:52 +00:00
Holly Stubbs 8054f06327
Send velocity for all entities 2023-11-05 10:58:47 +00:00
Holly Stubbs 23a1d124c0
Send player equipment on join 2023-11-05 10:58:35 +00:00
Holly Stubbs 6d7d1299ce
Use a better send method for position sending 2023-11-05 10:58:01 +00:00
Holly Stubbs d64f9469cb
Destroy entities on the client when they are removed from the world 2023-11-05 10:56:57 +00:00
Holly Stubbs 81b5fb302d
Add isZero getter to Vec2 and Vec3 2023-11-05 10:56:28 +00:00
Holly Stubbs 8fc6836b29
Fix EntityEquipment having the wrong byte length 2023-11-05 10:56:11 +00:00
Holly Stubbs 1b2b1a091e
Add Packets DestroyEntity and EntityVelocity 2023-11-05 10:55:49 +00:00
Holly Stubbs bb733ff2af
Allow ItemStack(s) to be compared 2023-11-05 10:55:15 +00:00
Holly Stubbs 0eb23adb09
Update README.md 2023-11-05 01:08:01 +00:00
Holly Stubbs 83f37a0621
don't care 2023-11-05 00:58:00 +00:00
Holly Stubbs 522916ecaa
Implement fall damage & fix damage in general 2023-11-05 00:55:23 +00:00
Holly Stubbs a3c865bd9f Artifacts attempt 2 2023-11-02 10:54:36 +00:00
Holly Stubbs 2daec09426 Attempt to upload artifacts 2023-11-02 10:52:45 +00:00
Holly Stubbs 0c0d8f7711 Swap smasher out for @vercel/ncc 2023-11-02 10:40:46 +00:00
Holly Stubbs f1c4dcda75
Block getting 2023-11-02 08:31:43 +00:00
Holly Stubbs d8d1eabcf4
WIP: Inventories 2023-10-29 05:08:26 +00:00
Holly Stubbs 74374cb0d6
implement dimension switching 2023-09-04 23:42:38 +01:00
Holly Stubbs 9feafc46c7
allow server to read chunks from disk again (oops) 2023-09-04 02:05:14 +01:00
Holly Stubbs 479cc35d89
Update README to match current dev 2023-09-04 02:02:25 +01:00
Holly Stubbs a61d807966
update fileSmasher to support exporting default functions 2023-09-04 01:46:23 +01:00
Holly Stubbs 690c7be16f
Update WorldSaveManager to support multiple dimensions and add the nether 2023-09-04 01:43:11 +01:00
Holly Stubbs 5c25dd7436
ignore config file 2023-09-04 01:42:36 +01:00
Holly Stubbs 19328d5500
remove config file 2023-09-04 01:42:04 +01:00
Holly Stubbs aea8c440d9
Fix issue preventing chunks from being loaded from disk 2023-08-20 16:31:23 +01:00