13
0
geforkt von Mirrors/Paper
Commit graph

2917 Commits

Autor SHA1 Nachricht Datum
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
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
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
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
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
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
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
f359c7a3ec Fix new map colors rendering as transparent
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 19:56:13 +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
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
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
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
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
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
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
9764b58089 #831: Reload unloaded main worlds correctly
By: Kermina Awad <kerminaawad@gmail.com>
2021-05-12 17:20:27 +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
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
31ba2167bd SPIGOT-6350: Fix wrong portal block place order
By: DerFrZocker <derrieple@gmail.com>
2021-05-02 18:58:07 +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
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
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
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
15305e6842 SPIGOT-6357: Add World#getMinHeight
By: md_5 <git@md-5.net>
2021-03-28 19:31:50 +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
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
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
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
849c37e463 SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
2021-02-13 10:25:52 +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
04c4f1b337 Add more checkstyle checks
By: md_5 <git@md-5.net>
2021-01-31 10:08:41 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b0f809f617 #734: Add EnderSignal ItemStack API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-28 12:35:14 +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
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
8a80efc01d SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:19 +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
9262b0c735 Increase outdated build delay
By: md_5 <git@md-5.net>
2020-08-20 19:31:48 +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
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
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
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
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
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
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
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
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
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
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
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
6edd913305 #676: Add PlayerHarvestBlockEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-07-03 15:07:15 +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
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
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
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
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
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
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
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
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
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
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
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
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
bafa4625d1 SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
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
33a09c7f27 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-06-20 12:50:13 +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
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
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
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
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
92afab4058 SPIGOT-5603: Use LootContext#lootingModifier in CraftLootTable
By: konsolas <vincentyntang@gmail.com>
2020-04-08 17:11:22 +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
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
e6566a0503 SPIGOT-5484: Add more spawn tick settings
By: Phoenix616 <mail@moep.tv>
2020-03-07 18:30:21 +01: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
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
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
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
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
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
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
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
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
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
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
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
bc8ef512e1 #616: Fix exception on entity portal teleport attempt
By: Phoenix616 <mail@moep.tv>
2020-01-14 15:10:30 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
791c4f2d14 SPIGOT-5370: Fix Block#rayTrace considering other blocks.
By: blablubbabc <lukas@wirsindwir.de>
2019-10-18 20:28:06 +02: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
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
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
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
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
8c18f2deaf SPIGOT-5211: Add Raid API
By: anhcraft <admin@anhcraft.dev>
2019-08-12 18:43:10 +07: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
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
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
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
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
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
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
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
dacd4f2a36 Tweak build expiration to 7 days
By: md_5 <git@md-5.net>
2019-07-10 19:57:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
acd04ff0d0 SPIGOT-4833: Allow access to LivingEntity memories
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-05-19 19:58:41 +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
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
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
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
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
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
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
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
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
5a40b00a62 SPIGOT-4863: --eraseCache doesn't work
By: md_5 <git@md-5.net>
2019-05-04 20:54:32 +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
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
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
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
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
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
fb196561cb SPIGOT-4778: Bell Attachment is missing
By: md_5 <git@md-5.net>
2019-04-27 09:33:00 +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
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
660fe1b0df SPIGOT-4751: Update mappings version
By: md_5 <git@md-5.net>
2019-04-26 09:08:32 +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
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
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
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
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
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
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
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
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
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
6caa3d0de8 Don't ignore newlines in PlayerListHeader/Footer
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-03-10 11:04:15 +11: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
d0fdcfcf41 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 21:56:25 +00: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
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
9b0979baaa Update outdated spigot link
By: md_5 <git@md-5.net>
2019-02-09 10:42:26 +11: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
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
38c8747ab6 Consistent multiple choice APIs for RecipeChoice.
By: md_5 <git@md-5.net>
2019-01-25 13:59:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
d2a0453b60 Add PlayerSpawned API for Endermites
By: md_5 <git@md-5.net>
2018-12-10 10:39:54 +11: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
44708f20d8 Tweak outdated windows
By: md_5 <git@md-5.net>
2018-11-28 15:22:20 +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
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
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
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
CraftBukkit/Spigot
ed68e3973e SPIGOT-4438: Add choice API to furnace recipes
By: md_5 <git@md-5.net>
2018-11-03 21:04:33 +11:00
CraftBukkit/Spigot
88f0b69603 API to get client side view distance.
By: md_5 <git@md-5.net>
2018-11-02 21:24:14 +11:00
CraftBukkit/Spigot
3adff790f9 Remove note about development build
By: md_5 <git@md-5.net>
2018-11-02 19:19:00 +11:00
CraftBukkit/Spigot
6c57828988 SPIGOT-4395: Additions to PlayerBedEnterEvent.
Contributions by blablubbabc as well - https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/500/overview

By: Ugleh <troti@ymail.com>
2018-11-02 18:31:00 +11:00
CraftBukkit/Spigot
bd22f8a46c Make natural item dropping mimic Vanilla
Make sure we don't regress SPIGOT-260 by using exact drop method like Entity does

By: md_5 <git@md-5.net>
2018-10-31 20:09:21 +11:00
CraftBukkit/Spigot
5ba0644847 SPIGOT-4376: Add draft BlockDropItemEvent
By: AndaBlock <anda.block12345@outlook.de>
2018-10-31 19:55:04 +11:00
CraftBukkit/Spigot
43b017f431 SPIGOT-4455: ChunkData.getType returns legacy material
By: md_5 <git@md-5.net>
2018-10-29 07:17:59 +11:00
CraftBukkit/Spigot
b092fdb392 SPIGOT-4447: Clear error for people trying to set an item as a block
By: md_5 <git@md-5.net>
2018-10-27 08:21:49 +11:00
CraftBukkit/Spigot
77d92cd515 SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
By: md_5 <git@md-5.net>
2018-10-27 08:15:41 +11:00
CraftBukkit/Spigot
369edcded9 Add ray tracing and bounding box API
By: blablubbabc <lukas@wirsindwir.de>
2018-10-26 19:59:42 +11:00
CraftBukkit/Spigot
4614a811c9 SPIGOT-4443: Scoreboard RenderType API
By: md_5 <git@md-5.net>
2018-10-26 19:38:41 +11:00
CraftBukkit/Spigot
a194267323 Update to Minecraft 1.13.2
By: md_5 <git@md-5.net>
2018-10-23 06:00:00 +11:00
CraftBukkit/Spigot
6fe7587c8f Remove outdated build delay.
By: md_5 <git@md-5.net>
2018-10-23 05:57:42 +11:00
CraftBukkit/Spigot
6f0acecee5 Add Block#isPassable
By: blablubbabc <lukas@wirsindwir.de>
2018-10-12 00:54:10 +02:00
CraftBukkit/Spigot
be0cc7cf03 Catch plugins setting null Material or BlockData to blocks
By: md_5 <git@md-5.net>
2018-10-13 09:43:05 +11:00
CraftBukkit/Spigot
d41b707a1b Implement maximum repair cost API to AnvilInventory
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-05 21:48:54 -04:00
CraftBukkit/Spigot
ba6edc9b8c SPIGOT-4411: Document use of null for shulker colours
By: md_5 <git@md-5.net>
2018-10-06 10:17:06 +10:00
CraftBukkit/Spigot
30980b852c Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-29 19:24:51 -04:00
CraftBukkit/Spigot
a0b017be88 SPIGOT-4398: Set ASM7_EXPERIMENTAL flag
By: md_5 <git@md-5.net>
2018-09-27 20:54:14 +10:00
CraftBukkit/Spigot
686bbbbc2b SPIGOT-4397: isChunkGenerated API
By: md_5 <git@md-5.net>
2018-09-26 17:19:16 +10:00
CraftBukkit/Spigot
1075b02812 API to generate filled explorer maps
By: Ugleh <troti@ymail.com>
2018-09-24 19:32:34 +10:00
CraftBukkit/Spigot
4aeb1a6fcd SPIGOT-4391: Sign editable API
By: md_5 <git@md-5.net>
2018-09-24 15:01:10 +10:00
CraftBukkit/Spigot
f30fa96d60 SPIGOT-4389: Fix empty custom inventory title
By: md_5 <git@md-5.net>
2018-09-23 19:14:32 +10:00
CraftBukkit/Spigot
1447b01a56 Don't throw error on invalid data in CraftMetaItem.
By: Senmori <thesenmori@gmail.com>
2018-09-22 10:25:27 -04:00
CraftBukkit/Spigot
0cd71e5e07 Increase expiration time to 10 days
By: md_5 <git@md-5.net>
2018-09-22 17:14:27 +10:00
CraftBukkit/Spigot
ded48a6734 Add API to locate structures.
By: Senmori <thesenmori@gmail.com>
2018-09-21 08:49:54 -04:00
CraftBukkit/Spigot
5df4c4d300 SPIGOT-1916: Attribute modifiers for ItemStacks
By: Senmori <thesenmori@gmail.com>
2018-09-21 20:47:37 +10:00
CraftBukkit/Spigot
109005b578 Implement BatToggleSleepEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-16 12:57:03 -04:00
CraftBukkit/Spigot
8ad7440dbd SPIGOT-4373: Item display colours are white by default
Should probably look at all this code at some point

By: md_5 <git@md-5.net>
2018-09-16 08:30:11 +10:00
CraftBukkit/Spigot
18c459de8d SPIGOT-4363: Bad colours in leather armor
By: md_5 <git@md-5.net>
2018-09-11 20:44:34 +10:00
CraftBukkit/Spigot
41347a700a SPIGOT-4314: Ability to change item in frame without playing sound
By: simpleauthority <jacob@algorithmjunkie.com>
2018-09-11 00:09:10 -07:00
CraftBukkit/Spigot
5ac0aa1dbb SPIGOT-4352: MoistureChangeEvent
By: md_5 <git@md-5.net>
2018-09-09 18:53:38 +10:00
CraftBukkit/Spigot
e548ec8ea7 Add ServerLoadEvent
By: Pante <matthiasngeozhongsim@yahoo.com>
2018-09-08 13:37:15 +10:00
CraftBukkit/Spigot
eeb96c0247 SPIGOT-4348: Use online player for setting skull owner if possible
By: md_5 <git@md-5.net>
2018-09-06 20:47:37 +10:00
CraftBukkit/Spigot
7ef8f672e0 Add getFacing method to get the current cardinal direction an entity is facing.
By: Senmori <thesenmori@gmail.com>
2018-09-02 18:28:53 -04:00
CraftBukkit/Spigot
44e4798b95 SPIGOT-4338: breedCause API
By: md_5 <git@md-5.net>
2018-09-01 19:28:12 +10:00
CraftBukkit/Spigot
eb271172ce Fix unbound shaped recipe ingredients
By: md_5 <git@md-5.net>
2018-09-01 14:12:20 +10:00
CraftBukkit/Spigot
b4f00b45eb Expand Recipe API to allow multiple Materials per slot
By: md_5 <git@md-5.net>
2018-09-01 11:04:48 +10:00
CraftBukkit/Spigot
3f8a87dfc5 SPIGOT-4325: Validate coordinate arguments in Chunk/ChunkSnapshot
By: md_5 <git@md-5.net>
2018-08-29 07:44:36 +10:00
CraftBukkit/Spigot
da45a06d52 SPIGOT-4321: Team#getSuffix returns the prefix
By: md_5 <git@md-5.net>
2018-08-29 07:26:59 +10:00
CraftBukkit/Spigot
e75b0ca57e SPIGOT-4319: Conduit damage should be a block event
By: md_5 <git@md-5.net>
2018-08-28 21:00:24 +10:00
CraftBukkit/Spigot
979887d20e SPIGOT-4318: More missing spawn eggs
By: md_5 <git@md-5.net>
2018-08-27 21:01:46 +10:00
CraftBukkit/Spigot
6e786d4111 Fix some formatting in CraftLootable
By: md_5 <git@md-5.net>
2018-08-27 18:32:35 +10:00
CraftBukkit/Spigot
844b70144f SPIGOT-4316: Do even less processing when block placement without physics requested
By: md_5 <git@md-5.net>
2018-08-27 18:27:59 +10:00
CraftBukkit/Spigot
2e41945330 SPIGOT-4313: Unsupported plugin should not crash server
By: md_5 <git@md-5.net>
2018-08-27 12:57:04 +10:00
CraftBukkit/Spigot
891ea11907 SPIGOT-4310: Reset villager career level with trades
By: md_5 <git@md-5.net>
2018-08-27 07:00:56 +10:00
CraftBukkit/Spigot
0a468a6738 SPIGOT-4307: Fix hacky API for banners on shields
By: md_5 <git@md-5.net>
2018-08-26 19:18:56 +10:00
CraftBukkit/Spigot
3edc1cf4e0 SPIGOT-4301: Fix more invalid enchants
By: md_5 <git@md-5.net>
2018-08-26 18:48:32 +10:00
CraftBukkit/Spigot
fbec5a9647 SPIGOT-4309: Add "forced" display of particles
By: md_5 <git@md-5.net>
2018-08-26 18:26:09 +10:00
CraftBukkit/Spigot
9fb6b929e8 Add additional tests for CraftBlockData
By: Senmori <thesenmori@gmail.com>
2018-08-25 01:35:40 -04:00
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
034c12d001 Add note about 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 13:58:37 +10:00
CraftBukkit/Spigot
0be99ea5b2 Remove reflection from CraftBlockData
By: md_5 <git@md-5.net>
2018-08-25 08:39:04 +10:00
CraftBukkit/Spigot
90eefedd86 SPIGOT-4298: Block command sender returns wrong block
By: md_5 <git@md-5.net>
2018-08-22 08:52:17 +10:00
CraftBukkit/Spigot
827d433b65 SPIGOT-4296: Ensure recipe group set in craft translation
By: md_5 <git@md-5.net>
2018-08-21 18:19:37 +10:00
CraftBukkit/Spigot
d54bf8e32b launchProjectile Fish -> FishHook
Thanks Senmori & SpoonFed on IRC

By: md_5 <git@md-5.net>
2018-08-20 18:13:45 +10:00
CraftBukkit/Spigot
7b1ac0159a SPIGOT-4292: Ignore itemstacks with invalid enchants
By: md_5 <git@md-5.net>
2018-08-20 12:49:31 +10:00
CraftBukkit/Spigot
6a88bd220a SPIGOT-4283: Allow setting recipe groups
By: md_5 <git@md-5.net>
2018-08-17 20:40:54 +10:00
CraftBukkit/Spigot
56db52c14b SPIGOT-4276: Fix untyped statistics causing client errors
By: BlackHole <black-hole@live.com>
2018-08-15 23:51:10 +02:00
CraftBukkit/Spigot
02605d55b6 SPIGOT-4271: Fix API error when enderman are not carrying a block
By: md_5 <git@md-5.net>
2018-08-15 08:51:18 +10:00