3854 Commits

Author SHA1 Message Date
md_5
a672a53151
Clean up callBlockDamageEvent 2022-02-02 08:56:24 +11:00
FreeSoccerHDX
8e1bdeef50
SPIGOT-6910: Add BlockDamageAbortEvent 2022-02-02 08:56:23 +11:00
Gero
c26a7b54dc
#1000: Add PlayerHideEntityEvent and PlayerShowEntityEvent 2022-02-01 18:01:05 +11:00
DerFrZocker
1eeba6a0ec
SPIGOT-6891: Crash when importing 1.16 chunks with entities above the world, when a BlockPopulator is active 2022-01-30 10:52:42 +11:00
Doc
13670b4426
SPIGOT-6890: Add repair cost amount in AnvilInventory 2022-01-26 09:30:35 +11:00
Doc
0d109e865c
#999: Prevent non-item cooldowns 2022-01-25 08:28:25 +11:00
DerFrZocker
3a8161fe41
SPIGOT-6639: During an EntityDamageEvent with damage from blocks, damaging any entity throws an error 2022-01-23 09:06:06 +11:00
md_5
7c3ac94248
SPIGOT-6902: (Unsupported) Load server as child of system classloader
This is an _unsupported_ feature and may be removed at a later date
2022-01-19 08:48:55 +11:00
Doc
d10c35ea5b
SPIGOT-6899: Add Player#getPreviousGameMode 2022-01-17 10:12:15 +11:00
Doc
e0a6aa36e8
SPIGOT-6901: Add Support for Random in methods for LootTable 2022-01-17 10:09:52 +11:00
DerFrZocker
3470450418
#987: Add generateTree method with a predicate 2022-01-12 10:54:18 +11:00
Gero
312d007f03
#990: Add playSound with Entity as source 2022-01-11 18:53:45 +11:00
Martoph
f3828bbee6
#989: Add PDC to Structures 2022-01-07 09:43:38 +11:00
DerFrZocker
cc86ab1886
SPIGOT-5339, SPIGOT-6252, SPIGOT-6777: Only cancel knockback if the damage event was canceled 2022-01-03 18:07:01 +01:00
md_5
a1b1dc81a6
Put Discord rather than IRC in config files 2022-01-03 08:21:46 +11:00
Matthew
c93fcba47a
#378: Add API to check and set if horses are grazing hay 2022-01-01 10:01:25 +11:00
Matthew
752fa511a9
#374: Add isJohnny / setJohnny for Vindicator 2022-01-01 09:58:04 +11:00
Matthew
19f2af066e
#373: Add trap related methods to SkeletonHorse 2022-01-01 09:58:04 +11:00
md_5
b8a25cbd20
Fix map colour not being marked as a handled tag 2021-12-30 10:14:08 +11:00
md_5
eea8d55965
Make EnderDragon extend/implement Mob 2021-12-30 09:35:50 +11:00
md_5
633ac8b31c
Add self-riding check to Entity#addPassenger 2021-12-29 10:48:15 +11:00
coll1234567
319ca703cd
#978: Add Material#getDefaultAttributeModifiers 2021-12-24 12:11:50 +11:00
Patrick Choe
439c685f4e
SPIGOT-6789: Improve resource pack related API 2021-12-18 11:46:17 +11:00
Doc
86c91bab1f
SPIGOT-6836: Add more API methods in MerchantRecipe 2021-12-18 11:44:34 +11:00
DerFrZocker
f49ffa7a50
SPIGOT-6778: Block#beakNaturally doesn't drop items in chests 2021-12-18 11:34:20 +11:00
DerFrZocker
41832ce7e4
SPIGOT-6843: Wrong PLAINS biome during custom chunk generation 2021-12-18 11:33:22 +11:00
md_5
dad8517102
SPIGOT-6851: removeRecipe not unregistering recipe ID 2021-12-13 11:25:22 +11:00
md_5
c2e0bbda4e
Update to Minecraft 1.18.1 2021-12-11 00:12:31 +11:00
md_5
4f5d59a4d6
Remove outdated build delay. 2021-12-11 00:11:02 +11:00
Doc
8b98c8ed0b
SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem 2021-12-10 09:01:49 +11:00
md_5
35d3986e9e
Disable log4j message formatting 2021-12-10 07:31:32 +11:00
md_5
040e0c3b42
Increase outdated build delay 2021-12-09 16:02:09 +11:00
md_5
3c2af1b7f5
SPIGOT-6831: Fix llama strength crash 2021-12-06 15:15:09 +11:00
Bjarne Koll
f49e9d1932
#971: Remove strong chunk reference in PDC
A previous fix for SPIGOT-6814 implemented a callback function for the
PDC implementation that could be set to actively define a chunk as
unsaved, allowing chunks that have not been mutated through block
changes to still require saving if the chunks pdc was mutated.

This implementation however would pass a callback that references the
chunk access internally, meaning the PDC now actively holds onto a
callback that holds a reference to the entire chunk.

Aditionally, this change also impacted the pdc for item metas and
entities for really no reason whatsoever.

This commit re-implements the fix by introducing a new child of the pdc
implementation that the chunk now uses as its pdc. This specific
implementation maintains a dirty flag that is set to `true` on any form
of mutation and set back to false by the chunk that owns the PDC
whenever the chunk itself is flag as no longer dirty.
2021-12-05 08:53:46 +11:00
md_5
27a27cdb84
Add Player#openSign API to edit a placed sign 2021-12-05 08:34:54 +11:00
md_5
1825cc0b04
Purge hidden entities on unload too 2021-12-04 08:23:26 +11:00
Rafael S. M. Santos
fd3478bc77
#967: Store last lava contact location for events 2021-12-04 08:06:32 +11:00
md_5
4b5f9882cc
Fix when bundler directory is a symlink 2021-12-03 16:24:34 +11:00
md_5
6f3509d12e
Release POIs when villagers are removed by plugins 2021-12-03 15:05:20 +11:00
md_5
03b7252338
SPIGOT-6823: Fix loading custom world in combination with superflat 2021-12-03 08:34:38 +11:00
md_5
bc14cb649b
Update to Minecraft 1.18 2021-12-01 03:00:00 +11:00
md_5
9fb3aa4c7a
SPIGOT-6817: Revert back to old block state behaviour again 2021-11-29 11:03:16 +11:00
DerFrZocker
04f8e7e21f
SPIGOT-6814: (Chunk) PersistentData is lost after restart 2021-11-29 09:28:19 +11:00
md_5
37fd1917e7
Add hideEntity / showEntity API 2021-11-29 09:18:52 +11:00
md_5
45c3f82669
SPIGOT-6816: Fix ChunkSnapshot#getBiome 2021-11-29 08:52:41 +11:00
Gero
c86a3f7a58
#959: Fix World#refreshChunk 2021-11-28 11:54:20 +11:00
coll1234567
af8a8b708c
#962: Make PotionEffectType implement Keyed 2021-11-28 11:49:42 +11:00
md_5
806bb02c17
SPIGOT-6810: Improve / fix biome setting code 2021-11-27 16:42:28 +11:00
md_5
c98abfb0ff
Update to Minecraft 1.18-rc3 2021-11-27 08:00:00 +11:00
coll1234567
9b2585017b
#960: Add Player#showDemoScreen 2021-11-26 10:13:36 +11:00