Uses of Enum Class
nl.mtvehicles.core.infrastructure.enums.VehicleType
Package
Description
Classes with methods for different configuration files
Custom enums used in the plugin
Classes for handling vehicles
Classes concerning the movement of vehicles
-
Uses of VehicleType in nl.mtvehicles.core.infrastructure.dataconfig
Modifier and TypeMethodDescriptionGet the type (enum) of the vehicle.Modifier and TypeMethodDescriptionboolean
DefaultConfig.canProceedWithAction(RegionAction action, VehicleType vehicleType, org.bukkit.Location loc, org.bukkit.entity.Player p)
Check whether a player can proceed with a specified action on a specified location. -
Uses of VehicleType in nl.mtvehicles.core.infrastructure.enums
Modifier and TypeMethodDescriptionstatic VehicleType
Returns the enum constant of this class with the specified name.static VehicleType[]
VehicleType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of VehicleType in nl.mtvehicles.core.infrastructure.vehicle
ModifierConstructorDescriptionVehicle(@Nullable Map<?,?> vehicleData, String licensePlate, String name, VehicleType vehicleType, boolean isPublic, int skinDamage, String skinItem, boolean glowing, boolean hornEnabled, double health, boolean fuelEnabled, double fuel, double fuelUsage, boolean trunkEnabled, int trunkRows, List<String> trunkData, double accelerationSpeed, double maxSpeed, double maxSpeedBackwards, double brakingSpeed, double frictionSpeed, int rotateSpeed, UUID owner, List<String> riders, List<String> members, double price, String nbtValue)
Create a new Vehicle instance with all the values necessary -
Uses of VehicleType in nl.mtvehicles.core.movement
Modifier and TypeFieldDescriptionprotected VehicleType
VehicleMovement.vehicleType
The type of vehicle.