Commit Graph

78 Commits

Author SHA1 Message Date
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 690c7be16f
Update WorldSaveManager to support multiple dimensions and add the nether 2023-09-04 01:43:11 +01:00
Holly Stubbs aea8c440d9
Fix issue preventing chunks from being loaded from disk 2023-08-20 16:31:23 +01:00
Holly Stubbs 5c478f461e
Store each entities current chunk inside of their object 2023-08-20 02:10:49 +01:00
Holly Stubbs 41e1124c04
Flip the x and z on every other noise level 2023-08-20 02:10:30 +01:00
Holly Stubbs 79b1f0c0eb
maintenance 2023-08-20 01:18:05 +01:00
Holly Stubbs 3123dac2c2
Entity Status Packet 2023-08-20 01:17:37 +01:00
Holly Stubbs 84bbe26454
Drowning and damage updates 2023-08-20 01:17:27 +01:00
Holly Stubbs 310f1bd091
Block Behaviours 2023-08-20 01:17:05 +01:00
Holly Stubbs ad83454afa Switch to hsconsole package & add proper shutdown procedure 2023-08-15 10:00:12 +01:00
Holly Stubbs c80dcd2d4f
Allow blocks to update neighboring blocks 2023-08-12 22:06:16 +01:00
Holly Stubbs ba1c4e04d8 general cleanup + add fileSmasher to replace webpack 2023-06-26 16:16:55 +01:00
Holly Stubbs 3ca20743a3 clear off even more codefactor issues 2023-06-26 10:00:06 +01:00
Holly Stubbs 59e12c0655 fix a bunch more codefactor issues 2023-06-26 09:57:40 +01:00
Holly Stubbs 21a9f64a9e fix a bunch of codefactor issues 2023-06-26 09:53:45 +01:00
Holly Stubbs 055627bb63 Migrate to bufferstuff module 2023-06-22 12:43:28 +01:00
Holly Stubbs 3b208eb8db
lighting sort of works 2023-06-19 18:29:16 +01:00
Holly Stubbs 15917f1533
Rework to use new bufferStuff submodule 2023-05-02 20:39:40 +01:00
Holly Stubbs 2aedd81baa
WIP: Lighting 2023-05-02 08:50:49 +01:00
Holly Stubbs ad1c402d84
fix massive crators appearing, see: https://eusv.net/ZHMjQZTTNNM2nS 2023-04-17 02:15:51 +01:00
Holly Stubbs 8b906bfe8f
allow chunks to be saved again. oops 2023-04-17 02:07:01 +01:00
Holly Stubbs e21bda6201
Add basic cave generation 2023-04-17 02:05:11 +01:00
Holly Stubbs 0653da20b2
read config compression type as SaveCompressionType 2023-04-17 02:05:01 +01:00
Holly Stubbs 686a694432
cross chunk block placement 2023-04-13 23:52:13 +01:00
Holly Stubbs 35aa372d8e Force write chunks to disk on initial generation 2023-04-13 10:46:09 +01:00
Holly Stubbs 47f6d5cc37
Fix loading not actually working because of bogus instanceof checks 2023-04-13 00:26:01 +01:00
Holly Stubbs dd257acfe2
fix it for deflate as well oops 2023-04-12 23:38:27 +01:00
Holly Stubbs f8a52dfc98
Fix chunk loading 2023-04-12 23:37:51 +01:00
Holly Stubbs b474d35775
f 2023-04-12 23:01:23 +01:00
Holly Stubbs 860c8f4866
wip saving to disk / chunk async 2023-04-11 07:47:56 +01:00
Holly Stubbs 42cef0a838
WIP: Inventory support 2023-04-11 01:53:33 +01:00
Holly Stubbs b371521fda
Animations & Metadata 2023-04-10 21:52:30 +01:00
Holly Stubbs f93bb2605d
players!!!! 2023-04-10 14:42:14 +01:00
Holly Stubbs e5ba93ce9c
fix more codefactor issues 2023-04-09 04:51:30 +01:00
Holly Stubbs 16c7b5ddcc
fix a whole bunch of codefactor issues 2023-04-09 04:47:23 +01:00
Holly Stubbs 5de6e74323
INFINITE TERRAIN!!!! 2023-04-09 04:19:10 +01:00
Holly Stubbs 3edcbc062f
Initial TypeScript commit 2023-04-08 20:52:47 +01:00
Holly Stubbs d730e8f115
a 2023-04-07 21:24:42 +01:00
Holly Stubbs aafee602e9
chunk limiter had the wrong value 2021-10-24 01:28:06 +01:00
Holly Stubbs a97f313879
Add "Block" class and replace all usages of id's with static block referances 2021-10-22 11:37:35 +01:00
Holly Stubbs 65852606b3
improve speed of tree block queueing 2021-10-21 11:38:19 +01:00
Holly Stubbs 3ece5a575d
improve funkyArray's efficiency 2021-10-21 11:37:11 +01:00
Holly Stubbs 67a995fb5a
Add flowers to the generator 2021-10-21 11:35:55 +01:00
Holly Stubbs 5b0fe58b4e
metadata support
I wanted to put tall grass down but it defaults to shrubs and needs a damage value
2021-10-21 01:29:25 +01:00
Holly Stubbs fff42cf947
add preliminary support for nibbles 2021-10-21 01:27:45 +01:00
Holly Stubbs 8fc089834f
change ChunkWorker to support different terrain generators 2021-10-19 08:20:00 +01:00
Holly Stubbs d3f630703f
move terrain generators to sepreate files and introduce perlin
the perlin.js is from https://github.com/leodeslf/perlin-noise and modified to work with node
2021-10-19 08:18:20 +01:00