Commit Graph

73 Commits

Author SHA1 Message Date
themode
d6b6d41f41 Fix Inventory not using a Component as title 2021-04-04 15:33:53 +02:00
jglrxavpok
7b8a8e3eb0 Tests to check which packets fail to write then read properly 2021-03-30 19:37:43 +02:00
themode
7f0dc6d40a Rename InventoryType#getAdditionalSlot to InventoryType#getSize 2021-03-29 17:36:18 +02:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
Felix Cravic
5e85c0117a Cleanup 2020-12-12 06:13:50 +01:00
Felix Cravic
f7c05a445e Remove #copy 2020-12-09 21:34:53 +01:00
Felix Cravic
f39f6444d7 PublicCloneable and support for ItemMeta#clone 2020-12-09 21:15:02 +01:00
Felix Cravic
cea3b8b593 WIP removal of #copy for #clone 2020-12-09 20:51:40 +01:00
Felix Cravic
0705ab34ed Allow custom suggestion type with ArgumentDynamicWord 2020-11-22 22:58:14 +01:00
themode
404ddb5bf9 Added a new item data ownership system, replacing the old nbt consumer and NbtDataImpl 2020-11-21 06:37:44 +01:00
themode
310733b747 Fixed stacking not working with NbtDataImpl 2020-11-16 07:40:45 +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
99d27b78c4 Fixed NbtDataImpl not working in creative mode 2020-11-11 00:29:06 +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
0184ada9a0 Renamed #clone to #copy 2020-10-31 18:03:15 +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
ea80d56bd0 Small packet cleanup, removed LevelType, new RawJsonMessage 2020-10-25 22:19:27 +01:00
themode
cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode
3d96b7a4b4 A lot of annotations a bit everywhere. 2020-10-24 10:46:23 +02:00
themode
b2e3d3e78d Use negative entity id for the custom breaking system 2020-10-19 11:56:26 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
740b0bbf45 Comments for BlockPosition constructors + cleanup 2020-10-12 17:07:22 +02:00
themode
88ef4eb3c0 Comments 2020-10-12 03:18:02 +02:00
themode
cbe2a0b71e Comments 2020-10-12 02:56:30 +02:00
themode
af1f976e53 Comments 2020-10-11 18:57:24 +02:00
themode
690c7d5ff1 SerializableDataImpl comment fix 2020-10-03 03:45:11 +02:00
themode
2218299931 Simplify the SerializableData interface 2020-10-02 08:18:36 +02:00
themode
0f71b4c9d4 Clarifications for SerializableData 2020-10-02 04:26:10 +02:00
themode
aea788cd64 Better comments 2020-09-28 00:04:55 +02:00
themode
5620e9a8cf Cleanup 2020-09-24 01:50:25 +02:00
themode
8c623072f3 Calling an entity event will now also trigger it for the instance (useful for instance-specific listeners) 2020-09-23 22:01:47 +02:00
jglrxavpok
4079d8e746 Export codegen feature + correct javadoc 2020-09-23 21:21:21 +02:00
themode
890cfe4622 Removed the reader classes, deplaced them into SerializableData and Chunk respectively. It allows for developers to make their own deserialization AND serialization implementation 2020-09-23 21:08:36 +02:00
jglrxavpok
b6fc3ee978 Publish with Javadoc & Sources 2020-09-20 15:04:07 +02:00
themode
7b93881e59 Made DamageType a DataContainer 2020-09-05 16:45:33 +02:00
themode
925c0a89f6 Comments + utils methods for BinaryWriter 2020-09-02 19:06:11 +02:00
Nesaak
dd66699a20 Make Data and SerializableData interfaces 2020-09-02 12:41:04 -04:00
themode
38dbaecb8f SerializableData data types can now be indexed 2020-08-29 22:21:45 +02:00
themode
b8c30d9b58 Cleanup 2020-08-19 20:47:53 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
Felix Cravic
0d4689a367 Optimize thread providers 2020-08-15 01:18:49 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
134173d0f1 Cleanup 2020-08-03 00:37:03 +02:00
Felix Cravic
5c1e6e7572 Cleanup 2020-07-23 07:36:49 +02:00