Package ch.njol.skript.bukkitutil
Class PassengerUtils
java.lang.Object
ch.njol.skript.bukkitutil.PassengerUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPassenger
(Entity vehicle, Entity passenger) Add the passenger to the vehiclestatic Entity[]
static boolean
static void
removePassenger
(Entity vehicle, Entity passenger) Remove the passenger from the vehicle.
-
Method Details
-
getPassenger
-
addPassenger
Add the passenger to the vehicle- Parameters:
vehicle
- - The entity vehiclepassenger
- - The entity passenger
-
removePassenger
Remove the passenger from the vehicle.- Parameters:
vehicle
- - The entity vehiclepassenger
- - The entity passenger
-
hasMultiplePassenger
public static boolean hasMultiplePassenger()- Returns:
- True if it supports multiple passengers
-