114 Commits

Author SHA1 Message Date
md_5
dc45a6738f
SPIGOT-7496: Failure to load datapacks with multiple identical predicates 2023-10-02 20:01:30 +11:00
md_5
f508657d64
Fix decompile error affecting javac 2023-10-02 19:43:59 +11:00
Lauriichan
dab849f084
SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning 2023-09-29 06:54:35 +10:00
md_5
6d4b25bf19
Increase diff stability 2023-09-22 02:57:13 +10:00
md_5
28c1023286
Update to Minecraft 1.20.2 2023-09-22 02:40:00 +10:00
DerFrZocker
ddc9a2dad3
SPIGOT-7475: Don't fire SculkBloomEvent during world generation 2023-09-06 19:09:38 +02:00
Collin
de421cf56b
#1242: Add more Sculk API (bloom, shriek, bloom event) 2023-09-06 20:44:19 +10:00
DerFrZocker
10219df3a6
#1248: Load GameEvent and MusicInstrument from registry 2023-09-02 12:55:23 +10:00
Brokkonaut
8ef7afef65
#1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block 2023-08-19 09:43:27 +10:00
Miles Holder
6752f1d63e
SPIGOT-7396: Add PlayerSignOpenEvent 2023-08-05 09:33:42 +10:00
Doc
847b4cad50
SPIGOT-7063, #1071: Add DragonBattle#initiateRespawn with custom EnderCrystals 2023-08-05 09:24:52 +10:00
Owen1212055
c1279f7751
#1209: Clean up various patches 2023-06-24 17:15:05 +10:00
Jishuna
44a4b5649d
SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot 2023-06-17 14:31:40 +10:00
Doc
676969d016
SPIGOT-7389: Handle setting null items in ChiseledBookshelf Inventory 2023-06-17 06:44:22 +10:00
Parker Hawke
9a21b0b89e
SPIGOT-7393: Fix new tile entities not loading Bukkit's PersistentDataContainer 2023-06-15 20:25:35 +10:00
md_5
66c5ce4c7b
SPIGOT-7391: Preserve vanilla sign json where not modified by event 2023-06-14 18:36:22 +10:00
Parker Hawke
88999cd53b
SPIGOT-7381: Fix NullPointerException when setting item in ChiseledBookshelfInventory snapshot 2023-06-12 08:04:28 +10:00
md_5
245f2be151
Implement SpawnerSpawnEvent
Co-authored-by: Andy Shulman <andy.shulman@hotmail.com>
2023-06-10 07:22:51 +10:00
md_5
fd92f1e654
SPIGOT-7378: Add BlockDropItemEvent for Suspicious Sand & Gravel drops 2023-06-09 08:37:09 +10:00
DerFrZocker
68b3205624
SPIGOT-7266: Found typo in CraftBukkit package 2023-06-08 13:40:54 +10:00
md_5
98b4d2ff88
SPIGOT-7372, SPIGOT-7373: Signs can't be edited, issues with SignChangeEvent 2023-06-08 12:19:59 +10:00
md_5
e1188ed3a2
Update to Minecraft 1.20 2023-06-08 01:30:00 +10:00
Jishuna
563d422268
SPIGOT-519: Add TNTPrimeEvent
Thanks to Pokechu22 for an earlier implementation
2023-05-03 20:46:43 +10:00
Doc
f92a41c396
#1181: Consolidate Location conversion code 2023-04-19 19:59:19 +10:00
Doc
82f7b658aa
#1095: Add PlayerSpawnChangeEvent 2023-04-17 19:33:17 +10:00
DerFrZocker
19de3550d8
SPIGOT-7315: Bed placement duplicates crops if cancelled 2023-04-07 10:56:58 +02:00
Phoenix616
3ae90697f3
Fix UUID not being updated when changing world of MapView 2023-04-04 19:44:29 +01:00
Jishuna
e43000601d
#1164, MC-227255, MC-253819: Fix rotation of beehives and bells 2023-04-04 07:01:54 +10:00
Parker Hawke
187bdd463f
#1160: Add more bell API 2023-04-02 14:35:13 +10:00
DerFrZocker
1fddefce1c
#1155: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks 2023-04-02 13:06:59 +10:00
Parker Hawke
eff1743b9c
SPIGOT-7313: More accurately edit data on Jukeboxes 2023-03-29 19:23:41 +11:00
Parker Hawke
f5b61387e1
SPIGOT-7308: Fix NullPointerException when calling Jukebox#setRecord() 2023-03-22 14:21:06 -04:00
md_5
04dfb921de
Fix crash with juke boxes 2023-03-15 18:14:15 +11:00
md_5
bcedf28a1b
Update to Minecraft 1.19.4 2023-03-15 03:30:00 +11:00
md_5
f150cfbd45
SPIGOT-7220: TNT drop rate isn't 100% 2023-03-04 11:47:05 +11:00
James Peters
2cdd5883b5
#1119: Add HopperInventorySearchEvent to select the Inventory that the Hopper pulls/pushes into 2023-03-04 09:05:17 +11:00
Lauriichan
7b11c7ba0f
SPIGOT-7261: Add AsyncStructureSpawnEvent 2023-03-04 08:36:00 +11:00
Jacob Martin
b56426c7ae
#1142: Calculate explosion damage separately for each affected EntityComplexPart
Currently the Ender Dragon takes roughly 3x the explosion damage when compared to vanilla 1.19.3. This is caused by a single damage value being calculated for the EntityEnderDragon and then being uniformly applied to every EntityComplexPart belonging to that dragon.

This is resolved by restoring the vanilla behavior of calculating explosion damage separately for each EntityComplexPart.
2023-02-27 20:34:19 +11:00
FreeSoccerHDX
7c44152eba
SPIGOT-7224: Add events for brewing stands and campfires starting their actions 2023-02-05 11:06:25 +11:00
Jacob Martin
a0d3dfaf28
#1129: Fix state corruption while handling explosion damage on EntityComplexPart
An IllegalStateException may occur when an entity is damaged by fire or a potion effect immediately after an EntityComplexPart is damaged by an explosion.

This is fixed by performing the instanceof EntityComplexPart check prior to setting CraftEventFactory.entityDamage.
2022-12-29 14:06:51 +11:00
Doc
ae8f5fc025
#1125: Add support for NoteBlock sounds in Skulls 2022-12-23 12:26:06 +11:00
md_5
2ed3e3e6e5
SPIGOT-7210: Fix structures in custom worlds 2022-12-16 11:13:10 +11:00
md_5
19e6be0209
Update to Minecraft 1.19.3 2022-12-08 03:00:00 +11:00
Parker Hawke
5329dd6fd2
#1107: Add getHand() to all relevant events 2022-10-02 09:07:14 +11:00
DerFrZocker
93061706eb
SPIGOT-7045: Ocelots never spawn with babies with spawn reason OCELOT_BABY 2022-09-28 20:09:43 +10:00
md_5
8468e167ef
SPIGOT-7137: StructureGrowEvent isFromBonemeal and getPlayer have incorrect values 2022-08-14 10:54:23 +10:00
md_5
6da82662bb
Update to Minecraft 1.19.1 2022-07-28 04:00:00 +10:00
md_5
7ba06e15b7
SPIGOT-7095: StructureGrowEvent doesn't fire for mangrove propagules growing to a tree 2022-07-10 14:12:30 +10:00
BlackHole
c924fa5315
SPIGOT-7072: Call events for stepping on sculk sensors and sculk shriekers 2022-06-23 20:25:36 +10:00
DerFrZocker
622dbe6c24
SPIGOT-7068: SKULK and SKULK_VEIN BlockSpreadEvents Still do not reference the correct source (SKULK_CATALYST) 2022-06-19 21:48:24 +10:00