Commit Graph

1394 Commits

Author SHA1 Message Date
jglrxavpok
48670e8c37 ItemEnumGenerator converted to Javapoet and re-generation of everything 2020-10-26 22:51:12 +01:00
jglrxavpok
6577c6070c BlockEnumGenerator converted to Javapoet 2020-10-26 21:50:10 +01:00
themode
a7d23bfa50 Added more click types + fix inventory click cancel 2020-10-26 20:46:22 +01:00
themode
0337fff50f Fixed shift click ignoring canceled events 2020-10-26 19:31:25 +01:00
themode
3fe58b6b20 Inventories are now DataContainer 2020-10-26 19:14:50 +01:00
themode
bd620a2241 Remove unnecessary packet copy + more annotations 2020-10-26 16:08:59 +01:00
jglrxavpok
2133e09527 Convert basic enum generators to JavaPoet, Block.java generation ported, but not block alternative classes yet 2020-10-26 15:50:52 +01:00
themode
113f4fcdb3 Annotations for all chat components to prevent client json exception 2020-10-26 15:42:45 +01:00
themode
44c912d7ec Prevent retrieving null managers before their initialization and added annotations in ConnectionManager 2020-10-26 15:15:56 +01:00
themode
06f2ed6065 Use the Contract annotation to prevent useless NPE warnings 2020-10-26 13:57:02 +01:00
themode
8b99fb6f09 Added Player#playSound for custom sounds identifier (from resourcepack) 2020-10-26 11:18:44 +01:00
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