3878 Commits

Author SHA1 Message Date
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
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
Doc
b58f4299c6
SPIGOT-6436: Add Player#stopAllSounds 2021-11-05 21:02:22 +11:00
md_5
eb19161294
SPIGOT-6783: Items do not appear in custom anvil inventories 2021-11-04 18:17:58 +11:00
Doc
376edf4fe5
SPIGOT-6779: Fix LivingEntity#attack for Player entities 2021-11-02 18:33:35 +11:00
DerFrZocker
747a73ec92
SPIGOT-6772: Use entity mailbox and re-schedule entities if they get unloaded 2021-11-01 18:54:44 +11:00
Doc
cef1fda37b
#947: Add missing spawn eggs for SpawnEggMeta 2021-10-30 18:34:04 +11:00
md_5
fd50041d32
SPIGOT-6768: Remove upper bound on setFreezeTicks 2021-10-23 18:29:53 +11:00
md_5
b86793136b
SPIGOT-6760: Chest#getInventory only returns one half of a double chest when one or both halves are blocked 2021-10-16 18:49:04 +11:00
blablubbabc
fee3152be1
SPIGOT-6759: Chest#getInventory() no longer returns double chest inventories 2021-10-16 18:49:04 +11:00
blablubbabc
11c9299fbb
#940: Fixed a NPE during CraftBlockEntityState#update.
When the BlockState's block type was changed, #update may have removed
the TileEntity, causing #isApplicable to fail with a NPE.
2021-10-15 18:03:01 +11:00
blablubbabc
960f31098d
#937: Fixes related to unplaced BlockStates and the recent world generation changes.
* CraftBlockState#getWorldHandle() would previously run into a NPE when being invoked for a non-placed BlockState. It now returns null in this case.
* CraftChest#getInventory() would previously encounter this NPE when being called for a non-placed BlockState. It will now automatically forward the call to #getBlockInventory() when it is being called for either a non-placed BlockState, or during world generation.
* CraftStructureBlock#applyTo was able to run into a NPE when being called for non-placed BlockStates (this is for example called by #getSnapshotNBT()).
* Replaced all no-world-generation preconditions with a general 'ensureNoWorldGeneration' method.
* Removed a few superfluous #isPlaced() calls. If getWorldHandle() reutrns a World, this already implies that the BlockState is placed.
2021-10-10 07:55:53 +11:00
blablubbabc
4faf479e6c
SPIGOT-6754: We ignore any still present TileEntity now when we create a BlockState for a block of type AIR.
During block destruction, the type of the block may already have been set to AIR while the TileEntity has not yet been removed.
Also, TileEntity#getOwner() skips the whole BlockState construction now if the block is of type AIR.

This removes the previous workaround again of returning a dummy CraftBlockEntityState in this case.
2021-10-10 07:55:53 +11:00
md_5
a72d54044a
SPIGOT-6754: Temporarily restore previous behaviour for tile entities with removed blocks 2021-10-09 16:29:58 +11:00
Sander Knauff
1df303e707
SPIGOT-2903: Add Structure API 2021-10-05 12:24:21 +11:00
Doc
346ebb7a7a
#934: Support for configuring Water Underground Creatures spawn settings 2021-10-05 11:39:21 +11:00
blablubbabc
dc764e7a2f
#877: Improve and simplify CraftBlockState 2021-09-29 18:56:16 +10:00
DerFrZocker
2d933bae44
SPIGOT-6741: shouldGenerateStructures isn't implemented 2021-09-28 17:52:29 +02:00
md_5
d3cc412075
SPIGOT-6738: Add entity type tags 2021-09-19 14:51:21 +10:00
DerFrZocker
1492826118
SPIGOT-6249: Add Missing Effect Constants 2021-09-11 18:40:14 +10:00
md_5
332335e1c6
SPIGOT-6731: "Nag author" message in CraftServer lists one author only 2021-09-10 17:49:53 +10:00