mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
Implemented vehicle hooks (some changes will still be made).
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
1 parent
339e57513a
commit
2ff558c10b
12 files changed
+348
-4
No files matched your search
@@ -337,12 +337,12 @@ public abstract class Event {
|
||||
/**
|
||||
* Called when a vehicle is placed by a player
|
||||
*/
|
||||
VEHICLE_PLACED (Category.VEHICLE),
|
||||
VEHICLE_PLACE (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* Called when a vehicle is damaged by a LivingEntity
|
||||
*/
|
||||
VEHICLE_DAMAGED (Category.VEHICLE),
|
||||
VEHICLE_DAMAGE (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* Called when a vehicle collides with an Entity
|
||||
@@ -357,12 +357,12 @@ public abstract class Event {
|
||||
/**
|
||||
* Called when a vehicle is entered by a LivingEntity
|
||||
*/
|
||||
VEHICLE_ENTERED (Category.VEHICLE),
|
||||
VEHICLE_ENTER (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* Called when a vehicle is exited by a LivingEntity
|
||||
*/
|
||||
VEHICLE_EXITED (Category.VEHICLE),
|
||||
VEHICLE_EXIT (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* Called when a vehicle moves position in the world
|
||||
|
||||
Reference in new issue
Block a user