Commit Graph

1324 Commits

Author SHA1 Message Date
themode
1bf8c5f89b Fixed time packet being sent every tick (should be every second now) 2020-11-13 07:45:35 +01:00
themode
c60f625c55 Revamp of the packet sending code, added possibility to have listeners for outgoing packets 2020-11-13 07:43:35 +01:00
themode
3c2c7acb0b Optimize PaletteStorage operations 2020-11-13 03:57:13 +01:00
themode
0ae656c1f2 Prevent placing blocks above y=255 2020-11-13 03:51:02 +01:00
themode
72d941bc74 Prevent corrupted item stack from crashing the server 2020-11-13 03:39:00 +01:00
themode
1e30283733 Fixed palette breaking with a Y below 0 2020-11-13 03:29:09 +01:00
themode
0ab9c79a28 Prevent array resizing during server tick 2020-11-13 03:26:35 +01:00
themode
f24ae00c8f Enable packet rate limit by default with a value of 300 2020-11-13 02:07:01 +01:00
themode
a992dc1ff9 Removed confusing BinaryReader method 2020-11-13 02:02:52 +01:00
themode
02f507d5ad Server shouldn't crash/lag when receiving a string too big 2020-11-13 01:53:55 +01:00
themode
674e1079dd Added max packet size condition 2020-11-13 01:34:25 +01:00
themode
373a1cf3a7 Removed TODO 2020-11-13 00:31:04 +01:00
themode
13932a6ca3 Removed RichMessage format retention, should be done manually. + cleanup 2020-11-13 00:28:22 +01:00
themode
d3d3cc6553 Each chunk section gets its own palette, should decrease memory usage on vanilla-like worlds 2020-11-12 22:41:41 +01:00
themode
e9d7de834f Updated README.md to include semi-ViaBackwards support 2020-11-12 19:28:35 +01:00
themode
5d8b8666f2 More PaletteStorage comments 2020-11-12 08:23:37 +01:00
themode
6e77bb8358 Improved demo commands clarity 2020-11-12 03:09:36 +01:00
themode
60d01fab11 Fix main loop sleep 2020-11-12 00:56:36 +01:00
themode
041bc721c8 Cleanup UpdateManager 2020-11-12 00:18:36 +01:00
themode
46bf69c9e2 PaletteStorage comments 2020-11-11 21:44:32 +01:00
themode
1d7db5e211 Added dynamic palette resizing 2020-11-11 21:35:20 +01:00
Eoghanmc22
a7a390307c Corrected bitwise palette code and some bugs. 2020-11-11 14:28:59 -05:00
themode
babc6e35ba Fixed palette 2020-11-11 17:30:18 +01:00
themode
55cddf6b78 Added palette 2020-11-11 17:13:36 +01:00
themode
00656d96e0 Cleanup 2020-11-11 08:16:42 +01:00
themode
93bae25085 Custom blocks also use a PaletteStorage object, removed StaticChunk since memory is not an issue anymore 2020-11-11 07:29:07 +01:00
themode
4dfe01ea2f WIP PaletteStorage (only works with Bits per entry of 15) 2020-11-11 06:06:28 +01:00
themode
b6bf6a17ba Merge branch 'master' into test-palette
# Conflicts:
#	src/main/java/net/minestom/server/instance/DynamicChunk.java
2020-11-11 04:27:03 +01:00
themode
dde3430010 ArgumentRelative comment 2020-11-11 04:24:09 +01:00
themode
d520a0ebc4 Created ArgumentRelativeVec to prevent code duplication 2020-11-11 03:31:15 +01:00
themode
6cbe656b15 Added "semi-relative" location argument support 2020-11-11 02:11:28 +01:00
themode
99d27b78c4 Fixed NbtDataImpl not working in creative mode 2020-11-11 00:29:06 +01:00
themode
78bf5dda05 Comments for the relative location arguments 2020-11-10 23:31:35 +01:00
themode
ad357d70fc Added ArgumentRelativeBlockPosition, ArgumentRelativeVec3 and ArgumentRelativeVec2 2020-11-10 23:16:35 +01:00
themode
bbf9f92b52 Added bungee forwarding support 2020-11-10 21:38:08 +01:00
themode
bcee5424dc Fixed copied packets and compression using velocity forwarding 2020-11-10 21:14:24 +01:00
themode
f2e52ff463 Send an EntityMovementPacket every tick if the player did not move since the last one 2020-11-10 18:13:24 +01:00
themode
3ddca82aaa Cleanup 2 2020-11-10 08:01:27 +01:00
themode
68bb479f4a Cleanup 2020-11-10 07:42:11 +01:00
themode
c6c8f6b9d6 Usage comments for VelocityProxy 2020-11-10 00:13:57 +01:00
themode
7db94f3a65 Support for velocity modern forwarding 2020-11-09 23:48:34 +01:00
themode
247a328a09 Annotations for the advancement API 2020-11-09 18:29:30 +01:00
TheMode
826533e5ee Added some dots
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-09 18:08:26 +01:00
themode
e583f21b74 Fixed client crashing when pinging with an older client 2020-11-09 03:21:18 +01:00
themode
f9035bf949 Param comments for NBTUtils#toNBT 2020-11-08 22:40:50 +01:00
themode
4412bea7b8 NBTUtils comments and contributors link in README.md 2020-11-08 20:13:24 +01:00
themode
11fc1e39bc Cleanup InstanceContainer#copy 2020-11-08 17:39:03 +01:00
themode
682c660857 Fixed javadoc 2020-11-08 15:57:00 +01:00
themode
a574c1fe2a Close the command scanner once stopped 2020-11-07 22:58:19 +01:00
themode
224626bdbd Added NbtDataImpl to support writing custom item NBT data to the client 2020-11-07 19:39:22 +01:00