Commit Graph

43 Commits

Author SHA1 Message Date
Kieran Wallbanks
0178a0a852 Add Contract annotation to asBinaryTagHolder 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
6dd3eb8044 Implement HoverSource for ItemStack, Entity and Player 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
3b0aa2d63b Deprecate legacy chat functions 2021-03-26 17:34:38 +00:00
Németh Noel
2f725becf2 canPlaceOn and canDestroy getters no longer return an unmodifiable list, methods for additions and removals are therefore removed 2021-02-28 22:39:38 +01:00
Németh Noel
10ece83d75 Cleaned up imports and removed unnecessary .toString() calls 2021-02-28 20:35:10 +01:00
Németh Noel
7abf6ba9e7 Added CanPlaceOn and CanDestroy properties for ItemStacks and implemented checks for them 2021-02-28 19:37:31 +01:00
themode
0cef390ff2 Fix null check 2021-02-22 14:06:47 +01:00
ALS
fb6c51204b getAsByte 2021-02-21 16:59:50 +01:00
ALS
12f0190f97 Revert AttributeSlot.parse(String string) 2021-02-21 16:56:06 +01:00
ALS
b842f07c3c Use getAsInt and getAsDouble 2021-02-20 23:54:25 +01:00
ALS
0f9a2b5b4f Fixed a possible null for attributeSlot 2021-02-20 20:39:49 +01:00
ALS
01ff9e2123 Fix failed issue 2021-02-20 19:51:45 +01:00
ALS
ac7ca6f8e4 Fixed somme read for NBT Tag to ItemStack 2021-02-20 17:35:02 +01:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
themode
640521e6dc Fix item hide flags and custom model data not being saved in the creative packet 2021-01-04 20:26:17 +01:00
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage 2020-12-31 13:53:21 -05:00
Matt Worzala
071a2ce196
Change ArrayList types to List 2020-12-28 14:57:39 -05:00
themode
3a988ddba1 Fixed block break particles and sound being played two times for the breaker 2020-12-14 06:06:28 +01:00
themode
c1b584da1b Removed more string concatenation 2020-12-14 05:55:48 +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
72d941bc74 Prevent corrupted item stack from crashing the server 2020-11-13 03:39:00 +01:00
themode
99d27b78c4 Fixed NbtDataImpl not working in creative mode 2020-11-11 00:29:06 +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
224626bdbd Added NbtDataImpl to support writing custom item NBT data to the client 2020-11-07 19:39:22 +01:00
themode
512b30e9df Added ArgumentItemStack 2020-10-16 14:31:15 +02:00
themode
683415e75e Fixed item attributes not showing in-game 2020-10-04 03:04:51 +02:00
Articdive
29c6d92bdc
Final for enums and some annotations. 2020-09-29 21:45:16 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
TheMode
72a80da0bc
Merge pull request #31 from Minestom/improve-utility
Make utility classes final and not constructable.
2020-08-07 09:15:37 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Articdive
d5b8ead337
Make utility classes final and not constructable. 2020-08-07 08:10:10 +02:00
Felix Cravic
6501a43820 Cleanup 2020-08-01 11:00:31 +02:00
Felix Cravic
af14d2d324 Added EnchantedBookMeta 2020-08-01 00:21:03 +02:00
Felix Cravic
5c1e6e7572 Cleanup 2020-07-23 07:36:49 +02:00
Felix Cravic
01cb95c9b2 item meta cleanup 2020-07-23 05:48:47 +02:00
Felix Cravic
f8453b4906 Added ItemMeta + MapDataPacket 2020-07-23 05:36:15 +02:00
jglrxavpok
b2f4c8654d Added convenience methods to convert ItemStack to/from NBTCompound 2020-07-13 14:36:39 +02:00
Felix Cravic
d1b159d174 Added NBTConsumer for custom item nbt 2020-07-09 15:51:39 +02:00
jglrxavpok
f8c358adcd Use ChatParser.toColoredText when loading name&lore 2020-07-06 23:55:43 +02:00
jglrxavpok
6d892efacf Save additional NBT to correct sub-compound 2020-07-06 23:50:32 +02:00
jglrxavpok
b277d7cb1a Moved NBTUtils from VanillaReimpl to core 2020-07-06 23:43:56 +02:00