Commit Graph

67 Commits

Author SHA1 Message Date
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
LeoDog896
fec05d6838 More fastutil usages 2021-01-15 16:04:57 -05:00
LeoDog896
3536bdc856 Microoptimization cleanup
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
d5da334c25 Item lore cannot be null (but empty) 2021-01-13 03:42:31 +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
R0bbyYT
58c7ad9e02 Implements PlayerHeadMeta, FireworkMeta and FireworkEffectMeta 2020-12-23 02:24:41 +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
ff4580c41b Prevent unnecessary item copy during drop 2020-12-07 23:57:57 +01:00
themode
ab98c11de3 ItemStack#isSimilar should return true if both items have the same identifier 2020-11-21 11:42:47 +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
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
4375a8734d Add comment to signal how to make a "null" ItemStack 2020-10-31 01:41:46 +01:00
Alex K
6070d002d9 Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64 2020-10-25 14:44:40 -06:00
themode
2f21a7c233 More annotations. 2020-10-24 11:19:54 +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
b2e3d3e78d Use negative entity id for the custom breaking system 2020-10-19 11:56:26 +02:00
themode
0b6a063311 Added support for CustomPotionEffect in PotionMeta 2020-10-16 16:32:57 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
3663a292f1 Comments for the inventories classes 2020-10-14 16:41:36 +02:00
themode
bf0ec9f133 Added ItemStack#setMaterial and information about automatic refresh 2020-10-14 16:33:32 +02:00
themode
857d3f0c6e Added ItemStack#getAttribute 2020-10-05 01:46:02 +02:00
themode
683415e75e Fixed item attributes not showing in-game 2020-10-04 03:04:51 +02:00
themode
5620e9a8cf Cleanup 2020-09-24 01:50:25 +02:00
jglrxavpok
b6fc3ee978 Publish with Javadoc & Sources 2020-09-20 15:04:07 +02:00
themode
c5172a7275 WIP ItemStack#getCustomDisplay 2020-08-18 02:16:30 +02:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Felix Cravic
3c64def9f9 Updated Hydrazine 2020-08-13 20:24:40 +02:00
Felix Cravic
23e82e0ae2 Added ItemStack#onInventoryClick 2020-08-13 19:12:16 +02:00
Felix Cravic
f3414224fe Added ItemStack callbacks for interactions 2020-08-13 19:00:19 +02:00
Felix Cravic
91711401c0 Added options for the pathfinder 2020-08-12 13:10:57 +02:00
Felix Cravic
55aeac7530 Add potion meta to all potion types + tipped arrow 2020-08-09 20:30:46 +02:00
Felix Cravic
395b205484 WIP PlayerHeadMeta & SpawnEggMeta 2020-08-01 20:50:39 +02:00
Felix Cravic
6cc315fe78 WIP FireworkMeta & ChatHoverEvent cleanup 2020-08-01 03:57:55 +02:00
Felix Cravic
ba965feb8e Added LeatherArmorMeta 2020-08-01 03:33:22 +02:00
Felix Cravic
20e184f042 Added WrittenBookMeta && WritableBookMeta item meta 2020-08-01 03:19:48 +02:00
Felix Cravic
fe73c43eef Added CompassMeta & WIP CrossbowMeta 2020-08-01 00:43:52 +02:00
Felix Cravic
af14d2d324 Added EnchantedBookMeta 2020-08-01 00:21:03 +02:00
Felix Cravic
3b24be4925 Fixed color serialization 2020-07-31 23:02:01 +02:00
Felix Cravic
4fb7d61a7c Cleanup 2020-07-24 18:23:15 +02:00
Felix Cravic
5c1e6e7572 Cleanup 2020-07-23 07:36:49 +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
84b06307c4 Item damage is an Integer 2020-07-06 23:34:22 +02:00