13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft/world/entity
Shane Freeder 373c8ff0b2 force entity dismount during teleportation
Entities must be dismounted before teleportation in order to avoid
multiple issues in the server with regards to teleportation, shamefully,
too many plugins rely on the events firing, which means that not firing
these events caues more issues than it solves;

In order to counteract this, Entity dismount/exit vehicle events have
been modified to supress cancellation (and has a method to allow plugins
to check if this has been set), noting that cancellation will be silently
surpressed given that plugins are not expecting this event to not be cancellable.

This is a far from ideal scenario, however: given the current state of this
event and other alternatives causing issues elsewhere, I believe that
this is going to be the best soultion all around.

Improvements/suggestions welcome!
2018-11-15 13:38:37 +00:00
..
ai Prevent various interactions from causing chunk loads 2018-09-10 23:56:36 -04:00
ambient Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
animal Turtle API 2018-09-29 16:08:23 -05:00
boss EnderDragon Events 2018-07-21 01:51:27 -05:00
decoration Improve death events 2018-08-21 01:39:35 +01:00
item PlayerAttemptPickupItemEvent 2017-06-11 16:30:30 -05:00
monster force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
npc PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
player force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
projectile Vanished players don't have rights 2018-07-23 14:22:26 +02:00
raid Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
vehicle LootTable API and replenishable lootables 2016-05-01 21:19:14 -04:00
AgeableMob.java.patch Honor EntityAgeable.ageLock 2018-09-23 20:59:53 -05:00
AreaEffectCloud.java.patch Entity Activation Range 2024-11-02 18:16:11 +11:00
ConversionParams.java.patch Add EntityZapEvent 2016-10-16 23:19:30 -07:00
ConversionType.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Entity.java.patch force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
EntitySelector.java.patch Configurable Player Collision 2016-04-13 02:10:49 -04:00
EntityType.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
ExperienceOrb.java.patch Fix NBT type issues 2018-08-03 00:04:54 -04:00
Interaction.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ItemBasedSteering.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Leashable.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LightningBolt.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LivingEntity.java.patch force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
Mob.java.patch Improve death events 2018-08-21 01:39:35 +01:00
NeutralMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
PathfinderMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
TamableAnimal.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00