Commit Graph

1333 Commits

Author SHA1 Message Date
themode
322acca51e Assigning a data key to null will remove the key 2020-10-26 01:47:41 +01:00
themode
91301102d3 Added proper exception in SerializableDataImpl if an issue happens with the type 2020-10-26 01:38:22 +01:00
themode
e621069cc5 More comments for the data API 2020-10-26 01:30:32 +01:00
TheMode
6a6e359529
Merge pull request #61 from DigitalJokerMan/change-default-stacking-rule
Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64
2020-10-25 22:21:26 +01:00
themode
ea80d56bd0 Small packet cleanup, removed LevelType, new RawJsonMessage 2020-10-25 22:19:27 +01:00
Alex K
6070d002d9 Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64 2020-10-25 14:44:40 -06:00
jglrxavpok
35f7b27135 Comment to remember to fix extension dependency resolution in case we keep separate classloaders for extensions 2020-10-25 20:32:50 +01:00
jglrxavpok
66e85f166e Fix load order 2020-10-25 20:27:34 +01:00
jglrxavpok
f4716b7e8c Update Kotlin version to 1.4.10 2020-10-25 19:59:11 +01:00
jglrxavpok
6df285723a Load extension dependencies 2020-10-25 19:58:19 +01:00
jglrxavpok
e474640687 Update discovered extension status when an extension-dependency is not found 2020-10-25 18:03:28 +01:00
jglrxavpok
31114415cf Start port codegen over to Javapoet 2020-10-25 17:54:10 +01:00
themode
8346bb85ed @NotNull for ClientPacket#read 2020-10-25 17:02:07 +01:00
themode
1b7613d977 Allow for custom chunk/entity view distance and compression threshold without recompiling the server. 2020-10-25 16:48:14 +01:00
Articdive
0167a8f9ef
Add extension intra-dependency (hopefully) 2020-10-25 16:45:28 +01:00
themode
424e99e2d8 Use the server brand name as the motd in case of a legacy ping 2020-10-25 15:32:19 +01:00
themode
a8796382b7 Clear cache of viewed boss bars and advancement tabs once the player disconnect 2020-10-25 12:28:06 +01:00
jglrxavpok
aac18a19f9 Test to avoid regression errors on '.' and '/' in NamespaceID paths 2020-10-25 11:32:15 +01:00
Articdive
5217964259
Cleanup and improve extension changes. 2020-10-25 10:41:51 +01:00
themode
0c96de75ef Fix namespace regex for path 2020-10-25 00:00:32 +02:00
themode
df28d25685 Allow for JsonMessage in packets 2020-10-24 23:28:43 +02:00
themode
26e8dae452 Use JsonMessage in WrittenBookMeta 2020-10-24 23:16:39 +02:00
jglrxavpok
535e8946b6 Extensions can declare Maven dependencies which will be auto-downloaded 2020-10-24 22:57:38 +02:00
themode
fa0f9c8fa2 Annotations for the storage api 2020-10-24 20:49:39 +02:00
themode
b511c12129 Added comments to facilitate custom implementation of Instance 2020-10-24 20:11:26 +02:00
themode
bd8df8bd5e Fixed AdvancementTab#getTabs annotation 2020-10-24 19:41:26 +02:00
themode
cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode
27e0b86cb5 Added annotations for all events 2020-10-24 16:33:13 +02:00
themode
2f21a7c233 More annotations. 2020-10-24 11:19:54 +02:00
TheMode
29df8f5b39
Merge pull request #60 from Minestom/extension-naming
Cleanup and ensure extensions have valid names.
2020-10-24 10:47:50 +02:00
themode
3d96b7a4b4 A lot of annotations a bit everywhere. 2020-10-24 10:46:23 +02:00
Articdive
6bb7186b3f
Cleanup and ensure extensions have valid names. 2020-10-24 10:45:27 +02:00
themode
3e59c9d396 Added IChunkLoader#saveChunks with a default implementation 2020-10-24 09:34:19 +02:00
themode
4ddfc88d43 Added info about the read-only field and renamed #getFreshPacket to #createFreshPacket 2020-10-24 00:25:37 +02:00
themode
fb26ec0f0b Added Chunk#setReadOnly and Chunk#isReadOnly 2020-10-24 00:17:23 +02:00
themode
86d6092547 Hide PlayerConnection#enableCompression into NettyPlayerConnection 2020-10-24 00:05:22 +02:00
themode
70e047e6ee Added buffer length check in DynamicChunk#readChunk 2020-10-23 23:55:42 +02:00
themode
d2eff4abbc Replaced the queue by an ArrayDeque 2020-10-22 23:31:09 +02:00
themode
1c28272cb7 Use of a queue instead of an ArrayList 2020-10-22 23:18:34 +02:00
themode
3665241e94 Added OptionalCallback for convenience 2020-10-22 22:55:40 +02:00
themode
40516d17a9 Removed try-catch in DynamicChunk and track manipulation of the buffer to prevent synchronization issue 2020-10-22 22:44:52 +02:00
themode
560abf0df8 Added buffer length check in DynamicChunk#readChunk 2020-10-22 22:31:25 +02:00
themode
3db964f817 Removes debug #clone print 2020-10-22 19:22:58 +02:00
themode
34e7bfe69d Reduces the number of ItemStack#clone calls in inventory clicks 2020-10-22 19:18:08 +02:00
themode
419541b878 UpdateManager comments + synchronization fix 2020-10-22 15:57:27 +02:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
47677766ca Improvement for the DamageType code 2020-10-22 12:21:50 +02:00
themode
c7f8ae7536 Added constructor comments in ColoredText and RichMessage 2020-10-22 09:10:14 +02:00
themode
f72dce3a46 More comments for message related classes 2020-10-21 16:26:55 +02:00
themode
ddc5da4415 More explanations for JsonMessage#toString 2020-10-21 16:08:33 +02:00