-
Notifications
You must be signed in to change notification settings - Fork 1
VehicleHandler
pixelrider2000 edited this page Sep 11, 2021
·
6 revisions
-
putPlayerInDriveable(String playerUUID, String vehicleUUID)
- playerUUID : UUID of player
- vehicleUUID : UUID of vehicle to put the player in
-
spawnDriveable(String worldName, int cx, int cy, int cz, String type, int sx, int sy, int sz, float rotation)
Explanation: When this method is called it will check if there is a chest at the given coordinates and if so graps the first item out of it that isn't null
- worldName : name of the world to spawn the driveable in
- cx : x coordinate of chest
- cy : y coordinate of chest
- cz : z coordinate of chest
- type : (either "vehicle" or "plane")
- sx : x coordinate of where to spawn the driveable
- sy : y coordinate of where to spawn the driveable
- sz : z coordinate of where to spawn the driveable
- rotation : rotation of the spawned driveable