13
0
geforkt von Mirrors/Paper
Commit graph

4723 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
08e5ad2b2f SPIGOT-6720: Fix bed explosion checks
By: Doc <nachito94@msn.com>
2021-08-27 19:17:43 +10:00
CraftBukkit/Spigot
c8ef43f1b5 SPIGOT-6722: Close entity manager when unloading world
By: DerFrZocker <derrieple@gmail.com>
2021-08-27 19:14:09 +10:00
CraftBukkit/Spigot
dd503b542b SPIGOT-6686: Changes in MaximumRepairCost for Anvil Rename cause inconsistency
By: DerFrZocker <derrieple@gmail.com>
2021-08-27 19:14:09 +10:00
CraftBukkit/Spigot
8a60b49a31 SPIGOT-6630: Replacing an enchantment on an item creates a conflict error
By: DerFrZocker <derrieple@gmail.com>
2021-08-24 18:10:30 +02:00
CraftBukkit/Spigot
44cc499340 Fix issues with new ChunkGenerator API
- RegionAccessor#setType / RegionAccessor#setBlockData doesn't run entity removal logic
- RegionAccessor#generateTree crashes by bee nest (TreeType#TALL_BIRCH)

By: DerFrZocker <derrieple@gmail.com>
2021-08-22 13:23:40 +02:00
CraftBukkit/Spigot
80b1ef0c8e SPIGOT-6697: Restore generateTree with BlockChangeDelegate behaviour
By: md_5 <git@md-5.net>
2021-08-22 18:12:59 +10:00
CraftBukkit/Spigot
49c30227d2 Rebuild patch
By: md_5 <git@md-5.net>
2021-08-22 18:07:39 +10:00
CraftBukkit/Spigot
00c0964347 SPIGOT-6713: Cancelling EntityTransformEvent Causes Deceased Slimes To Not Despawn
By: md_5 <git@md-5.net>
2021-08-22 18:07:31 +10:00
CraftBukkit/Spigot
9c5dd3b837 SPIGOT-6716: Preserve the order of stored enchantments of enchanted books.
In some cases, differences in this order can result in item stack
comparisons to fails.

By: blablubbabc <lukas@wirsindwir.de>
2021-08-20 19:40:31 +10:00
CraftBukkit/Spigot
973f763605 #914: Add World#spawn with randomizeData parameter
The current implementation of World#spawn or World#spawnEntity
respectively, always prepares/finalizes the spawn of every entity
spawned through the API. While this is great to simulate natural
spawning of entities in the world through the API, it fails at
reliably creating default entities for purposes other than vanilla
gameplay.

While the caller of the API could attempt to undo all of the
customization that is applied in the prepare/finalization step, they are
numerous (reaching from sheep colour to equipment) and in some cases,
such as the chicken jockey, even spawn in other entities.

Hence this commit introduces a new overload to the World#spawn and
World#spawnEntity methods that accepts the 'randomizeData' parameter
that, when set to false, skips the prior mentioned
preparation/finalization step.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-08-18 18:04:53 +10:00
CraftBukkit/Spigot
03aecfb428 SPIGOT-6714: Don't fire PlayerBucketEvent when empty
By: Noah van der Aa <ndvdaa@gmail.com>
2021-08-18 17:06:40 +10:00
CraftBukkit/Spigot
3a23c54a91 Fix server crash with BlockPopulator when entities are at a negative chunk border
By: DerFrZocker <derrieple@gmail.com>
2021-08-16 07:07:13 +02:00
CraftBukkit/Spigot
c2e4e91b1b SPIGOT-5880, SPIGOT-5567: New ChunkGenerator API
## **Current API**
The current world generation API is very old and limited when you want to make more complex world generation. Resulting in some hard to fix bugs such as that you cannot modify blocks outside the chunk in the BlockPopulator (which should and was per the docs possible), or strange behavior such as SPIGOT-5880.

## **New API**
With the new API, the generation is more separate in multiple methods and is more in line with Vanilla chunk generation. The new API is designed to as future proof as possible. If for example a new generation step is added it can easily also be added as a step in API by simply creating the method for it. On the other side if a generation step gets removed, the method can easily be called after another, which is the case with surface and bedrock. The new API and changes are also fully backwards compatible with old chunk generators.

### **Changes in the new api**
**Extra generation steps:**
Noise, surface, bedrock and caves are added as steps. With those generation steps three extra methods for Vanilla generation are also added. Those new methods provide the ChunkData instead of returning one. The reason for this is, that the ChunkData is now backed by a ChunkAccess. With this, each step has the information of the step before and the Vanilla information (if chosen by setting a 'should' method to true). The old method is deprecated.

**New class BiomeProvider**
The BiomeProvider acts as Biome source and wrapper for the NMS class WorldChunkManager. With this the underlying Vanilla ChunkGeneration knows which Biome to use for the structure and decoration generation. (Fixes: SPIGOT-5880). Although the List of Biomes which is required in BiomeProvider, is currently not much in use in Vanilla, I decided to add it to future proof the API when it may be required in later versions of Minecraft.
The BiomeProvider is also separated from the ChunkGenerator for plugins which only want to change the biome map, such as single Biome worlds or if some biomes should be more present than others.

**Deprecated isParallelCapable**
Mojang has and is pushing to a more multi threaded chunk generation. This should also be the case for custom chunk generators. This is why the new API only supports multi threaded generation. This does not affect the old API, which is still checking this.

**Base height method added**
This method was added to also bring the Minecraft generator and Bukkit generator more in line. With this it is possible to return the max height of a location (before decorations). This is useful to let most structures know were to place them. This fixes SPIGOT-5567. (This fixes not all structures placement, desert pyramids for example are still way up at y-level 64, This however is more a vanilla bug and should be fixed at Mojangs end).

**WorldInfo Class**
The World object was swapped for a WorldInfo object. This is because many methods of the World object won't work during world generation and would mostly likely result in a deadlock. It contains any information a plugin should need to identify the world.

**BlockPopulator Changes**
Instead of directly manipulating a chunk, changes are now made to a new class LimitedRegion, this class provides methods to populated the chunk and its surrounding area. The wrapping is done so that the population can be moved into the place where Minecraft generates decorations. Where there is no chunk to access yet. By moving it into this place the generation is now async and the surrounding area of the chunk can also be used.

For common methods between the World and LimitedRegion a RegionAccessor was added.

By: DerFrZocker <derrieple@gmail.com>
2021-08-15 08:08:16 +10:00
CraftBukkit/Spigot
fdefaeeccd Update ASM and add support for Java 17
By: md_5 <git@md-5.net>
2021-08-13 08:45:32 +10:00
CraftBukkit/Spigot
3483bd08b3 #913: Handle campfire damage with EntityDamageByBlockEvent
By: Doc <nachito94@msn.com>
2021-08-11 19:05:08 +10:00
CraftBukkit/Spigot
6d08059769 Add dimension setting getters to World
By: Doc <nachito94@msn.com>
2021-08-11 18:57:16 +10:00
CraftBukkit/Spigot
72591f6038 SPIGOT-2222, SPIGOT-6687: Pre-set keepLevel and only use it
By: DerFrZocker <derrieple@gmail.com>
2021-08-11 18:49:49 +10:00
CraftBukkit/Spigot
4a49f6bf8b SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter
By: Brokkonaut <hannos17@gmx.de>
2021-08-05 08:43:03 +10:00
CraftBukkit/Spigot
4beaa19a39 SPIGOT-6682: Blocking with shield not reset after die
By: DerFrZocker <derrieple@gmail.com>
2021-08-04 17:09:09 +10:00
CraftBukkit/Spigot
aab97ffee0 SPIGOT-6220: Structures in the world with custom generator not work
By: DerFrZocker <derrieple@gmail.com>
2021-08-01 08:26:30 +10:00
CraftBukkit/Spigot
fa9a064a7d Increase outdated build delay
By: md_5 <git@md-5.net>
2021-07-30 19:11:09 +10:00
CraftBukkit/Spigot
87f8ab3fb3 SPIGOT-6552: Some inventory types reset cursor on switch
By: DerFrZocker <derrieple@gmail.com>
2021-07-30 19:08:43 +10:00
CraftBukkit/Spigot
af0d8b70df SPIGOT-6678: ChunkSnapshot#isSectionEmpty() not working as intended.
By: DerFrZocker <derrieple@gmail.com>
2021-07-27 18:07:14 +10:00
CraftBukkit/Spigot
eda6555bbf #901: Fix PlayerStatisticIncrementEvent spam
By: Mitchell Sulkowski <mitchellsulkowski@gmail.com>
2021-07-26 19:32:51 +10:00
CraftBukkit/Spigot
e4b545e047 Only remove tile entity if block type changes
By: md_5 <git@md-5.net>
2021-07-24 07:55:52 +10:00
CraftBukkit/Spigot
353c9f5090 SPIGOT-1753: ChunkGenerator lighting updates
By: DerFrZocker <derrieple@gmail.com>
2021-07-23 16:43:53 +10:00
CraftBukkit/Spigot
f294d260b8 SPIGOT-6666: NPE when deserializing bundle
By: md_5 <git@md-5.net>
2021-07-23 16:38:51 +10:00
CraftBukkit/Spigot
dcfc8b355a SPIGOT-6669: Shearing a Mooshroom does not fire EntityDropItemEvent
By: md_5 <git@md-5.net>
2021-07-23 16:36:16 +10:00
CraftBukkit/Spigot
999bd6c0ef SPIGOT-6667: /schedule function not working correctly in other dimensions
By: DerFrZocker <derrieple@gmail.com>
2021-07-23 16:29:04 +10:00
CraftBukkit/Spigot
9273a60cdb SPIGOT-6665: Shearing a Snowman does not drop a carved pumpkin
By: md_5 <git@md-5.net>
2021-07-22 17:51:53 +10:00
CraftBukkit/Spigot
93f615157d #893: Add Crafting methods to API
By: James Peters <jameslfc19@gmail.com>
2021-07-22 11:35:48 +10:00
CraftBukkit/Spigot
0376264d06 Fix missing varargs from previous commit
By: md_5 <git@md-5.net>
2021-07-22 11:30:14 +10:00
CraftBukkit/Spigot
bacb1b57f1 SPIGOT-6641: Use varargs in sendMessage
By: md_5 <git@md-5.net>
2021-07-22 09:54:57 +10:00
CraftBukkit/Spigot
2ccd460e09 SPIGOT-6663: Chicken Jockeys chickens don't despawn
By: md_5 <git@md-5.net>
2021-07-22 09:53:26 +10:00
CraftBukkit/Spigot
bfc74e8628 SPIGOT-6545: Unable to set Guardian target via API while awareness is disabled
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:36:54 +10:00
CraftBukkit/Spigot
0474cc8833 SPIGOT-6369: Add ItemStack to HangingPlaceEvent
By: DerFrZocker <derrieple@gmail.com>
2021-07-21 09:32:54 +10:00
CraftBukkit/Spigot
8650786dad SPIGOT-6645: Call EntityChangeBlockEvent before PlayerHarvestBlockEvent
By: Brokkonaut <hannos17@gmx.de>
2021-07-19 18:54:13 +10:00
CraftBukkit/Spigot
1e8509d8ef SPIGOT-3725, SPIGOT-6638, MC-136917: Properly clear tile entities before replacing
By: DerFrZocker <derrieple@gmail.com>
2021-07-19 18:49:27 +10:00
CraftBukkit/Spigot
fd8748b4bd SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent
By: md_5 <git@md-5.net>
2021-07-18 11:08:18 +10:00
CraftBukkit/Spigot
5eb7a2ed61 SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron
By: md_5 <git@md-5.net>
2021-07-18 10:14:55 +10:00
CraftBukkit/Spigot
59f5a7ab59 SPIGOT-6653: Canceling snow bucket placement removes snow from bucket
By: md_5 <git@md-5.net>
2021-07-18 10:06:38 +10:00
CraftBukkit/Spigot
71d4016a4d #891: Fix scheduler task ID overflow and duplication issues
By: Phoenix616 <max@themoep.de>
2021-07-17 11:39:56 +10:00
CraftBukkit/Spigot
96ffc08c35 #874: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+Rabbitual@users.noreply.github.com>
2021-07-17 11:19:51 +10:00
CraftBukkit/Spigot
215fa0caef SPIGOT-6649: Call BlockFadeEvent when Nylium fades to Netherrack
By: Brokkonaut <hannos17@gmx.de>
2021-07-15 20:29:38 +10:00
CraftBukkit/Spigot
c1484dc4b1 #890: Include yaw in player's spawn location
By: Phoenix616 <max@themoep.de>
2021-07-15 20:29:38 +10:00
CraftBukkit/Spigot
96eed49699 #889: Fix CraftChest close() sound being replaced with open sound.
By: James Peters <jameslfc19@gmail.com>
2021-07-15 20:29:38 +10:00
CraftBukkit/Spigot
a061943cac SPIGOT-5561: Warning in logs when changing a Mob Spawner to Air on chunk load
By: DerFrZocker <derrieple@gmail.com>
2021-07-13 19:22:27 +10:00
CraftBukkit/Spigot
e797fdd58a #886: Add new Causes for LightningStrikeEvent
By: Doc <nachito94@msn.com>
2021-07-13 19:16:36 +10:00
CraftBukkit/Spigot
18a453f567 SPIGOT-6637: Revert "#874: Add FurnaceStartSmeltEvent"
This reverts commit 38faf28378.

By: md_5 <git@md-5.net>
2021-07-11 12:26:27 +10:00
CraftBukkit/Spigot
cae78fadd8 SPIGOT-6579: DragonFireBall movement with setDirection jumps around a lot
By: DerFrZocker <derrieple@gmail.com>
2021-07-11 09:34:35 +10:00
CraftBukkit/Spigot
81ee774c37 SPIGOT-6623: Missing API reasons for entity freezing
By: Doc <nachito94@msn.com>
2021-07-11 09:32:27 +10:00
CraftBukkit/Spigot
38faf28378 #874: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+rabbitual@users.noreply.github.com>
2021-07-11 09:26:46 +10:00
CraftBukkit/Spigot
413825611f SPIGOT-5560, SPIGOT-6574, SPIGOT-6632: Remove no longer needed tile entity fix
By: DerFrZocker <derrieple@gmail.com>
2021-07-11 09:05:59 +10:00
CraftBukkit/Spigot
02134e4ee6 SPIGOT-6634: Override needed method
By: DerFrZocker <derrieple@gmail.com>
2021-07-09 23:48:16 +10:00
CraftBukkit/Spigot
0a1df9ec02 SPIGOT-6624: Explosions do not destroy blocks out of vanilla heights in custom dimensions
By: dYens <dani_raiders@hotmail.com>
2021-07-07 07:27:16 +10:00
CraftBukkit/Spigot
e8c9836ec9 Update to Minecraft 1.17.1
By: md_5 <git@md-5.net>
2021-07-07 00:00:00 +10:00
CraftBukkit/Spigot
0392f45e9c Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-07-06 22:16:50 +10:00
CraftBukkit/Spigot
0c2fdaf521 SPIGOT-6527: Add AxolotlBucketMeta
By: Doc <nachito94@msn.com>
2021-07-04 09:32:25 +10:00
CraftBukkit/Spigot
917e89ed06 SPIGOT-5710: POI data mismatch when cancelling BlockPlaceEvent for villager workstations
By: DerFrZocker <derrieple@gmail.com>
2021-07-03 15:39:52 +10:00
CraftBukkit/Spigot
a388fc3a6c Update Maven plugins
By: md_5 <git@md-5.net>
2021-07-03 11:06:33 +10:00
CraftBukkit/Spigot
bc5ed0e911 SPIGOT-6616: Cancellable StriderTemperatureChangeEvent
By: md_5 <git@md-5.net>
2021-07-03 09:36:51 +10:00
CraftBukkit/Spigot
fec9294c47 SPIGOT-6615 Fix Glow Item Frame to use EntityTagMeta
By: Doc <nachito94@msn.com>
2021-07-03 09:33:04 +10:00
CraftBukkit/Spigot
5e5d47856a SPIGOT-6596: Remove redundant code
By: md_5 <git@md-5.net>
2021-06-30 19:29:17 +10:00
CraftBukkit/Spigot
bfa7716ca1 SPIGOT-6613: Missing BlockIgniteEvent for candles + projectiles
By: md_5 <git@md-5.net>
2021-06-30 18:56:27 +10:00
CraftBukkit/Spigot
80472fd082 SPIGOT-6605: Add method to access value of enforce-whitelist
By: md_5 <git@md-5.net>
2021-06-26 09:58:34 +10:00
CraftBukkit/Spigot
ae7ed4667b SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
By: md_5 <git@md-5.net>
2021-06-24 08:37:58 +10:00
CraftBukkit/Spigot
a91dc63398 #872: SculkSensor accesses underlying TileEntity instead of snapshot for vibration frequency.
By: blablubbabc <lukas@wirsindwir.de>
2021-06-23 09:02:10 +10:00
CraftBukkit/Spigot
26fd70263e SPIGOT-6592: Tile entities in custom ChunkGenerator causes crash
By: md_5 <git@md-5.net>
2021-06-21 08:46:23 +10:00
CraftBukkit/Spigot
46a09d53f1 #870: Add isTrusting/setTrusting to CraftOcelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2021-06-21 08:40:43 +10:00
CraftBukkit/Spigot
690c8b65a1 SPIGOT-6587: Update documentation/error of drop chance API
By: md_5 <git@md-5.net>
2021-06-20 12:15:28 +10:00
CraftBukkit/Spigot
66df1397b3 Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
By: md_5 <git@md-5.net>
2021-06-20 09:27:32 +10:00
CraftBukkit/Spigot
41524cf726 Fix PrepareItemCraftEvent#isRepair
By: md_5 <git@md-5.net>
2021-06-20 09:03:27 +10:00
CraftBukkit/Spigot
453d93caa5 SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly
By: md_5 <git@md-5.net>
2021-06-20 08:48:15 +10:00
CraftBukkit/Spigot
64174260d1 SPIGOT-6583: Throwing eggs doesn't make sounds
By: md_5 <git@md-5.net>
2021-06-20 08:38:01 +10:00
CraftBukkit/Spigot
bcaff2755a SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
By: md_5 <git@md-5.net>
2021-06-19 08:46:31 +10:00
CraftBukkit/Spigot
fc07fa5704 SPIGOT-6576: BlockExpEvent does not show XP when breaking a furnace
By: md_5 <git@md-5.net>
2021-06-19 08:45:08 +10:00
CraftBukkit/Spigot
d2c0fcf0df #869: Fix BossBar setColor and setStyle updates
By: Eric Su <ericsu14@hotmail.com>
2021-06-17 17:37:30 +10:00
CraftBukkit/Spigot
0747934cc1 Incrase outdated build delay
By: md_5 <git@md-5.net>
2021-06-17 08:42:37 +10:00
CraftBukkit/Spigot
4b86eeff64 SPIGOT-6570: Missing InventoryType: COMPOSTER
By: md_5 <git@md-5.net>
2021-06-17 08:29:15 +10:00
CraftBukkit/Spigot
b9782609ca SPIGOT-6558: Attempt to improve SkullMeta
By: md_5 <git@md-5.net>
2021-06-16 10:28:42 +10:00
CraftBukkit/Spigot
df28f86cce SPIGOT-6562: Add more specific sculk sensor event
By: md_5 <git@md-5.net>
2021-06-16 08:34:34 +10:00
CraftBukkit/Spigot
9233fd67b4 Fix duplicate datapack reload on /reload
By: md_5 <git@md-5.net>
2021-06-15 15:51:13 +10:00
CraftBukkit/Spigot
6b435994e8 SPIGOT-6555: Cannot access shield BlockStateMeta
By: md_5 <git@md-5.net>
2021-06-15 13:06:23 +10:00
CraftBukkit/Spigot
c751b9c098 SPIGOT-6542: Fix counting players with fauxSleeping = true
By: Ivan R <namelessftw1206@hotmail.com>
2021-06-15 12:44:34 +10:00
CraftBukkit/Spigot
e4f5bec8b3 SPIGOT-6561: Add events for dripleaf tilting
By: md_5 <git@md-5.net>
2021-06-15 08:49:10 +10:00
CraftBukkit/Spigot
752618d75f SPIGOT-6560: Crash when falling stalactite hits player
By: md_5 <git@md-5.net>
2021-06-15 08:01:07 +10:00
CraftBukkit/Spigot
46666cb5a8 SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta
By: md_5 <git@md-5.net>
2021-06-14 19:37:21 +10:00
CraftBukkit/Spigot
46c18bc4d5 #865: Implement Villager#shakeHead
By: VendoAU <reillyreaby@gmail.com>
2021-06-14 19:13:37 +10:00
CraftBukkit/Spigot
8777dd8e62 #863: Add LivingEntity#isClimbing
By: Martoph <sager1018@gmail.com>
2021-06-14 19:11:46 +10:00
CraftBukkit/Spigot
733b118606 SPIGOT-6554: Worlds created with the bukkit ChunkGenerator cannot save
By: md_5 <git@md-5.net>
2021-06-14 13:52:25 +10:00
CraftBukkit/Spigot
967b0303f3 SPIGOT-6507: Implement abstract skeleton and stray conversion
The previous layout and class hierarchy of the skeleton API defined
variances of the skeleton, such as the wither skeleton or the stray, as
child types of the normal skeleton variance, which is technically
incorrect, yet did not produce any specific issue as the normal skeleton
variance did not have any unique logic.

With the introduction of powdered snow in the 1.17 update, the normal
skeleton variance now has unique logic, specifically the conversion to
a stay when stuck inside powdered snow, which cannot be represented in
the current API layout due to the prior mentioned hierarchy.

This commit implements the hierarchy changes made in the bukkit
repository by representing the new hierarchy on the craftbukkit side
through the CraftAbstractSkeleton and the respective additions to the
skeleton implementation in regards to the stray conversion.

This commit does not break ABI yet breaks backwards compatibility due to
the mentioned hierarchy changes. Plugins that previously used the
Skelton interface to compute whether or not an entity is skeleton-like
through instanceOf checks will now only match the normal skeleton variance
instead of any skeleton-like entity.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-06-14 10:01:19 +10:00
CraftBukkit/Spigot
9a2165ab37 #855: Add Block#getCollisionShape and associated API
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:33:32 +10:00
CraftBukkit/Spigot
55abb0fd8c #857: Add Block#getBreakSpeed(Player)
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:28:45 +10:00
CraftBukkit/Spigot
1b34737612 SPIGOT-6540: Firework rockets not crafting into flight duration 1
By: md_5 <git@md-5.net>
2021-06-13 17:59:01 +10:00
CraftBukkit/Spigot
d5a68b79c1 SPIGOT-6526: World entities are not populated when plugin onEnable is called
By: md_5 <git@md-5.net>
2021-06-13 15:05:32 +10:00
CraftBukkit/Spigot
085885b64a SPIGOT-6536: Marker position not set on spawn
By: md_5 <git@md-5.net>
2021-06-13 10:25:21 +10:00
CraftBukkit/Spigot
02ebbcfc81 #855: Add HumanEntity#getItemInUse and Material#getSlipperiness
By: konsolas <vincentyntang@gmail.com>
2021-06-12 21:07:45 +01:00
CraftBukkit/Spigot
3e7e42a371 SPIGOT-6529: Fix BundleMeta#setItems
By: md_5 <git@md-5.net>
2021-06-13 08:48:13 +10:00
CraftBukkit/Spigot
f7478ccc32 SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-13 08:43:21 +10:00
CraftBukkit/Spigot
94c0260719 #856: Add methods to check if item is the breed item for an entity
By: Nathat23 <nathat890@outlook.com>
2021-06-13 08:37:53 +10:00
CraftBukkit/Spigot
472f590189 Add additional validation to Player#breakBlock
By: md_5 <git@md-5.net>
2021-06-13 08:27:57 +10:00
CraftBukkit/Spigot
c799ab1f6e SPIGOT-6532: Fix Entity#setGlowing
By: md_5 <git@md-5.net>
2021-06-13 08:26:10 +10:00
CraftBukkit/Spigot
47c7562765 Restore 1.16.5 behaviour of InventoryDragEvent being called even when a single item is 'dragged' to its own slot
Ideally this would now be an InventoryClickEvent instead, but that is not so easy with the current structure.
See https://www.spigotmc.org/threads/510208/page-9#post-4185501 for further info.

By: md_5 <git@md-5.net>
2021-06-12 20:19:41 +10:00
CraftBukkit/Spigot
f359c7a3ec Fix new map colors rendering as transparent
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 19:56:13 +10:00
CraftBukkit/Spigot
d57a6b8cc2 SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled
By: md_5 <git@md-5.net>
2021-06-12 19:44:31 +10:00
CraftBukkit/Spigot
cd03a7966c SPIGOT-6522: ItemStack on cursor is always AIR
By: md_5 <git@md-5.net>
2021-06-12 16:24:52 +10:00
CraftBukkit/Spigot
544ec40369 Fix missing PlayerEditBookEvent
By: md_5 <git@md-5.net>
2021-06-12 16:14:12 +10:00
CraftBukkit/Spigot
8797975de5 SPIGOT-6513: Placing ItemStack in Inventory causes InventoryAction.NOTHING
By: md_5 <git@md-5.net>
2021-06-12 15:23:44 +10:00
CraftBukkit/Spigot
1daedfe082 SPIGOT-6519: Fix end gateway teleports
By: md_5 <git@md-5.net>
2021-06-12 11:07:06 +10:00
CraftBukkit/Spigot
190b3f8308 SPIGOT-6515: "Un-waterlogging" throws UnsupportedOperationException in some cases
By: md_5 <git@md-5.net>
2021-06-12 08:59:05 +10:00
CraftBukkit/Spigot
81163e6137 SPIGOT-6518: Anvils falling onto dripstone can sometimes crash server
By: md_5 <git@md-5.net>
2021-06-12 08:54:48 +10:00
CraftBukkit/Spigot
35223329b1 SPIGOT-6514: Small Dripleaf block data is missing half property
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 08:47:11 +10:00
CraftBukkit/Spigot
8198d062f3 #853: Implement Player#breakBlock()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-12 08:30:34 +10:00
CraftBukkit/Spigot
0e95cf49fe SPIGOT-6510: Bukkit#createMap throws NullPointerException
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 08:25:43 +10:00
CraftBukkit/Spigot
22217fefcd SPIGOT-6517: Spider jockey crash on dripstone
By: md_5 <git@md-5.net>
2021-06-12 08:09:40 +10:00
CraftBukkit/Spigot
536256d6ff SPIGOT-6508: Rename conflicted getServer
By: md_5 <git@md-5.net>
2021-06-11 21:33:49 +10:00
CraftBukkit/Spigot
dd358f1352 SPIGOT-6506: Fix crash with custom inventories
By: md_5 <git@md-5.net>
2021-06-11 19:10:28 +10:00
CraftBukkit/Spigot
0acd422f48 Fix NPE with Entity.getNearbyEntities
By: md_5 <git@md-5.net>
2021-06-11 18:48:59 +10:00
CraftBukkit/Spigot
4b9c250321 Fix NPE with World.getNearbyEntities
By: md_5 <git@md-5.net>
2021-06-11 17:24:45 +10:00
CraftBukkit/Spigot
fcf15f1048 Fix second usage of worldGenSettings just in case
By: md_5 <git@md-5.net>
2021-06-11 16:47:40 +10:00
CraftBukkit/Spigot
2d39ef0bc5 SPIGOT-6504: Fix generating fresh worlds
By: md_5 <git@md-5.net>
2021-06-11 16:16:36 +10:00
CraftBukkit/Spigot
b3a8254758 Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
CraftBukkit/Spigot
75faba7fde Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-06-11 14:03:29 +10:00
CraftBukkit/Spigot
023eff1b0e Fix inconsistent commands
By: md_5 <git@md-5.net>
2021-06-08 14:18:54 +10:00
CraftBukkit/Spigot
ee04dc8508 SPIGOT-6492: PortalCreateEvent#getBlocks() returns not all blocks by reason fire
By: DerFrZocker <derrieple@gmail.com>
2021-06-07 18:39:30 +10:00
CraftBukkit/Spigot
1ac55ed273 SPIGOT-6487: Fix issue with villagers picking up items in certain situations
By: md_5 <git@md-5.net>
2021-06-03 12:14:36 +10:00
CraftBukkit/Spigot
e42f86eb2d Remove usage of Java 11 method not caught by animal sniffer
By: md_5 <git@md-5.net>
2021-06-01 20:10:47 +10:00
CraftBukkit/Spigot
2784d9c66a SPIGOT-6483: Fix cancelling EntityPickupEvent for villagers
By: md_5 <git@md-5.net>
2021-06-01 18:52:49 +10:00
CraftBukkit/Spigot
14af2c0a70 SPIGOT-6482: Baby piglins will pick up more items than vanilla
By: md_5 <git@md-5.net>
2021-06-01 18:06:50 +10:00
CraftBukkit/Spigot
d5fb854202 SPIGOT-6480: Players cannot take books from lecterns that were opened by plugins
By: blablubbabc <lukas@wirsindwir.de>
2021-05-29 18:52:49 +10:00
CraftBukkit/Spigot
bef41983bd SPIGOT-6478: Double chests opened by plugins don't play their closing animation.
By: blablubbabc <lukas@wirsindwir.de>
2021-05-29 08:41:34 +10:00
CraftBukkit/Spigot
4929e2a1d9 #703: Add piglin bartering API
By: Lars Dormans <lars.dormans@live.nl>
2021-05-28 08:59:21 +10:00
CraftBukkit/Spigot
07f924343f SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
By: DerFrZocker <derrieple@gmail.com>
2021-05-25 08:24:08 +10:00
CraftBukkit/Spigot
4d77463831 SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers
By: md_5 <git@md-5.net>
2021-05-23 08:30:36 +10:00
CraftBukkit/Spigot
d8a90faeb1 #845: Remove unnecessary calls to Class#getSimpleName in PDC
By: Wesley Smith <me@wesjd.net>
2021-05-21 08:25:09 +10:00
CraftBukkit/Spigot
9111166484 Make Vanilla /list respect Vanish API
By: md_5 <git@md-5.net>
2021-05-20 08:31:32 +10:00
CraftBukkit/Spigot
097e647d7a SPIGOT-5569: Call WorldInitEvent before any chunks are getting generated
By: DerFrZocker <derrieple@gmail.com>
2021-05-18 08:14:59 +10:00
CraftBukkit/Spigot
fac154e1cd #816: Prevent duplicate slash removal for console / block commands
By: md_5 <git@md-5.net>
2021-05-17 18:09:13 +10:00
CraftBukkit/Spigot
4fd4ece94b Move additional dependencies to runtime scope
By: md_5 <git@md-5.net>
2021-05-16 18:09:49 +10:00
CraftBukkit/Spigot
431ac4577d Remove sisu annotation processor from jar
By: md_5 <git@md-5.net>
2021-05-15 16:41:17 +10:00
CraftBukkit/Spigot
6afb9da7cb SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
By: DerFrZocker <derrieple@gmail.com>
2021-05-15 10:11:38 +10:00
CraftBukkit/Spigot
b19314a834 #827: Trigger vanilla dimension advancements in non-main worlds
By: Kermina Awad <kerminaawad@gmail.com>
2021-05-15 10:06:25 +10:00
CraftBukkit/Spigot
59f6e7fdd8 Add plumbing for automatic library support
By: md_5 <git@md-5.net>
2021-05-15 09:05:18 +10:00
CraftBukkit/Spigot
9764b58089 #831: Reload unloaded main worlds correctly
By: Kermina Awad <kerminaawad@gmail.com>
2021-05-12 17:20:27 +10:00
CraftBukkit/Spigot
dfc592aec5 SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy
By: Martoph <sager1018@gmail.com>
2021-05-11 18:33:28 +10:00
CraftBukkit/Spigot
c3777ce7e7 SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
By: DerFrZocker <derrieple@gmail.com>
2021-05-11 08:18:34 +10:00
CraftBukkit/Spigot
9b7c2ef5f9 Handle renamed ZOMBIE_PIGMAN loot table
By: md_5 <git@md-5.net>
2021-05-09 17:31:20 +10:00
CraftBukkit/Spigot
165c8596d8 #833: Add Player#getPing to access the player's ping
By: retrooper <retrooperdev@gmail.com>
2021-05-09 17:20:53 +10:00
CraftBukkit/Spigot
6f87ada41c SPIGOT-6452: Call EntityPickupItemEvent for villagers
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-05-09 16:57:25 +10:00
CraftBukkit/Spigot
3df6aee27f #776: Add ability to cancel ProjectileHitEvent
By: Martoph <sager1018@gmail.com>
2021-05-09 16:51:44 +10:00
CraftBukkit/Spigot
9d5bc88891 SPIGOT-6200: Improve entity events when summon command is used
* Calls the LightningStrikeEvent for summoned lightning
* Uses the new COMMAND SpawnReason for other entities

By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-05-09 16:33:34 +10:00
CraftBukkit/Spigot
da56cad3fc #826: Make dispenser trigger fertilize event
By: Lars Dormans <lars.dormans@live.nl>
2021-05-03 18:30:48 +10:00
CraftBukkit/Spigot
31ba2167bd SPIGOT-6350: Fix wrong portal block place order
By: DerFrZocker <derrieple@gmail.com>
2021-05-02 18:58:07 +10:00
CraftBukkit/Spigot
642814c419 SPIGOT-6442: Do not cancel zero damage on fireballs
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-30 17:53:58 +10:00
CraftBukkit/Spigot
89d0d3356e SPIGOT-6430: Fix fungi tree not generating
By: DerFrZocker <derrieple@gmail.com>
2021-04-29 07:43:26 +10:00
CraftBukkit/Spigot
0989d371a0 SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-28 11:52:30 +10:00
CraftBukkit/Spigot
c5af0704d0 SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-27 11:37:52 +10:00
CraftBukkit/Spigot
4d865daa32 SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
By: md_5 <git@md-5.net>
2021-04-25 08:34:44 +10:00
CraftBukkit/Spigot
93ddc2d863 #683: Add PlayerBucketFishEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-04-25 08:34:44 +10:00
CraftBukkit/Spigot
d6327a1b65 #823: Add Block#isPreferredTool
By: Flo0 <unconfigured@null.spigotmc.org>
2021-04-21 17:31:47 +10:00
CraftBukkit/Spigot
1eb2ceea36 SPIGOT-6388: Add API to get and set the state of the "Shulker" entity
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-19 18:47:47 +10:00
CraftBukkit/Spigot
8cbaba0a8a SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-18 18:03:23 +10:00
CraftBukkit/Spigot
9d052543d0 SPIGOT-6428: World.generateTree does not generate bee nests
By: md_5 <git@md-5.net>
2021-04-18 17:42:35 +10:00
CraftBukkit/Spigot
17a73066d0 SPIGOT-5877: Add support for Vanilla custom dimensions
By: Martoph <sager1018@gmail.com>
2021-04-16 10:36:05 +10:00
CraftBukkit/Spigot
8ce553209c #819: Implemented test for Material#getEquipmentSlot() method
By: Jakub Zacek <dawon.cz@gmail.com>
2021-04-13 19:16:32 +10:00
CraftBukkit/Spigot
304aa91bb1 SPIGOT-6207: forcibly drop the items of a converted zombie villager
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-12 08:28:19 +10:00
CraftBukkit/Spigot
103e1bf3b5 SPIGOT-5877: Add scaffolding for custom dimensions and biomes
By: Martoph <sager1018@gmail.com>
2021-04-11 17:54:48 +10:00
CraftBukkit/Spigot
9fe10a5da5 SPIGOT-6417: Add Creeper fuse ticks API
By: md_5 <git@md-5.net>
2021-04-11 17:32:26 +10:00
CraftBukkit/Spigot
07037838f1 SPIGOT-6414: Use ASM9 API to add support for sealed classes
By: md_5 <git@md-5.net>
2021-04-07 18:48:34 +10:00
CraftBukkit/Spigot
0601c47be5 SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
By: md_5 <git@md-5.net>
2021-04-07 15:03:30 +10:00
CraftBukkit/Spigot
834f035a21 SPIGOT-6411: The PlayerEditBookEvent is not called when the player edits a book in the off-hand.
By: md_5 <git@md-5.net>
2021-04-07 15:03:29 +10:00
CraftBukkit/Spigot
97cd7810a3 Add mc-dev imports
By: md_5 <git@md-5.net>
2021-04-07 15:03:29 +10:00
CraftBukkit/Spigot
0352f0e143 SPIGOT-6408: Narrator chat only does not work
By: md_5 <git@md-5.net>
2021-04-05 15:31:26 +10:00
CraftBukkit/Spigot
79672394a1 Remove some outdated PAIL comments
By: md_5 <git@md-5.net>
2021-04-04 17:14:53 +10:00
CraftBukkit/Spigot
7af71a460f SPIGOT-6237: WorldCreator#generatorSettings not working
By: Martoph <sager1018@gmail.com>
2021-04-04 14:02:32 +10:00
CraftBukkit/Spigot
15305e6842 SPIGOT-6357: Add World#getMinHeight
By: md_5 <git@md-5.net>
2021-03-28 19:31:50 +11:00
CraftBukkit/Spigot
90df44b39a SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
By: Brokkonaut <hannos17@gmx.de>
2021-03-20 09:01:18 +11:00
CraftBukkit/Spigot
cdb7cb852f Fix broken wandering traders
By: md_5 <git@md-5.net>
2021-03-20 08:55:48 +11:00
CraftBukkit/Spigot
9c13408431 Prepare for Java 16
By: md_5 <git@md-5.net>
2021-03-17 07:53:10 +11:00
CraftBukkit/Spigot
9da047989c Repackage NMS
By: md_5 <git@md-5.net>
2021-03-16 09:00:00 +11:00
CraftBukkit/Spigot
18496e998f Repackage patches
By: md_5 <git@md-5.net>
2021-03-16 09:00:00 +11:00
CraftBukkit/Spigot
2777f7b780 Use upstream plexus-compiler-eclipse
Relevant bugs have since been fixed

By: md_5 <git@md-5.net>
2021-03-15 17:46:36 +11:00
CraftBukkit/Spigot
52fe52d83d #810: Add option for a consumer before spawning an item
By: Martoph <sager1018@gmail.com>
2021-03-09 08:47:34 +11:00
CraftBukkit/Spigot
11d6de6800 #809: Add spawn and transform reasons for piglin zombification.
By: Nathat23 <nathat890@outlook.com>
2021-03-09 08:47:33 +11:00
CraftBukkit/Spigot
b2efd58164 Organise imports
By: md_5 <git@md-5.net>
2021-03-09 08:47:33 +11:00
CraftBukkit/Spigot
1ae7bcc4d0 #795: Add methods to modify the rate of regeneration and starvation
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:07 +11:00
CraftBukkit/Spigot
69c16ea666 #792: Add EntityExhaustionEvent
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:05 +11:00
CraftBukkit/Spigot
b65d70e9ea #807: Add Player#sendBlockDamage()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-02-24 20:21:39 +11:00
CraftBukkit/Spigot
510efe562a SPIGOT-6307: Allow chest locks with legacy color codes to match against items with json colors
By: Nathan Wolf <nathan@elmakers.com>
2021-02-21 09:47:11 +11:00
CraftBukkit/Spigot
932b0a5bf6 #802: Add methods to modify despawn delay for wandering villagers
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-02-15 19:30:15 +11:00
CraftBukkit/Spigot
64ef04d7e4 SPIGOT-6362: ConcurrentModificationException: null --> Server Crash
By: md_5 <git@md-5.net>
2021-02-14 10:08:27 +11:00
CraftBukkit/Spigot
373ed1ddd5 SPIGOT-5228: Entities that are removed during chunk unloads are not
properly removed from the chunk.

This could lead to dead entities accumulating in memory over time if the
chunk never gets fully unloaded (as it is the case for chunks around the
spawn region).

The issue is that Minecraft processes the removal of these entities
during the next tick, when the chunk has already switched to state
INACCESSIBLE and can no longer be retrieved as usual.

For the purpose of removing dead entities from their still loaded but no
longer accessible chunk, this adds and uses a new method with which a
chunk can be accessed without checking its current state first.

By: blablubbabc <lukas@wirsindwir.de>
2021-02-14 09:24:23 +11:00
CraftBukkit/Spigot
98e0c5c715 SPIGOT-6347: Nether Portals Default to Nether, even in Nether
By: md_5 <git@md-5.net>
2021-02-13 10:31:49 +11:00
CraftBukkit/Spigot
849c37e463 SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
2021-02-13 10:25:52 +11:00
CraftBukkit/Spigot
2a0d4308e9 BUILDTOOLS-569: development maven profile fails build on windows
By: md_5 <git@md-5.net>
2021-02-08 21:08:44 +11:00
CraftBukkit/Spigot
47abd03c46 EntityDropItemEvent for cats should continue to next stack if cancelled
Thanks @Black-Hole

By: md_5 <git@md-5.net>
2021-02-07 08:45:11 +11:00
CraftBukkit/Spigot
d5f80533da #793: Don't unnecessarily toString block in CraftBlockEntityState constructor
By: blablubbabc <lukas@wirsindwir.de>
2021-02-06 10:35:00 +11:00
CraftBukkit/Spigot
5d4113e993 #797: The copy constructor of CraftMetaTropicalFishBucket did not copy its entityTag field
By: blablubbabc <lukas@wirsindwir.de>
2021-02-06 09:23:50 +11:00
CraftBukkit/Spigot
236e582f0b SPIGOT-6342: TROPICAL_FISH_BUCKET isSimilar returns true when it should not
By: Gerrygames <gecam59@gmail.com>
2021-02-06 09:23:50 +11:00
CraftBukkit/Spigot
8b277612a9 SPIGOT-6208: Throwing ender pearl into end portal causes NPE
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-31 14:26:05 +11:00
CraftBukkit/Spigot
04c4f1b337 Add more checkstyle checks
By: md_5 <git@md-5.net>
2021-01-31 10:08:41 +11:00
CraftBukkit/Spigot
540be51514 Re-add missing StriderTemperatureChangeEvent
By: md_5 <git@md-5.net>
2021-01-29 20:00:43 +11:00
CraftBukkit/Spigot
022d868fa2 SPIGOT-6316: PlayerBedLeaveEvent implements Cancellable
By: md_5 <git@md-5.net>
2021-01-29 11:22:42 +11:00
CraftBukkit/Spigot
7405148b11 #789: Call EntityDropItemEvent when a wither rose is dropped
By: Nathat23 <nathat890@outlook.com>
2021-01-29 10:19:39 +11:00
CraftBukkit/Spigot
67905be24d SPIGOT-3789: Can't Remove Entity Equipment in Same Tick Spawned without using Consumer
By: md_5 <git@md-5.net>
2021-01-27 14:24:20 +11:00
CraftBukkit/Spigot
9a6f2ccb6b #783: Expand the FishHook API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-23 12:23:20 +11:00
CraftBukkit/Spigot
f6f717ebe7 SPIGOT-6318: Fix smoke effect directions
By: WinX64 <winx64b@hotmail.com>
2021-01-23 12:17:52 +11:00
CraftBukkit/Spigot
f7ff794ec7 SPIGOT-6315: Cats gifts dont call EntityDropItemEvent
By: md_5 <git@md-5.net>
2021-01-21 08:31:06 +11:00
CraftBukkit/Spigot
78ff16111e Update to Minecraft 1.16.5
By: md_5 <git@md-5.net>
2021-01-16 12:00:00 +11:00
CraftBukkit/Spigot
789c080552 Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-01-15 09:01:00 +11:00
CraftBukkit/Spigot
c54a66880b SPIGOT-6311: Don't calculate portal shapes for up/down directions
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-08 21:45:39 -05:00
CraftBukkit/Spigot
cdd8e09ac0 SPIGOT-6304: Removed the detection of legacy text based on color codes
Apparently there are items and plugins out there that still use legacy
color codes within text components, and which thereby break this
heuristic.

Our remaining approach to differentiate between legacy (plain) and
modern (JSON-based) text is to check if a particular text can be parsed
as JSON-based text. This approach is not perfect either as there are
ambiguous cases that it cannot resolve correctly. However, these cases
are hopefully rare enough in practice that this approach remains
suitable.

By: blablubbabc <lukas@wirsindwir.de>
2021-01-03 17:24:43 +11:00
CraftBukkit/Spigot
4b503e57c6 SPIGOT-6303: Interpret text that Gson considers to be an empty JSON document as legacy text.
For example, this affects empty Strings, and Strings that consist only
of whitespace. In lenient mode this would also affect text that contains
comments, but that is not the case currently.
Minecraft's component parser (i.e. Gson) produces null for these texts
instead of throwing a parse exception. By interpreting this text as
legacy text we correctly create text components for them that contain
their contents.

By: blablubbabc <lukas@wirsindwir.de>
2021-01-02 14:46:59 +11:00
CraftBukkit/Spigot
904d0ddd37 #778: Added get/set ItemStack methods to trident
By: Auxilor <will@willfp.com>
2021-01-02 08:49:22 +11:00
CraftBukkit/Spigot
5868631388 Update SQLite for Mac M1 support
By: md_5 <git@md-5.net>
2021-01-02 08:44:43 +11:00
CraftBukkit/Spigot
cf47c45e20 #707, SPIGOT-5063, SPIGOT-5304, SPIGOT-5656, SPIGOT-3206, SPIGOT-5350, SPIGOT-5980, SPIGOT-4672: Persist the exact internal text representation where possible.
Issues resolved by this:
* SPIGOT-5063: Internal text representation of ItemStacks changes during ItemStack serialization. This issue was initially primarily concerned with the conversion between color text attributes to legacy color codes.
* SPIGOT-5304: Internal text representation of ItemStacks changes when opening the inventory (in creative mode). In particularly, this issue is also concerned with the conversion between plain text representations to non-plain ones.
* SPIGOT-5656: Internal text representation of ItemStacks changes during ItemStack serialization. This issue is particularly concerned with reordering of text attributes in the text's Json representation.
* SPIGOT-3206: Internal text representation of book pages changes during ItemStack serialization.
* SPIGOT-5350: Any non-plain text features are stripped from books during ItemStack serialization.
* SPIGOT-5980: Written books are marked as 'resolved' during ItemStack serialization and on various inventory interactions, even though they aren't, and thereby breaking any non-resolved page contents.
* SPIGOT-4672: Since item display names are serialized in their internal Json representation, any translatable components get properly persisted as well now.

---------

Minecraft uses text components to represent text. Internally Minecraft stores these components as Json formatted Strings and dynamically parses the text components from this Json representation whenever required.

In some cases Minecraft will create the text components and then convert them to Json itself for the internal storage. In other cases the Json representation is specified by users (eg. in Minecraft give commands, loot tables, mob equipment specified via Minecraft's summon commands, etc.).
There are many different ways in which the same text components can be represented in Json. When Minecraft compares objects which store this textual information, it takes the exact Json representation into account to determine whether the objects are considered equal. For example, ItemStacks will not match (and therefore not stack) if there is a difference in this internal Json representation for at least one if the item's text attributes (such as display name, lore, book pages, etc.). And when specifying nbt data in command selectors (eg. to only match entities/players which hold an item with specific name), the selector compares the raw Json representation as well.

As long as the Json representation is valid and can be parsed, Minecraft will not modify or normalize it.
However, under various circumstances Spigot converts this text information from the internal Json representation to text components (and in some cases even to plain text with legacy color codes) and then later tries to convert the text from these representations back to text components in the Json representation. Because this backwards conversion is in many cases not able to reproduce the original Json representation, the internal data of some affected Minecraft objects (ItemStacks, TileEntities, Entities, etc.) will in some cases get modified.

One especially notable situation in which this issue can come up is Bukkit's configuration serialization of ItemStacks: When a plugin serializes and later deserializes ItemStacks with display name, localized name, lore, or book pages of signed books, Spigot would convert these textual ItemStack attributes to plain text with legacy color codes and later try to convert those back to chat components in the Json representation. If the reconstructed Json representation does not match the original representation, the deserialized ItemStacks would no longer match nor stack with any original ItemStacks.

This case is particularly common if the original ItemStacks are created by users via some vanilla Minecraft mechanism (eg. Minecraft's give command, loot tables, mob equipment specified via Minecraft's summon command, etc.) and the used internal text representation for the created ItemStacks does not match the text representation produced by Spigot. This is also quite likely to be case, because the internal text representation produced by Spigot can sometimes be slightly verbose and, until recently, contained legacy color codes which cannot be used in Minecraft commands in-game.
However, this issue is not limited to items created by users, but affects items created by Minecraft itself as well.

Other cases in which Spigot itself (without any plugins involved) will convert between these text representations include dragging items around inside the inventory or opening the inventory while in creative mode. In these cases Spigot creates Bukkit representations of the affected items for use in Bukkit events and then, after the events have been handled, converts these Bukkit representations back to Minecraft items. See for example SPIGOT-5656 and SPIGOT-5304.

The idea of these changes is to avoid this back and forth conversion between the internal Json representation and the text component or plain text representations in various situations in which it is not actually required:
* CraftMetaItem stores the raw original Json representation for the display name, localized name, lore and pages of signed books now. As long as no plugin modifies these text attributes via the API, they can be reapplied in their original form to an ItemStack.
* The configuration serialization will serialize the original Json representation for these text attributes now so that it can also be restored during deserialization.
* However, in order to still be able to deserialize previously serialized items, and in order to allow users to specify text in the more simple plain representation in configuration files, we also still accept plain text during deserialization. Our approach is to check if the serialized text contains legacy color codes, in which case we convert it to chat components using our own converter and then to Json. Otherwise we try to parse it via Minecraft's Json parser. If the parsing fails due to the text not being valid Json, we interpret the text as plain text and convert it via our own converter as well.
* Various duplicated code has been removed from CraftMetaBookSigned and instead the base CraftMetaBook class allows sub classes to override the relevant aspects of how pages are parsed, serialized and deserialized.
* The BlockStates for command blocks and signs preemptively retrieved the custom name and sign line components, converted them to plain text and later converted them back to text components when applying the BlockState. We now only perform this conversion if a plugin has explicitly modified these texts.

Other changes:
* Minor: We also retrieve, convert and update a few other BlockState attributes directly from the underlying snapshot and only when requested by plugins now.
* SPIGOT-5980: Written books did not properly persist their 'resolved' attribute, resulting in unresolved book pages not getting resolved.
* There are methods to get and set the resolved value for books. However, these are not yet exposed in Bukkit.
* Minor fix: CraftMetaBook#isBookEmpty did not check some of the book attributes. This is probably a minor issue, but for consistency reasons there are checks for the missing attribute(s) now.

----
Covered cases
---
* By remembering the raw original String data, we can persist the exact text representation (eg. the ordering of elements within the Json text object (SPIGOT-5656), used style of escaping quotes (single quotes, escaped double quotes, etc.), use of plain texts (SPIGOT-5304), used boolean style, modern text component features such as translatable texts (SPIGOT-4672), etc.). All of these differences would otherwise cause the ItemStack to no longer be considered equal to its original.
* An empty String in the serialized config data results in no display name rather than an empty display name, like before. An item with explicitly empty display name (`{display: {Name: '""'}}`) is saved as `'""'` and can also be loaded from that representation again.
* Any plain texts, with or without color codes, which don't parse as Json (eg. `display-name: 'Bla'`) are still getting run through Spigot's text to components converter, like before.
* We can now also persist empty but explicitly present lore (`{display:{Lore:[]}}`). Previously this would get removed when the ItemMeta gets reapplied to the item. And ItemMeta#equals would return true for items with and without this empty lore data, even though Minecraft considers them to be different. For plugins using the API there should be no change: #hasLore still checks whether the lore is both present and not empty, and #getLore returns an empty list instead of null in this case (however, it previously already returned an empty list in this case). And setting the lore to an empty list via #setLore will still result in an item with no lore.
* Similarly, we can also persist explicitly specified but empty lists of book pages now.

----
Cases that are not covered (i.e. which may lead to changes in items), but were already not covered previously:
----
* NBT data for text that is not actually of type String.
* Empty or unexpected entries within the display compound.
* Variations in the NBT data representation in item features other than the above mentioned ones.
* Texts containing color codes. During deserialization these texts get interpreted as plain text and converted to a text component representation. This will break the serialization of any ItemStacks which actually use a text component representation with embedded color codes for some reason. Usually the likelihood for encountering such items in practice would probably be small. However, in the past (pre MC 1.16) Spigot would actually produce such items during ItemStack deserialization or when plugins created ItemStack via the Bukkit API. However, Spigot has changed the text representation it produces in MC 1.16, so any previously created and still existing items with this text representation are already problematic anyways now. See SPIGOT-5964. A fix for this linked issue (eg. the automatic conversion of these items) would probably resolve this deficit here as well.
* Spigot's String to text components converter produces quite verbose components since 1.16. See SPIGOT-5964 as well. However, this applies regardless of the changes of this PR.
* Book ItemStacks with more pages than 100 pages or oversized pages are truncated (like before) and may therefore change.
hange.

By: blablubbabc <lukas@wirsindwir.de>
2021-01-01 08:53:14 +11:00
CraftBukkit/Spigot
9bda60d8b4 SPIGOT-6296: Server crashes when burning something at y-level 0
By: md_5 <git@md-5.net>
2020-12-29 08:45:45 +11:00
CraftBukkit/Spigot
3e80d2e4ec SPIGOT-6273: Expose ItemFrame ItemDropChance through API
By: md_5 <git@md-5.net>
2020-12-28 08:58:39 +11:00
CraftBukkit/Spigot
2eda6f0b01 SPIGOT-6292: LivingEntity.setNoDamageTicks no longer functions
By: md_5 <git@md-5.net>
2020-12-28 08:28:57 +11:00
CraftBukkit/Spigot
59490dfe12 SPIGOT-6289: Fix setting entity equipment
By: md_5 <git@md-5.net>
2020-12-23 07:53:45 +11:00
CraftBukkit/Spigot
9f19f0b9c4 #772: Add API to set equipment silently
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-12-21 18:30:48 +11:00
CraftBukkit/Spigot
df4db23320 SPIGOT-6256: Add method to check if the entity is in water
By: montlikadani <montlikada@gmail.com>
2020-12-21 18:20:54 +11:00
CraftBukkit/Spigot
04b08cc9de #773: Add method to get max world size
By: pop4959 <pop4959@gmail.com>
2020-12-13 11:30:54 +11:00
CraftBukkit/Spigot
6cfa45934b Increase outdated build delay
By: md_5 <git@md-5.net>
2020-12-03 19:29:47 +11:00
CraftBukkit/Spigot
7e0df16cfe #771: Add clear weather World API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-11-26 10:08:19 +11:00
CraftBukkit/Spigot
d9f5dbb3e6 #752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
By: Martoph <sager1018@gmail.com>
2020-11-26 09:36:57 +11:00
CraftBukkit/Spigot
ec41049c8d #770: Send messages without sender with SYSTEM type again
This was the behaviour before the 1.16 update and made it so that any
 message sent by a plugin was treated as a system message allowing the
 player to disable chat messages while keeping access to commands.

After 1.16 disabling the chat also disabled any plugin output, this
 restores the original behaviour.

By: Phoenix616 <max@themoep.de>
2020-11-19 10:16:26 +11:00
CraftBukkit/Spigot
fa835a16a8 SPIGOT-6244: /spawnpoint ignores angle
By: md_5 <git@md-5.net>
2020-11-18 08:13:56 +11:00
CraftBukkit/Spigot
7dd38ec039 SPIGOT-6242: Fix some file line endings
By: md_5 <git@md-5.net>
2020-11-18 08:13:04 +11:00
CraftBukkit/Spigot
658c0a284a SPIGOT-6186: Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error
By: md_5 <git@md-5.net>
2020-11-17 13:41:47 +11:00
CraftBukkit/Spigot
889488ff73 SPIGOT-6236: Vehicle passenger portal cooldown does not change
By: md_5 <git@md-5.net>
2020-11-17 12:29:51 +11:00
CraftBukkit/Spigot
d7c19c9eb7 SPIGOT-6240: Use correct portal search radius
By: md_5 <git@md-5.net>
2020-11-13 18:06:34 +11:00
CraftBukkit/Spigot
2dfcf06f4a #769: Fix FishHook.maxWaitTime
By: Airtheon <Airtheonthesalion@gmail.com>
2020-11-09 18:21:10 +11:00
CraftBukkit/Spigot
9616dbb128 #767: Add wait time modification for FishHook
By: Airtheon <Airtheonthesalion@gmail.com>
2020-11-06 18:49:15 +11:00
CraftBukkit/Spigot
f602441c1d SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds
By: Sander Knauff <sanderknauff@hotmail.com>
2020-11-06 18:46:21 +11:00
CraftBukkit/Spigot
7b5ac02c82 SPIGOT-6217: Missed PlayerEditBookEvent when editing books
By: md_5 <git@md-5.net>
2020-11-04 19:45:54 +11:00
CraftBukkit/Spigot
8a6781edb0 SPIGOT-6206: Use correct sender UUID for chat messages
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-03 19:02:28 +11:00
CraftBukkit/Spigot
b180ac1eb9 Revert "Downgrade NMS revision"
This reverts commit 97af585bf8.

By: md_5 <git@md-5.net>
2020-11-03 19:02:28 +11:00
CraftBukkit/Spigot
11227b2076 SPIGOT-6205: Rewrite enum to/from NMS type methods
The methods would otherwise cache wrong enum types for specific enums.
This would result in a `ClassCastException` at the caller location,
which obviously is no fun. This broke API with `Switch#getFace` and
`FaceAttachable#getAttachedFace`.

The existing implementation was also stupid.

By: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-03 18:15:08 +11:00
CraftBukkit/Spigot
97af585bf8 Downgrade NMS revision
This is not a precedent, please see https://www.spigotmc.org/wiki/nms/

By: md_5 <git@md-5.net>
2020-11-03 18:15:08 +11:00
CraftBukkit/Spigot
6450eb0ab7 Update to Minecraft 1.16.4
By: md_5 <git@md-5.net>
2020-11-03 07:00:00 +11:00
CraftBukkit/Spigot
964cc7554a Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-10-25 18:10:28 +11:00
CraftBukkit/Spigot
d66dca2a11 #762: Add TNTPrimed#setSource method
By: Jakub Zacek <dawon.cz@gmail.com>
2020-10-25 18:10:08 +11:00
CraftBukkit/Spigot
834e89eca0 SPIGOT-6193: Allow small fireballs to ignite players when MobGriefing is disabled
By: Sander Knauff <sanderknauff@hotmail.com>
2020-10-23 18:29:08 +11:00
CraftBukkit/Spigot
d719a30af5 Rename Chunk "BukkitValues" key to "ChunkBukkitValues"
This will discard extra data increasing the size of the chunk from users affected by the bug in the previous commits.
The impact of this (affecting all users) is likely to be much higher than users with plugins relying on an API introduced within the last 12 hours.

By: md_5 <git@md-5.net>
2020-10-18 07:24:10 +11:00
CraftBukkit/Spigot
0632e375cf SPIGOT-6194: Read correct nbt compound into chunk pdc
Previously spigots chunk pdc loading logic would read the entire chunk
nbt compound into the persistent data container of the chunk instead of
just reading the "BukkitValues".

Furthermore this commit also now correctly checks if the nbt compounds
of entities, tile entities and chunks actually have a value for the
"BukkitValues" key, as the previous 'getCompound' call would always
return an instance, the null check was useless. This commit now uses
'get', which returns null if no key exists and then runs an instanceof
check to both validate a non-null instance and an NBTTagCompound
instance.

By: Bjarne Koll <lynxplay101@gmail.com>
2020-10-18 07:01:15 +11:00
CraftBukkit/Spigot
f93a843c80 Misc maven build updates
By: md_5 <git@md-5.net>
2020-10-17 17:51:10 +11:00
CraftBukkit/Spigot
b643889355 #759: Allow sending messages from specific UUIDs
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-10-17 17:43:03 +11:00
CraftBukkit/Spigot
071360817a #672: Add PersistentDataHolder to Chunk
By: Nesaak <52047222+Nesaak@users.noreply.github.com>
2020-10-17 17:37:49 +11:00
CraftBukkit/Spigot
a3cf5aea1a #758: Item - add getters/setters for owner/thrower
By: Shane Bee <shanebolenback@me.com>
2020-10-14 19:56:14 +11:00
CraftBukkit/Spigot
f265542e4f #757: PoweredMinecart - add getter/setter for fuel
By: Shane Bee <shanebolenback@me.com>
2020-10-13 18:59:56 +11:00
CraftBukkit/Spigot
0410e56149 SPIGOT-6175: Fix generating loot tables for entities
By: md_5 <git@md-5.net>
2020-10-11 10:23:10 +11:00
CraftBukkit/Spigot
5eb09a7d93 SPIGOT-6168: Fix error with Player.getBedSpawnLocation when world is unloaded while server running
By: md_5 <git@md-5.net>
2020-10-06 18:36:43 +11:00
CraftBukkit/Spigot
753bccda7c SPIGOT-6130: Fix API loot table generation with certain contexts
By: md_5 <git@md-5.net>
2020-10-03 10:27:00 +10:00
CraftBukkit/Spigot
e54c8b2f3c SPIGOT-6147: InventoryCloseEvent does not fire after closing player inventory
By: md_5 <git@md-5.net>
2020-10-01 19:07:54 +10:00
CraftBukkit/Spigot
c94a28d0d5 SPIGOT-6152: End exit gates in custom ends do not send back to overworld
By: md_5 <git@md-5.net>
2020-09-30 08:58:36 +10:00
CraftBukkit/Spigot
8bd3d55e00 SPIGOT-6157: Crash when PortalCreateEvent cancelled
By: md_5 <git@md-5.net>
2020-09-29 18:10:57 +10:00
CraftBukkit/Spigot
0920dec75a #755: Fix NPE when calling getInventory() for virtual EnderChests
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-09-27 11:47:50 +10:00
CraftBukkit/Spigot
08721acbaa Increase outdated build delay
By: md_5 <git@md-5.net>
2020-09-25 17:12:30 +10:00
CraftBukkit/Spigot
9bf5c9a30b #754: Fix pre-1.16 serialized SkullMeta being broken on 1.16+, losing textures
The underlying issue is a change by Mojang how UUID are stored in NBT.
This patch will have CraftBukkit convert the format during
deserialization.

By: SydMontague <sydmontague@web.de>
2020-09-25 17:09:59 +10:00
CraftBukkit/Spigot
ec76385d2c #743: LivingEntity - add methods for getting/setting invisibility
By: Shane Bee <shanebolenback@me.com>
2020-09-19 17:44:48 +10:00
CraftBukkit/Spigot
405ea090eb #753: RecipeIterator#hasNext will now accurately represent if the current iterator has a next item.
By: Martoph <sager1018@gmail.com>
2020-09-18 18:43:48 +10:00
CraftBukkit/Spigot
0ba5779850 #746: Add Fluid types / tags
By: Martoph <sager1018@gmail.com>
2020-09-14 19:39:43 +10:00
CraftBukkit/Spigot
3c76d377fa SPIGOT-6063: ConsoleSender sending extra lines in Java 13+
By: md_5 <git@md-5.net>
2020-09-12 09:05:20 +10:00
CraftBukkit/Spigot
c6d968eda2 SPIGOT-5794: Only skip interact event if position, hand and itemstack are equal
By: Brokkonaut <hannos17@gmx.de>
2020-09-12 08:36:10 +10:00
CraftBukkit/Spigot
5425f6ba43 Update to Minecraft 1.16.3
By: md_5 <git@md-5.net>
2020-09-11 07:00:00 +10:00
CraftBukkit/Spigot
64a5548668 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-09-11 06:51:04 +10:00
CraftBukkit/Spigot
ae8717b151 SPIGOT-6125: Grass path should only fade when it is invalid at that location
By: Brokkonaut <hannos17@gmx.de>
2020-09-08 12:17:23 +10:00
CraftBukkit/Spigot
b2539c31e6 SPIGOT-6123: Call EntityDamageEvent when a shulker bullet gets damaged
By: Brokkonaut <hannos17@gmx.de>
2020-09-06 18:13:21 +10:00
CraftBukkit/Spigot
0bf6957475 SPIGOT-6122: Revert "SPIGOT-5794: Do not skip PlayerInteractEvent"
This reverts commit af17b5fc41.

By: md_5 <git@md-5.net>
2020-09-04 06:39:01 +10:00
CraftBukkit/Spigot
48610ab3f5 #745: Fix getLocation for Cartography Table and Stonecutter
By: Phoenix616 <max@themoep.de>
2020-09-03 18:37:55 +10:00
CraftBukkit/Spigot
2ee7427806 #744: Add ability to get location from smithing inventory
By: Phoenix616 <max@themoep.de>
2020-09-03 08:18:30 +10:00
CraftBukkit/Spigot
4f32c945c9 #697: Add ArrowBodyCountChangeEvent
By: Martoph <sager1018@gmail.com>
2020-09-02 18:52:40 +10:00
CraftBukkit/Spigot
5d37d3d19d #718: Add consumed item, hand and consumeItem boolean to EntityShootBowEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-31 18:39:12 +10:00
CraftBukkit/Spigot
393115aca2 SPIGOT-6025: Do not NPE when target world of a compass no longer exists
By: Brokkonaut <hannos17@gmx.de>
2020-08-31 17:12:48 +10:00
CraftBukkit/Spigot
af17b5fc41 SPIGOT-5794: Do not skip PlayerInteractEvent
By: Brokkonaut <hannos17@gmx.de>
2020-08-29 14:07:32 +10:00
CraftBukkit/Spigot
6e983a8106 #740: Fix EntityDamageEvent not being called for non EntityDamageSource for End Crystals
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-08-28 18:41:34 +10:00
CraftBukkit/Spigot
ca123b13ab SPIGOT-5953, SPIGOT-5914: Use LinkedHashMap to keep captured block states in order
By: Brokkonaut <hannos17@gmx.de>
2020-08-28 18:32:44 +10:00
CraftBukkit/Spigot
b0f809f617 #734: Add EnderSignal ItemStack API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-28 12:35:14 +10:00
CraftBukkit/Spigot
269b497c90 SPIGOT-6113: Ender Pearls thrown into portals that lead to disabled dimensions crash the server
By: Martoph <sager1018@gmail.com>
2020-08-28 12:28:06 +10:00
CraftBukkit/Spigot
de8eaf9469 SPIGOT-6114: PlayerRespawnEvent player's location changed before event called
By: md_5 <git@md-5.net>
2020-08-28 12:27:08 +10:00
CraftBukkit/Spigot
317d026541 SPIGOT-6115: Items being deleted on pick up with full inventory
By: md_5 <git@md-5.net>
2020-08-28 12:26:24 +10:00
CraftBukkit/Spigot
d5634301f1 SPIGOT-6109: Improve loot handling
By: md_5 <git@md-5.net>
2020-08-27 19:00:36 +10:00
CraftBukkit/Spigot
dd4241f9af SPIGOT-6111: NPE in CraftHumanEntity#openWorkbench & CraftHumanEntity#openEnchanting
By: md_5 <git@md-5.net>
2020-08-27 18:32:52 +10:00
CraftBukkit/Spigot
e0cf9c89be Add note to CONTRIBUTING.md to suggest keeping commit messages / titles the same
By: md_5 <git@md-5.net>
2020-08-27 11:46:34 +10:00
CraftBukkit/Spigot
4cff3eb04c #721: Add EntityCategory API to LivingEntity
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:42:39 +10:00
CraftBukkit/Spigot
c49ac166f7 #702: Add Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:27:13 +10:00
CraftBukkit/Spigot
b734aa8117 #716: Fix barrel open API playing sound twice
By: jameslfc19 <jameslfc19@gmail.com>
2020-08-27 11:16:27 +10:00
CraftBukkit/Spigot
88604e90cd #711: Add Full RGB support to the console
This is a fairly hacky way to do this - primarily because the Ansi library doesnt support RGB - however the VT100 codes here are the standard for RGB terminals.

By: Narimm <benjicharlton@gmail.com>
2020-08-27 11:11:40 +10:00
CraftBukkit/Spigot
2ab3e90ea5 SPIGOT-6101: Store persist state of entities
By: Brokkonaut <hannos17@gmx.de>
2020-08-26 18:20:58 +10:00
CraftBukkit/Spigot
580014ebbf SPIGOT-6103: Summoning an Eye of Ender throw an Error
By: md_5 <git@md-5.net>
2020-08-26 18:20:19 +10:00
CraftBukkit/Spigot
ce3cd796d5 SPIGOT-6099: PlayerPortalEvent.setTo ignores world for end portal travel
By: md_5 <git@md-5.net>
2020-08-26 18:14:49 +10:00
CraftBukkit/Spigot
0dc71b0b4c SPIGOT-6097: Zoglins not attacking mobs
By: md_5 <git@md-5.net>
2020-08-23 19:14:58 +10:00
CraftBukkit/Spigot
8a80efc01d SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:19 +10:00
CraftBukkit/Spigot
4625e066e8 Also make field volatile
By: md_5 <git@md-5.net>
2020-08-22 18:23:49 +10:00
CraftBukkit/Spigot
513f8d1690 SPIGOT-6094: Error loading datapack functions
By: md_5 <git@md-5.net>
2020-08-22 18:19:25 +10:00
CraftBukkit/Spigot
c87b44f451 SPIGOT-6092: Player#setBedSpawnLocation - NullPointerException
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-22 17:42:15 +10:00
CraftBukkit/Spigot
886d2e1504 SPIGOT-6093: Can't change ItemStack in EntityPickupItemEvent
By: Shane Bee <shanebolenback@me.com>
2020-08-21 18:46:42 +10:00
CraftBukkit/Spigot
9262b0c735 Increase outdated build delay
By: md_5 <git@md-5.net>
2020-08-20 19:31:48 +10:00
CraftBukkit/Spigot
634b782744 SPIGOT-6086: Twisting vines growing at top of world crashes server
By: md_5 <git@md-5.net>
2020-08-20 18:48:38 +10:00
CraftBukkit/Spigot
1511bbcc2c SPIGOT-6091: End platform does not generate
By: md_5 <git@md-5.net>
2020-08-20 18:48:20 +10:00
CraftBukkit/Spigot
48770ca8fe SPIGOT-6087: Revert "SPIGOT-6086: Twisting vines growing at top of world crashes server"
This reverts commit af2cee1e50.

By: md_5 <git@md-5.net>
2020-08-18 20:43:39 +10:00
CraftBukkit/Spigot
97ee937438 #730: Let World#setSpawnLocation() support an angle
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-18 17:54:36 +10:00
CraftBukkit/Spigot
af2cee1e50 SPIGOT-6086: Twisting vines growing at top of world crashes server
By: md_5 <git@md-5.net>
2020-08-18 17:50:13 +10:00
CraftBukkit/Spigot
5d4868ed96 SPIGOT-6075: Snowballs don't destroy Ender Crystals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-17 18:55:38 +10:00
CraftBukkit/Spigot
6513713dff Don't create custom registry for custom worlds
By: md_5 <git@md-5.net>
2020-08-17 18:48:00 +10:00
CraftBukkit/Spigot
7879320af0 SPIGOT-6076: Crash when updating blocks in uninitialized chunk sections
By: md_5 <git@md-5.net>
2020-08-16 18:07:42 +10:00
CraftBukkit/Spigot
37c904553d Cleanup sendBlockChange
By: md_5 <git@md-5.net>
2020-08-16 17:55:55 +10:00
CraftBukkit/Spigot
56d055fb45 #726: Add Inventory#isEmpty()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-16 11:21:08 +10:00
CraftBukkit/Spigot
a58824a3d9 #725: HumanEntity - add a method to make the entity drop the item they're holding
By: Shane Bee <shanebolenback@me.com>
2020-08-16 09:32:47 +10:00
CraftBukkit/Spigot
d44eec6c38 #723: Implement EntitySpellCastEvent for spellcaster illager
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-15 09:12:20 +10:00
CraftBukkit/Spigot
c9673f0556 #724: Re-implement player portal event search radius and creation API
This also fixes that the nether/end portals would be created even if the
event was cancelled as well as that the EntityPortalEvent would be
called for player portal usage which is not according to its API
specification

By: Phoenix616 <max@themoep.de>
2020-08-14 08:26:40 +10:00
CraftBukkit/Spigot
44ebf1c058 SPIGOT-4705: Revamp Ageable interface and add Breedable interface
By: Shane Bee <shanebolenback@me.com>
2020-08-13 11:18:47 +10:00
CraftBukkit/Spigot
5b931c0da0 Fix nether portal ignition
By: md_5 <git@md-5.net>
2020-08-12 16:40:43 +10:00
CraftBukkit/Spigot
6c307816d0 SPIGOT-6064: world.getBiome() null Error
By: md_5 <git@md-5.net>
2020-08-12 10:50:20 +10:00
CraftBukkit/Spigot
86bf456dfd Fix crash with composters
By: md_5 <git@md-5.net>
2020-08-12 09:22:28 +10:00
CraftBukkit/Spigot
fb04a1aa50 Fix crash growing saplings
By: md_5 <git@md-5.net>
2020-08-12 08:54:53 +10:00
CraftBukkit/Spigot
21a3b67be9 SPIGOT-6061: NPE in CraftBlockTag.getHandle()
By: md_5 <git@md-5.net>
2020-08-12 08:44:09 +10:00
CraftBukkit/Spigot
6a9e00d4b6 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +10:00
CraftBukkit/Spigot
5e5f7f19dc Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-08-11 17:36:51 +10:00
CraftBukkit/Spigot
77e7e63eae SPIGOT-6053: World#setHardcore() cannot be set to false
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-11 17:35:56 +10:00
CraftBukkit/Spigot
b2b8fee81f SPIGOT-3020: Fix issue with BlockBreakEvent throwing AssertionError when setting a player's tool to AIR/NULL
By: Shane Bee <shanebolenback@me.com>
2020-08-09 18:42:07 +10:00
CraftBukkit/Spigot
c555653b93 #660: Add support to change block's lid state
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-29 19:41:00 +10:00
CraftBukkit/Spigot
a9f92a7086 SPIGOT-6032: Add best effort target events for new entities
By: md_5 <git@md-5.net>
2020-07-28 19:05:03 +10:00
CraftBukkit/Spigot
c7807b4048 SPIGOT-6033: Bukkit.getUnsafe().getMaterial() won't match renamed block materials
By: md_5 <git@md-5.net>
2020-07-28 18:22:34 +10:00
CraftBukkit/Spigot
12f69c99cf SPIGOT-6034: World.getWorldFolder() includes the dot in the path
By: md_5 <git@md-5.net>
2020-07-28 18:04:06 +10:00
CraftBukkit/Spigot
f816dd6f41 SPIGOT-6029: RGB Hex colors not respected with custom kick messages
By: md_5 <git@md-5.net>
2020-07-27 20:48:05 +10:00
CraftBukkit/Spigot
2b52833726 SPIGOT-6011: End Gateways do not work on Non-Main End Worlds
By: md_5 <git@md-5.net>
2020-07-22 18:48:16 +10:00
CraftBukkit/Spigot
bf2f8ae9a7 SPIGOT-6015: Small Armor Stand doesn't drop items
By: md_5 <git@md-5.net>
2020-07-22 18:45:52 +10:00
CraftBukkit/Spigot
4724de7678 SPIGOT-5950: Add PrepareSmithingEvent event
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:21:45 +10:00
CraftBukkit/Spigot
70fb3b5056 #714: Added getRecipe() method to retrieve a Recipe by it's NamespacedKey
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:14:58 +10:00
CraftBukkit/Spigot
95dbba65c7 SPIGOT-6001: Hex colors format differently to traditional colours
By: md_5 <git@md-5.net>
2020-07-19 08:44:42 +10:00
CraftBukkit/Spigot
585c6e1fb3 Increase outdated build delay to 3 weeks
By: md_5 <git@md-5.net>
2020-07-18 17:46:54 +10:00
CraftBukkit/Spigot
deab30f8b2 SPIGOT-5901: Improve multiworld support
By: md_5 <git@md-5.net>
2020-07-17 08:56:56 +10:00
CraftBukkit/Spigot
f313337709 SPIGOT-5976: Bees do not exit naturally spawned hives
By: md_5 <git@md-5.net>
2020-07-11 09:45:00 +10:00
CraftBukkit/Spigot
0796e55598 #704: Added explicit API to stop a Jukebox from playing
By: Matthew Miller <mnmiller1@me.com>
2020-07-10 09:02:21 +10:00
CraftBukkit/Spigot
b5dd5d4199 SPIGOT-5972: PlayerPortalEvent.setTo() when returning through an End Portal Crashes Server
By: md_5 <git@md-5.net>
2020-07-09 19:11:45 +10:00
CraftBukkit/Spigot
83b1ab97ca SPIGOT-5965: BlockRedstoneEvent.setNewCurrent(0) crashes server
By: md_5 <git@md-5.net>
2020-07-09 09:12:57 +10:00
CraftBukkit/Spigot
666f651058 SPIGOT-5968: Killer rabbits can't be set to the non-killer rabbit behavior
By: md_5 <git@md-5.net>
2020-07-09 09:04:11 +10:00
CraftBukkit/Spigot
7f2d17c68a #705: Improve implementation of furnace related block states
CraftFurnace is the base class for all concrete types of furnaces (this
mimics Minecraft's underlying type hierarchy). It is marked as abstract
now to avoid accidental instantiation.

Also, the various furnace sub types were missing type parameters.

By: blablubbabc <lukas@wirsindwir.de>
2020-07-09 08:49:55 +10:00
CraftBukkit/Spigot
8cb1e21c2b SPIGOT-5969: Update maximum structure block size
By: blablubbabc <lukas@wirsindwir.de>
2020-07-09 08:46:32 +10:00
CraftBukkit/Spigot
0711e168a1 Improve physics code
By: md_5 <git@md-5.net>
2020-07-07 09:35:47 +10:00
CraftBukkit/Spigot
b482319b4b SPIGOT-5951: Projectile#getShooter() returns null
By: md_5 <git@md-5.net>
2020-07-06 17:51:33 +10:00
CraftBukkit/Spigot
cb5bf362be SPIGOT-5948: EntityDropItemEvent does not fire when piglins drop an item
By: md_5 <git@md-5.net>
2020-07-06 09:30:16 +10:00
CraftBukkit/Spigot
ea087050bf Fix crash involving fireballs
By: md_5 <git@md-5.net>
2020-07-06 08:50:27 +10:00
CraftBukkit/Spigot
0c3466316f SPIGOT-5943: Calling get BlockStateMeta#getBlockState causes NPE with shield with banner
By: md_5 <git@md-5.net>
2020-07-05 11:35:20 +10:00
CraftBukkit/Spigot
404d0946d6 Fix end portals in custom ends
By: md_5 <git@md-5.net>
2020-07-05 10:32:31 +10:00
CraftBukkit/Spigot
1640c95e68 SPIGOT-5939: EntityPortalEnterEvent not fired for end portal if end disabled
By: md_5 <git@md-5.net>
2020-07-05 09:00:43 +10:00
CraftBukkit/Spigot
d42ccbabb8 Increase outdated build delay to 7 days
By: md_5 <git@md-5.net>
2020-07-05 08:53:54 +10:00
CraftBukkit/Spigot
1300c5190c SPIGOT-5940: EntityChangeBlockEvent is not called for villager emptying composter
By: md_5 <git@md-5.net>
2020-07-05 08:53:26 +10:00
CraftBukkit/Spigot
d735284e3c SPIGOT-5936: BlockPlaceEvent does not fire for lily_pad
By: md_5 <git@md-5.net>
2020-07-04 09:02:19 +10:00
CraftBukkit/Spigot
6edd913305 #676: Add PlayerHarvestBlockEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-07-03 15:07:15 +10:00
CraftBukkit/Spigot
e8d9474f7b SPIGOT-5929: Angered zombified piglins do not inherit killed_by_player status
By: md_5 <git@md-5.net>
2020-07-03 10:11:34 +10:00
CraftBukkit/Spigot
bd9f850346 SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
By: md_5 <git@md-5.net>
2020-07-03 09:54:05 +10:00
CraftBukkit/Spigot
7d66dc54c4 SPIGOT-5867, MC-193339: NPE during shutdown when rcon enabled with no password
By: md_5 <git@md-5.net>
2020-07-03 09:23:33 +10:00
CraftBukkit/Spigot
e934f57adf SPIGOT-5927: Some items NBT data disappears
By: md_5 <git@md-5.net>
2020-07-03 09:14:34 +10:00
CraftBukkit/Spigot
405cbc4ec8 SPIGOT-5921: Improve setNoDamageTicks for Players
By: md_5 <git@md-5.net>
2020-07-02 11:18:03 +10:00
CraftBukkit/Spigot
ff07d4cc6f SPIGOT-5922: Smithing recipes not registering
By: md_5 <git@md-5.net>
2020-07-02 11:16:48 +10:00
CraftBukkit/Spigot
a13bf3a57f SPIGOT-5900: Add test for the order of Material enum entries
By: Ben Woodworth <ben@benwoodworth.net>
2020-07-02 09:34:13 +10:00
CraftBukkit/Spigot
65e8faf29a #682: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:18 +10:00
CraftBukkit/Spigot
182e057932 Change outdated build delay to 3 days
By: md_5 <git@md-5.net>
2020-07-02 09:07:18 +10:00
CraftBukkit/Spigot
fbb02f52f2 Improve code formatting
By: md_5 <git@md-5.net>
2020-07-01 14:17:48 +10:00
CraftBukkit/Spigot
d8ea824b93 SPIGOT-5913: MOTD no longer supports new line character
By: md_5 <git@md-5.net>
2020-07-01 14:00:02 +10:00
CraftBukkit/Spigot
c6249c09b0 SPIGOT-5908: CompassMeta for new lodestone compass data
By: md_5 <git@md-5.net>
2020-07-01 10:48:37 +10:00
CraftBukkit/Spigot
178090a153 SPIGOT-5907: Item Frame NBT data disappears
By: md_5 <git@md-5.net>
2020-07-01 10:00:24 +10:00
CraftBukkit/Spigot
df534616e3 SPIGOT-5906: Huge Fungi tree generation
By: md_5 <git@md-5.net>
2020-07-01 09:50:58 +10:00
CraftBukkit/Spigot
13405b5ce1 Fix event for unlucky composts
By: md_5 <git@md-5.net>
2020-07-01 09:36:38 +10:00
CraftBukkit/Spigot
29e9b2396b SPIGOT-5910: loadAdvancement does not work
By: md_5 <git@md-5.net>
2020-07-01 09:33:50 +10:00
CraftBukkit/Spigot
ea9a50356a SPIGOT-5905: Fix hex colours not being allowed in MOTD
Note: this will of course not work properly if a pre 1.16 client attempts to ping your server

By: md_5 <git@md-5.net>
2020-06-30 13:12:26 +10:00
CraftBukkit/Spigot
8757acc978 SPIGOT-5889: Villager using composter should call EntityChangeBlockEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 12:18:39 +10:00
CraftBukkit/Spigot
f5ea9fecec SPIGOT-5899: Hoglins API similar to Piglins
By: md_5 <git@md-5.net>
2020-06-30 12:03:19 +10:00
CraftBukkit/Spigot
cfc8b4ad5e SPIGOT-5887: ClickType doesn't include off hand swaps
By: md_5 <git@md-5.net>
2020-06-30 11:43:15 +10:00
CraftBukkit/Spigot
fe93691df2 SPIGOT-5903: EntityDismountEvent cannot be triggered asynchronously
By: md_5 <git@md-5.net>
2020-06-30 10:55:06 +10:00
CraftBukkit/Spigot
4b15e585af SPIGOT-5884: Tab completions lost on reloadData / minecraft:reload
By: md_5 <git@md-5.net>
2020-06-30 10:51:26 +10:00
CraftBukkit/Spigot
4dc354cef6 SPIGOT-5902: PlayerRespawnEvent places player at spawn before event is called
By: md_5 <git@md-5.net>
2020-06-30 10:35:28 +10:00
CraftBukkit/Spigot
4d5f3cf4e9 SPIGOT-5901: Structures are generated in all worlds based on the setting for the main world
By: md_5 <git@md-5.net>
2020-06-30 10:29:41 +10:00
CraftBukkit/Spigot
455c5d71c4 SPIGOT-5895: PlayerChangedWorldEvent#getFrom is incorrect
By: md_5 <git@md-5.net>
2020-06-30 10:03:46 +10:00
CraftBukkit/Spigot
aef11bebb7 SPIGOT-5886: Missing BlockData
By: md_5 <git@md-5.net>
2020-06-30 10:01:45 +10:00
CraftBukkit/Spigot
8b8fc993bd #686: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 09:54:28 +10:00
CraftBukkit/Spigot
a78201fc5e SPIGOT-5882: NPE when emptying bucket on already waterlogged blocks
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-29 11:09:50 +10:00
CraftBukkit/Spigot
c19042a233 SPIGOT-5803: Implement the missing methods for the Piglin API.
By: ceezuns <49824660+ceezuns@users.noreply.github.com>
2020-06-29 09:58:04 +10:00
CraftBukkit/Spigot
f7e7987573 #696: Respect the NotNull annotation of getChargedProjectiles in CraftMetaCrossbow
By: Martoph <sager1018@gmail.com>
2020-06-29 09:09:52 +10:00
CraftBukkit/Spigot
b1e0569835 SPIGOT-5849: Constantly Raining in World 1.16
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-29 08:25:59 +10:00
CraftBukkit/Spigot
7972777861 SPIGOT-5810, SPIGOT-5835: 'Better' handling of Player.isOnGround
By: md_5 <git@md-5.net>
2020-06-28 10:15:32 +10:00
CraftBukkit/Spigot
7975d3236a SPIGOT-5865: Piglin does not trigger EntityPickupItemEvent
By: md_5 <git@md-5.net>
2020-06-28 09:39:31 +10:00
CraftBukkit/Spigot
4383162fda Update ECJ version
By: md_5 <git@md-5.net>
2020-06-28 09:39:16 +10:00
CraftBukkit/Spigot
4a0a1f1ead SPIGOT-5868: Blocks do not tick in custom nether / end
By: md_5 <git@md-5.net>
2020-06-28 09:03:51 +10:00
CraftBukkit/Spigot
4d97997a65 SPIGOT-5863: Don't check colour in scoreboard length validation
By: md_5 <git@md-5.net>
2020-06-28 08:58:26 +10:00
CraftBukkit/Spigot
e477e8caec SPIGOT-5866: Beehive unknown TargetReason
By: md_5 <git@md-5.net>
2020-06-28 08:56:12 +10:00
CraftBukkit/Spigot
87462b8620 SPIGOT-5856: Soul Campfire BlockState cannot be cast to Campfire
By: md_5 <git@md-5.net>
2020-06-27 17:18:34 +10:00
CraftBukkit/Spigot
fe0faa152c SPIGOT-5853: DragonBattle#getEndPortalLocation() throws NPE on new world
* Add method to generate the end portal

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-27 11:09:01 +10:00
CraftBukkit/Spigot
24a247fce5 SPIGOT-5845: ChatColor.RESET does not work in ItemMeta to reset italics
By: md_5 <git@md-5.net>
2020-06-27 10:37:33 +10:00
CraftBukkit/Spigot
fff84f2f22 CraftChatMessageTest does not need AbstractTestingBase
By: md_5 <git@md-5.net>
2020-06-27 09:28:17 +10:00
CraftBukkit/Spigot
ffa9c1bc00 SPIGOT-5828: Unlock worlds on unload
By: md_5 <git@md-5.net>
2020-06-27 09:15:14 +10:00
CraftBukkit/Spigot
d709e3ffee SPIGOT-5841: New map colours broken
By: md_5 <git@md-5.net>
2020-06-27 09:05:09 +10:00
CraftBukkit/Spigot
aea139dc1f SPIGOT-5847: BlockFadeEvent cannot be triggered asynchronously from another thread
By: md_5 <git@md-5.net>
2020-06-27 08:41:54 +10:00
CraftBukkit/Spigot
fcfcbd3975 SPIGOT-5836: PotionEffect HEALTH_BOOST never expires
By: md_5 <git@md-5.net>
2020-06-26 19:13:33 +10:00
CraftBukkit/Spigot
8144dfbd7f Add configuration options for water_ambient spawning
By: md_5 <git@md-5.net>
2020-06-26 18:39:42 +10:00
CraftBukkit/Spigot
b60f49f0ea SPIGOT-5833: Player#setWalkSpeed not working
By: md_5 <git@md-5.net>
2020-06-26 17:56:49 +10:00
CraftBukkit/Spigot
4208414e72 Re-add default bukkit datapack
By: md_5 <git@md-5.net>
2020-06-26 12:24:35 +10:00
CraftBukkit/Spigot
e86afc5eb3 SPIGOT-5735: Add EntityEnterLoveModeEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-06-26 11:12:25 +10:00
CraftBukkit/Spigot
83f25730bd #687: Add visibility and fixed API for ItemFrames
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-06-26 10:58:17 +10:00
CraftBukkit/Spigot
a74fb02e61 #685: Implement support for PersistentDataContainer arrays
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-26 10:49:28 +10:00
CraftBukkit/Spigot
6c951c6abb #671: Implement PersistentDataContainer#getKeys()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-26 10:49:28 +10:00
CraftBukkit/Spigot
48bf20fe24 SPIGOT-5820: Fix migration of Vanilla nether / end
By: md_5 <git@md-5.net>
2020-06-26 09:49:40 +10:00
CraftBukkit/Spigot
5191bece93 SPIGOT-5829: RGB hex colours not supported in several places
By: md_5 <git@md-5.net>
2020-06-26 09:40:21 +10:00
CraftBukkit/Spigot
36434feb10 SPIGOT-5826: Don't store chunk in block states
By: md_5 <git@md-5.net>
2020-06-26 09:34:25 +10:00
CraftBukkit/Spigot
6ccde4e6fd SPIGOT-5830: Server crash when campfire lit via dispenser.
Also adds a missing call to BlockIgniteEvent for players igniting campfires with flint and steel.

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-25 19:01:18 -04:00
CraftBukkit/Spigot
61ff27fa00 Better handling of custom end/nether teleports
By: md_5 <git@md-5.net>
2020-06-26 08:38:18 +10:00
CraftBukkit/Spigot
be27330b16 SPIGOT-5816: PlayerTeleportEvent not called when using netherportals and allow-nether=false
By: md_5 <git@md-5.net>
2020-06-26 08:30:47 +10:00
CraftBukkit/Spigot
292593e180 SPIGOT-5827: Player.getLocale always returns en_us
By: md_5 <git@md-5.net>
2020-06-26 08:06:30 +10:00
CraftBukkit/Spigot
add541e2df SPIGOT-5812: ProjectileHitEvent fires twice if projectile is an Egg
By: md_5 <git@md-5.net>
2020-06-26 08:02:51 +10:00
CraftBukkit/Spigot
53cfc6428c Shorten build expiry to 1 day
By: md_5 <git@md-5.net>
2020-06-26 07:37:19 +10:00
CraftBukkit/Spigot
4478e7e0d8 SPIGOT-5809: block.getState() wall signs too
By: md_5 <git@md-5.net>
2020-06-25 20:08:32 +10:00
CraftBukkit/Spigot
3933b98a60 Fix 1.16 binary mappings not applying to modern plugins
By: md_5 <git@md-5.net>
2020-06-25 20:03:30 +10:00
CraftBukkit/Spigot
27d67a7a4e SPIGOT-5803: Add Piglin/Zoglin Baby API
By: md_5 <git@md-5.net>
2020-06-25 19:58:27 +10:00
CraftBukkit/Spigot
a955c5cbab SPIGOT-5809: block.getState() instanceof Sign for crimson_sign missed
By: md_5 <git@md-5.net>
2020-06-25 19:42:38 +10:00
CraftBukkit/Spigot
189c2a0e03 SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed
By: md_5 <git@md-5.net>
2020-06-25 19:22:27 +10:00
CraftBukkit/Spigot
ea7b7e1ddd Misc bugfixes to multiworld support
By: md_5 <git@md-5.net>
2020-06-25 17:58:10 +10:00
CraftBukkit/Spigot
6da7d19c96 SPIGOT-5806: Block#getDrops(ItemStack tool) does not work as it should
By: md_5 <git@md-5.net>
2020-06-25 17:04:07 +10:00
CraftBukkit/Spigot
e388fab4fe SPIGOT-5805: NPE when getting an Attribute from a Player
By: md_5 <git@md-5.net>
2020-06-25 13:19:24 +10:00
CraftBukkit/Spigot
ae29605e26 SPIGOT-5804: Cannot launch Entity Firework
By: md_5 <git@md-5.net>
2020-06-25 12:57:58 +10:00
CraftBukkit/Spigot
097840d174 SPIGOT-5802: Add SmithingRecipe API
By: md_5 <git@md-5.net>
2020-06-25 12:41:55 +10:00
CraftBukkit/Spigot
e7046d2ae1 SPIGOT-5801: End gateways crash server upon enderpearl use through them
By: md_5 <git@md-5.net>
2020-06-25 12:16:41 +10:00
CraftBukkit/Spigot
bafa4625d1 SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
dc5ebfac9a SPIGOT-5562: Entering a boat triggers VehicleExitEvent
This patch prevents entities from riding a vehicle they're already riding on.
When trying to enter a boat the client will send up to two packets for each hand
causing the server to think they should enter the boat twice, despite the first
interaction being sufficient.

By: SydMontague <sydmontague@phoenix-staffel.de>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
50503fd516 Update to Minecraft 1.16.1
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
3862d2811e SPIGOT-5782: Set Arrow Launched From Crossbow
By: md_5 <git@md-5.net>
2020-06-24 10:05:39 +10:00
CraftBukkit/Spigot
5f36fbfcfe SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent
By: md_5 <git@md-5.net>
2020-06-24 09:54:59 +10:00
CraftBukkit/Spigot
fed33ad6d5 SPIGOT-5675, SPIGOT-5798, MC-149563: Fix tracking of entities across dimensions
By: md_5 <git@md-5.net>
2020-06-24 09:21:39 +10:00
CraftBukkit/Spigot
0af0259050 SPIGOT-5797: Zombie(Villagers) Instant Convert based on their lifetime
By: md_5 <git@md-5.net>
2020-06-24 08:52:40 +10:00
CraftBukkit/Spigot
33a09c7f27 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-06-20 12:50:13 +10:00
CraftBukkit/Spigot
2516f48571 Revert "#675: Fix redirected CommandNodes sometimes not being properly redirected"
This reverts commit 36e3ae4ae6.

By: md_5 <git@md-5.net>
2020-06-18 07:41:02 +10:00
CraftBukkit/Spigot
36e3ae4ae6 #675: Fix redirected CommandNodes sometimes not being properly redirected
By: Matthias Ngeo <matthiasngeo@gmail.com>
2020-06-17 20:04:50 +10:00
CraftBukkit/Spigot
5a47beb9cd SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot.
By: blablubbabc <lukas@wirsindwir.de>
2020-06-13 20:56:32 +10:00
CraftBukkit/Spigot
ecdda0bdbc #673: Fix Craftworld#isChunkLoaded
The flag for getChunkAt(int, int, ChunkStatus, boolean)
is actually a flag for whether to bring the underlying
PlayerChunk up to the required ticket level to load the
chunk. So, if the chunk is already at the required level,
but has not yet loaded, the call will actually either
start the load if it has not already been started and
block until completion.

This behaviour is not suitable for just
checking if the chunk is loaded.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-06-06 19:23:46 +10:00
CraftBukkit/Spigot
3be59d8d05 SPIGOT-5751: Made breakNaturally and getDrops returns the correct item if no argument is given
By: Lars Dormans <lars.dormans@live.nl>
2020-06-03 19:28:13 +10:00
CraftBukkit/Spigot
a1cc6a4683 SPIGOT-4441: Fix serializing Components to and from Legacy
While 9862a0135d might of semi helped being able to save black text
lore, it actually took a fundamental problem with the legacy serialization
code and expanded it to break even more aspects of the server when dealing
with Component to Legacy conversion.

This is causing data loss in Spigot with cases such as setting an item name
to white gets stripped resulting in it being italic.

Additionally, things such as book pages have been returning black formatting
codes for the end of the line even when the user doesn't have colors in the book.

The root issue is that the "Default Color" system is fundamentally wrong.

Components do not and should not care about what element of the game they
are being used by, and that's what the default color system did.

It results in components that if obtained from 1 source such as a Book
where the default / rendered color is black, is then copied to another
source such as an Entity name, the black is carried forward and shown
in the Entity name, when in reality it should have been white.

This commit reverts 9862a0135d and fixes the underlying serialization
issues when it comes to Legacy to and From conversions.

There was quite a number of issues with this code overall, in how
it handles inserting color codes, new line parsing and such.

Books was using mojangs own "getLegacyString" which doesn't match behavior.
We also do not want to use Mojangs method as there is no guarantee they don't
remove that in future.
Plus, everything about books uses the CB implementation anyways, and it should
be consistent (this was mandatory to avoid serialization format changes on old vs new)

These changes as is results in Item Stacks already serialized will not
change contents when they go to component and back, so this won't impact
any existing data.

Newly created books though for example will change behavior in that they
will no longer insert black color codes in the serialized data and will
only represent intentional color changes by the creator of the book.
This will result in cleaner data on them, and books are the only thing
I'm aware of that has a behavioral shift due to the likelyhood of the
default color system kicking in on other parts of the string.

A unit test has been added to verify integrity of serialization to
ensure that any legacy string that is converted into Components will
always re-encode back in the same way when going back to Legacy.

By: Aikar <aikar@aikar.co>
2020-06-01 19:19:42 +10:00
CraftBukkit/Spigot
515509a1a9 #665: Add test for Material#getCraftingRemainingItem()
By: ben <ben@benwoodworth.net>
2020-05-28 19:31:27 +10:00
CraftBukkit/Spigot
9862a0135d SPIGOT-5749: ItemMeta serializing to YAML not saving black colour code
By: md_5 <git@md-5.net>
2020-05-26 19:39:03 +10:00
CraftBukkit/Spigot
edf9390114 SPIGOT-5748: Add instant effect potion break to the Effect enum
Conversion from Color to integer for the data of the new enum entry

By: WinX64 <winx64b@hotmail.com>
2020-05-26 19:34:39 +10:00
CraftBukkit/Spigot
809449f545 SPIGOT-5716: Clarify documentation of MultipleFacing
By: md_5 <git@md-5.net>
2020-05-09 16:12:18 +10:00
CraftBukkit/Spigot
a00b0adb43 SPIGOT-5718: Block.BreakBlockNaturally does not reflect tool used
By: md_5 <git@md-5.net>
2020-05-09 16:05:17 +10:00
CraftBukkit/Spigot
698e183d45 SPIGOT-5727: GameRule doImmediateRespawn cannot be set per-world
By: ShaneBeee <shanebolenback@me.com>
2020-05-09 15:45:52 +10:00
CraftBukkit/Spigot
53746005d5 #664: Add methods to get/set ItemStacks in EquipmentSlots
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-05 19:10:03 +10:00
CraftBukkit/Spigot
fb92d00666 #662: Expose ItemStack and hand used in PlayerShearEntityEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-02 17:48:37 +10:00
CraftBukkit/Spigot
c4099fa584 SPIGOT-2304: Implement LootGenerateEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-04-30 19:15:58 +10:00
CraftBukkit/Spigot
0141e701d7 SPIGOT-5566: Doused campfires & fires should call EntityChangeBlockEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-04-29 17:26:40 +10:00
CraftBukkit/Spigot
b29a5757f9 SPIGOT-5707: PersistentDataHolder not Persistent on API dropped Item
By: md_5 <git@md-5.net>
2020-04-29 17:21:06 +10:00
CraftBukkit/Spigot
95a89a0073 #650: Add method to get player's attack cooldown
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-04-23 11:13:40 +10:00
CraftBukkit/Spigot
8a51bce44c #655: Added support for the VM tag jansi.passthrough when processing messages sent to a ColouredConsoleSender.
By: Martoph <sager1018@gmail.com>
2020-04-23 11:06:13 +10:00
CraftBukkit/Spigot
3f9b83c715 SPIGOT-5689: Fireball.setDirection increases velocity too much
By: md_5 <git@md-5.net>
2020-04-23 08:33:33 +10:00
CraftBukkit/Spigot
e9672f330b SPIGOT-5673: swingHand API does not show to self
By: md_5 <git@md-5.net>
2020-04-22 12:06:24 +10:00
CraftBukkit/Spigot
62583ba081 SPIGOT-5680: isChunkGenerated creates empty region files
By: md_5 <git@md-5.net>
2020-04-22 12:00:50 +10:00
CraftBukkit/Spigot
7eca640bdd Improve build process
By: md_5 <git@md-5.net>
2020-04-22 11:50:23 +10:00
CraftBukkit/Spigot
9f7fbec5c6 Add a couple of method null checks to CraftWorld
By: md_5 <git@md-5.net>
2020-04-17 08:39:22 +10:00
CraftBukkit/Spigot
18886036f4 Misc checkstyle fixes
By: md_5 <git@md-5.net>
2020-04-14 12:34:43 +10:00
CraftBukkit/Spigot
5833b4d35c SPIGOT-5669: Fix Beehive.isSedated
By: Lars Dormans <lars.dormans@live.nl>
2020-04-13 00:49:58 +02:00
CraftBukkit/Spigot
d76c6104ce SPIGOT-5665: Improve loading spawn egg NBT
By: md_5 <git@md-5.net>
2020-04-10 11:16:58 +10:00
CraftBukkit/Spigot
593102e1fa SPIGOT-5667: Can't add recipe without (vanilla) datapack
By: md_5 <git@md-5.net>
2020-04-10 10:56:00 +10:00
CraftBukkit/Spigot
92afab4058 SPIGOT-5603: Use LootContext#lootingModifier in CraftLootTable
By: konsolas <vincentyntang@gmail.com>
2020-04-08 17:11:22 +10:00
CraftBukkit/Spigot
bd0b71b0a0 SPIGOT-5657: BlockPlaceEvent not cancelling for tripwire hooks
By: md_5 <git@md-5.net>
2020-04-05 17:19:03 +10:00
CraftBukkit/Spigot
466de0ab57 SPIGOT-5641: Add Block.getDrops(ItemStack, Entity)
By: md_5 <git@md-5.net>
2020-04-05 16:52:06 +10:00
CraftBukkit/Spigot
51b2cd767e Fix some formatting in CraftHumanEntity
By: md_5 <git@md-5.net>
2020-04-05 16:30:47 +10:00
CraftBukkit/Spigot
8c3cf217bb Add Merchant slot delegate
By: md_5 <git@md-5.net>
2020-04-05 16:29:43 +10:00
CraftBukkit/Spigot
8155ea419f SPIGOT-5621: Add missing container types for opening InventoryView
By: Tim <tblattner@gmail.com>
2020-04-05 16:28:43 +10:00
CraftBukkit/Spigot
b7d5dc8dd0 #645: Allow statistics to be accessed for offline players
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-04-05 15:58:43 +10:00
CraftBukkit/Spigot
96b5fcb92f #649: CraftBell should implement Bell
By: ShaneBee <shanebolenback@me.com>
2020-04-04 02:32:15 -07:00
CraftBukkit/Spigot
deee71fef3 SPIGOT-5650: Lectern.setPage(int) causes a NullPointerException
By: md_5 <git@md-5.net>
2020-04-01 09:30:47 +11:00
CraftBukkit/Spigot
7cc234d159 Add FaceAttachable interface to handle Grindstone facing in common with Switches
By: md_5 <git@md-5.net>
2020-04-01 09:14:29 +11:00
CraftBukkit/Spigot
193d17b420 SPIGOT-5647: ZombieVillager entity should have getVillagerType()
By: md_5 <git@md-5.net>
2020-03-30 12:15:21 +11:00
CraftBukkit/Spigot
dd80c73690 SPIGOT-5617: setBlockData does not work when NotPlayEvent is called by redstone current
By: md_5 <git@md-5.net>
2020-03-29 16:24:11 +11:00
CraftBukkit/Spigot
a9cc2e304b #642: Add a DragonBattle API to manipulate respawn phases etc
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-03-24 19:53:47 +11:00
CraftBukkit/Spigot
bb7a4a3aa5 #644: Fix ChunkMapDistance#removeAllTicketsFor not propagating ticket level updates
Now call the method used in removeTicket for propagating the change,
so that chunks are guaranteed to unload

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-03-22 20:02:22 +11:00
CraftBukkit/Spigot
9d7e810ee1 SPIGOT-5606: call BlockRedstoneEvent for fence gates
By: Jan Boerman <Janboerman95@gmail.com>
2020-03-15 19:05:50 +11:00
CraftBukkit/Spigot
e6566a0503 SPIGOT-5484: Add more spawn tick settings
By: Phoenix616 <mail@moep.tv>
2020-03-07 18:30:21 +01:00
CraftBukkit/Spigot
5ca0965ff4 #640: Fix chunk load/unload callbacks for chunk load cancellations
When a chunk goes from a ticket level where it is loading a
full chunk to an inactive state (i.e ticket level 33 to
ticket level 45) the full status future will be completed
with a "Right" Either (indicating unloaded). However, this
will also schedule the unload callback immediately.

However, the callback is not immediately executed. This means
the next unload/load callback that needs to be scheduled will
fail. The fix applied is to not schedule a callback if the
chunk is not loaded - if the Either is "right."

Even better, due to how completablefuture works, exceptions
are not printed by default. So the exception thrown by the
callback executor was not printed and the failure
hidden from console. This explains why no-one has tracked this issue.
Now the exception is printed so future failures with the
callback system (if any) can be tracked easier.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-03-02 17:19:06 -08:00
CraftBukkit/Spigot
9b74297f7a Prepare for Java 14
By: md_5 <git@md-5.net>
2020-03-02 13:30:33 +11:00
CraftBukkit/Spigot
e18fd0cff5 #639: Deep clone itemmetas persistent container on clone
After this commit, spigot now creates a deep copy of the
itemmeta's persistent data container when the itemmeta
instance is cloned.

This change fixes the bug that, after cloning itemmeta, the container
instance the cloned meta would point to was equal to the original one.
This resulted in two itemmeta instances sharing a single persistent
container.

By: Bjarne Koll <LynxPlay101@gmail.com>
2020-03-01 17:23:54 +01:00
CraftBukkit/Spigot
035d63bb02 Fix formatting in CraftLivingEntity
By: md_5 <git@md-5.net>
2020-02-23 19:01:11 +11:00
CraftBukkit/Spigot
0814f8bbad #633: Add LivingEntity#attack, LivingEntity#swingMainHand, LivingEntity#swingOffHand
By: konsolas <vincentyntang@gmail.com>
2020-02-19 23:04:55 +00:00
CraftBukkit/Spigot
c98e5fba12 SPIGOT-5591: Allow concurrent potion effects
By: md_5 <git@md-5.net>
2020-02-23 10:33:10 +11:00
CraftBukkit/Spigot
aac54fb8a7 SPIGOT-5592: Custom ChunkGenerator can cause bugged dirt
By: md_5 <git@md-5.net>
2020-02-23 10:29:46 +11:00
CraftBukkit/Spigot
7d47bd7c7f Make it clear in error messages that api-version above 1.13 is also supported
By: md_5 <git@md-5.net>
2020-02-23 09:42:33 +11:00
CraftBukkit/Spigot
153bdf9192 Improve legacy conversion of some materials that changed post flattening
By: md_5 <git@md-5.net>
2020-02-21 12:13:05 +11:00
CraftBukkit/Spigot
c4c8db5127 Move Bukkit.Aware loading/saving to correct location
By: md_5 <git@md-5.net>
2020-02-21 10:09:47 +11:00
CraftBukkit/Spigot
2a55fc03dd SPIGOT-5311: Add API to get/set item associated with throwable projectiles
By: Lars Dormans <lars.dormans@live.nl>
2020-02-21 09:53:51 +11:00
CraftBukkit/Spigot
38b42f0479 #634: Cross platform patch scripts
Removes the need for installing gnu sed on Mac

By: konsolas <vincentyntang@gmail.com>
2020-02-19 22:50:56 +00:00
CraftBukkit/Spigot
39966685a6 Add set/isAware to disable Vanilla AI components of a Mob
By: konsolas <vincentyntang@gmail.com>
2020-02-19 10:50:21 +00:00
CraftBukkit/Spigot
3e008424f2 SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta
By: Brokkonaut <hannos17@gmx.de>
2020-02-17 18:08:10 +01:00
CraftBukkit/Spigot
6b4ea66b11 SPIGOT-5573, SPIGOT-5574: Move CustomChunkGenerator generation code back to buildBase()
By: konsolas <vincentyntang@gmail.com>
2020-02-12 17:58:50 +00:00
CraftBukkit/Spigot
e714c00b96 SPIGOT-5572: Fix console/API completion of Vanilla commands
By: md_5 <git@md-5.net>
2020-02-11 12:03:36 +11:00
CraftBukkit/Spigot
416eb5c343 SPIGOT-5571: Beehive MaxEntities cannot be set back to 3
By: ShaneBee <shanebolenback@me.com>
2020-02-09 19:49:35 -08:00
CraftBukkit/Spigot
6b39c5d083 SPIGOT-5468: Improve Beehive TileEntity API
By: ShaneBee <shanebolenback@me.com>
2020-02-09 10:47:11 +11:00
CraftBukkit/Spigot
13b8a2aea1 #624: Add an API for passing the heightmap to getHighestBlockAt* method
By: ysl3000 <yannicklamprecht@live.de>
2020-02-09 10:31:07 +11:00
CraftBukkit/Spigot
ab4f7e3436 MC-135989, SPIGOT-5564: Don't kick players for flight while riptiding
By: konsolas <vincentyntang@gmail.com>
2020-02-07 20:19:24 +11:00
CraftBukkit/Spigot
4eb5ed272f SPIGOT-5558: Fix World#getHighestBlockAt, previously off by +1
By: ysl3000 <yannicklamprecht@live.de>
2020-02-03 09:42:48 +11:00
CraftBukkit/Spigot
9adbf6f88b Remove unused seed in CustomChunkGenerator
By: md_5 <git@md-5.net>
2020-02-02 19:32:36 +11:00
CraftBukkit/Spigot
49baa3c19c #619: Allow delegation of certain elements to Vanilla when using a custom ChunkGenerator
Allows delegation of caves, decorations, mobs and structures to the Vanilla generation algorithms.
Overriding these methods to return true enables that aspect of Vanilla generation, which is applied after the ChunkGenerator's custom generation.

By: konsolas <vincentyntang@gmail.com>
2020-02-02 19:27:10 +11:00
CraftBukkit/Spigot
1705694b06 Craftbukkit -> CraftBukkit
By: md_5 <git@md-5.net>
2020-02-02 11:18:17 +11:00
CraftBukkit/Spigot
0b8e05b835 SPIGOT-5559: Add EntityPotionEffectEvent causes for bee, raiders and wither rose
By: ShaneBee <shanebolenback@me.com>
2020-02-02 11:16:01 +11:00
CraftBukkit/Spigot
0bee4968bb #618: Add method to remove a recipe by its key
By: ShaneBee <shanebolenback@me.com>
2020-02-02 10:32:49 +11:00
CraftBukkit/Spigot
c03616905c SPIGOT-5556: Some biome methods use incorrect positions
See SPIGOT-5529

By: md_5 <git@md-5.net>
2020-02-01 17:30:40 +11:00
CraftBukkit/Spigot
70e7ee9775 Update checkstyle
By: md_5 <git@md-5.net>
2020-02-01 09:32:26 +11:00
CraftBukkit/Spigot
259935c4f7 Print legacy load reason in debug mode
By: md_5 <git@md-5.net>
2020-01-31 19:20:02 +11:00
CraftBukkit/Spigot
7867f1cb3e SPIGOT-5554: Clear error message when BossBar is used for not fully joined players
By: md_5 <git@md-5.net>
2020-01-31 08:36:59 +11:00
CraftBukkit/Spigot
c21bbaedfa Update scriptus
By: md_5 <git@md-5.net>
2020-01-29 16:40:40 +11:00
CraftBukkit/Spigot
fe92a3fcfd Clean up CraftBlockData.toString
By: md_5 <git@md-5.net>
2020-01-29 09:53:13 +11:00
CraftBukkit/Spigot
e2093ed2c6 SPIGOT-5551: BlockState.setData fails when used by legacy plugin
By: md_5 <git@md-5.net>
2020-01-29 09:22:43 +11:00
CraftBukkit/Spigot
959b2adc98 SPIGOT-5550: Cancelled ProjectileLaunchEvent still plays sound for eggs
By: md_5 <git@md-5.net>
2020-01-28 16:22:09 +11:00
CraftBukkit/Spigot
443580395d SPIGOT-5538: Using javaw to run GUI prints input error
By: md_5 <git@md-5.net>
2020-01-28 10:36:47 +11:00
CraftBukkit/Spigot
26c35202a0 SPIGOT-5526: Call EntityEnterBlockEvent for bees trying to enter hives
By: BlackHole <black-hole@live.com>
2020-01-22 18:34:03 +01:00
CraftBukkit/Spigot
e0ee6f0a50 SPIGOT-5537: Bee nests generated by growing trees near flower have no bees
By: md_5 <git@md-5.net>
2020-01-28 09:48:28 +11:00
CraftBukkit/Spigot
37d58b321b Remove unused CraftWorld.getId method
By: md_5 <git@md-5.net>
2020-01-27 19:30:17 +11:00
CraftBukkit/Spigot
42e9529365 Change some block == AIR checks to isAir to catch CAVE_AIR
By: md_5 <git@md-5.net>
2020-01-27 10:09:46 +11:00
CraftBukkit/Spigot
6037f360e7 SPIGOT-5542: Cancelling EntityToggleGlideEvent doesn't stop client from gliding
By: md_5 <git@md-5.net>
2020-01-25 11:30:39 +11:00
CraftBukkit/Spigot
1cd6af40ab SPIGOT-5514: VehicleEntityCollisionEvent triggered by passengers
By: Lars Dormans <lars.dormans@live.nl>
2020-01-24 16:48:48 +11:00
CraftBukkit/Spigot
77bc265e5b SPIGOT-5536: Material.values() causes legacy data init
By: md_5 <git@md-5.net>
2020-01-23 08:53:36 +11:00
CraftBukkit/Spigot
8ef307d13e SPIGOT-5532: Material.values() yields an exception
By: md_5 <git@md-5.net>
2020-01-22 13:23:55 +11:00
CraftBukkit/Spigot
b978d253d9 Only load legacy support data if something uses it
By: md_5 <git@md-5.net>
2020-01-22 11:15:58 +11:00
CraftBukkit/Spigot
5a7dc86cd2 SPIGOT-5531: Fix --universe option
By: md_5 <git@md-5.net>
2020-01-22 10:36:35 +11:00
CraftBukkit/Spigot
460b4c2803 Strip ANSI colours from ServerGUI
By: md_5 <git@md-5.net>
2020-01-22 09:33:40 +11:00
CraftBukkit/Spigot
d775003bb2 Fix log messages being split across GUI and terminal
By: md_5 <git@md-5.net>
2020-01-22 09:10:36 +11:00
CraftBukkit/Spigot
1410a7c678 SPIGOT-5529: BiomeGrid uses incorrect indexing
By: md_5 <git@md-5.net>
2020-01-22 08:54:12 +11:00
CraftBukkit/Spigot
77b64e0c78 Update to Minecraft 1.15.2
By: md_5 <git@md-5.net>
2020-01-22 08:00:00 +11:00
CraftBukkit/Spigot
09a2fa4d96 SPIGOT-5526: Call EntityChangeBlockEvent for bees triggering crop growth
By: md_5 <git@md-5.net>
2020-01-21 14:33:44 +11:00
CraftBukkit/Spigot
d862f0fa87 #601: Implement Player#sendExperienceChange
By: anhcraft <huynhduyanh123123@gmail.com>
2019-12-23 11:53:58 +07:00
CraftBukkit/Spigot
f8d1ea3c68 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-01-19 11:33:04 +11:00
CraftBukkit/Spigot
3a7695e5b1 SPIGOT-5510: VehicleBlockCollisionEvent returns the wrong block
By: md_5 <git@md-5.net>
2020-01-15 15:05:30 +11:00
CraftBukkit/Spigot
2b704c8cf9 SPIGOT-5516: Correct EnchantmentTarget values
By: md_5 <git@md-5.net>
2020-01-15 14:20:14 +11:00
CraftBukkit/Spigot
bc8ef512e1 #616: Fix exception on entity portal teleport attempt
By: Phoenix616 <mail@moep.tv>
2020-01-14 15:10:30 +01:00
CraftBukkit/Spigot
c738dcb532 SPIGOT-5252: Nether portal fixes and additions
- Fixes PlayerTeleportEvent getting called multiple times and with wrong coordinates
- Implement PlayerPortalEvent and EntityPortalEvent additions

By: Phoenix616 <mail@moep.tv>
2020-01-12 01:02:13 +01:00
CraftBukkit/Spigot
420c962ceb SPIGOT-5477: Server not shutting down
By: md_5 <git@md-5.net>
2020-01-12 10:50:22 +11:00
CraftBukkit/Spigot
e0d3951ff9 SPIGOT-5509: Sleeping player does not eject bed when teleported
By: md_5 <git@md-5.net>
2020-01-11 14:14:23 +11:00
CraftBukkit/Spigot
b2fd1fcbe1 SPIGOT-5504: cancelling InventoryMoveItemEvent on composter doesn't properly cancel
By: md_5 <git@md-5.net>
2020-01-10 09:50:39 +11:00
CraftBukkit/Spigot
26c66710ce SPIGOT-5506: CustomChunkGenerator is processing Phantoms in the Nether and The End
By: md_5 <git@md-5.net>
2020-01-10 09:22:31 +11:00
CraftBukkit/Spigot
d32c77d777 SPIGOT-5502: Fix command block successcount being set to return value rather than actual count
By: md_5 <git@md-5.net>
2020-01-06 13:44:16 +11:00
CraftBukkit/Spigot
419bc4f742 SPIGOT-5500: Lectern cannot be replaced using /setblock and other commands
By: md_5 <git@md-5.net>
2020-01-06 12:12:34 +11:00
CraftBukkit/Spigot
d4a19ce923 Fix checkstyle.xml formatting
By: md_5 <git@md-5.net>
2020-01-05 11:25:19 +11:00
CraftBukkit/Spigot
4f966acb41 SPIGOT-5496: API to create and manipulate hardcore worlds
By: md_5 <git@md-5.net>
2020-01-04 10:14:23 +11:00
CraftBukkit/Spigot
4a6962f0ba MC-151364, SPIGOT-5494: Feeding dolphin hangs if generate-structures=false
By: md_5 <git@md-5.net>
2020-01-03 16:56:58 +11:00
CraftBukkit/Spigot
b0aa0e2871 SPIGOT-5486: Raider CanJoinRaid
By: md_5 <git@md-5.net>
2019-12-29 14:21:16 +11:00
CraftBukkit/Spigot
199da69b9f SPIGOT-5487: Increase outdated build delay
By: md_5 <git@md-5.net>
2019-12-29 14:18:05 +11:00
CraftBukkit/Spigot
a14456f170 SPIGOT-5457: Downgrade 'Mismatch in destroy block pos' message to debug
By: md_5 <git@md-5.net>
2019-12-25 10:28:43 +11:00
CraftBukkit/Spigot
69c9b3ee31 SPIGOT-5481: PlayerBedLeaveEvent returns wrong bed location
By: md_5 <git@md-5.net>
2019-12-25 10:11:08 +11:00
CraftBukkit/Spigot
03662947f3 SPIGOT-5482: Structure Block setUsageMode encounters NullpointerException
By: md_5 <git@md-5.net>
2019-12-25 10:09:20 +11:00
CraftBukkit/Spigot
886b2f0508 SPIGOT-5426: isSimilar for player heads fails
By: md_5 <git@md-5.net>
2019-12-25 10:05:11 +11:00
CraftBukkit/Spigot
844a14dcad SPIGOT-5478: XP not dropping when a player dies
By: md_5 <git@md-5.net>
2019-12-24 14:07:25 +11:00
CraftBukkit/Spigot
c0a9867b38 SPIGOT-5467: Don't play sound or increase honey level if bee leaving hive is cancelled
By: BlackHole <black-hole@live.com>
2019-12-23 14:25:03 +01:00
CraftBukkit/Spigot
93631bd1f2 SPIGOT-5476: Fix trading empty items
By: md_5 <git@md-5.net>
2019-12-24 10:20:39 +11:00
CraftBukkit/Spigot
36321c9b3c SPIGOT-5474: Just ignore bugged fireball data
By: md_5 <git@md-5.net>
2019-12-23 13:14:11 +11:00
CraftBukkit/Spigot
a813637b22 SPIGOT-5413: Add TrustedPlayer API for foxes
By: md_5 <git@md-5.net>
2019-12-23 12:34:53 +11:00
CraftBukkit/Spigot
379b64e091 SPIGOT-5467: Calm down bees that cannot exit hive
By: md_5 <git@md-5.net>
2019-12-23 12:20:35 +11:00
CraftBukkit/Spigot
6f41e1d3c2 SPIGOT-5472: Spurious warning when using clone command on tile entities
By: md_5 <git@md-5.net>
2019-12-23 11:59:51 +11:00
CraftBukkit/Spigot
ef9f6da935 SPIGOT-5471: Allow empty title/author for books
By: md_5 <git@md-5.net>
2019-12-22 18:40:55 +11:00
CraftBukkit/Spigot
0f7b5e8049 Add TimeSkipEvent
By: ShaneBee <shanebolenback@me.com>
2019-12-20 17:06:18 -08:00
CraftBukkit/Spigot
beab2a487e Add thread name to TerminalConsoleWriterThread
By: md_5 <git@md-5.net>
2019-12-21 12:01:52 +11:00
CraftBukkit/Spigot
68fb3c06e5 SPIGOT-794: Add boats to EntityPlaceEvent
By: md_5 <git@md-5.net>
2019-12-19 12:53:27 +11:00
CraftBukkit/Spigot
9a1557b65f SPIGOT-5466: Bees still get angry even if damage event cancelled
By: md_5 <git@md-5.net>
2019-12-19 12:25:11 +11:00
CraftBukkit/Spigot
32c57acf3d SPIGOT-5464: Add BEEHIVE SpawnReason for when a bee leaves a beehive
By: ShaneBee <shanebolenback@me.com>
2019-12-18 02:07:49 -08:00
CraftBukkit/Spigot
3dacf34bca SPIGOT-5462: Cancelling EntitySpawnEvent takes Ender Eye from inventory
By: md_5 <git@md-5.net>
2019-12-18 13:07:14 +11:00
CraftBukkit/Spigot
351402accf Update to Minecraft 1.15.1
By: md_5 <git@md-5.net>
2019-12-18 08:00:00 +11:00
CraftBukkit/Spigot
6996e288a1 Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-12-18 07:00:00 +11:00
CraftBukkit/Spigot
539b896ba6 SPIGOT-5458: Riptide tridents don't lose durability
By: md_5 <git@md-5.net>
2019-12-17 12:22:53 +11:00
CraftBukkit/Spigot
714ff868d1 SPIGOT-5455: Mobs do not ignite due to sun in extra worlds
By: md_5 <git@md-5.net>
2019-12-15 15:33:11 +11:00
CraftBukkit/Spigot
2855f812ac SPIGOT-5428: Better handling of some ItemMeta
By: md_5 <git@md-5.net>
2019-12-14 10:54:12 +11:00
CraftBukkit/Spigot
152e0f26b5 SPIGOT-5449: Fix issue with projectiles
By: md_5 <git@md-5.net>
2019-12-13 15:55:19 +11:00
CraftBukkit/Spigot
b456056bb7 SPIGOT-5448: Shulker Boxes collapse empty slots when picked up
By: md_5 <git@md-5.net>
2019-12-13 14:06:25 +11:00
CraftBukkit/Spigot
aaeee556da SPIGOT-5443: BEE_NEST BlockState
- Add missing BEE_NEST block state
- Add a missing break in CraftMetaBlockState

By: ShaneBeee <shanebolenback@me.com>
2019-12-11 21:40:10 -08:00
CraftBukkit/Spigot
b3eb396728 SPIGOT-5442: Fix issue with fire charges
By: md_5 <git@md-5.net>
2019-12-12 13:49:56 +11:00
CraftBukkit/Spigot
30f1448618 SPIGOT-5437: Fix CustomChunkGenerator.CustomBiomeGrid ignoring the y value for biomes
By: BlackHole <black-hole@live.com>
2019-12-11 19:41:21 +01:00
CraftBukkit/Spigot
2667479a6d SPIGOT-5425: Prevent empty/air loot (again?)
By: md_5 <git@md-5.net>
2019-12-11 15:49:53 +11:00
CraftBukkit/Spigot
7dbf1ee072 SPIGOT-5422: Add support for 3-dimensional biomes
By: md_5 <git@md-5.net>
2019-12-11 15:28:37 +11:00
CraftBukkit/Spigot
41210f86bb Fix crash with disabled worlds
By: md_5 <git@md-5.net>
2019-12-11 12:36:03 +11:00
CraftBukkit/Spigot
0e142c7f03 Update to Minecraft 1.15
By: md_5 <git@md-5.net>
2019-12-11 09:00:00 +11:00
CraftBukkit/Spigot
1400103b2f SPIGOT-5417: Campfire should implement Directional
By: md_5 <git@md-5.net>
2019-12-09 12:52:46 +11:00
CraftBukkit/Spigot
75d96db6f3 SPIGOT-5416: Block.getDrops gives drops even when tool should not give drops
By: md_5 <git@md-5.net>
2019-12-08 10:39:57 +11:00
CraftBukkit/Spigot
e0f8100bfc SPIGOT-5399: spawn-npcs ignored during world generation
By: md_5 <git@md-5.net>
2019-12-05 11:01:56 +11:00
CraftBukkit/Spigot
a0dd86fbe1 SPIGOT-5403: isSimilar returns true for different skulls
By: md_5 <git@md-5.net>
2019-12-05 10:37:02 +11:00
CraftBukkit/Spigot
e7370ab173 SPIGOT-5409: Remove unnecessary defaulting in CraftMetaBookSigned
By: md_5 <git@md-5.net>
2019-12-05 10:28:16 +11:00
CraftBukkit/Spigot
5aa1f5b5e8 SPIGOT-5412: Use SpawnReason.NATURAL for wandering traders and trader llamas
By: Brokkonaut <hannos17@gmx.de>
2019-12-04 06:58:22 +01:00
CraftBukkit/Spigot
d63adfb6a0 SPIGOT-5405: Use correct damage source for HangingBreakByEntityEvent
By: Brokkonaut <hannos17@gmx.de>
2019-11-28 06:31:04 +01:00
CraftBukkit/Spigot
47d7b001aa SPIGOT-5395: Call BlockFadeEvent for Scaffolding
By: Brokkonaut <hannos17@gmx.de>
2019-11-14 23:48:57 +01:00
CraftBukkit/Spigot
020f2f931d Increase outdated build delay to 4 weeks
By: md_5 <git@md-5.net>
2019-11-08 20:07:56 +11:00
CraftBukkit/Spigot
210a6d8785 Add UUID support to CraftProfileBanList
By: pop4959 <pop4959@gmail.com>
2019-10-19 15:23:08 -07:00
CraftBukkit/Spigot
f2be8b0482 SPIGOT-5378: Fix TileEntity fixer deadlock
Chunk loading logic can make getTileEntity calls, and these can
be off of the main thread (i.e lighting). The TileEntity fixer
makes a getType call, which will block on chunk load. Thus a
deadlock can occur between a lighting thread and the server thread.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-10-20 00:50:26 -07:00
CraftBukkit/Spigot
c0692c1e1b SPIGOT-5375: Add spaces to coordinates from tile fixer
By: md_5 <git@md-5.net>
2019-10-20 08:05:55 +11:00
CraftBukkit/Spigot
fbf89b2c4c SPIGOT-5373: Simultaneous left+right click in creative mode does not work
By: md_5 <git@md-5.net>
2019-10-19 20:09:26 +11:00
CraftBukkit/Spigot
791c4f2d14 SPIGOT-5370: Fix Block#rayTrace considering other blocks.
By: blablubbabc <lukas@wirsindwir.de>
2019-10-18 20:28:06 +02:00
CraftBukkit/Spigot
09af4fbbb3 SPIGOT-5372: Re-add tile entity fixer due to MC-163945
By: md_5 <git@md-5.net>
2019-10-18 19:58:39 +11:00
CraftBukkit/Spigot
8587d2f03a Fix incorrect inequality in eae7eb06df
Thanks Brokkoli & Phoenix616 for pointing out

By: md_5 <git@md-5.net>
2019-10-17 20:35:42 +11:00
CraftBukkit/Spigot
cf59b7f501 SPIGOT-5362: Suspicious stews fail isSimilar check
By: ShaneBeee <shanebolenback@me.com>
2019-10-14 21:03:30 +11:00
CraftBukkit/Spigot
a0a9f6007a SPIGOT-5355: Double Chests still open after InventoryOpenEvent cancelled
By: md_5 <git@md-5.net>
2019-10-09 19:51:18 +11:00
CraftBukkit/Spigot
f73b0d238f SPIGOT-5309: Call cancelled EntityDamageEvent when damaging invisible armor stands
By: jojokobi <jhocheneder@gmx.at>
2019-10-05 19:02:38 +02:00
CraftBukkit/Spigot
20283452c6 SPIGOT-5341: Add Material.isAir
By: md_5 <git@md-5.net>
2019-10-06 18:41:56 +11:00
CraftBukkit/Spigot
eae7eb06df SPIGOT-5342: Lore lost when deserializing items with no version stored
By: md_5 <git@md-5.net>
2019-10-06 18:34:51 +11:00
CraftBukkit/Spigot
70d89c1a78 SPIGOT-5353: Expand explosion API by adding source entity
By: md_5 <git@md-5.net>
2019-10-05 17:16:52 +10:00
CraftBukkit/Spigot
dc1edccd98 SPIGOT-5331: Add support for Java 13
By: md_5 <git@md-5.net>
2019-09-18 20:03:54 +10:00
CraftBukkit/Spigot
b098d89339 SPIGOT-5317: Create accessors for player absorption hearts
By: md_5 <git@md-5.net>
2019-09-13 20:04:43 +10:00
CraftBukkit/Spigot
69d28a880a SPIGOT-5315: Cannot serialize armor stand ItemMeta
By: md_5 <git@md-5.net>
2019-09-11 18:14:46 +10:00
CraftBukkit/Spigot
7f5d81e0b0 SPIGOT-5158: Add SuspiciousStewMeta
By: ShaneBeee <shanebolenback@me.com>
2019-09-08 02:49:12 -07:00
CraftBukkit/Spigot
280cf8ba51 SPIGOT-5310: Add Chunk.contains
By: md_5 <git@md-5.net>
2019-09-08 11:39:08 +10:00
CraftBukkit/Spigot
473130fb2b SPIGOT-3308: RecipeIterator cannot longer remove recipes
By: md_5 <git@md-5.net>
2019-09-07 17:07:36 +10:00
CraftBukkit/Spigot
6a3743030e Add API to get/set inhabited time of a Chunk
By: md_5 <git@md-5.net>
2019-09-07 16:48:30 +10:00
CraftBukkit/Spigot
136363e657 SPIGOT-5250: Add ChunkSnapshot.contains
By: md_5 <git@md-5.net>
2019-09-07 16:40:30 +10:00
CraftBukkit/Spigot
c3c7488743 SPIGOT-5255: Raid / patrol spawn reasons
By: md_5 <git@md-5.net>
2019-09-07 16:35:09 +10:00
CraftBukkit/Spigot
5c6a8f66c2 SPIGOT-5294: Cancelled EntityPickupItemEvent and PlayerPickupItemEvent alter on-ground stacks
By: md_5 <git@md-5.net>
2019-09-02 13:17:54 +10:00
CraftBukkit/Spigot
147ff6b1e3 SPIGOT-5301: BlockIgniteEvent for campfire + arrow
By: md_5 <git@md-5.net>
2019-09-02 13:14:13 +10:00
CraftBukkit/Spigot
84d9696c39 SPIGOT-5298: Remove unexplained 0.1 drop chance offset
By: md_5 <git@md-5.net>
2019-08-31 16:54:49 +10:00
CraftBukkit/Spigot
64c4a3290c SPIGOT-5290: Invulnerable and/or Marker armor stand triggers EntityDamageEvent
By: anhcraft <admin@anhcraft.dev>
2019-08-28 18:02:43 +07:00
CraftBukkit/Spigot
5757652da1 SPIGOT-5297: PlayerBedLeaveEvent.getBed() returns player location
By: md_5 <git@md-5.net>
2019-08-30 18:34:24 +10:00
CraftBukkit/Spigot
cfd992a9d4 SPIGOT-5293: Sponge behaviour differs from Vanilla
By: md_5 <git@md-5.net>
2019-08-28 20:10:04 +10:00
CraftBukkit/Spigot
5e5574ba63 SPIGOT-5291: Missing event for ravagers trampling crops
By: md_5 <git@md-5.net>
2019-08-28 20:03:43 +10:00
CraftBukkit/Spigot
8c18f2deaf SPIGOT-5211: Add Raid API
By: anhcraft <admin@anhcraft.dev>
2019-08-12 18:43:10 +07:00
CraftBukkit/Spigot
c2ab89098d SPIGOT-5287: Fix rare CME generating new chunks
By: md_5 <git@md-5.net>
2019-08-26 19:24:09 +10:00
CraftBukkit/Spigot
03fbb7a6df SPIGOT-5265: FireworkExplodeEvent only fired when rockets explode in air
By: md_5 <git@md-5.net>
2019-08-26 18:58:28 +10:00
CraftBukkit/Spigot
ac7ef9d0b5 SPIGOT-5258: TNT Not Moving Players in Creative Mode
By: anhcraft <admin@anhcraft.dev>
2019-08-24 21:43:43 +07:00
CraftBukkit/Spigot
3b24a6cb40 SPIGOT-5263: Chests stay open after InventoryOpenEvent cancelled.
By: md_5 <git@md-5.net>
2019-08-24 20:02:14 +10:00
CraftBukkit/Spigot
f2d17c76a2 SPIGOT-5278: EntityDrowned memory leak
By: md_5 <git@md-5.net>
2019-08-24 19:45:08 +10:00
CraftBukkit/Spigot
70c10a6e82 SPIGOT-5264: Call event for experience orbs losing their target
By: md_5 <git@md-5.net>
2019-08-24 19:06:17 +10:00
CraftBukkit/Spigot
7b8436f8e2 SPIGOT-5282: Improve bucket event API
By: md_5 <git@md-5.net>
2019-08-23 20:30:16 +10:00
CraftBukkit/Spigot
b0f23cdec1 SPIGOT-5281: Clearer error messages for ChunkSnapshot misuse
By: md_5 <git@md-5.net>
2019-08-23 20:10:58 +10:00
CraftBukkit/Spigot
1c1f586241 SPIGOT-5269: Item attribute modifiers don't persist their order
By: md_5 <git@md-5.net>
2019-08-16 20:57:49 +10:00
CraftBukkit/Spigot
41214370d2 SPIGOT-5270: Call BlockSpreadEvent when bamboo saplings grow
By: Brokkonaut <hannos17@gmx.de>
2019-08-16 05:19:26 +02:00
CraftBukkit/Spigot
12a0309e1e Increase outdated build delay to 3 weeks
By: md_5 <git@md-5.net>
2019-08-10 10:52:38 +10:00
CraftBukkit/Spigot
5641a120eb SPIGOT-5249: Do not add data to empty loot table
By: md_5 <git@md-5.net>
2019-08-09 20:19:06 +10:00
CraftBukkit/Spigot
b961fbc094 SPIGOT-5257: Call EntityBreedEvent for foxes and set the child's spawn reason to BREEDING
By: Brokkonaut <hannos17@gmx.de>
2019-08-09 04:34:33 +02:00
CraftBukkit/Spigot
aeb3ecc654 SPIGOT-5245: Unneeded cast to WorldNBTStorage in CraftWorld#getWorldFolder
By: md_5 <git@md-5.net>
2019-08-05 20:20:38 +10:00
CraftBukkit/Spigot
d67f427648 SPIGOT-5241: setAttributeModifiers does not work on untouched stack
By: md_5 <git@md-5.net>
2019-08-03 12:55:20 +10:00
CraftBukkit/Spigot
c62558a09f SPIGOT-5231: ShotAtAngle API for Fireworks
By: md_5 <git@md-5.net>
2019-08-02 19:32:10 +10:00
CraftBukkit/Spigot
ef099d6feb SPIGOT-5237: Horses, pigs do not drop their inventory
By: md_5 <git@md-5.net>
2019-08-02 19:13:16 +10:00
CraftBukkit/Spigot
cf4533f0a6 Don't accept connections until all plugins have enabled
By: md_5 <git@md-5.net>
2019-07-30 20:45:45 +10:00
CraftBukkit/Spigot
4460d122b3 SPIGOT-5225: World handle isn't closed if world is unloaded without saving
By: md_5 <git@md-5.net>
2019-07-29 16:36:51 +10:00
CraftBukkit/Spigot
1513ec9ccc SPIGOT-5222: Cannot get Long values from Entity memory
By: md_5 <git@md-5.net>
2019-07-29 16:37:40 +10:00
CraftBukkit/Spigot
481703c1b4 SPIGOT-5220: Server CPU usage reaches 100% when stdin is null
By: md_5 <git@md-5.net>
2019-07-28 08:49:01 +10:00
CraftBukkit/Spigot
87a13de04a SPIGOT-5195 (#2): Player loot table does not drop when keepInventory is on
By: Carl Poole <mail@carlpoole.com>
2019-07-26 16:47:49 -05:00
CraftBukkit/Spigot
48e0a2b15c SPIGOT-5208: Reset state on cancelled EntityTransformEvent to prevent event spam
By: md_5 <git@md-5.net>
2019-07-26 09:58:18 +10:00
CraftBukkit/Spigot
526ee7e53e SPIGOT-5214: setCooldown not working
By: md_5 <git@md-5.net>
2019-07-26 09:40:09 +10:00
CraftBukkit/Spigot
c31f9f7b90 SPIGOT-5204: Typo in deprecated enchantment name
By: md_5 <git@md-5.net>
2019-07-24 09:30:28 +10:00
CraftBukkit/Spigot
d93875e342 SPIGOT-5196: Restore previous version behaviour regarding cancelled BlockBreakEvent
By: md_5 <git@md-5.net>
2019-07-23 14:24:50 +10:00
CraftBukkit/Spigot
5c0e0740f0 Improve diff in EntityHanging
By: md_5 <git@md-5.net>
2019-07-23 09:34:52 +10:00
CraftBukkit/Spigot
dbe3d40c24 SPIGOT-4712: Allow spawning of upwards or downwards facing item frames
Also use correct block position for spawning hanging entities

By: BlackHole <black-hole@live.com>
2019-07-23 09:38:02 +10:00
CraftBukkit/Spigot
5f859fabc8 SPIGOT-5199: Fix NPE if setting the book of the ItemMeta of a lectern
By: BlackHole <black-hole@live.com>
2019-07-22 23:41:39 +02:00
CraftBukkit/Spigot
2b5e68a253 SPIGOT-4679 Fix black lines after book paragraphs
Also increase max page count to 100 to match 1.14

By: BlackHole <black-hole@live.com>
2019-07-22 23:07:22 +02:00
CraftBukkit/Spigot
69ff0206df SPIGOT-5180: Add Villager#sleep() and #wakeup() methods
By: LelouBil <bilel.jahid@gmail.com>
2019-07-22 00:09:06 +02:00
CraftBukkit/Spigot
a4afbdddcb SPIGOT-4975: NPE on WorldGenStronghold When Using Multiple Worlds
By: md_5 <git@md-5.net>
2019-07-22 16:03:02 +10:00
CraftBukkit/Spigot
c95a561c3b Ensure Bukkit data pack is always up to date
By: md_5 <git@md-5.net>
2019-07-22 12:34:03 +10:00
CraftBukkit/Spigot
1547b12bff MC-157395, SPIGOT-5193: Small armor stands do not drop loot
By: md_5 <git@md-5.net>
2019-07-22 12:28:38 +10:00
CraftBukkit/Spigot
97e2af5d3c SPIGOT-5195: Player loot table does not drop when keepInventory is on
By: md_5 <git@md-5.net>
2019-07-22 12:12:48 +10:00
CraftBukkit/Spigot
8eb196964d SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword
By: md_5 <git@md-5.net>
2019-07-21 11:45:05 +10:00
CraftBukkit/Spigot
2e2062c8a6 SPIGOT-5188: Player loot table drops an additional duplicate loot for each subsequent death
By: md_5 <git@md-5.net>
2019-07-20 09:38:18 +10:00
CraftBukkit/Spigot
a4b8e8ce68 Update to Minecraft 1.14.4
By: md_5 <git@md-5.net>
2019-07-20 09:00:00 +10:00
CraftBukkit/Spigot
fa576e3e73 Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-07-20 09:00:00 +10:00
CraftBukkit/Spigot
0eaa5ae745 SPIGOT-5116: Fix concurrent modification exception inside ChunkMapDistance
By: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2019-07-13 20:23:41 +02:00
CraftBukkit/Spigot
75c992cac3 SPIGOT-4849: Fix server crash when accessing chunks during chunk load/unload/populate events
By: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2019-07-13 20:19:44 +02:00
CraftBukkit/Spigot
a30fef9d1f SPIGOT-5171: Don't fire PlayerTeleportEvent if not actually moving
By: md_5 <git@md-5.net>
2019-07-16 10:15:59 +10:00
CraftBukkit/Spigot
9ce6ef849c SPIGOT-5163: Cancelling PlayerBucketFillEvent visually removes the targeted block
By: md_5 <git@md-5.net>
2019-07-13 12:07:15 +10:00
CraftBukkit/Spigot
dacd4f2a36 Tweak build expiration to 7 days
By: md_5 <git@md-5.net>
2019-07-10 19:57:22 +10:00
CraftBukkit/Spigot
22a969374b MC-155077, SPIGOT-5113: EntityTracker desync
By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-07-10 19:56:39 +10:00
CraftBukkit/Spigot
f3d1e78efe SPIGOT-5146: BlockDataMeta does not work
By: md_5 <git@md-5.net>
2019-07-09 10:47:07 +10:00
CraftBukkit/Spigot
0117fb27e2 SPIGOT-5155: Setting EntityExplodeEvent yield to 0 still causes blocks to drop
By: md_5 <git@md-5.net>
2019-07-09 10:10:36 +10:00
CraftBukkit/Spigot
74808290c6 Print number of force loaded chunks per plugin in crash reports
By: md_5 <git@md-5.net>
2019-07-08 12:34:15 +10:00
CraftBukkit/Spigot
aedce73dd1 Add Plugin Chunk Ticket API
Allows plugins to force certain chunks to be kept loaded for as long as they are enabled.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-07-08 12:14:16 +10:00
CraftBukkit/Spigot
09309c363f SPIGOT-5149: resetRecipes does nothing
By: md_5 <git@md-5.net>
2019-07-07 11:40:14 +10:00
CraftBukkit/Spigot
a760b9414a SPIGOT-5141: World.generateTree() causes ClassCastException with huge mushrooms
By: md_5 <git@md-5.net>
2019-07-06 10:13:00 +10:00
CraftBukkit/Spigot
6e816175e1 SPIGOT-5142: Ignore invalid firework effects
By: md_5 <git@md-5.net>
2019-07-06 10:08:52 +10:00
CraftBukkit/Spigot
69da7cce55 SPIGOT-5136: EntityPortalEvent getting called on interdimensional entity teleports
By: md_5 <git@md-5.net>
2019-07-05 10:09:11 +10:00
CraftBukkit/Spigot
1778168cb4 SPIGOT-3102: Add EXPLOSION SpawnReason
By: md_5 <git@md-5.net>
2019-07-03 11:10:51 +10:00
CraftBukkit/Spigot
7ca2721835 Re-add chunk GC for plugin chunk loads
By: md_5 <git@md-5.net>
2019-07-03 10:29:02 +10:00
CraftBukkit/Spigot
05a4221869 SPIGOT-5123: Snapshot tile entities can end up with a non-null world
By: md_5 <git@md-5.net>
2019-07-03 10:22:42 +10:00
CraftBukkit/Spigot
efa1cc7359 SPIGOT-5130: PersistentDataContainer not removing values on TileEntities
By: md_5 <git@md-5.net>
2019-07-03 10:17:50 +10:00
CraftBukkit/Spigot
3d19313465 SPIGOT-5133: Throwing items into secondary end world portal causes crash
By: md_5 <git@md-5.net>
2019-07-02 10:47:00 +10:00
CraftBukkit/Spigot
d3a55e3c6e SPIGOT-5121: Method to set PierceLevel of arrows
By: md_5 <git@md-5.net>
2019-06-30 09:52:18 +10:00
CraftBukkit/Spigot
2667bfc200 SPIGOT-5122: Skip world#notify if sign has no world.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-29 19:54:50 +02:00
CraftBukkit/Spigot
020a6a58b2 SPIGOT-5105: The EntityTag nbt tag disappears from preset armor_stand items.
By: md_5 <git@md-5.net>
2019-06-29 16:55:36 +10:00
CraftBukkit/Spigot
d6d34c98e7 SPIGOT-5106: Config option to prevent plugins with incompatible API's from loading
By: md_5 <git@md-5.net>
2019-06-29 16:36:58 +10:00
CraftBukkit/Spigot
efb16ae1da SPIGOT-5110: Zombies converting to drowned too quickly
By: md_5 <git@md-5.net>
2019-06-28 17:37:06 +10:00
CraftBukkit/Spigot
aa8276bcd1 SPIGOT-5101: Raids crash
By: md_5 <git@md-5.net>
2019-06-28 16:54:54 +10:00
CraftBukkit/Spigot
5add39bbe3 SPIGOT-5103: World.save does not save gamerules
By: md_5 <git@md-5.net>
2019-06-25 21:02:13 +10:00
CraftBukkit/Spigot
a2f5bbf93c Correct pom.xml version
By: md_5 <git@md-5.net>
2019-06-25 20:57:20 +10:00
CraftBukkit/Spigot
4d4628bf1c Update to Minecraft 1.14.3
By: md_5 <git@md-5.net>
2019-06-25 06:44:52 +10:00
CraftBukkit/Spigot
257ba6c003 SPIGOT-5098: Add a method to allow colored sign changes
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-06-22 16:22:53 +02:00
CraftBukkit/Spigot
8d06a4ef69 SPIGOT-5100: Console warning from pig zombie targeting
By: md_5 <git@md-5.net>
2019-06-23 09:14:01 +10:00
CraftBukkit/Spigot
9d2d82c126 SPIGOT-5094: Allow opening merchant for wandering traders and hide the xp bar for custom merchants
By: blablubbabc <lukas@wirsindwir.de>
2019-06-21 05:06:16 +02:00
CraftBukkit/Spigot
21a654cdfe SPIGOT-5097: Bukkit.clearRecipes() no longer working
By: md_5 <git@md-5.net>
2019-06-22 18:24:23 +10:00
CraftBukkit/Spigot
3a28cb13b9 Fix setting game rules via the API
By: md_5 <git@md-5.net>
2019-06-21 20:35:22 +10:00
CraftBukkit/Spigot
a8155d2399 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-21 20:00:00 +10:00
CraftBukkit/Spigot
0297d9de8a Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-06-21 19:52:34 +10:00
CraftBukkit/Spigot
eabf410768 SPIGOT-5089: UnsupportedOperationException on setting villager memory to null
By: md_5 <git@md-5.net>
2019-06-19 18:42:51 +10:00
CraftBukkit/Spigot
b8dc3168ff SPIGOT-5061: Add explode and ignite methods to Creeper
By: i509VCB <null>
2019-06-14 17:21:29 -05:00
CraftBukkit/Spigot
a6bcb557e5 SPIGOT-5071: Player loot tables not triggered
By: md_5 <git@md-5.net>
2019-06-16 11:39:33 +10:00
CraftBukkit/Spigot
260bd8c7c4 Optimize getEntitiesByClasses slightly
By: blablubbabc <lukas@wirsindwir.de>
2019-06-16 11:13:42 +10:00
CraftBukkit/Spigot
700f1c0ef8 SPIGOT-5072: Process phantom, cat and patrol spawning in CustomChunkGenerator
By: md_5 <git@md-5.net>
2019-06-16 11:12:08 +10:00
CraftBukkit/Spigot
d53dd95127 SPIGOT-5010: World#getEntitiesByClass/es also return entities in border chunks.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-15 03:39:04 +02:00
CraftBukkit/Spigot
c1cc0cddf5 SPIGOT-5034: FoodLevelChangeEvent add getItem method
By: md_5 <git@md-5.net>
2019-06-14 19:41:36 +10:00
CraftBukkit/Spigot
95dbf2457d SPIGOT-5047: Correct slot types for 1.14 inventories
By: md_5 <git@md-5.net>
2019-06-13 21:26:04 +10:00
CraftBukkit/Spigot
961f817b83 SPIGOT-5046: World#getLoadedChunks returning inaccessible cached chunks.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-12 20:05:29 +02:00
CraftBukkit/Spigot
aa1f7c7569 SPIGOT-5067: Add item meta for 1.14 spawn eggs
By: md_5 <git@md-5.net>
2019-06-13 20:51:39 +10:00
CraftBukkit/Spigot
6a96ed3ad8 SPIGOT-5052: PlayerPortalEvent not called when nether is disabled
By: md_5 <git@md-5.net>
2019-06-12 18:24:57 +10:00
CraftBukkit/Spigot
f340eae223 SPIGOT-5062: end_portal on an non-default end world crashes the server
By: md_5 <git@md-5.net>
2019-06-12 18:19:36 +10:00
CraftBukkit/Spigot
8023c6f3e5 SPIGOT-5058: ClassCastException when getting InventoryHolder of lectern when it's destroyed
By: md_5 <git@md-5.net>
2019-06-12 18:06:43 +10:00
CraftBukkit/Spigot
7278b8c206 SPIGOT-5053: Initialize beacon with stored levels where available
By: md_5 <git@md-5.net>
2019-06-10 19:09:51 +10:00
CraftBukkit/Spigot
fcc1ce3351 SPIGOT-5054: Prevent issue with invalid hanging entities
By: md_5 <git@md-5.net>
2019-06-10 19:02:32 +10:00
CraftBukkit/Spigot
c73dca71df Rebuild patches
By: md_5 <git@md-5.net>
2019-06-09 08:49:28 +10:00
CraftBukkit/Spigot
37a786ec29 Add Player#openBook(ItemStack) method
This PR adds the openBook(ItemStack) method to Player that allows opening a
Material.WRITTEN_BOOK for a player on demand.

By: simpleauthority <jacob@algorithmjunkie.com>
2019-06-06 01:08:11 -07:00
CraftBukkit/Spigot
672c7bfa97 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full
By: PurkkaKoodari <purkka@purkka.codes>
2019-06-06 01:32:32 +03:00
CraftBukkit/Spigot
223b5e4c95 SPIGOT-5037: Player.openMerchant does not show merchant level
By: md_5 <git@md-5.net>
2019-06-07 19:48:12 +10:00
CraftBukkit/Spigot
2fdf052be1 SPIGOT-5038: Inventory.getHolder returns null for wandering traders
By: md_5 <git@md-5.net>
2019-06-07 19:36:40 +10:00
CraftBukkit/Spigot
809dcc249d SPIGOT-5035: Error Using Virtual Merchant GUI
By: md_5 <git@md-5.net>
2019-06-06 20:51:53 +10:00
CraftBukkit/Spigot
aaf46051fc SPIGOT-5028: Villager#setVillagerExperience() doesn't work
By: md_5 <git@md-5.net>
2019-06-06 20:46:32 +10:00
CraftBukkit/Spigot
55ad5c0352 SPIGOT-5024: Fox error - Unknown target reason
By: md_5 <git@md-5.net>
2019-06-06 20:44:12 +10:00
CraftBukkit/Spigot
a5abba4a51 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles
By: md_5 <git@md-5.net>
2019-06-02 19:51:26 +10:00
CraftBukkit/Spigot
9db0901922 Make bukkitEntity private to prevent incorrect usage
By: md_5 <git@md-5.net>
2019-06-02 19:49:41 +10:00
CraftBukkit/Spigot
d7c1a6ed5f SPIGOT-5010: World.getEntities returns entities in border chunks
By: md_5 <git@md-5.net>
2019-05-31 06:56:00 +10:00
CraftBukkit/Spigot
624908bdfc Show incorrect size passed into createInventory
By: md_5 <git@md-5.net>
2019-05-29 19:58:01 +10:00
CraftBukkit/Spigot
ca6d40aa64 SPIGOT-4992: Various villager issues due to broken mapping
By: md_5 <git@md-5.net>
2019-05-28 20:43:33 +10:00
CraftBukkit/Spigot
569660215f Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
CraftBukkit/Spigot
5f2275f40a SPIGOT-4946: Add VillagerCareerChangeEvent
By: i509VCB <null>
2019-05-25 20:58:11 -05:00
CraftBukkit/Spigot
3f2b383463 SPIGOT-4987: Shulkerbox does not save empty slots
By: md_5 <git@md-5.net>
2019-05-27 10:00:56 +10:00
CraftBukkit/Spigot
d1e70b9323 Fix reading custom persistent entity data
By: md_5 <git@md-5.net>
2019-05-25 11:22:18 +10:00
CraftBukkit/Spigot
36817a5614 SPIGOT-4980: Shields will not be put on cooldown when hit with an axe
By: md_5 <git@md-5.net>
2019-05-25 11:17:45 +10:00
CraftBukkit/Spigot
e2b8949bf3 SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events
By: blablubbabc <lukas@wirsindwir.de>
2019-05-16 01:11:20 +02:00
CraftBukkit/Spigot
0e59838abf SPIGOT-4982: Armor disappearing while breaking the armor stand
By: md_5 <git@md-5.net>
2019-05-25 10:45:24 +10:00
CraftBukkit/Spigot
a7f92c8388 SPIGOT-4972: Cannot add contextual data to loot table API
By: md_5 <git@md-5.net>
2019-05-23 20:48:20 +10:00
CraftBukkit/Spigot
26041887a6 SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
By: md_5 <git@md-5.net>
2019-05-21 21:04:45 +10:00
CraftBukkit/Spigot
817d83e1bb SPIGOT-4968: Jukebox.setPlaying(null) causes error
By: md_5 <git@md-5.net>
2019-05-21 12:09:42 +10:00
CraftBukkit/Spigot
0bab608be7 SPIGOT-4966: Provide access to Entity in PortalCreateEvent
By: md_5 <git@md-5.net>
2019-05-21 12:08:19 +10:00
CraftBukkit/Spigot
320645a5b8 SPIGOT-4964: EntityPickupItemEvent for pandas
By: md_5 <git@md-5.net>
2019-05-20 19:54:24 +10:00
CraftBukkit/Spigot
3ebcb8237b SPIGOT-4925: Uppercase world names no longer supported
By: md_5 <git@md-5.net>
2019-05-20 19:49:07 +10:00
CraftBukkit/Spigot
82335a22f1 SPIGOT-4961: Cannot open various inventories
By: md_5 <git@md-5.net>
2019-05-20 19:46:20 +10:00
CraftBukkit/Spigot
cd9d8451fd SPIGOT-4958: API to set map trackingPosition
By: md_5 <git@md-5.net>
2019-05-20 19:29:51 +10:00
CraftBukkit/Spigot
d8a6d9eb41 SPIGOT-4962: Bubble column blocks not classified as liquid
By: md_5 <git@md-5.net>
2019-05-20 19:27:02 +10:00
CraftBukkit/Spigot
20c4ae9b42 SPIGOT-4898: Call EntityChangeBlockEvent / EntityPickupItemEvent for foxes
By: Brokkonaut <hannos17@gmx.de>
2019-05-20 03:27:00 +02:00
CraftBukkit/Spigot
acd04ff0d0 SPIGOT-4833: Allow access to LivingEntity memories
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-05-19 19:58:41 +10:00
CraftBukkit/Spigot
8718f03946 SPIGOT-4953: Crafting table inventory returns player location, not block location
By: md_5 <git@md-5.net>
2019-05-19 19:17:56 +10:00
CraftBukkit/Spigot
98155b05fb Tweak thresholds for can't keep up message
By: md_5 <git@md-5.net>
2019-05-19 12:07:37 +10:00
CraftBukkit/Spigot
67a256943e SPIGOT-4956: EntityTameEvent not triggered when taming a Cat
By: md_5 <git@md-5.net>
2019-05-19 12:02:25 +10:00
CraftBukkit/Spigot
f19a688ffc SPIGOT-4943: Zombie villager conversion player API.
Also resetting the conversion player when stopping a conversion.

By: blablubbabc <lukas@wirsindwir.de>
2019-05-17 14:08:33 +02:00
CraftBukkit/Spigot
d2cbe48459 SPIGOT-4947: Allow setting the content on a lectern
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 20:03:36 +02:00
CraftBukkit/Spigot
4d27af3c76 SPIGOT-4938: Call EntityPickupItemEvent for dolphins
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 23:19:52 +02:00
CraftBukkit/Spigot
453eb0afe4 SPIGOT-4948: Lectern.getInventory should return a LecternInventory
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 20:18:13 +02:00
CraftBukkit/Spigot
6b35a00cff SPIGOT-4940: Fletcher villager gifts sometimes crash server
By: md_5 <git@md-5.net>
2019-05-16 21:10:05 +10:00
CraftBukkit/Spigot
609921674a SPIGOT-4935: Lore deserializes incorrectly from previous versions
By: md_5 <git@md-5.net>
2019-05-15 17:07:47 +10:00
CraftBukkit/Spigot
0a6bbfbdde SPIGOT-4929: Beacon inventory getType() returns CHEST
By: md_5 <git@md-5.net>
2019-05-14 21:31:49 +10:00
CraftBukkit/Spigot
788fd7eedc Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
CraftBukkit/Spigot
1825747f6d Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-05-14 08:50:43 +10:00
CraftBukkit/Spigot
37370c79d4 SPIGOT-4921: Preserve entity compat with Vanilla
By: md_5 <git@md-5.net>
2019-05-13 16:50:52 +10:00
CraftBukkit/Spigot
962fa8e8a6 SPIGOT-4916: Fix loading legacy structure data
By: md_5 <git@md-5.net>
2019-05-12 21:53:54 +10:00
CraftBukkit/Spigot
41043ef48b Load custom worlds from correct location
By: md_5 <git@md-5.net>
2019-05-12 16:59:21 +10:00
CraftBukkit/Spigot
f3e26f2572 SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow
By: md_5 <git@md-5.net>
2019-05-12 11:22:21 +10:00
CraftBukkit/Spigot
b407bebd8d SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI
By: md_5 <git@md-5.net>
2019-05-12 11:15:48 +10:00
CraftBukkit/Spigot
8b207fdf78 SPIGOT-4893: Don't reset angry state of wolves without target.
Wolves will 'silently' lose their target when teleporting between
dimensions or the chunk getting reloaded. To reset the angry state in
those cases, the check got moved into the loading method.
By: blablubbabc <lukas@wirsindwir.de>
2019-05-08 02:18:05 +02:00
CraftBukkit/Spigot
32d5f0cca3 SPIGOT-4889: Add PlayerTakeLecternBookEvent
By: Brokkonaut <hannos17@gmx.de>
2019-05-07 17:15:32 +02:00
CraftBukkit/Spigot
65f0df94c4 SPIGOT-4899: Horse inventory title not set
By: md_5 <git@md-5.net>
2019-05-10 17:41:05 +10:00
CraftBukkit/Spigot
5cda52e6a9 SPIGOT-4895: Bed doesn't explode in Nether and The End
By: md_5 <git@md-5.net>
2019-05-09 08:56:32 +10:00
CraftBukkit/Spigot
2c86ecd099 SPIGOT-4888: setSleepingIgnored resets the night even when there is no one in a bed
By: md_5 <git@md-5.net>
2019-05-08 20:34:41 +10:00
CraftBukkit/Spigot
dd2f46e32e SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode
By: md_5 <git@md-5.net>
2019-05-08 20:17:45 +10:00
CraftBukkit/Spigot
7a93a50d32 Add BlockShearEntityEvent for Dispensers shearing Sheep
By: nathat890 <nathat890@outlook.com>
2019-05-07 16:50:57 +01:00
CraftBukkit/Spigot
cacd7ce457 SPIGOT-4891: LecternInventory.getType() should return InventoryType.LECTERN
By: Brokkonaut <hannos17@gmx.de>
2019-05-07 23:52:16 +02:00
CraftBukkit/Spigot
b1a791b5e5 SPIGOT-4887: Villager level minimum is 1
By: blablubbabc <lukas@wirsindwir.de>
2019-05-07 15:36:56 +02:00
CraftBukkit/Spigot
7dd4483ca3 SPIGOT-4882: EntityExplodeEvent appears to fire every tick because of enderdragon
By: md_5 <git@md-5.net>
2019-05-07 09:45:13 +10:00
CraftBukkit/Spigot
35aa62b5f6 SPIGOT-4881: Worldborder for the End and Nether switch to default after restart
By: md_5 <git@md-5.net>
2019-05-07 09:36:36 +10:00
CraftBukkit/Spigot
4f21c71d98 SPIGOT-4880: Potion effects with unknown names.
By: md_5 <git@md-5.net>
2019-05-07 09:22:45 +10:00
CraftBukkit/Spigot
f2ce39c748 SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires

By: md_5 <git@md-5.net>
2019-05-06 20:00:27 +10:00
CraftBukkit/Spigot
1915b49ec3 SPIGOT-4872: LootTables missing a few loot tables
By: md_5 <git@md-5.net>
2019-05-06 08:40:15 +10:00
CraftBukkit/Spigot
55f1b1bec1 SPIGOT-4875: PlayerChangedWorldEvent does not fire on teleporting via portals
By: md_5 <git@md-5.net>
2019-05-06 08:38:29 +10:00
CraftBukkit/Spigot
8c48e82d0c SPIGOT-4877: No end platform generated
By: md_5 <git@md-5.net>
2019-05-06 08:36:11 +10:00
CraftBukkit/Spigot
e413f6ef8f SPIGOT-4871: Manually opened double chest doesn't have close animation
By: md_5 <git@md-5.net>
2019-05-05 18:39:58 +10:00
CraftBukkit/Spigot
8f5f07be27 SPIGOT-4870: Server crashes while charging crossbow
By: md_5 <git@md-5.net>
2019-05-05 16:18:29 +10:00
CraftBukkit/Spigot
7a47bcf55b SPIGOT-4834: API for Villager levels and experience
By: md_5 <git@md-5.net>
2019-05-05 12:03:20 +10:00
CraftBukkit/Spigot
2beeb67ce0 Rearchitect PortalCreateEvent to provide more information about the portal
By: md_5 <git@md-5.net>
2019-05-05 10:51:43 +10:00
CraftBukkit/Spigot
8c6028095a SPIGOT-248: PortalCreateEvent not fired when exit portal is created automatically.
By: Aquazus <me@aquazus.fr>
2019-05-04 14:51:54 +02:00
CraftBukkit/Spigot
0ddb44f00c SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot
By: md_5 <git@md-5.net>
2019-05-05 09:46:41 +10:00
CraftBukkit/Spigot
8399005c46 SPIGOT-4867: Incorrect dimension ID for nether portal teleports
By: md_5 <git@md-5.net>
2019-05-05 09:30:44 +10:00
CraftBukkit/Spigot
f3d2f9c5c0 SPIGOT-4868: Server deadlock on /stop command
By: md_5 <git@md-5.net>
2019-05-05 09:25:51 +10:00
CraftBukkit/Spigot
5a40b00a62 SPIGOT-4863: --eraseCache doesn't work
By: md_5 <git@md-5.net>
2019-05-04 20:54:32 +10:00
CraftBukkit/Spigot
59a3833b02 SPIGOT-4860: Cancelling InventoryOpenEvent on MerchantInventory prevents re-opening
By: md_5 <git@md-5.net>
2019-05-04 20:32:13 +10:00
CraftBukkit/Spigot
61d087fec5 SPIGOT-4835: Manually opened chest doesn't have close animation
By: md_5 <git@md-5.net>
2019-05-03 17:57:05 +10:00
CraftBukkit/Spigot
fb7dd08846 SPIGOT-4842: Dummy recipes should not give AIR as result type
By: md_5 <git@md-5.net>
2019-05-03 17:41:23 +10:00
CraftBukkit/Spigot
d90f2f4bfd SPIGOT-4831: setKeepSpawnInMemory to false does not work
By: md_5 <git@md-5.net>
2019-05-02 15:15:53 +10:00
CraftBukkit/Spigot
5ae50e9d74 SPIGOT-4838: BlockDispenseEvent not called when shears dispensed from dispenser
By: Justin Lawen <justin@lesserhydra.com>
2019-05-01 15:18:14 -05:00
CraftBukkit/Spigot
f6bee952be SPIGOT-4836: Breaking barrier block causes error
By: md_5 <git@md-5.net>
2019-05-02 09:23:16 +10:00
CraftBukkit/Spigot
12ecbc64a0 SPIGOT-4802: Add CrossbowMeta
By: md_5 <git@md-5.net>
2019-05-01 20:18:01 +10:00
CraftBukkit/Spigot
a70a255937 SPIGOT-4714: Broadcasts can no longer be done from secondary threads
By: md_5 <git@md-5.net>
2019-05-01 18:46:18 +10:00
CraftBukkit/Spigot
e5cb6d7c49 SPIGOT-4820: Villager Type API
By: md_5 <git@md-5.net>
2019-05-01 18:39:43 +10:00
CraftBukkit/Spigot
2e24df6eb1 Regular arrow spawn method should not have changed type
By: md_5 <git@md-5.net>
2019-05-01 18:14:52 +10:00
CraftBukkit/Spigot
03d3b41708 SPIGOT-4822: Existing world fails to load
By: md_5 <git@md-5.net>
2019-05-01 18:10:27 +10:00
CraftBukkit/Spigot
39114e773e SPIGOT-4825: Clearly error on asynchronous tile access
By: md_5 <git@md-5.net>
2019-05-01 17:05:21 +10:00
CraftBukkit/Spigot
cef8c2f357 Revert "SPIGOT-4825: Clearly error on asynchronous tile access"
This reverts commit ff6da11426.

By: md_5 <git@md-5.net>
2019-05-01 08:51:01 +10:00
CraftBukkit/Spigot
ff6da11426 SPIGOT-4825: Clearly error on asynchronous tile access
By: md_5 <git@md-5.net>
2019-05-01 06:59:38 +10:00
CraftBukkit/Spigot
1596138194 SPIGOT-4823: Crash picking up arrows
By: md_5 <git@md-5.net>
2019-05-01 06:48:56 +10:00
CraftBukkit/Spigot
abedca6a94 World#spawnArrow should return an AbstractArrow now
By: md_5 <git@md-5.net>
2019-04-30 21:31:08 +10:00
CraftBukkit/Spigot
60ed569599 SPIGOT-4819: Continue refactoring of Arrow-related APIs
By: md_5 <git@md-5.net>
2019-04-30 21:23:11 +10:00
CraftBukkit/Spigot
a2a0f9e6d3 SPIGOT-4816: Editing book causes glitchy behaviour
By: md_5 <git@md-5.net>
2019-04-30 15:33:35 +10:00
CraftBukkit/Spigot
a3c770141e SPIGOT-4818: Unit test banner patterns
By: md_5 <git@md-5.net>
2019-04-30 15:20:11 +10:00
CraftBukkit/Spigot
a318ed1949 SPIGOT-4810: Call EntityChangeBlockEvent for Ravager destroying leaves
By: md_5 <git@md-5.net>
2019-04-29 18:11:13 +10:00
CraftBukkit/Spigot
4d73820fbb SPIGOT-4803: Fox related APIs
By: md_5 <git@md-5.net>
2019-04-28 17:59:12 +10:00
CraftBukkit/Spigot
b84b23c451 Add TradeSelectEvent
By: Coleman Yantis <diamonddagger590@gmail.com>
2019-04-28 12:35:28 +10:00
CraftBukkit/Spigot
bfea9a3269 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:38:01 +10:00
CraftBukkit/Spigot
c7281b2159 SPIGOT-4790: Secondary world data not saved
By: md_5 <git@md-5.net>
2019-04-28 11:13:44 +10:00
CraftBukkit/Spigot
58401ba73d SPIGOT-4795: EntityPoseChangeEvent called every tick
By: md_5 <git@md-5.net>
2019-04-28 10:03:52 +10:00
CraftBukkit/Spigot
78602f07ff Intermittent hang on /stop
By: md_5 <git@md-5.net>
2019-04-27 21:33:07 +10:00
CraftBukkit/Spigot
8f36a64ccd Fix loading secondary worlds
By: md_5 <git@md-5.net>
2019-04-27 20:09:40 +10:00
CraftBukkit/Spigot
e36edd57b4 SPIGOT-4785: Experience etc lost returning from end
By: md_5 <git@md-5.net>
2019-04-27 15:43:04 +10:00
CraftBukkit/Spigot
748c652126 Add some missing goal targets
By: md_5 <git@md-5.net>
2019-04-27 13:57:46 +10:00
CraftBukkit/Spigot
74061abe72 Allow direct opening of another player's inventory
Not recommended - bugs may result, especially re: slot updates

By: md_5 <git@md-5.net>
2019-04-27 13:14:40 +10:00
CraftBukkit/Spigot
51a9b6ad0f SPIGOT-4784: Collar colour API for Cats
By: md_5 <git@md-5.net>
2019-04-27 12:52:52 +10:00
CraftBukkit/Spigot
65ed9737c3 Loosen restrictions on inventory sizing
Allows creating (but not opening) inventories created eg via Bukkit.createInventory(..., InventoryType.PLAYER);

By: md_5 <git@md-5.net>
2019-04-27 12:50:43 +10:00
CraftBukkit/Spigot
520c838a5c SPIGOT-4753: Add Pose API
By: md_5 <git@md-5.net>
2019-04-27 10:27:05 +10:00
CraftBukkit/Spigot
1e60258bfd SPIGOT-4783: CreatureSpawnEvent causes crash when getting block type
By: md_5 <git@md-5.net>
2019-04-27 10:07:55 +10:00
CraftBukkit/Spigot
fb196561cb SPIGOT-4778: Bell Attachment is missing
By: md_5 <git@md-5.net>
2019-04-27 09:33:00 +10:00
CraftBukkit/Spigot
3eda70afc8 Remove redundant cast
By: md_5 <git@md-5.net>
2019-04-27 09:26:19 +10:00
CraftBukkit/Spigot
4bdb87aa40 SPIGOT-4774: Entities don't get marked 'invalid' after being removed
By: blablubbabc <lukas@wirsindwir.de>
2019-04-27 09:25:38 +10:00
CraftBukkit/Spigot
cfe7674bc3 SPIGOT-4771: PlayerPortalEvent does not have correct cause when entering nether
By: md_5 <git@md-5.net>
2019-04-26 21:47:21 +10:00
CraftBukkit/Spigot
5bbfcfaed7 SPIGOT-4769: PlayerPortalEvent does not have correct cause when entering end
By: md_5 <git@md-5.net>
2019-04-26 18:03:32 +10:00
CraftBukkit/Spigot
86bf9c1cbc SPIGOT-4767: Fire from lava persists after respawn
By: md_5 <git@md-5.net>
2019-04-26 17:12:45 +10:00
CraftBukkit/Spigot
fb071c3e02 SPIGOT-4768: ChunkUnloadEvent not called
By: md_5 <git@md-5.net>
2019-04-26 16:56:49 +10:00
CraftBukkit/Spigot
69949a48e6 SPIGOT-4760: BlockSpreadEvent for Bamboo growth
By: md_5 <git@md-5.net>
2019-04-26 14:56:59 +10:00
CraftBukkit/Spigot
f8494aa951 Add variant API to MushroomCow
By: md_5 <git@md-5.net>
2019-04-26 14:48:19 +10:00
CraftBukkit/Spigot
1ba83eb294 SPIGOT-4765: WeatherChangeEvent occurs every tick
By: md_5 <git@md-5.net>
2019-04-26 14:42:51 +10:00
CraftBukkit/Spigot
8c88f50d6f Clean diff in PlayerChunkMap
By: md_5 <git@md-5.net>
2019-04-26 13:01:07 +10:00
CraftBukkit/Spigot
e7a5cc8f06 Don't concurrently execute ChunkGenerators by default
By: md_5 <git@md-5.net>
2019-04-26 12:08:59 +10:00
CraftBukkit/Spigot
9aaff88148 SPIGOT-4757: Server hangs after teleporting
By: md_5 <git@md-5.net>
2019-04-26 09:45:57 +10:00
CraftBukkit/Spigot
0e0ec84923 SPIGOT-4755: Client freeze when joining world
By: md_5 <git@md-5.net>
2019-04-26 09:37:15 +10:00
CraftBukkit/Spigot
519f0e1153 SPIGOT-4758: --server-port argument does not work
By: md_5 <git@md-5.net>
2019-04-26 09:11:47 +10:00
CraftBukkit/Spigot
660fe1b0df SPIGOT-4751: Update mappings version
By: md_5 <git@md-5.net>
2019-04-26 09:08:32 +10:00
CraftBukkit/Spigot
f011913318 SPIGOT-4737: Bukkit.createWorld causes the server to crash if run after startup
By: md_5 <git@md-5.net>
2019-04-25 15:33:13 +10:00
CraftBukkit/Spigot
71dfecfe22 SPIGOT-4744: Cannot spawn Cat entity
By: md_5 <git@md-5.net>
2019-04-25 14:59:08 +10:00
CraftBukkit/Spigot
c3e41306a8 SPIGOT-4742: Make Sign Colorable
By: md_5 <git@md-5.net>
2019-04-25 14:49:23 +10:00
CraftBukkit/Spigot
c9a23d73a0 Replace ItemTag API with new API that also expands to Tiles and Entities
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-04-25 14:36:46 +10:00
CraftBukkit/Spigot
4198bf7e21 SPIGOT-4741: InventoryHolder no longer returns DoubleChest
By: md_5 <git@md-5.net>
2019-04-25 13:57:18 +10:00
CraftBukkit/Spigot
badc255efc Update to Minecraft 1.14
By: md_5 <git@md-5.net>
2019-04-25 12:00:00 +10:00
CraftBukkit/Spigot
5ea2a0e8e4 Clean diff slightly in MinecraftServer
By: md_5 <git@md-5.net>
2019-04-25 10:14:16 +10:00
CraftBukkit/Spigot
2f808394c5 SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize
By: md_5 <git@md-5.net>
2019-04-25 10:06:40 +10:00
CraftBukkit/Spigot
e9b89119e0 SPIGOT-4734: Sign placement fails when looking at grass
By: md_5 <git@md-5.net>
2019-04-25 09:55:41 +10:00
CraftBukkit/Spigot
455eafa839 SPIGOT-4735: ProjectileHitEvent Fires Immediately
By: md_5 <git@md-5.net>
2019-04-25 09:23:21 +10:00
CraftBukkit/Spigot
5faa894081 SPIGOT-4728: Fix clicking on custom ender chests
By: md_5 <git@md-5.net>
2019-04-24 22:02:45 +10:00
CraftBukkit/Spigot
5fc0b9bc07 SPIGOT-4720: Remove now unnecessary tile fixer
By: md_5 <git@md-5.net>
2019-04-24 10:28:36 +10:00
CraftBukkit/Spigot
7e5fc5e1ba SPIGOT-4722: Cannot get title of player's inventory
By: md_5 <git@md-5.net>
2019-04-24 10:23:12 +10:00
CraftBukkit/Spigot
db7e2f9830 SPIGOT-4725: Virtual Merchant GUI crashes server
By: md_5 <git@md-5.net>
2019-04-24 10:10:41 +10:00
CraftBukkit/Spigot
950a1e4bb8 SPIGOT-4718: Fix creating odd inventory sizes
By: md_5 <git@md-5.net>
2019-04-24 10:01:54 +10:00
CraftBukkit/Spigot
545d8a9948 SPIGOT-4726: Lore not being applied to new items
By: md_5 <git@md-5.net>
2019-04-24 09:54:58 +10:00
CraftBukkit/Spigot
1a66e298de Apply outdated build delay
By: md_5 <git@md-5.net>
2019-04-24 09:52:43 +10:00
CraftBukkit/Spigot
4e5e39eda9 SPIGOT-4727: Fix CraftEvil for legacy plugins
By: md_5 <git@md-5.net>
2019-04-24 09:40:42 +10:00
CraftBukkit/Spigot
b15c3451a2 Fix weird test import in EnderDragonPhaseTest
By: md_5 <git@md-5.net>
2019-04-23 21:28:41 +10:00
CraftBukkit/Spigot
f648ea4541 Fix checkstyle on Windows
By: md_5 <git@md-5.net>
2019-04-23 21:22:20 +10:00
CraftBukkit/Spigot
daff6d0d0c Move execution phase of checkstyle
By: md_5 <git@md-5.net>
2019-04-23 21:01:39 +10:00
CraftBukkit/Spigot
e9906a5c82 SPIGOT-4717: Fix adding recipes after clearRecipes is called
By: md_5 <git@md-5.net>
2019-04-23 20:53:56 +10:00
CraftBukkit/Spigot
09673c1a03 Apply import ordering rules to CraftBukkit classes
By: md_5 <git@md-5.net>
2019-04-23 14:54:36 +10:00
CraftBukkit/Spigot
7afe4d02f8 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:30 +10:00
CraftBukkit/Spigot
a0f2b74c8d Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
CraftBukkit/Spigot
0e98365784 Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-04-22 16:44:07 +10:00
CraftBukkit/Spigot
93e3d6bec1 SPIGOT-4708: Fix ExactChoice recipes neglecting material
By: md_5 <git@md-5.net>
2019-04-21 10:30:37 +10:00
CraftBukkit/Spigot
dee9a212cf SPIGOT-4677: Add minecraft.admin.command_feedback permission
By: md_5 <git@md-5.net>
2019-04-20 13:24:20 +10:00
CraftBukkit/Spigot
3d88c2acc0 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).

By: blablubbabc <lukas@wirsindwir.de>
2019-04-18 11:56:42 +02:00
CraftBukkit/Spigot
9dbf35c38c SPIGOT-4706: Can't interact with active item
By: md_5 <git@md-5.net>
2019-04-20 12:57:02 +10:00
CraftBukkit/Spigot
359720786f Mention requirement of JIRA ticket for bug fixes
By: md_5 <git@md-5.net>
2019-04-18 11:42:53 +10:00
CraftBukkit/Spigot
c7a6f8f4d5 SPIGOT-4702: Exception when middle clicking certain slots
By: md_5 <git@md-5.net>
2019-04-16 20:49:28 +10:00
CraftBukkit/Spigot
c6d3a7e5c4 SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN
By: md_5 <git@md-5.net>
2019-04-15 20:42:51 +10:00
CraftBukkit/Spigot
f890a5eedc SPIGOT-4681: Note about additional world creation on STARTUP
By: md_5 <git@md-5.net>
2019-04-08 20:32:00 +10:00
CraftBukkit/Spigot
6111c0258c SPIGOT-4684: Update persistence of converting zombie villagers
By: md_5 <git@md-5.net>
2019-04-08 20:29:18 +10:00
CraftBukkit/Spigot
aa642d5805 SPIGOT-4691: Fix custom world generator when placing tiles
By: md_5 <git@md-5.net>
2019-04-05 19:59:47 +11:00
CraftBukkit/Spigot
e2b8f51764 Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-26 03:34:56 +01:00
CraftBukkit/Spigot
dd5715f7af SPIGOT-4686: Enchantment ordering nondeterministic
By: md_5 <git@md-5.net>
2019-04-02 21:13:05 +11:00
CraftBukkit/Spigot
10b207e39b SPIGOT-4673: EntitySpawnEvent should not be called for players
By: md_5 <git@md-5.net>
2019-03-26 20:42:04 +11:00
CraftBukkit/Spigot
23997eddd5 SPIGOT-4678: Fix placing signs in certain circumstances
By: md_5 <git@md-5.net>
2019-03-24 21:34:57 +11:00
CraftBukkit/Spigot
48640d6365 SPIGOT-4674: Allow spawning hanging on top/bottom of block
By: md_5 <git@md-5.net>
2019-03-22 20:33:20 +11:00
CraftBukkit/Spigot
622d30f730 Fix dangerously threaded beacons
By: md_5 <git@md-5.net>
2019-03-17 13:08:25 +11:00
CraftBukkit/Spigot
4081927fd4 Don't relocate joptsimple to allow --help to work.
By: md_5 <git@md-5.net>
2019-03-17 12:54:21 +11:00
CraftBukkit/Spigot
f600caaf6a Prepare for imminent Java 12 release
By: md_5 <git@md-5.net>
2019-03-17 12:53:55 +11:00
CraftBukkit/Spigot
dcc541a4a0 Mappings Update
By: md_5 <git@md-5.net>
2019-03-17 11:48:53 +11:00
CraftBukkit/Spigot
c232318c9f SPIGOT-4669: Fix PlayerTeleportEvent coordinates for relative teleports
By: md_5 <git@md-5.net>
2019-03-16 15:10:34 +11:00
CraftBukkit/Spigot
7a7e9aa31e SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-13 04:48:19 +01:00
CraftBukkit/Spigot
6f19c56acd Fix ExplosionPrimeEvent#setFire not working with EnderCrystals
By: Phoenix616 <mail@moep.tv>
2019-03-09 22:29:09 +01:00
CraftBukkit/Spigot
6caa3d0de8 Don't ignore newlines in PlayerListHeader/Footer
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-03-10 11:04:15 +11:00
CraftBukkit/Spigot
d8321eeba1 Rebuild patches
By: md_5 <git@md-5.net>
2019-03-06 16:38:02 +11:00
CraftBukkit/Spigot
0f33d638d0 Improve damage handling of dead entities
By: Phoenix616 <mail@moep.tv>
2019-03-06 01:13:47 +01:00
CraftBukkit/Spigot
6846b3d2d9 SPIGOT-4646: Test + fix InventoryWrapper.getContents
By: md_5 <git@md-5.net>
2019-03-05 16:59:40 +11:00
CraftBukkit/Spigot
a257532ba2 SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
2019-03-05 16:47:33 +11:00
CraftBukkit/Spigot
a6bce7bfb4 SPIGOT-4647: Properly cancel VehicleDamageEvent
By: md_5 <git@md-5.net>
2019-03-05 16:42:23 +11:00
CraftBukkit/Spigot
196d19e95c Use getBukkitEntity for ExplosionPrimeEvent instead of creating new one
By: Phoenix616 <mail@moep.tv>
2019-03-04 16:12:52 +01:00
CraftBukkit/Spigot
d0fdcfcf41 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 21:56:25 +00:00
CraftBukkit/Spigot
94a194355b SPIGOT-4638: Give last registered recipe priority
By: md_5 <git@md-5.net>
2019-02-26 11:17:42 +11:00
CraftBukkit/Spigot
0d8ed5d869 Fix line endings in CraftDefaultPermissions
By: md_5 <git@md-5.net>
2019-02-25 19:41:44 +11:00
CraftBukkit/Spigot
0deb5e7d0a SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.

By: bloodshot <jdroque@gmail.com>
2019-02-24 22:50:05 -05:00
CraftBukkit/Spigot
5c6e6853e3 SPIGOT-4635: Restore shield damage sound
By: md_5 <git@md-5.net>
2019-02-25 18:52:09 +11:00
CraftBukkit/Spigot
ae98c2723b Fix experience reward flag gets lost during MerchantRecipe conversion
By: blablubbabc <lukas@wirsindwir.de>
2019-02-22 19:15:59 +01:00
CraftBukkit/Spigot
da599af692 SPIGOT-4632: BlockState location is not fixed
By: md_5 <git@md-5.net>
2019-02-21 20:32:44 +11:00
CraftBukkit/Spigot
4d93e94dbd Fix CraftInventoryMerchant#getSelectedRecipe if there is no active merchant recipe.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-21 03:06:11 +01:00
CraftBukkit/Spigot
961fc0efe5 Load custom permissions after default permissions.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-17 17:07:56 +01:00
CraftBukkit/Spigot
9ff569d110 Make tags Keyed
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 13:11:51 +10:00
CraftBukkit/Spigot
08d42377e0 Added a method to get a list of tags
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 12:55:01 +10:00
CraftBukkit/Spigot
13289e0c17 SPIGOT-4619: Incorrect packet order for villager inventories
By: md_5 <git@md-5.net>
2019-02-13 17:02:33 +11:00
CraftBukkit/Spigot
a6ec0de609 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.

By: Brokkonaut <hannos17@gmx.de>
2019-02-12 04:49:24 +01:00
CraftBukkit/Spigot
773e44eee7 SPIGOT-4615: Missing target event for withers
By: md_5 <git@md-5.net>
2019-02-10 10:32:24 +11:00
CraftBukkit/Spigot
9b0979baaa Update outdated spigot link
By: md_5 <git@md-5.net>
2019-02-09 10:42:26 +11:00
CraftBukkit/Spigot
64264bdd79 Make AreaEffectCloudApplyEvent cancellable
By: bermudalocket <bermudalckt@gmail.com>
2019-02-07 00:40:41 -05:00
CraftBukkit/Spigot
d39743e20c Fix incorrect method descriptor in previous commit
By: md_5 <git@md-5.net>
2019-02-06 08:08:45 +11:00
CraftBukkit/Spigot
d4aca3321d SPIGOT-4608: Improve quality of MapMeta APIs
By: md_5 <git@md-5.net>
2019-02-05 21:29:03 +11:00
CraftBukkit/Spigot
cda432d64a Don't handle sync packets for kicked players
By: md_5 <git@md-5.net>
2019-02-03 14:23:04 +11:00
CraftBukkit/Spigot
69ea4f2bcd SPIGOT-4602: Cache reflection in decompile error workaround
By: md_5 <git@md-5.net>
2019-02-02 09:57:26 +11:00
CraftBukkit/Spigot
8b6d75b06e SPIGOT-4193: API for selecting entities by strings
By: md_5 <git@md-5.net>
2019-01-31 15:08:25 +11:00
CraftBukkit/Spigot
b8ededbf19 SPIGOT-4597: Make BlockDropItemEvent use a list
By: md_5 <git@md-5.net>
2019-01-30 11:20:39 +11:00
CraftBukkit/Spigot
a3499fa700 SPIGOT-4598: Shift click on custom workbench inventory causes crash
By: md_5 <git@md-5.net>
2019-01-30 11:10:04 +11:00
CraftBukkit/Spigot
50de299d8e Add note about Maven repository usage to pom.xml
By: md_5 <git@md-5.net>
2019-01-29 10:01:29 +11:00
CraftBukkit/Spigot
e5292ad840 Need to update item in hand if fish bucket pickup cancelled
By: md_5 <git@md-5.net>
2019-01-27 15:32:30 +11:00
CraftBukkit/Spigot
eacdff8282 SPIGOT-4591: Must mark itemstacks as dirty in case the handle itself changed
By: md_5 <git@md-5.net>
2019-01-25 20:54:56 +11:00
CraftBukkit/Spigot
38c8747ab6 Consistent multiple choice APIs for RecipeChoice.
By: md_5 <git@md-5.net>
2019-01-25 13:59:11 +11:00
CraftBukkit/Spigot
72a9faa58a Update compiler
By: md_5 <git@md-5.net>
2019-01-23 12:41:31 +11:00
CraftBukkit/Spigot
92278020ef Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
2019-01-23 10:26:43 +11:00
CraftBukkit/Spigot
09b5837195 SPIGOT-4587: Enforce at least one valid choice for FurnaceRecipe
By: md_5 <git@md-5.net>
2019-01-21 10:39:24 +11:00
CraftBukkit/Spigot
9e07e466a9 Fix minecraft.command.selector permission
By: md_5 <git@md-5.net>
2019-01-18 15:59:21 +11:00
CraftBukkit/Spigot
549fd7da45 SPIGOT-4584: Call events for hatching turtle eggs
By: Brokkonaut <hannos17@gmx.de>
2019-01-17 03:02:34 +01:00
CraftBukkit/Spigot
6f596cf9de SPIGOT-4579: Shulker boxes not dropping in creative
By: md_5 <git@md-5.net>
2019-01-14 15:53:54 +11:00
CraftBukkit/Spigot
4ae33ae930 SPIGOT-4576: Fix attributes in itemstack internal data being lost
By: md_5 <git@md-5.net>
2019-01-14 10:20:24 +11:00
CraftBukkit/Spigot
1f4d52d582 SPIGOT-4577: Fix loss of int/double custom tags when serialized to yaml
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-01-13 16:25:17 +01:00
CraftBukkit/Spigot
ca571f46b4 Clarify exception thrown when setting drop chance for player inventory
By: md_5 <git@md-5.net>
2019-01-13 14:10:45 +11:00
CraftBukkit/Spigot
9782a90283 Fix duplicate iron golem add
By: md_5 <git@md-5.net>
2019-01-11 12:37:43 +11:00
CraftBukkit/Spigot
d8f2a7e7cc Fix a bunch of duplicate EntityCombustEvent calls
By: md_5 <git@md-5.net>
2019-01-11 11:41:32 +11:00
CraftBukkit/Spigot
ab7419bd7d SPIGOT-4571: EntityCombustEvent not firing for phantoms
By: md_5 <git@md-5.net>
2019-01-09 20:38:37 +11:00
CraftBukkit/Spigot
5a915978fa SPIGOT-4570: Add FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-01-08 21:23:11 +11:00
CraftBukkit/Spigot
73e6e274ff SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins
By: md_5 <git@md-5.net>
2019-01-08 09:26:34 +11:00
CraftBukkit/Spigot
9276e6f396 Fix BlockDropItemEvent for Skulls and Shulker Boxes
By: md_5 <git@md-5.net>
2019-01-07 13:57:35 +11:00
CraftBukkit/Spigot
6ec5377de8 Load default world spawn areas in consistent order
By: md_5 <git@md-5.net>
2019-01-05 17:05:51 +11:00
CraftBukkit/Spigot
cf22e510c4 Fix confusing migration message appearing on fresh server
By: md_5 <git@md-5.net>
2019-01-05 17:03:12 +11:00
CraftBukkit/Spigot
01688ed577 Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data

By: md_5 <git@md-5.net>
2019-01-05 16:41:02 +11:00
CraftBukkit/Spigot
e2d96edfa7 Process conversation input on the main thread.
Fixes BUKKIT-5611.

By: riking <rikingcoding@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
cf0f429119 Cap Objective Score Length
Adds a check for Score arguments that would crash the client

By: hauno <imhauno@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
b05a252b02 Cross World Entity Teleportation
Use Entity.teleportTo for cross-world teleportation in CraftEntity.

By: Andrew Krieger <Slizyboy@hotmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
bda697612e Check for blank OfflinePlayer Names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
d19f284744 Descriptive kick reasons instead of Nope!
By: drXor <mcyoungsota@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
3eede450ed Cap Channel Registrations
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
fe7c2ee97f Identify CraftScheduler threads with useful names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
44f09e5404 Skip tests on default builds
By: md_5 <git@md-5.net>
2019-01-04 20:25:27 +11:00
CraftBukkit/Spigot
3e70f09bdf SPIGOT-4563: Fix regenerating chunks saved to disk already
By: md_5 <git@md-5.net>
2019-01-03 15:44:06 +11:00
CraftBukkit/Spigot
ec15f56573 Remove redundant BlockPosition creation from sleep API
By: md_5 <git@md-5.net>
2019-01-02 22:58:07 +11:00
CraftBukkit/Spigot
5aff480181 Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:21 +11:00
CraftBukkit/Spigot
1336c4afb9 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:41:31 +11:00
CraftBukkit/Spigot
19795494f3 SPIGOT-4562: reducedDebugInfo not updated on world change
By: md_5 <git@md-5.net>
2019-01-02 10:57:47 +11:00
CraftBukkit/Spigot
d2d0415a74 SPIGOT-4556: Fix plugins closing inventory during drop events
By: md_5 <git@md-5.net>
2018-12-31 10:13:02 +11:00
CraftBukkit/Spigot
92b2d3a400 Replace version constants with methods to prevent compiler inlining
By: md_5 <git@md-5.net>
2018-12-30 16:00:31 +11:00
CraftBukkit/Spigot
adabfc807a Use API method to create offset command completions
By: md_5 <git@md-5.net>
2018-12-28 10:34:51 +11:00
CraftBukkit/Spigot
cf4055b264 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:50 +11:00
CraftBukkit/Spigot
92e8783d1e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent
By: md_5 <git@md-5.net>
2018-12-27 12:19:45 +11:00
CraftBukkit/Spigot
aa6ac2b0e2 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
2018-12-27 12:02:17 +11:00
CraftBukkit/Spigot
b9c01d1768 SPIGOT-1811: Death message not shown on respawn screen
By: md_5 <git@md-5.net>
2018-12-27 11:37:19 +11:00
CraftBukkit/Spigot
6b0b34838e SPIGOT-943: InventoryCloseEvent called on death regardless of open inventory
By: md_5 <git@md-5.net>
2018-12-27 11:36:53 +11:00
CraftBukkit/Spigot
e7b5d8a7cf SPIGOT-794: Call EntityPlaceEvent for Minecart placement
By: md_5 <git@md-5.net>
2018-12-27 10:45:36 +11:00
CraftBukkit/Spigot
d085b4781b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:40:14 +11:00
CraftBukkit/Spigot
6631f07cae Do not use deprecated ItemSpawnEvent constructor
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
fbbba56eca SPIGOT-4547: Call EntitySpawnEvent as general spawn fallback event
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
5e4a190d2c Add PlayerItemDamageEvent
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1f95e4ef1c Add API to get / set base arrow damage
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
70789fee2e Add CraftMagicNumbers.MAPPINGS_VERSION for use by NMS plugins
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
d7e312278d Mappings Update
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
239b2828db SPIGOT-4551: Ignore invalid attribute modifier slots
By: md_5 <git@md-5.net>
2018-12-25 09:27:17 +11:00
CraftBukkit/Spigot
1471b6a942 Reduce copying of positions from block states
By: md_5 <git@md-5.net>
2018-12-22 11:32:11 +11:00
CraftBukkit/Spigot
bcdd4e14ac SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2018-12-22 11:25:14 +11:00
CraftBukkit/Spigot
9ac4c1601e SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API
By: md_5 <git@md-5.net>
2018-12-22 11:04:31 +11:00
CraftBukkit/Spigot
ecd55ecaab Fix Jukebox API not synchronizing playing data with state
By: md_5 <git@md-5.net>
2018-12-22 11:01:20 +11:00
CraftBukkit/Spigot
d6e57b855b SPIGOT-4503: Add API to insert complete ItemStack into Jukebox
By: md_5 <git@md-5.net>
2018-12-22 10:50:57 +11:00
CraftBukkit/Spigot
c030d74398 Make CraftBlockState use BlockPosition
By: md_5 <git@md-5.net>
2018-12-22 10:28:43 +11:00
CraftBukkit/Spigot
1d3a5b9292 SPIGOT-4543: Jukebox playing calls should not use legacy data
By: md_5 <git@md-5.net>
2018-12-22 10:24:13 +11:00
CraftBukkit/Spigot
b33f268413 SPIGOT-4541: Cancelled bucket events require inventory update
By: md_5 <git@md-5.net>
2018-12-22 10:12:16 +11:00
CraftBukkit/Spigot
20287f3b40 Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
2018-12-19 10:53:08 +11:00
CraftBukkit/Spigot
0cbe91dd0f SPIGOT-2151: Add support for getting simple bounding box of a block
By: Evoluseis <contact@evoluseis.me>
2018-12-17 19:11:04 -05:00
CraftBukkit/Spigot
42831b84cd Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-12-16 18:21:29 -05:00
CraftBukkit/Spigot
7114dbbb9d SPIGOT-4534: Only call event for new chunks
By: md_5 <git@md-5.net>
2018-12-17 21:36:21 +11:00
CraftBukkit/Spigot
0d2bc86153 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN
By: md_5 <git@md-5.net>
2018-12-17 12:30:16 +11:00
CraftBukkit/Spigot
ee3eaaf511 SPIGOT-4527: Fix sponges with waterlogged blocks
By: md_5 <git@md-5.net>
2018-12-13 14:28:34 +11:00
CraftBukkit/Spigot
bbf578d00a SPIGOT-4526: Add conversion time API for Zombie & subclasses
By: md_5 <git@md-5.net>
2018-12-13 14:10:36 +11:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
8817bc22d9 Fix missing ServerListPingEvent call for legacy pings
By: md_5 <git@md-5.net>
2018-12-12 11:19:31 +11:00
CraftBukkit/Spigot
c388691b53 Remove unnecessary line in BlockMushroom
By: md_5 <git@md-5.net>
2018-12-10 11:14:39 +11:00
CraftBukkit/Spigot
d2a0453b60 Add PlayerSpawned API for Endermites
By: md_5 <git@md-5.net>
2018-12-10 10:39:54 +11:00
CraftBukkit/Spigot
344ffef3d9 Enable optional source JAR shading via profile shadeSourcesJar
mvn clean source:jar install -PshadeSouresJar

achieves this goal. If 'source:jar' is not specified the resulting
source JAR will not include CraftBukkit sources. Not specifying
'install' will result in an unshaded CraftBukkit source JAR and not
include other sources, making it useless for debugging purposes.
Shade CraftBukkit sources JAR.

Add maven-shade-plugin configuration directives to create sources JAR
and shade contents thereof. This ensures when source:jar goal is run,
relocated CraftBukkit source files are also relocated for debugging
and final code review purposes.

By: Javacraft <frelling@java-craft.com>
2018-12-05 23:04:41 -05:00
CraftBukkit/Spigot
21a5dbe50f Use ImmutableList rather than AbstractList for CraftMetaBook
Although the AbstracList implementation does return a list, it is a
of a form that does not play well with libraries using reflection,
such as Gson. Leveraging a stream and the ImmutableList collector,
this process is greatly simplified (and cleaner).

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:44:07 -05:00
CraftBukkit/Spigot
98ccac33d9 Fix setRecipes(List) not setting Knowledge Book recipes.
Iterator source for recipe NamespacedKeys is changed to use method
parameter 'recipes' specifying recipes to be added, rather than class
property 'recipes', to which recipes are added.

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:22:03 -05:00
CraftBukkit/Spigot
102dee7d4f Mappings Update
By: md_5 <git@md-5.net>
2018-12-06 10:00:00 +11:00
CraftBukkit/Spigot
e9e6bec4e5 Add list of entities to EntityTransformEvent & move die calls
By: nathat890 <nathat890@outlook.com>
2018-12-05 09:51:20 +11:00
CraftBukkit/Spigot
b69f1de549 SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks
By: Bjarne Koll <LynxPlay101@gmail.com>
2018-12-01 20:26:23 +11:00
CraftBukkit/Spigot
7124aea9c6 Add Vanilla help to default permissions
By: md_5 <git@md-5.net>
2018-12-03 15:16:27 +11:00
CraftBukkit/Spigot
78841baf49 SPIGOT-4511: Trident doesn't lose durability
By: md_5 <git@md-5.net>
2018-12-01 08:18:09 +11:00
CraftBukkit/Spigot
44708f20d8 Tweak outdated windows
By: md_5 <git@md-5.net>
2018-11-28 15:22:20 +11:00
CraftBukkit/Spigot
c6b5dde39f SPIGOT-4507: BlockRedstoneEvent current flipped for levers
By: md_5 <git@md-5.net>
2018-11-28 09:09:56 +11:00
CraftBukkit/Spigot
1114d726cd SPIGOT-4500: callSyncMethod broken
By: md_5 <git@md-5.net>
2018-11-24 17:52:29 +11:00
CraftBukkit/Spigot
9e6d9e593e SPIGOT-4498: Crash on startup
By: md_5 <git@md-5.net>
2018-11-23 14:20:59 +11:00
CraftBukkit/Spigot
273056bd1a SPIGOT-4496: Undeprecate MapView.getId and make int
By: md_5 <git@md-5.net>
2018-11-23 11:50:48 +11:00
CraftBukkit/Spigot
dcef5ef747 SPIGOT-4472: Add Consumer scheduler methods
By: md_5 <git@md-5.net>
2018-11-23 11:40:18 +11:00
CraftBukkit/Spigot
3ea49a159d SPIGOT-4494: Remove fix for SPIGOT-3864, better handled by SPIGOT-3879 fix
By: md_5 <git@md-5.net>
2018-11-20 21:34:15 +11:00
CraftBukkit/Spigot
86353db2aa SPIGOT-4491: Fix InventoryMoveItemEvent causing repeated events
By: md_5 <git@md-5.net>
2018-11-19 20:59:37 +11:00
CraftBukkit/Spigot
c7663abcaa Add Player to BlockCanBuildEvent
By: md_5 <git@md-5.net>
2018-11-18 09:27:46 +11:00
CraftBukkit/Spigot
699739c7f0 SPIGOT-4489: NOTE_BLOCK incorrectly has BlockStateMeta
By: md_5 <git@md-5.net>
2018-11-16 15:18:28 +11:00
CraftBukkit/Spigot
d625045ee2 Add some missing CreatureSpawnEvent.SpawnReason calls
By: md_5 <git@md-5.net>
2018-11-14 14:17:25 +11:00
CraftBukkit/Spigot
6fd5f1379b SPIGOT-4339: Add EntityTransformEvent
Thanks klugemonkey for some contributions in https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/351/overview

By: nathat890 <nathat890@outlook.com>
2018-11-14 14:10:22 +11:00
CraftBukkit/Spigot
04cffd8092 SPIGOT-4483: Missing EntityInteractEvent call for zombies on eggs
By: md_5 <git@md-5.net>
2018-11-12 19:19:04 +11:00
CraftBukkit/Spigot
696aca057f SPIGOT-4477: Arrows only firing direction of boat
By: md_5 <git@md-5.net>
2018-11-10 20:36:35 +11:00
CraftBukkit/Spigot
0902bb4e34 SPIGOT-4478: NPE during PlayerLoginEvent recipe manipulation
By: md_5 <git@md-5.net>
2018-11-10 20:30:58 +11:00
CraftBukkit/Spigot
3433c5e374 Add API to manipulate boss bar of entities and those created by commands
By: Yannick Lamprecht <yannicklamprecht@live.de>
2018-11-10 20:22:39 +11:00
CraftBukkit/Spigot
6f6c96bd33 SPIGOT-4469: Age API for EndGateway
By: md_5 <git@md-5.net>
2018-11-06 18:12:31 +11:00