5345 Commits

Author SHA1 Message Date
Parker Hawke
878b43758d
#772: Add API to set equipment silently 2020-12-21 18:30:48 +11:00
montlikadani
22d7fcc98f
SPIGOT-6256: Add method to check if the entity is in water 2020-12-21 18:20:54 +11:00
pop4959
768d7fc2df
#773: Add method to get max world size 2020-12-13 11:30:54 +11:00
md_5
5b747147e7
Increase outdated build delay 2020-12-03 19:29:47 +11:00
Parker Hawke
e1ebdd927a
#771: Add clear weather World API 2020-11-26 10:08:19 +11:00
Martoph
424598d294
#752: Add the ability to retrieve hit, step, fall, and other sounds from blocks. 2020-11-26 09:36:57 +11:00
Phoenix616
167ff59173
#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.
2020-11-19 10:16:26 +11:00
md_5
4475707d74
SPIGOT-6244: /spawnpoint ignores angle 2020-11-18 08:13:56 +11:00
md_5
8b3b096d1a
SPIGOT-6242: Fix some file line endings 2020-11-18 08:13:04 +11:00
md_5
4b33c74995
SPIGOT-6186: Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error 2020-11-17 13:47:05 +11:00
md_5
2b3ca7264e
SPIGOT-6236: Vehicle passenger portal cooldown does not change 2020-11-17 12:29:51 +11:00
md_5
23618b2cb5
SPIGOT-6240: Use correct portal search radius 2020-11-13 18:06:34 +11:00
Airtheon
009f0ba0ef
#769: Fix FishHook.maxWaitTime 2020-11-09 18:21:10 +11:00
Airtheon
bc6a175eff
#767: Add wait time modification for FishHook 2020-11-06 18:51:48 +11:00
Sander Knauff
2fc37bcc05
SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds 2020-11-06 18:46:21 +11:00
md_5
3eb7236e44
SPIGOT-6217: Missed PlayerEditBookEvent when editing books 2020-11-04 19:45:54 +11:00
Mariell Hoversholm
6fd677caf2
SPIGOT-6206: Use correct sender UUID for chat messages 2020-11-03 19:02:28 +11:00
md_5
a489dd4ac9
Revert "Downgrade NMS revision"
This reverts commit dd10b375c2bca25cf5f7acf2a832895839dcbaf0.
2020-11-03 19:02:28 +11:00
Mariell Hoversholm
ce64c84ca8
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.
2020-11-03 18:15:08 +11:00
md_5
dd10b375c2
Downgrade NMS revision
This is not a precedent, please see https://www.spigotmc.org/wiki/nms/
2020-11-03 18:15:08 +11:00
md_5
3af81c7179
Update to Minecraft 1.16.4 2020-11-03 07:00:00 +11:00
md_5
dea4138900
Remove outdated build delay. 2020-10-25 18:10:28 +11:00
Jakub Zacek
9da3b5bff8
#762: Add TNTPrimed#setSource method 2020-10-25 18:10:08 +11:00
Sander Knauff
55a78ffbd7
SPIGOT-6193: Allow small fireballs to ignite players when MobGriefing is disabled 2020-10-23 18:29:08 +11:00
md_5
b8dd5ec216
Rename Chunk "BukkitValues" key to "ChunkBukkitValues"
This will discard extra data increasing the size of the chunk from users affected by the bug in the previous commits.
The impact of this (affecting all users) is likely to be much higher than users with plugins relying on an API introduced within the last 12 hours.
2020-10-18 07:24:10 +11:00
Bjarne Koll
9e91bcabf2
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.
2020-10-18 07:01:15 +11:00
md_5
4ef13f94d6
Misc maven build updates 2020-10-17 17:57:05 +11:00
Mariell Hoversholm
04639f5a2f
#759: Allow sending messages from specific UUIDs 2020-10-17 17:46:14 +11:00
Nesaak
77c894a2ab
#672: Add PersistentDataHolder to Chunk 2020-10-17 17:41:56 +11:00
Shane Bee
055870c4bc
#758: Item - add getters/setters for owner/thrower 2020-10-14 19:56:14 +11:00
Shane Bee
29dd68eb99
#757: PoweredMinecart - add getter/setter for fuel 2020-10-13 18:59:56 +11:00
md_5
2a3ca137e1
SPIGOT-6175: Fix generating loot tables for entities 2020-10-11 10:23:10 +11:00
md_5
1f4693a8c3
SPIGOT-6168: Fix error with Player.getBedSpawnLocation when world is unloaded while server running 2020-10-06 18:36:43 +11:00
md_5
aa8206a857
SPIGOT-6130: Fix API loot table generation with certain contexts 2020-10-03 10:27:00 +10:00
md_5
5c77bd2816
SPIGOT-6147: InventoryCloseEvent does not fire after closing player inventory 2020-10-01 19:07:54 +10:00
md_5
5da21f87d6
SPIGOT-6152: End exit gates in custom ends do not send back to overworld 2020-09-30 08:58:36 +10:00
md_5
1ee373fe28
SPIGOT-6157: Crash when PortalCreateEvent cancelled 2020-09-29 18:10:57 +10:00
SydMontague
a339310c48
#755: Fix NPE when calling getInventory() for virtual EnderChests 2020-09-27 11:47:50 +10:00
md_5
2577f9bfbe
Increase outdated build delay 2020-09-25 17:12:30 +10:00
SydMontague
1dabfdc82f
#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.
2020-09-25 17:09:59 +10:00
Shane Bee
f8d4da08e1
#743: LivingEntity - add methods for getting/setting invisibility 2020-09-19 17:48:58 +10:00
Martoph
da9bb3ea92
#753: RecipeIterator#hasNext will now accurately represent if the current iterator has a next item. 2020-09-18 18:44:19 +10:00
Martoph
890130b460
#746: Add Fluid types / tags 2020-09-14 19:41:46 +10:00
md_5
d5a7296002
SPIGOT-6063: ConsoleSender sending extra lines in Java 13+ 2020-09-12 09:05:20 +10:00
Brokkonaut
6f55306c44
SPIGOT-5794: Only skip interact event if position, hand and itemstack are equal 2020-09-12 08:36:10 +10:00
md_5
bf3d720714
Update to Minecraft 1.16.3 2020-09-11 07:00:00 +10:00
md_5
0d8350af4e
Remove outdated build delay. 2020-09-11 06:51:08 +10:00
Brokkonaut
b8ee6a89fd
SPIGOT-6125: Grass path should only fade when it is invalid at that location 2020-09-08 12:17:23 +10:00
Brokkonaut
a939fbdf0b
SPIGOT-6123: Call EntityDamageEvent when a shulker bullet gets damaged 2020-09-06 18:13:21 +10:00
md_5
a05df28a78
SPIGOT-6122: Revert "SPIGOT-5794: Do not skip PlayerInteractEvent"
This reverts commit 00bff02703914a4656c43afa5991db84626d0cb8.
2020-09-04 06:40:14 +10:00