CraftBukkit/Spigot
b99d3df2d8
#1181 : Consolidate Location conversion code
...
By: Doc <nachito94@msn.com>
2023-04-19 19:59:19 +10:00
CraftBukkit/Spigot
9e30ea471f
#1095 : Add PlayerSpawnChangeEvent
...
By: Doc <nachito94@msn.com>
2023-04-17 19:33:17 +10:00
CraftBukkit/Spigot
178a84c8d6
SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent
...
By: Jishuna <joshl5324@gmail.com>
2023-04-10 08:26:45 +10:00
CraftBukkit/Spigot
ad3da9dbf3
Show clean error for invalidly configured server.properties options
...
By: md_5 <git@md-5.net>
2023-04-07 08:14:11 +10:00
CraftBukkit/Spigot
8a53e8b4eb
SPIGOT-7310: PlayerToggleSneakEvent is not called when a player sneaks while riding an entity
...
By: md_5 <git@md-5.net>
2023-03-25 11:33:49 +11:00
CraftBukkit/Spigot
2a51332a0c
#1153 : Handle teleport reason in spreadplayers command
...
By: Doc <nachito94@msn.com>
2023-03-23 20:52:34 +11:00
CraftBukkit/Spigot
c9cdfcc603
SPIGOT-7306: Fix reset of coords in default teleportTo in EntityPlayer
...
By: Doc <nachito94@msn.com>
2023-03-22 14:43:49 +11:00
CraftBukkit/Spigot
40076782ed
Update to Minecraft 1.19.4
...
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
CraftBukkit/Spigot
9cb4cf919d
SPIGOT-7262: Improve visibility API
...
By: md_5 <git@md-5.net>
2023-02-16 19:45:56 +11:00
CraftBukkit/Spigot
b718d5f0b0
SPIGOT-7218: Player's outer layer of skin disappears after respawn
...
By: md_5 <git@md-5.net>
2022-12-27 16:04:45 +11:00
CraftBukkit/Spigot
bd71072036
SPIGOT-7210: Fix structures in custom worlds
...
By: md_5 <git@md-5.net>
2022-12-16 11:13:10 +11:00
CraftBukkit/Spigot
eb88aa7b90
SPIGOT-7207: WorldCreator creates world as super flat even when normal is specified
...
By: md_5 <git@md-5.net>
2022-12-14 13:47:32 +11:00
CraftBukkit/Spigot
8fa77efef6
SPIGOT-7204: Add TeleportCause#DISMOUNT
...
By: md_5 <git@md-5.net>
2022-12-13 19:22:46 +11:00
CraftBukkit/Spigot
c0d9b8db7c
SPIGOT-7192: Call PlayerInteractEvent with Action.LEFT_CLICK_AIR if the entity interacted is hidden to the player
...
By: Doc <nachito94@msn.com>
2022-12-13 18:54:22 +11:00
CraftBukkit/Spigot
8b26bb8f3e
Update to Minecraft 1.19.3
...
By: md_5 <git@md-5.net>
2022-12-08 03:00:00 +11:00
CraftBukkit/Spigot
d3a49598fe
SPIGOT-7179: PortalCreateEvent doesn't fire for players
...
By: Doc <nachito94@msn.com>
2022-11-06 18:14:38 +11:00
CraftBukkit/Spigot
814c67ace8
SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
...
By: md_5 <git@md-5.net>
2022-10-28 20:19:11 +11:00
CraftBukkit/Spigot
c397b790df
SPIGOT-7152: Handle hand item changing during air interact event
...
By: md_5 <git@md-5.net>
2022-09-12 19:27:14 +10:00
CraftBukkit/Spigot
42e5db32af
SPIGOT-7154: Players get kicked when interacting with a conversation
...
By: md_5 <git@md-5.net>
2022-09-12 19:15:46 +10:00
CraftBukkit/Spigot
ccb7421c43
SPIGOT-5607: PlayerInteractEvent Left-Click Bug
...
By: DerFrZocker <derrieple@gmail.com>
2022-08-30 21:50:53 +10:00
CraftBukkit/Spigot
8f8c4a60b5
SPIGOT-5761: initSettings is not a recognized option
...
By: DerFrZocker <derrieple@gmail.com>
2022-08-30 21:50:50 +10:00
CraftBukkit/Spigot
9c845eac07
SPIGOT-7136: Cancelling PlayerInteractEntityEvent with the Allay desyncs
...
By: md_5 <git@md-5.net>
2022-08-14 11:27:22 +10:00
CraftBukkit/Spigot
5fa8a6d631
SPIGOT-7089: Crash when command blocks attempt to load worlds
...
By: md_5 <git@md-5.net>
2022-08-14 10:46:41 +10:00
CraftBukkit/Spigot
808a4dedfe
Update to Minecraft 1.19.2
...
By: md_5 <git@md-5.net>
2022-08-06 07:40:00 +10:00
CraftBukkit/Spigot
0b6cdcc0c4
SPIGOT-7127: /say doesn't work from console
...
By: md_5 <git@md-5.net>
2022-08-01 22:07:48 +10:00
CraftBukkit/Spigot
f8db65033c
Update to Minecraft 1.19.1
...
By: md_5 <git@md-5.net>
2022-07-28 04:00:00 +10:00
CraftBukkit/Spigot
7c33b52741
#1091 : Fix exit position in entity travel with portals
...
By: Doc <nachito94@msn.com>
2022-07-25 18:00:57 +10:00
CraftBukkit/Spigot
9fdd99d4ce
SPIGOT-7066: Fix custom END worlds not generating DragonBattle
...
By: Doc <nachito94@msn.com>
2022-06-18 21:06:59 +10:00
CraftBukkit/Spigot
40a58283ca
#1067 : Add preview chat option in ServerListPingEvent
...
By: Doc <nachito94@msn.com>
2022-06-18 20:55:26 +10:00
CraftBukkit/Spigot
46523c1525
SPIGOT-7051: Worldgen API does not run vanilla noise generation when shouldGenerateNoise is true
...
By: DerFrZocker <derrieple@gmail.com>
2022-06-10 19:08:36 +10:00
CraftBukkit/Spigot
766668f0db
SPIGOT-7041: Custom BiomeProvider not used when world set to type FLAT
...
By: md_5 <git@md-5.net>
2022-06-10 11:08:00 +10:00
CraftBukkit/Spigot
29db051e6e
SPIGOT-7048: addPassenger() not working when vehicle is player
...
By: md_5 <git@md-5.net>
2022-06-10 10:39:19 +10:00
CraftBukkit/Spigot
79086ef520
SPIGOT-7003: Add missing PlayerAnimationType
...
By: Doc <nachito94@msn.com>
2022-06-09 21:30:25 +10:00
CraftBukkit/Spigot
25f3b50f6b
Update to Minecraft 1.19
...
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
CraftBukkit/Spigot
77f366d383
SPIGOT-1807: PlayerTeleportEvent is called twice
...
By: DerFrZocker <derrieple@gmail.com>
2022-05-24 20:45:57 +10:00
CraftBukkit/Spigot
5e503c9e28
SPIGOT-6948: Motion from Explosion after Respawn
...
By: DerFrZocker <derrieple@gmail.com>
2022-05-17 19:22:58 +10:00
CraftBukkit/Spigot
b0e366dc99
SPIGOT-6829: Add per-player world border API
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-04-09 09:39:33 +10:00
CraftBukkit/Spigot
813ab8f174
#1038 : Removed the no longer needed getChunkUnchecked method from ChunkProviderServer.
...
This method was added in 373ed1ddd5
to fix SPIGOT-5228. But since Minecraft 1.17 changed how entities are added and removed from chunks, this method has no longer been used.
By: blablubbabc <lukas@wirsindwir.de>
2022-03-27 16:24:09 +11:00
CraftBukkit/Spigot
475d10469d
SPIGOT-6980: Since 1.18.2, World#isChunkLoaded returned false for chunks that have just been loaded (e.g. inside ChunkLoadEvent).
...
Some changes of the 1.18.2 update have been reverted to resolve this regression.
By: blablubbabc <lukas@wirsindwir.de>
2022-03-27 16:24:06 +11:00
CraftBukkit/Spigot
6796896e63
SPIGOT-3034: PlayerKickEvent.setLeaveMessage(String) doesn't actually do anything
...
By: DerFrZocker <derrieple@gmail.com>
2022-03-16 19:49:07 +11:00
CraftBukkit/Spigot
85cc664060
SPIGOT-6138, SPIGOT-6415: Don't call CreatureSpawnEvent after cross-dimensional travel
...
By: DerFrZocker <derrieple@gmail.com>
2022-03-13 07:48:22 +11:00
CraftBukkit/Spigot
06bac38719
SPIGOT-2942: give command fires PlayerDropItemEvent, cancelling it causes Item Duplication
...
By: DerFrZocker <derrieple@gmail.com>
2022-03-11 21:47:13 +01:00
CraftBukkit/Spigot
ad484e5f73
SPIGOT-6959: Make /loot command ignore empty items for spawn
...
By: Doc <nachito94@msn.com>
2022-03-08 07:25:44 +11:00
CraftBukkit/Spigot
390618e170
SPIGOT-6956: Reduce differences caused by setKeepSpawnInMemory(false)
...
By: md_5 <git@md-5.net>
2022-03-04 18:53:19 +11:00
CraftBukkit/Spigot
9ee989ea81
Update to Minecraft 1.18.2
...
By: md_5 <git@md-5.net>
2022-03-01 02:00:00 +11:00
CraftBukkit/Spigot
2271fc314d
SPIGOT-6900, SPIGOT-6330: Make /difficulty command per-world
...
By: Doc <nachito94@msn.com>
2022-02-21 11:59:30 +11:00
CraftBukkit/Spigot
c48241fce5
SPIGOT-6934: Bring plugin chunk tickets back in line with forceload tickets
...
By: md_5 <git@md-5.net>
2022-02-20 08:55:27 +11:00
CraftBukkit/Spigot
77b8e4803a
#1010 : Add PDC to World
...
By: DerFrZocker <derrieple@gmail.com>
2022-02-15 09:36:00 +11:00
CraftBukkit/Spigot
314b83ffae
SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
...
By: Doc <nachito94@msn.com>
2022-02-07 18:47:27 +11:00
CraftBukkit/Spigot
f01afaf08f
Don't send updates over large distances
...
By: md_5 <git@md-5.net>
2022-02-07 08:35:20 +11:00
CraftBukkit/Spigot
9523f87f1c
SPIGOT-6917: Use main scoreboard for /trigger
...
Restores pre-1.13 behaviour. See linked ticket for further discussion.
By: md_5 <git@md-5.net>
2022-02-02 08:59:18 +11:00
CraftBukkit/Spigot
d5e124a72d
Clean up callBlockDamageEvent
...
By: md_5 <git@md-5.net>
2022-02-02 08:56:24 +11:00
CraftBukkit/Spigot
e664c2bf5f
SPIGOT-6910: Add BlockDamageAbortEvent
...
By: FreeSoccerHDX <unconfigured@null.spigotmc.org>
2022-02-02 08:56:23 +11:00
CraftBukkit/Spigot
e2b1313f00
#1004 : Call WorldInitEvent before any chunks are generated
...
By: DerFrZocker <derrieple@gmail.com>
2022-02-01 08:13:13 +11:00
CraftBukkit/Spigot
2fb7e5202f
#1003 : Fix cancellation of TradeSelectEvent
...
By: pop4959 <pop4959@gmail.com>
2022-01-29 09:27:01 +11:00
CraftBukkit/Spigot
cc34358a3e
SPIGOT-6496: /time functions affect entire server, not just the origin world
...
By: DerFrZocker <derrieple@gmail.com>
2022-01-03 08:29:31 +11:00
CraftBukkit/Spigot
28ec7a3566
SPIGOT-6859: PlayerInteractEntityEvent#setCancelled desync with Axolotls
...
By: Doc <nachito94@msn.com>
2021-12-22 08:04:07 +11:00
CraftBukkit/Spigot
667cb32115
Update to Minecraft 1.18.1
...
By: md_5 <git@md-5.net>
2021-12-11 00:11:02 +11:00
CraftBukkit/Spigot
6646c417c5
Purge hidden entities on unload too
...
By: md_5 <git@md-5.net>
2021-12-04 08:23:26 +11:00
CraftBukkit/Spigot
77f4cb35ff
SPIGOT-6833: Do not drop items into unrestricted world during world generation
...
By: md_5 <git@md-5.net>
2021-12-04 07:19:56 +11:00
CraftBukkit/Spigot
ea74321d65
SPIGOT-6823: Fix loading custom world in combination with superflat
...
By: md_5 <git@md-5.net>
2021-12-03 08:34:38 +11:00
CraftBukkit/Spigot
9f2d553877
Fix per-world worldborder command
...
By: md_5 <git@md-5.net>
2021-12-03 07:34:39 +11:00
CraftBukkit/Spigot
ee342addea
Better preserve broken PlayerMoveEvent behaviour
...
By: md_5 <git@md-5.net>
2021-12-02 12:45:58 +11:00
CraftBukkit/Spigot
7dd6dfc7a4
SPIGOT-6828: <player> fell off a ladder/vines death message not supported
...
By: md_5 <git@md-5.net>
2021-12-02 12:29:35 +11:00
CraftBukkit/Spigot
95ab0e27a8
Add hideEntity / showEntity API
...
By: md_5 <git@md-5.net>
2021-11-29 09:18:52 +11:00
CraftBukkit/Spigot
27643e5df2
Update to Minecraft 1.18-rc3
...
By: md_5 <git@md-5.net>
2021-11-27 08:00:00 +11:00
CraftBukkit/Spigot
799bfc92e2
Update to Minecraft 1.18-pre8
...
By: md_5 <git@md-5.net>
2021-11-25 08:00:00 +11:00
CraftBukkit/Spigot
34c3a49371
SPIGOT-6803: Fix ServerPing not using the new logic for show players in 1.18
...
By: Doc <nachito94@msn.com>
2021-11-24 07:28:22 +11:00
CraftBukkit/Spigot
3e7bd2643c
Improve multi-dimension code
...
By: md_5 <git@md-5.net>
2021-11-23 18:39:43 +11:00
CraftBukkit/Spigot
820ad30036
SPIGOT-6802: Fix major issues with --forceUpgrade
...
More to come
By: md_5 <git@md-5.net>
2021-11-23 17:13:52 +11:00
CraftBukkit/Spigot
90f6dfa935
Fix loading / creating secondary worlds (nether/end)
...
By: md_5 <git@md-5.net>
2021-11-23 15:03:34 +11:00
CraftBukkit/Spigot
43702a9e10
Update to Minecraft 1.18-pre5
...
By: md_5 <git@md-5.net>
2021-11-22 09:00:00 +11:00
CraftBukkit/Spigot
ab1a1deb6b
SPIGOT-5988: Bedspawn doesn't clear after dying when spawn is blocked
...
By: DerFrZocker <derrieple@gmail.com>
2021-10-16 19:39:14 +11:00
CraftBukkit/Spigot
9d22657139
Rebuild patch
...
By: md_5 <git@md-5.net>
2021-09-01 19:02:09 +10:00
CraftBukkit/Spigot
08e5ad2b2f
SPIGOT-6720: Fix bed explosion checks
...
By: Doc <nachito94@msn.com>
2021-08-27 19:17:43 +10:00
CraftBukkit/Spigot
c2e4e91b1b
SPIGOT-5880, SPIGOT-5567: New ChunkGenerator API
...
## **Current API**
The current world generation API is very old and limited when you want to make more complex world generation. Resulting in some hard to fix bugs such as that you cannot modify blocks outside the chunk in the BlockPopulator (which should and was per the docs possible), or strange behavior such as SPIGOT-5880.
## **New API**
With the new API, the generation is more separate in multiple methods and is more in line with Vanilla chunk generation. The new API is designed to as future proof as possible. If for example a new generation step is added it can easily also be added as a step in API by simply creating the method for it. On the other side if a generation step gets removed, the method can easily be called after another, which is the case with surface and bedrock. The new API and changes are also fully backwards compatible with old chunk generators.
### **Changes in the new api**
**Extra generation steps:**
Noise, surface, bedrock and caves are added as steps. With those generation steps three extra methods for Vanilla generation are also added. Those new methods provide the ChunkData instead of returning one. The reason for this is, that the ChunkData is now backed by a ChunkAccess. With this, each step has the information of the step before and the Vanilla information (if chosen by setting a 'should' method to true). The old method is deprecated.
**New class BiomeProvider**
The BiomeProvider acts as Biome source and wrapper for the NMS class WorldChunkManager. With this the underlying Vanilla ChunkGeneration knows which Biome to use for the structure and decoration generation. (Fixes: SPIGOT-5880). Although the List of Biomes which is required in BiomeProvider, is currently not much in use in Vanilla, I decided to add it to future proof the API when it may be required in later versions of Minecraft.
The BiomeProvider is also separated from the ChunkGenerator for plugins which only want to change the biome map, such as single Biome worlds or if some biomes should be more present than others.
**Deprecated isParallelCapable**
Mojang has and is pushing to a more multi threaded chunk generation. This should also be the case for custom chunk generators. This is why the new API only supports multi threaded generation. This does not affect the old API, which is still checking this.
**Base height method added**
This method was added to also bring the Minecraft generator and Bukkit generator more in line. With this it is possible to return the max height of a location (before decorations). This is useful to let most structures know were to place them. This fixes SPIGOT-5567. (This fixes not all structures placement, desert pyramids for example are still way up at y-level 64, This however is more a vanilla bug and should be fixed at Mojangs end).
**WorldInfo Class**
The World object was swapped for a WorldInfo object. This is because many methods of the World object won't work during world generation and would mostly likely result in a deadlock. It contains any information a plugin should need to identify the world.
**BlockPopulator Changes**
Instead of directly manipulating a chunk, changes are now made to a new class LimitedRegion, this class provides methods to populated the chunk and its surrounding area. The wrapping is done so that the population can be moved into the place where Minecraft generates decorations. Where there is no chunk to access yet. By moving it into this place the generation is now async and the surrounding area of the chunk can also be used.
For common methods between the World and LimitedRegion a RegionAccessor was added.
By: DerFrZocker <derrieple@gmail.com>
2021-08-15 08:08:16 +10:00
CraftBukkit/Spigot
72591f6038
SPIGOT-2222, SPIGOT-6687: Pre-set keepLevel and only use it
...
By: DerFrZocker <derrieple@gmail.com>
2021-08-11 18:49:49 +10:00
CraftBukkit/Spigot
4beaa19a39
SPIGOT-6682: Blocking with shield not reset after die
...
By: DerFrZocker <derrieple@gmail.com>
2021-08-04 17:09:09 +10:00
CraftBukkit/Spigot
87f8ab3fb3
SPIGOT-6552: Some inventory types reset cursor on switch
...
By: DerFrZocker <derrieple@gmail.com>
2021-07-30 19:08:43 +10:00
CraftBukkit/Spigot
999bd6c0ef
SPIGOT-6667: /schedule function not working correctly in other dimensions
...
By: DerFrZocker <derrieple@gmail.com>
2021-07-23 16:29:04 +10:00
CraftBukkit/Spigot
413825611f
SPIGOT-5560, SPIGOT-6574, SPIGOT-6632: Remove no longer needed tile entity fix
...
By: DerFrZocker <derrieple@gmail.com>
2021-07-11 09:05:59 +10:00
CraftBukkit/Spigot
e8c9836ec9
Update to Minecraft 1.17.1
...
By: md_5 <git@md-5.net>
2021-07-07 00:00:00 +10:00
CraftBukkit/Spigot
0392f45e9c
Remove outdated build delay.
...
By: md_5 <git@md-5.net>
2021-07-06 22:16:50 +10:00
CraftBukkit/Spigot
66df1397b3
Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
...
By: md_5 <git@md-5.net>
2021-06-20 09:27:32 +10:00
CraftBukkit/Spigot
c751b9c098
SPIGOT-6542: Fix counting players with fauxSleeping = true
...
By: Ivan R <namelessftw1206@hotmail.com>
2021-06-15 12:44:34 +10:00
CraftBukkit/Spigot
46666cb5a8
SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta
...
By: md_5 <git@md-5.net>
2021-06-14 19:37:21 +10:00
CraftBukkit/Spigot
d5a68b79c1
SPIGOT-6526: World entities are not populated when plugin onEnable is called
...
By: md_5 <git@md-5.net>
2021-06-13 15:05:32 +10:00
CraftBukkit/Spigot
f7478ccc32
SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-13 08:43:21 +10:00
CraftBukkit/Spigot
d57a6b8cc2
SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled
...
By: md_5 <git@md-5.net>
2021-06-12 19:44:31 +10:00
CraftBukkit/Spigot
544ec40369
Fix missing PlayerEditBookEvent
...
By: md_5 <git@md-5.net>
2021-06-12 16:14:12 +10:00
CraftBukkit/Spigot
8797975de5
SPIGOT-6513: Placing ItemStack in Inventory causes InventoryAction.NOTHING
...
By: md_5 <git@md-5.net>
2021-06-12 15:23:44 +10:00
CraftBukkit/Spigot
536256d6ff
SPIGOT-6508: Rename conflicted getServer
...
By: md_5 <git@md-5.net>
2021-06-11 21:33:49 +10:00
CraftBukkit/Spigot
fcf15f1048
Fix second usage of worldGenSettings just in case
...
By: md_5 <git@md-5.net>
2021-06-11 16:47:40 +10:00
CraftBukkit/Spigot
2d39ef0bc5
SPIGOT-6504: Fix generating fresh worlds
...
By: md_5 <git@md-5.net>
2021-06-11 16:16:36 +10:00
CraftBukkit/Spigot
b3a8254758
Update to Minecraft 1.17
...
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
CraftBukkit/Spigot
07f924343f
SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
...
By: DerFrZocker <derrieple@gmail.com>
2021-05-25 08:24:08 +10:00
CraftBukkit/Spigot
9111166484
Make Vanilla /list respect Vanish API
...
By: md_5 <git@md-5.net>
2021-05-20 08:31:32 +10:00
CraftBukkit/Spigot
097e647d7a
SPIGOT-5569: Call WorldInitEvent before any chunks are getting generated
...
By: DerFrZocker <derrieple@gmail.com>
2021-05-18 08:14:59 +10:00
CraftBukkit/Spigot
b19314a834
#827 : Trigger vanilla dimension advancements in non-main worlds
...
By: Kermina Awad <kerminaawad@gmail.com>
2021-05-15 10:06:25 +10:00
CraftBukkit/Spigot
c3777ce7e7
SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
...
By: DerFrZocker <derrieple@gmail.com>
2021-05-11 08:18:34 +10:00