4380 Commits

Author SHA1 Message Date
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
8b3b096d1a
SPIGOT-6242: Fix some file line endings 2020-11-18 08:13:04 +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
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
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
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
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
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
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
Phoenix616
13fc33f732
#744: Add ability to get location from smithing inventory 2020-09-03 08:18:30 +10:00
Martoph
39806409e7
#697: Add ArrowBodyCountChangeEvent 2020-09-02 18:59:17 +10:00
Parker Hawke
927200a961
#718: Add consumed item, hand and consumeItem boolean to EntityShootBowEvent 2020-08-31 18:39:12 +10:00
Brokkonaut
6008e6660a
SPIGOT-6025: Do not NPE when target world of a compass no longer exists 2020-08-31 17:12:48 +10:00
DiamondDagger590
3f572834a6
#740: Fix EntityDamageEvent not being called for non EntityDamageSource for End Crystals 2020-08-28 18:41:34 +10:00
Parker Hawke
7d31adb5f7
#734: Add EnderSignal ItemStack API 2020-08-28 12:35:14 +10:00
md_5
bfea455968
SPIGOT-6111: NPE in CraftHumanEntity#openWorkbench & CraftHumanEntity#openEnchanting 2020-08-27 18:32:52 +10:00
Parker Hawke
eae1594350
#721: Add EntityCategory API to LivingEntity 2020-08-27 11:42:39 +10:00
Parker Hawke
8c6115604b
#702: Add Block#applyBoneMeal() 2020-08-27 11:27:13 +10:00
jameslfc19
8408de02d2
#716: Fix barrel open API playing sound twice 2020-08-27 11:16:27 +10:00
Narimm
74b6982b03
#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.
2020-08-27 11:11:40 +10:00
Martoph
850e7b1400
SPIGOT-974: Add ArmorStand locking API 2020-08-23 09:53:19 +10:00
md_5
50da2cdec3
SPIGOT-6094: Error loading datapack functions 2020-08-22 18:19:25 +10:00
Parker Hawke
8b52a7666e
SPIGOT-6092: Player#setBedSpawnLocation - NullPointerException 2020-08-22 17:42:15 +10:00
md_5
eaf0bace20
Increase outdated build delay 2020-08-20 19:31:48 +10:00
md_5
9a9c2234a4
SPIGOT-6087: Revert "SPIGOT-6086: Twisting vines growing at top of world crashes server"
This reverts commit fad5fb9e8cfc2a2c6883e59203b604f4c0ecf421.
2020-08-18 20:44:06 +10:00
Parker Hawke
2e178b09c6
#730: Let World#setSpawnLocation() support an angle 2020-08-18 17:54:36 +10:00
md_5
fad5fb9e8c
SPIGOT-6086: Twisting vines growing at top of world crashes server 2020-08-18 17:50:13 +10:00
md_5
fa917c4723
Don't create custom registry for custom worlds 2020-08-17 18:48:00 +10:00
md_5
5a66916c08
Cleanup sendBlockChange 2020-08-16 17:55:55 +10:00
Parker Hawke
e850144b07
#726: Add Inventory#isEmpty() 2020-08-16 11:21:08 +10:00
Shane Bee
13945b7687
#725: HumanEntity - add a method to make the entity drop the item they're holding 2020-08-16 09:32:47 +10:00