md_5
fba9f4876b
Improve legacy conversion of some materials that changed post flattening
2020-02-21 12:13:05 +11:00
ysl3000
2d151f4c33
#624 : Add an API for passing the heightmap to getHighestBlockAt* method
2020-02-09 10:32:24 +11:00
md_5
a0e88fb362
SPIGOT-5536: Material.values() causes legacy data init
2020-01-23 08:53:36 +11:00
md_5
efd6cf55fc
Only load legacy support data if something uses it
2020-01-22 11:15:58 +11:00
md_5
de42aa13f3
Update to Minecraft 1.15
2019-12-11 09:00:00 +11:00
ShaneBeee
db98d54df9
SPIGOT-5362: Suspicious stews fail isSimilar check
2019-10-14 21:04:58 +11:00
ShaneBeee
03b145b300
SPIGOT-5158: Add SuspiciousStewMeta
2019-09-09 19:22:40 +10:00
md_5
bf0ea33de6
SPIGOT-5105: The EntityTag nbt tag disappears from preset armor_stand items.
2019-06-29 16:55:36 +10:00
PurkkaKoodari
b7db6fba12
SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full
2019-06-08 19:48:49 +10:00
md_5
84400e66b8
SPIGOT-4871: Manually opened double chest doesn't have close animation
2019-05-05 18:39:58 +10:00
md_5
1fa9a81514
SPIGOT-4802: Add CrossbowMeta
2019-05-01 20:18:01 +10:00
md_5
e3df3d5cda
Add Override annotations where appropriate
2019-04-28 11:38:01 +10:00
Bjarne Koll
42f88f72b5
Replace ItemTag API with new API that also expands to Tiles and Entities
2019-04-25 14:42:39 +10:00
md_5
58c5c617d8
SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize
2019-04-25 10:06:40 +10:00
md_5
5fea790398
Apply import ordering rules to CraftBukkit classes
2019-04-23 14:56:58 +10:00
md_5
48c4c5ca81
Begin implementation of CheckStyle style checking
2019-04-23 14:00:30 +10:00
md_5
a2d787f6eb
Update to Minecraft 1.14-pre5
2019-04-23 12:00:00 +10:00
blablubbabc
c3749a2358
Remove the Damage tag from items when it is 0.
...
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.
These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).
If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).
2019-04-20 13:00:41 +10:00
md_5
1dbe87c8cc
SPIGOT-4646: Test + fix InventoryWrapper.getContents
2019-03-05 16:59:40 +11:00
Brokkonaut
d158f2e993
Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
...
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.
2019-02-13 16:59:39 +11:00
Bjarne Koll
8059a937eb
SPIGOT-4577: Fix loss of int/double custom tags when serialized to yaml
2019-01-14 10:12:55 +11:00
Bjarne Koll
38e4c013b6
SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks
2018-12-04 09:44:56 +11:00
md_5
b1d149cfd0
SPIGOT-4489: NOTE_BLOCK incorrectly has BlockStateMeta
2018-11-16 15:18:28 +11:00
md_5
f3f2fe5795
SPIGOT-4455: ChunkData.getType returns legacy material
2018-10-29 07:17:59 +11:00
Nathan Wolf
116cb9a1bc
SPIGOT-4399: Add attribute modifier equality test
2018-09-27 20:56:49 +10:00
md_5
ce1af0c348
Update to Minecraft 1.13.1
2018-08-26 12:00:00 +10:00
md_5
8c9dea83c3
SPIGOT-4030: Improve CraftItemStack.hasItemMeta
2018-07-17 17:13:55 +10:00
md_5
421c1728c8
Update to Minecraft 1.13-pre7
2018-07-15 10:00:00 +10:00
md_5
fb4564cc37
SPIGOT-2892: Fix some clone implementations and add unit test
2017-12-16 10:18:34 +11:00
Antony Riley
6cb752ea08
Add ChunkDataTest from PR #157
2017-12-08 19:37:15 +11:00
md_5
5195487ec6
Update to Minecraft 1.12-pre2
2017-05-14 12:00:00 +10:00
Matthew
04202c0ace
SPIGOT-1592: Implement ItemMeta for Spawn Eggs
...
The Minecraft implementation of spawn eggs is able to construct an entity using all data that is present in the save format, however since the Bukkit API has no such way to construct an entity unattached to a world, and it appears creating such a way is a very challenging task, the decision was instead made to add this API now that 1.11 has entities which may not be represented by data values.
In the future it may be possible to implement a more expanded API cognate with this one.
2016-12-06 21:15:34 +11:00
md_5
b6ad714e85
SPIGOT-2871: Improve BlockStates + BlockStateMeta
2016-12-02 09:29:33 +11:00
md_5
93b8244115
SPIGOT-2787: Keep performing getter null conversion at call sites
2016-11-18 11:07:02 +11:00
md_5
64032adfd2
Remove unit test based on now incorrect assumptions
2016-11-18 09:11:17 +11:00
t00thpick1
4a8818c5fd
SPIGOT-1638 / SPIGOT-1673: Rework Potions API
2016-03-12 12:38:22 +11:00
md_5
aa008dff0f
Update to Minecraft 1.9
2016-03-01 09:32:45 +11:00
Thinkofdeath
84699b36a8
Rewrite book handling, Fixes SPIGOT-182 and part of SPIGOT-164
2014-12-11 19:38:09 +00:00
Thinkofdeath
44ea9d88c2
Add CraftMetaTileEntity, fixes the previously broken tests
2014-12-07 13:22:56 +00:00
Thinkofdeath
c571bbe590
Disable some tests whilst issues with them are looked into
2014-12-07 11:50:45 +00:00
Thinkofdeath
24557bc2b3
Update to Minecraft 1.8
...
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00
Travis Watkins
dbb5e6e3cd
Update CraftBukkit to Minecraft 1.7.10
2014-07-08 14:31:10 -05:00
Travis Watkins
a81f26716d
Handle profiles in SkullMeta, they don't store a string anymore.
2014-04-17 14:09:53 -05:00
Wesley Wolfe
1f9f6a51c2
Add failing unit test for ItemMeta-repairability
2014-01-14 18:13:13 -06:00
mbax
2726696652
Update CraftBukkit to Minecraft 1.7.2
2013-11-30 19:26:12 -06:00
Wesley Wolfe
f481c9ee07
Make ItemFactoryTest.java platform agnostic. Fixes BUKKIT-4695
...
Maven paths that include spaces (and possible other characters) get
improperly translated when using a file handle from a URL. This changes
the unit test to open a stream directly from the URL, providing proper
file resolution on multiple platforms.
2013-08-14 02:37:24 -05:00
Wesley Wolfe
71a6a56572
Fix javac workaround in ItemStackTest
2013-08-06 20:09:42 -05:00
Wesley Wolfe
9ba5c79c30
Add BukkitObjectIOStream tests on top of ItemMeta tests
2013-08-06 20:00:29 -05:00
Wesley Wolfe
1e7f2ebebd
Store item attributes. Addresses BUKKIT-4523
2013-07-27 18:00:01 -05:00
GJ
96ba65d506
Add methods to check conflicting enchantments. Adds BUKKIT-3830
2013-03-25 10:51:54 -04:00