CraftBukkit/Spigot
0f6da6b1c8
SPIGOT-7487: entity.remove() on a leash drops a lead item
...
By: DerFrZocker <derrieple@gmail.com>
2023-12-01 08:01:44 +11:00
CraftBukkit/Spigot
95e4221adf
#1266 : Add support for virtual entities
...
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:35 +13:00
CraftBukkit/Spigot
f64dc66a5f
#1290 : Add methods to get/set evoker fang attack delay
...
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:36:06 +11:00
CraftBukkit/Spigot
80d3f8408a
SPIGOT-7514, #1289 : Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
...
By: Miles Holder <mwholder2005@gmail.com>
2023-11-09 06:30:23 +11:00
CraftBukkit/Spigot
511d6753cc
#1281 : Add hit entity/block to events extending ProjectileHitEvent
...
By: Jishuna <joshl5324@gmail.com>
2023-10-25 18:54:07 +11:00
CraftBukkit/Spigot
c4c6bf8a92
#1272 : Only allow one entity in CraftItem instead of two
...
This pr reverts a change made in 2012 which allowed CraftItem to be a also other entities such as an arrow.
I don't see any practical reason why the original change was done, other than to allow plugin developers to do some stuff in a cursed way.
With the introduction of the PlayerPickupArrowEvent in 2016 there is also a way to access the arrow involved in a better way.
Generally I think the current behavior is a bit strange and should be reverted.
By: DerFrZocker <derrieple@gmail.com>
2023-10-06 07:16:11 +11:00
CraftBukkit/Spigot
7380cef545
SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads
...
By: DerFrZocker <derrieple@gmail.com>
2023-10-03 11:56:23 +02:00
CraftBukkit/Spigot
851acb6496
#1267 : Add more lightning API
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-10-03 07:32:55 +11:00
CraftBukkit/Spigot
70eb4fdda5
SPIGOT-7490: Fix entity equipment updates
...
By: md_5 <git@md-5.net>
2023-09-25 07:47:22 +10:00
CraftBukkit/Spigot
fb7dc796d5
SPIGOT-7485: Allow air entity items since required for Vanilla logic
...
By: md_5 <git@md-5.net>
2023-09-22 07:14:27 +10:00
CraftBukkit/Spigot
4248b8a4d8
#1250 : Standardize and centralize Bukkit / Minecraft registry conversion
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 03:02:16 +10:00
CraftBukkit/Spigot
e903417936
Increase diff stability
...
By: md_5 <git@md-5.net>
2023-09-22 02:57:13 +10:00
CraftBukkit/Spigot
8a3c8cfcd4
Update to Minecraft 1.20.2
...
By: md_5 <git@md-5.net>
2023-09-22 02:40:00 +10:00
CraftBukkit/Spigot
e00c85fd8c
#1233 : Remove some old MC bug fixes now fixed in vanilla
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-24 18:09:23 +10:00
CraftBukkit/Spigot
475d2e005c
SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width
...
By: md_5 <git@md-5.net>
2023-07-08 13:07:16 +10:00
CraftBukkit/Spigot
8b30feb641
#1226 : Fix VehicleEnterEvent not being called for certain entities
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-04 06:54:09 +10:00
CraftBukkit/Spigot
7f5ff95fe4
Revert bad change to PathfinderGoalSit causing all cats to sit
...
By: md_5 <git@md-5.net>
2023-07-01 20:56:18 +10:00
CraftBukkit/Spigot
60c46c4b52
#1221 : Add methods to get/set FallingBlock CancelDrop
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-27 07:36:06 +10:00
CraftBukkit/Spigot
b97cc9b99f
#1209 : Clean up various patches
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-06-24 17:15:05 +10:00
CraftBukkit/Spigot
f40eac90a3
Update to Minecraft 1.20.1
...
By: md_5 <git@md-5.net>
2023-06-13 07:00:00 +10:00
CraftBukkit/Spigot
a7ce4d1a3f
SPIGOT-7382: Player still on fire after respawn
...
By: md_5 <git@md-5.net>
2023-06-11 17:30:03 +10:00
CraftBukkit/Spigot
99be5d2a3c
SPIGOT-7375: Fix crash breeding certain entities
...
By: md_5 <git@md-5.net>
2023-06-08 19:22:25 +10:00
CraftBukkit/Spigot
9d740b84b0
Update to Minecraft 1.20
...
By: md_5 <git@md-5.net>
2023-06-08 01:30:00 +10:00
CraftBukkit/Spigot
695e12db3d
SPIGOT-7209: Accessors and events for player's exp cooldown
...
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-04-21 18:46:56 +10:00
CraftBukkit/Spigot
b99d3df2d8
#1181 : Consolidate Location conversion code
...
By: Doc <nachito94@msn.com>
2023-04-19 19:59:19 +10:00
CraftBukkit/Spigot
41bd40bcaa
#808 : Expand the FishHook API
...
By: Martoph <sager1018@gmail.com>
2023-04-16 10:10:27 +10:00
CraftBukkit/Spigot
5d28a95165
#1169 : Add damage methods to FallingBlock
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-13 07:08:26 +10:00
CraftBukkit/Spigot
df5cb9bc3a
#1144 : Add more Guardian API, particularly for its laser
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:49:05 +10:00
CraftBukkit/Spigot
ad8f95c3df
#1159 : Add missing API for explosive minecarts
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:21:31 +10:00
CraftBukkit/Spigot
4f394499b7
SPIGOT-7316: Cancelling EntityUnmountEvent does not stop the all effects of the unmounting
...
By: md_5 <git@md-5.net>
2023-03-25 11:26:10 +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
c7648eb04e
#1150 : Add Sniffer API and handle EntityItemDropEvent
...
By: Doc <nachito94@msn.com>
2023-03-20 19:03:53 +11:00
CraftBukkit/Spigot
33e9c807c6
SPIGOT-7294: Call EntityDamageEvent for Interaction entity
...
By: md_5 <git@md-5.net>
2023-03-16 07:15:33 +11:00
CraftBukkit/Spigot
4b03485bd2
SPIGOT-7295: Fix Sniffer data defined in incorrect position
...
By: md_5 <git@md-5.net>
2023-03-16 06:48:37 +11:00
CraftBukkit/Spigot
71f7114fdb
SPIGOT-7291: Fix spurious invert in ender pearl disconnect check
...
By: md_5 <git@md-5.net>
2023-03-15 04:14:08 +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
b6f6246c5d
#1136 : Add API to allow entities to be invisible by default
...
Designed to make creating per-player entities easier
By: md_5 <git@md-5.net>
2023-03-04 09:15:52 +11:00
CraftBukkit/Spigot
fed3e5b5bc
SPIGOT-7239: Getter/setter for player's enchantment seed
...
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-01-28 11:55:40 +11:00
CraftBukkit/Spigot
0cb9e6122e
SPIGOT-7200: CreatureSpawnEvent is called with incorrect SpawnReason when using spawn eggs
...
By: md_5 <git@md-5.net>
2022-12-10 21:48: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
7daeaa49a5
SPIGOT-7191: TNT minecart explosions crash the server
...
By: md_5 <git@md-5.net>
2022-12-02 08:52:54 +11:00
CraftBukkit/Spigot
fb99448954
SPIGOT-7184: ExplosionPrimeEvent not called for ExplosiveMinecart
...
By: md_5 <git@md-5.net>
2022-11-20 12:10:31 +11:00
CraftBukkit/Spigot
159ae52462
#1107 : Add getHand() to all relevant events
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-10-02 09:07:14 +11:00
CraftBukkit/Spigot
7d96f4be6d
SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-12 19:04:24 +10:00
CraftBukkit/Spigot
d41367ee6d
#1100 : Add methods to get sounds from entities
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 22:24:15 +10:00
CraftBukkit/Spigot
75dd67a23b
SPIGOT-7112: Mobs added 1.17 and after do not create an EntityTargetEvent properly
...
By: Doc <nachito94@msn.com>
2022-08-16 20:00:57 +10:00
CraftBukkit/Spigot
cfd23ec524
SPIGOT-7079: Allays don't call EntityTargetEvent on ground items
...
By: Doc <nachito94@msn.com>
2022-08-16 19:53:20 +10:00
CraftBukkit/Spigot
ba6d980d80
SPIGOT-7122: New Allay Methods from 1.19.1
...
By: Doc <nachito94@msn.com>
2022-08-08 21:39:21 +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
2f0d31aa17
SPIGOT-7083: Add Boat.WoodenType, Boat.Status; deprecate TreeSpecies
...
By: Doc <nachito94@msn.com>
2022-07-05 20:40:35 +10:00
CraftBukkit/Spigot
60fb93349f
SPIGOT-1729, SPIGOT-7090: Keep precision in teleportation between worlds
...
By: Doc <nachito94@msn.com>
2022-07-02 12:26:55 +10:00
CraftBukkit/Spigot
23815db283
SPIGOT-7078: Add EntityPotionEffectEvent.Cause#WARDEN
...
By: Doc <nachito94@msn.com>
2022-06-23 20:34:34 +10:00
CraftBukkit/Spigot
30fe2b464e
SPIGOT-2420: Can't set exp drops for EnderDragon death
...
By: DerFrZocker <derrieple@gmail.com>
2022-06-18 20:59:19 +10:00
CraftBukkit/Spigot
8a00d6f5d1
#1070 : Add SpawnReason and TransformReason for Tadpole metamorphosis into Frog
...
By: Doc <nachito94@msn.com>
2022-06-13 15:24:58 +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
0fb296468e
SPIGOT-7025: Use existing item in hand for ranged Drowned attack
...
By: Doc <nachito94@msn.com>
2022-06-05 16:30:03 +10:00
CraftBukkit/Spigot
462a5fddbf
SPIGOT-7009: Stuck on "Loading terrain..." after disconnecting on respawn screen
...
By: DerFrZocker <derrieple@gmail.com>
2022-06-03 09:19:53 +10:00
CraftBukkit/Spigot
aba0972e9a
#1045 : Revert changes to persistence required checks
...
By: DerFrZocker <derrieple@gmail.com>
2022-05-03 23:13:03 +10:00
CraftBukkit/Spigot
ed0354be30
SPIGOT-6992: Add LimitedLife/LifeTicks/Bound APIs to Vex
...
By: Doc <nachito94@msn.com>
2022-04-21 06:45:42 +10:00
CraftBukkit/Spigot
94eb19b9fc
Pass in SpawnReason rather than boolean
...
By: md_5 <git@md-5.net>
2022-04-18 11:05:15 +10:00
CraftBukkit/Spigot
14aabc2648
SPIGOT-7001: Fix entity already exists in CraftWorld#spawnFallingBlock
...
By: Doc <nachito94@msn.com>
2022-04-18 11:05:12 +10:00
CraftBukkit/Spigot
ef79686997
#1033 : Add Villager#zombify
...
By: Doc <nachito94@msn.com>
2022-04-15 13:48:55 +10: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
1a135e792f
SPIGOT-6962: Call EntityChangeBlockEvent when when FallingBlockEntity starts to fall
...
By: BlackHole <black-hole@live.com>
2022-03-11 16:24:02 +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
8216743085
SPIGOT-6936: Cancelling EntityAirChangeEvent doesn't stop player's bubbles from decreasing client side
...
By: md_5 <git@md-5.net>
2022-02-20 09:25:32 +11:00
CraftBukkit/Spigot
8d542f0b21
SPIGOT-6937: Ramming goat does not throw EntityTargetLivingEntityEvent
...
By: md_5 <git@md-5.net>
2022-02-20 09:07:37 +11:00
CraftBukkit/Spigot
765eadbac1
SPIGOT-6782: EntityPortalEvent should not destroy entity when setTo() uses same world as getFrom()
...
By: DerFrZocker <derrieple@gmail.com>
2022-02-05 18:51:46 +01:00
CraftBukkit/Spigot
b80113b447
SPIGOT-6907: Oxygen does not restore up to value set by LivingEntity#setMaximumAir()
...
By: DerFrZocker <derrieple@gmail.com>
2022-01-23 09:06:19 +11:00
CraftBukkit/Spigot
a8b86ea421
#994 : Fix changing world in portal events not updating used world border
...
Also clamp the event's target location to the world border
By: Phoenix616 <max@themoep.de>
2022-01-20 18:36:14 +11:00
CraftBukkit/Spigot
ce2ac2868b
SPIGOT-6888: Add SpawnReason for Vex spawned by Evokers
...
By: Doc <nachito94@msn.com>
2022-01-14 10:55:59 +11:00
CraftBukkit/Spigot
46f0dde817
SPIGOT-5339, SPIGOT-6252, SPIGOT-6777: Only cancel knockback if the damage event was canceled
...
By: DerFrZocker <derrieple@gmail.com>
2022-01-03 18:07:01 +01:00
CraftBukkit/Spigot
f5b1ea90e2
SPIGOT-6278: Persistent piglins count towards mob cap
...
By: md_5 <git@md-5.net>
2022-01-02 11:45:52 +11:00
CraftBukkit/Spigot
1fa87773be
#374 : Add isJohnny / setJohnny for Vindicator
...
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:04 +11:00
CraftBukkit/Spigot
179dbe9592
#373 : Add trap related methods to SkeletonHorse
...
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:04 +11:00
CraftBukkit/Spigot
7a54f9da31
SPIGOT-5766: The VillagerReplenishTradeEvent is now called when a villager restocks its trades.
...
By: blablubbabc <lukas@wirsindwir.de>
2021-12-25 10:14:17 +11:00
CraftBukkit/Spigot
aa53cef96f
SPIGOT-5627: Leads vanish when transporting leashed entities through a Nether portal
...
By: DerFrZocker <derrieple@gmail.com>
2021-12-25 09:39:27 +11:00
CraftBukkit/Spigot
35fdc9103d
SPIGOT-6831: Fix llama strength crash
...
By: md_5 <git@md-5.net>
2021-12-06 15:15:09 +11:00
CraftBukkit/Spigot
4f6a5feac8
#967 : Store last lava contact location for events
...
By: Rafael S. M. Santos <eu@rafaelsms.com>
2021-12-04 08:06:32 +11:00
CraftBukkit/Spigot
05d379a339
Release POIs when villagers are removed by plugins
...
By: md_5 <git@md-5.net>
2021-12-03 15:05:20 +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
cc70f18bef
SPIGOT-6820: VillagerCareerChangeEvent's ChangeReason is sometimes incorrect
...
By: Doc <nachito94@msn.com>
2021-12-01 08:26:14 +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
3e7bd2643c
Improve multi-dimension code
...
By: md_5 <git@md-5.net>
2021-11-23 18:39:43 +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
306648dc4c
SPIGOT-6797: EntityInteractEvent called with incorrect location
...
By: md_5 <git@md-5.net>
2021-11-21 11:22:07 +11:00
CraftBukkit/Spigot
99916e6058
SPIGOT-6798: EntityChangeBlockEvent called with incorrect location
...
By: md_5 <git@md-5.net>
2021-11-21 11:18:06 +11:00
CraftBukkit/Spigot
b4da42047a
#929 : Call EntityBlockFormEvent for Wither Rose placed by dead entity
...
By: Doc <nachito94@msn.com>
2021-09-06 18:57:16 +10:00
CraftBukkit/Spigot
77dcaefa51
SPIGOT-6708: Fix Experience Orb value not being updated in mend event
...
By: Phoenix616 <max@themoep.de>
2021-09-03 18:37:44 +10:00
CraftBukkit/Spigot
00c0964347
SPIGOT-6713: Cancelling EntityTransformEvent Causes Deceased Slimes To Not Despawn
...
By: md_5 <git@md-5.net>
2021-08-22 18:07:31 +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
dcfc8b355a
SPIGOT-6669: Shearing a Mooshroom does not fire EntityDropItemEvent
...
By: md_5 <git@md-5.net>
2021-07-23 16:36:16 +10:00
CraftBukkit/Spigot
9273a60cdb
SPIGOT-6665: Shearing a Snowman does not drop a carved pumpkin
...
By: md_5 <git@md-5.net>
2021-07-22 17:51:53 +10:00
CraftBukkit/Spigot
2ccd460e09
SPIGOT-6663: Chicken Jockeys chickens don't despawn
...
By: md_5 <git@md-5.net>
2021-07-22 09:53:26 +10:00
CraftBukkit/Spigot
bfc74e8628
SPIGOT-6545: Unable to set Guardian target via API while awareness is disabled
...
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:36:54 +10:00
CraftBukkit/Spigot
81ee774c37
SPIGOT-6623: Missing API reasons for entity freezing
...
By: Doc <nachito94@msn.com>
2021-07-11 09:32:27 +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
bc5ed0e911
SPIGOT-6616: Cancellable StriderTemperatureChangeEvent
...
By: md_5 <git@md-5.net>
2021-07-03 09:36:51 +10:00
CraftBukkit/Spigot
46a09d53f1
#870 : Add isTrusting/setTrusting to CraftOcelot.
...
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2021-06-21 08:40:43 +10:00