3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Commit graph

55 Commits

Autor SHA1 Nachricht Datum
md_5
7ea3c040bc
Update to Minecraft 1.16.1 2020-06-25 10:00:00 +10:00
md_5
6515ea4957 SPIGOT-5537: Bee nests generated by growing trees near flower have no bees 2020-01-28 09:48:28 +11:00
md_5
30a1b6911f Update to Minecraft 1.15.1 2019-12-18 08:00:00 +11:00
md_5
de42aa13f3 Update to Minecraft 1.15 2019-12-11 09:00:00 +11:00
md_5
e73aabd666 Update to Minecraft 1.14.4 2019-07-20 09:00:00 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
c124606439 SPIGOT-4734: Sign placement fails when looking at grass 2019-04-25 09:55:41 +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
51100db821 SPIGOT-4678: Fix placing signs in certain circumstances 2019-03-24 21:34:57 +11:00
md_5
5be2ddcbd5 Replace version constants with methods to prevent compiler inlining 2018-12-30 16:00:31 +11:00
md_5
963f4a5fc1 Add PlayerItemDamageEvent 2018-12-26 08:00:00 +11:00
md_5
d05c8b1481 Mappings Update 2018-12-26 08:00:00 +11:00
md_5
dff66dfccd Reduce copying of positions from block states 2018-12-22 11:32:11 +11:00
md_5
91cae6efbf SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent 2018-12-22 11:25:14 +11:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
69970127c1 SPIGOT-4221: Update surrounding blocks for cancelled break/place 2018-08-03 11:34:26 +10:00
md_5
420f5fa779 Add draft BlockFertilizeEvent 2018-07-26 20:44:09 +10:00
md_5
b50bb15f56 SPIGOT-4110: Fix spawning withers 2018-07-23 11:58:43 +10:00
md_5
595ec64726 SPIGOT-4049: Books lose NBT data 2018-07-19 10:12:55 +10:00
md_5
15036eb75b Fix changes that got lost late in development cycle 2018-07-18 14:13:20 +10:00
md_5
f18d78282d SPIGOT-4028: Improve legacy ItemStack conversion 2018-07-18 14:01:15 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
blablubbabc
8cc5a7ecb6 SPIGOT-3945: Remove RepairCost tag when cost is 0 2018-05-27 17:10:22 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
613be0d841 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion. 2017-01-02 16:13:25 +11:00
md_5
4602331b1d SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break. 2016-12-18 09:26:36 +11:00
Jacob Martin
b64d852496 #326: Convert BlockMeta to handle older serialized items. 2016-12-03 10:58:18 +11:00
md_5
0a1e0455e2 SPIGOT-1401: Issues placing blocks adjacent to eachother 2016-11-28 10:13:49 +11:00
md_5
281376dfb5 SPIGOT-2833: Tile entities occasionally wiped after placement 2016-11-24 09:30:01 +11:00
md_5
8095a750e7 SPIGOT-2790: Remove negative item ID filtering again 2016-11-18 15:25:43 +11:00
md_5
a0269d8e72 SPIGOT-2784: Fix Withers not being built 2016-11-18 09:20:14 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
121dfc098a SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent 2016-06-30 15:39:58 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5
18658965d3 Apply DataConverters to ItemStack instances 2016-03-25 11:03:39 +11:00
md_5
50b4cb8e72 SPIGOT-1749 / MC-99075: Call updateInventory as a temporary workaround for cancelled BlockPlaceEvent 2016-03-06 12:34:51 +11:00
Thinkofdeath
1be3bd058f SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used 2016-03-01 21:37:08 +00:00
md_5
0f297b39be SPIGOT-1569: Remove negative itemstack data filtering 2016-03-01 20:16:34 +11:00
md_5
5122dcd61e SPIGOT-1568: Fix jukeboxes 2016-03-01 20:07:44 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Thinkofdeath
7742e12aff SPIGOT-1018: Fix isFromBonemeal always being false 2015-07-08 22:50:32 +01:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
md_5
501372f2c9 Special case record placement into juke boxes as they update their tile. 2015-04-10 21:24:45 +10:00
Thinkofdeath
55f3a3ea9e Capture tile entities and only place them in the event succeeds 2015-03-16 09:48:01 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
Thinkofdeath
386dc55b83 SPIGOT-465: Allow cancelling BlockPlaceEvent to preven wither spawns 2015-02-02 21:55:33 +00:00
Thinkofdeath
9255e9d82c Fix canceling BlockPlaceEvent 2014-11-29 21:17:57 +00:00