4087 Commits

Author SHA1 Message Date
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
md_5
99f3dddeac
SPIGOT-6808: Fix RegionAccessor#getBiome 2021-11-25 17:04:58 +11:00
md_5
5a39a236c1
Update to Minecraft 1.18-pre8 2021-11-25 08:00:00 +11:00
md_5
a58fde42cc
Fix crash with composters 2021-11-24 09:33:28 +11:00
md_5
a11ec5d7f5
Remove unnecessary CraftBlock creation in CraftRegionAccessor#setBlock 2021-11-24 08:18:48 +11:00
md_5
dd02403be2
Fix upgrading worlds with custom generators 2021-11-23 20:00:10 +11:00
coll1234567
1c82731ddb
SPIGOT-6781: Add Block#canPlace 2021-11-23 18:50:33 +11:00
md_5
2f6662d467
Improve multi-dimension code 2021-11-23 18:39:43 +11:00
Doc
4bf7f33cc6
#956: Add getHideOnlinePlayers 2021-11-23 12:49:03 +11:00
md_5
d181e1edd9
Fix serializing unhandled NBT + add unit test with unhandled NBT 2021-11-23 12:35:42 +11:00
Noah van der Aa
aebb79e327
#954: Add "Allow Server Listings" API 2021-11-23 08:56:35 +11:00
BlackHole
7c4707e46b
#955: Add test for BlockData class of Material 2021-11-23 08:07:10 +11:00
md_5
ecfd37b3d8
Remove Player#sendChunkChange
Method is specified according to an obsolete internal format and has not been implemented for nearly 10 years.
2021-11-22 15:08:57 +11:00
Parker Hawke
03b50154ef
#953: Add Player#sendEquipmentChange 2021-11-22 15:07:40 +11:00
md_5
bafc27ec51
Correct displayed Java version in warning 2021-11-22 11:47:01 +11:00
md_5
a7b8b0270a
Update to Minecraft 1.18-pre5 2021-11-22 09:00:00 +11:00
md_5
0ebef35c72
Remove outdated build delay. 2021-11-22 09:00:00 +11:00
md_5
20716710f8
SPIGOT-6790: Mimic structure block behaviour and do not save STRUCTURE_VOID 2021-11-11 18:40:15 +11:00