Commit Graph

1187 Commits

Author SHA1 Message Date
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
themode
7bdfc93334 Added some comments about exceptions 2020-11-07 04:42:48 +01:00
themode
1d30e6e953 Use the Validator interface when possible for readability 2020-11-07 04:28:50 +01:00
themode
b2097a338d Added comments for Argument constructors 2020-11-07 03:45:25 +01:00
themode
66fc6779b6 Dynamic arguments now also have an optional dynamic restriction 2020-11-07 03:40:37 +01:00
themode
cf6fbd3d34 Cleanup 2020-11-06 22:58:38 +01:00
themode
fc4501501b Fix tasks not being canceled properly + annotations 2020-11-06 22:13:52 +01:00
themode
c2136fb379 Fixed English 2020-11-06 15:24:04 +01:00
themode
7ba1b9e174 Added additional information in InstanceContainer#cacheChunk about signaling 2020-11-05 22:53:46 +01:00
themode
73d99bf462 Made InstanceContainer#cacheChunk public 2020-11-05 22:42:03 +01:00
themode
0ee8eb7d45 Removed the instance from Chunk constructor 2020-11-05 22:37:04 +01:00
themode
46d008b595 Added annotations in PacketUtils 2020-11-05 22:20:51 +01:00
themode
dfa725800a Merge remote-tracking branch 'origin/master' 2020-11-05 16:37:32 +01:00
themode
428cea625e Removed Block empty duplicate 2020-11-05 16:37:16 +01:00
KrystilizeNevaDies
16051e09de Minor typo fix
Forgot to remove reduntant hashtag
2020-11-06 01:15:06 +10:00
TheMode
d31c6e8c5f
Merge pull request #64 from Geolykt/patch-1
Added distanceSquared where applicable and changed BlockPosition distance calculation
2020-11-05 15:44:35 +01:00
KrystilizeNevaDies
3c3230ae1e
Merge pull request #65 from KrystilizeNevaDies/master
Fix rgb byte overflow
2020-11-05 06:43:17 -08:00
KrystilizeNevaDies
b50530b4e7 Fix rgb byte overflow
Fix rgb byte overflow:
Changed from concatenation and logic to bitwise ops
2020-11-06 00:36:45 +10:00
themode
a8cdefc09e Added more usage info in README.md 2020-11-05 13:58:27 +01:00
themode
6ed1a7d462 Added more usage info in README.md 2020-11-05 13:57:54 +01:00
Geolykt
3be5605126 Added distanceSquared where applicable
Warning: Also breaks current API-Implementation (API-specification remains the same) in a way that BlockPosition#getDistance(BlockPosition) no longer returns the manhattan distance, but the distance according to pythagoras.
2020-11-04 20:31:29 +01:00
themode
2c0f0a8f9e Remove warning about MinecraftServer#setEntityViewDistance 2020-11-04 19:20:45 +01:00
themode
7b6f4b365b Do not add the entity as viewer multiple time 2020-11-04 19:16:47 +01:00
themode
f85b2c4aad Allow dynamic entity view distance change 2020-11-04 19:14:04 +01:00
themode
ae1d089603 Rounded extensions loading time for readability purpose 2020-11-04 18:27:18 +01:00