13
0
geforkt von Mirrors/Paper
Commit graph

2756 Commits

Autor SHA1 Nachricht Datum
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
a13bf3a57f SPIGOT-5900: Add test for the order of Material enum entries
By: Ben Woodworth <ben@benwoodworth.net>
2020-07-02 09:34:13 +10:00
CraftBukkit/Spigot
65e8faf29a #682: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:18 +10:00
CraftBukkit/Spigot
182e057932 Change outdated build delay to 3 days
By: md_5 <git@md-5.net>
2020-07-02 09:07:18 +10:00
CraftBukkit/Spigot
fbb02f52f2 Improve code formatting
By: md_5 <git@md-5.net>
2020-07-01 14:17:48 +10:00
CraftBukkit/Spigot
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
fff84f2f22 CraftChatMessageTest does not need AbstractTestingBase
By: md_5 <git@md-5.net>
2020-06-27 09:28:17 +10:00
CraftBukkit/Spigot
ffa9c1bc00 SPIGOT-5828: Unlock worlds on unload
By: md_5 <git@md-5.net>
2020-06-27 09:15:14 +10:00
CraftBukkit/Spigot
d709e3ffee SPIGOT-5841: New map colours broken
By: md_5 <git@md-5.net>
2020-06-27 09:05:09 +10:00
CraftBukkit/Spigot
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
515509a1a9 #665: Add test for Material#getCraftingRemainingItem()
By: ben <ben@benwoodworth.net>
2020-05-28 19:31:27 +10:00
CraftBukkit/Spigot
9862a0135d SPIGOT-5749: ItemMeta serializing to YAML not saving black colour code
By: md_5 <git@md-5.net>
2020-05-26 19:39:03 +10:00
CraftBukkit/Spigot
edf9390114 SPIGOT-5748: Add instant effect potion break to the Effect enum
Conversion from Color to integer for the data of the new enum entry

By: WinX64 <winx64b@hotmail.com>
2020-05-26 19:34:39 +10:00
CraftBukkit/Spigot
809449f545 SPIGOT-5716: Clarify documentation of MultipleFacing
By: md_5 <git@md-5.net>
2020-05-09 16:12:18 +10:00
CraftBukkit/Spigot
a00b0adb43 SPIGOT-5718: Block.BreakBlockNaturally does not reflect tool used
By: md_5 <git@md-5.net>
2020-05-09 16:05:17 +10:00
CraftBukkit/Spigot
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
2b704c8cf9 SPIGOT-5516: Correct EnchantmentTarget values
By: md_5 <git@md-5.net>
2020-01-15 14:20:14 +11:00
CraftBukkit/Spigot
bc8ef512e1 #616: Fix exception on entity portal teleport attempt
By: Phoenix616 <mail@moep.tv>
2020-01-14 15:10:30 +01:00
CraftBukkit/Spigot
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
20283452c6 SPIGOT-5341: Add Material.isAir
By: md_5 <git@md-5.net>
2019-10-06 18:41:56 +11:00
CraftBukkit/Spigot
eae7eb06df SPIGOT-5342: Lore lost when deserializing items with no version stored
By: md_5 <git@md-5.net>
2019-10-06 18:34:51 +11:00
CraftBukkit/Spigot
70d89c1a78 SPIGOT-5353: Expand explosion API by adding source entity
By: md_5 <git@md-5.net>
2019-10-05 17:16:52 +10:00
CraftBukkit/Spigot
dc1edccd98 SPIGOT-5331: Add support for Java 13
By: md_5 <git@md-5.net>
2019-09-18 20:03:54 +10:00
CraftBukkit/Spigot
b098d89339 SPIGOT-5317: Create accessors for player absorption hearts
By: md_5 <git@md-5.net>
2019-09-13 20:04:43 +10:00
CraftBukkit/Spigot
69d28a880a SPIGOT-5315: Cannot serialize armor stand ItemMeta
By: md_5 <git@md-5.net>
2019-09-11 18:14:46 +10:00
CraftBukkit/Spigot
7f5d81e0b0 SPIGOT-5158: Add SuspiciousStewMeta
By: ShaneBeee <shanebolenback@me.com>
2019-09-08 02:49:12 -07:00
CraftBukkit/Spigot
280cf8ba51 SPIGOT-5310: Add Chunk.contains
By: md_5 <git@md-5.net>
2019-09-08 11:39:08 +10:00
CraftBukkit/Spigot
473130fb2b SPIGOT-3308: RecipeIterator cannot longer remove recipes
By: md_5 <git@md-5.net>
2019-09-07 17:07:36 +10:00
CraftBukkit/Spigot
6a3743030e Add API to get/set inhabited time of a Chunk
By: md_5 <git@md-5.net>
2019-09-07 16:48:30 +10:00
CraftBukkit/Spigot
136363e657 SPIGOT-5250: Add ChunkSnapshot.contains
By: md_5 <git@md-5.net>
2019-09-07 16:40:30 +10:00
CraftBukkit/Spigot
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
672c7bfa97 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full
By: PurkkaKoodari <purkka@purkka.codes>
2019-06-06 01:32:32 +03:00
CraftBukkit/Spigot
223b5e4c95 SPIGOT-5037: Player.openMerchant does not show merchant level
By: md_5 <git@md-5.net>
2019-06-07 19:48:12 +10:00
CraftBukkit/Spigot
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
1915b49ec3 SPIGOT-4872: LootTables missing a few loot tables
By: md_5 <git@md-5.net>
2019-05-06 08:40:15 +10:00
CraftBukkit/Spigot
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
a3c770141e SPIGOT-4818: Unit test banner patterns
By: md_5 <git@md-5.net>
2019-04-30 15:20:11 +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
b15c3451a2 Fix weird test import in EnderDragonPhaseTest
By: md_5 <git@md-5.net>
2019-04-23 21:28:41 +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
3d88c2acc0 Remove the Damage tag from items when it is 0.
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.

These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).

If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).

By: blablubbabc <lukas@wirsindwir.de>
2019-04-18 11:56:42 +02:00
CraftBukkit/Spigot
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
a6ec0de609 Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.

By: Brokkonaut <hannos17@gmx.de>
2019-02-12 04:49:24 +01:00
CraftBukkit/Spigot
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