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
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
Felix Cravic
da48ba8fb0
Fix ItemStack#clone
2020-07-06 13:24:01 +02:00
Felix Cravic
4808567ef6
Consider HideFlags as an NBT tag
2020-07-06 12:44:02 +02:00
Felix Cravic
433703c0af
Added support for item CustomModelData
2020-07-06 12:39:48 +02:00
Felix Cravic
f892213e8c
Added a new Chat API
2020-06-22 23:25:00 +02:00
Felix Cravic
3940eacde8
Attribute optimization + comments
2020-05-30 01:39:52 +02:00
Felix Cravic
18a1e0b29b
Added EntityPigZombie metadata + itemstack synchronization
2020-05-29 21:30:42 +02:00
Felix Cravic
49723fbe7d
Fixed ItemStack#isSimilar
2020-05-29 20:24:39 +02:00
Felix Cravic
b0ccb91c31
More entity + added boundingboxes
2020-05-29 18:56:42 +02:00
Felix Cravic
14408e9d15
Fixed HideFlags
2020-05-29 00:30:19 +02:00
Felix Cravic
d416efad5b
Fixed enchantments (StoredEnchantments+Enchantments support)
2020-05-28 23:54:26 +02:00
Felix Cravic
619c680f1b
Added item attributes
2020-05-28 23:43:12 +02:00
Felix Cravic
9bf193988f
Added ItemStack potion nbt
2020-05-27 12:33:12 +02:00
Felix Cravic
97bd1ecdb1
Cleanup
2020-05-23 04:20:01 +02:00
Felix Cravic
d05a2feff3
WIP ItemFlag
2020-05-22 21:46:50 +02:00
Felix Cravic
888c570235
Added enchantments reader/writer + item dropping in creative mode
2020-05-22 18:51:03 +02:00
Felix Cravic
7eee0c788f
WIP Enchantments (de)serialization
2020-04-29 20:17:04 +02:00
Felix Cravic
7daac5e610
Package rename to net.minestom.server
2020-04-24 03:25:58 +02:00