PaperMC/paper-server/patches/sources/net/minecraft/world/item
Martijn Muijsers cdc3b28062 Do crystal-portal proximity check before entity lookup
This adds a very cheap distance check when an end crystal is placed.

Attempting to respawn the dragon, which involves looking up the end crystal
entities near the portal, every time an end crystal is placed, can be slow on
some servers that have players placing end crystals as a style of combat.

The very cheap distance check prevents running the entity lookup every time.
2023-08-15 21:04:55 +02:00
..
alchemy Custom Potion Mixes 2021-10-07 14:34:55 -07:00
component Prevent various interactions from causing chunk loads 2018-09-10 23:56:36 -04:00
consume_effects Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
crafting Option to prevent data components copy in smithing recipes 2021-09-26 12:57:28 -07:00
enchantment Add EntityDamageItemEvent 2020-12-22 13:52:48 -08:00
trading Add ignore discounts API 2020-11-09 20:44:51 +01:00
ArmorStandItem.java.patch Fix slot desync 2023-08-23 13:22:09 -07:00
AxeItem.java.patch Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
BlockItem.java.patch Fix slot desync 2023-08-23 13:22:09 -07:00
BoatItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
BoneMealItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
BucketItem.java.patch Fix PlayerBucketEmptyEvent result itemstack 2021-05-20 22:16:37 -07:00
CrossbowItem.java.patch Add EntityLoadCrossbowEvent 2020-10-07 12:04:01 -04:00
DebugStickItem.java.patch Add creative mode NBT permissions 2019-02-25 19:26:56 +11:00
DyeItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
EggItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
EndCrystalItem.java.patch Do crystal-portal proximity check before entity lookup 2023-08-15 21:04:55 +02:00
EnderEyeItem.java.patch Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
EnderpearlItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
ExperienceBottleItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
FireChargeItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
FireworkRocketItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
FishingRodItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
FlintAndSteelItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
HangingEntityItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
HoneycombItem.java.patch Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
ItemCooldowns.java.patch Add PlayerItemCooldownEvent 2020-08-25 13:48:33 +02:00
ItemStack.java.patch Only capture actual tree growth 2021-08-21 18:53:03 -07:00
ItemUtils.java.patch Add various missing EntityDropItemEvent calls 2021-07-20 21:35:47 -07:00
LeadItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LingeringPotionItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
MapItem.java.patch Use seed based lookup for Treasure Maps - Fixes lag from carto/sunken maps 2020-06-07 19:25:13 -04:00
MinecartItem.java.patch Fix slot desync 2023-08-23 13:22:09 -07:00
NameTagItem.java.patch Add PlayerNameEntityEvent 2020-07-05 00:33:54 -07:00
PotionItem.java.patch Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
ProjectileWeaponItem.java.patch Add EntityLoadCrossbowEvent 2020-10-07 12:04:01 -04:00
ServerItemCooldowns.java.patch Add PlayerItemCooldownEvent 2020-08-25 13:48:33 +02:00
ShovelItem.java.patch Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
SignItem.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
SnowballItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
SpawnEggItem.java.patch Allow disabling mob spawner spawn egg transformation 2020-10-09 20:30:12 -04:00
SplashPotionItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
StandingAndWallBlockItem.java.patch Expose hand in BlockCanBuildEvent 2023-08-21 14:13:42 +01:00
ThrowablePotionItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
TridentItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
WindChargeItem.java.patch PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
WrittenBookItem.java.patch Disable component selector resolving in books by default 2022-06-02 20:35:58 +02:00