themode
785e002a50
Improve documentation
2021-04-03 00:21:23 +02:00
themode
9abbef35ae
Reduce code duplication
2021-04-03 00:03:36 +02:00
themode
8d8a22f209
Use original NBT when possible
2021-04-02 22:14:48 +02:00
themode
2b0c525ca2
Implement ItemStack#equals & use a soft reference to store meta cached NBT
2021-04-02 19:10:46 +02:00
themode
7dcc52de57
Support item stacking, cleanup
2021-04-02 18:25:20 +02:00
themode
a128d30b6b
WIP Item rework implementation
2021-04-02 18:13:02 +02:00
themode
2f86a2f5cf
Fix lore not being compared in ItemStack#isSimilar
2021-03-27 10:52:09 +01:00
Kieran Wallbanks
6dd3eb8044
Implement HoverSource for ItemStack, Entity and Player
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
522367dd78
Begin removing deprecated usages
2021-03-26 17:34:38 +00:00
Archy-X
a9577f084a
Add ItemStack constructor without amount parameter
2021-03-20 18:09:14 -07: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
bcfaf71c7c
Added checks for canPlaceOn and canDestroy sets in #isSimilar, changed emptiness check to Collection#isEmpty from != 0 in #hasNbtTag
2021-02-28 21:01:23 +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
f7aeeabe9c
Override ItemStack#equals
2021-02-07 19:38:14 +01:00
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