Class VehicleEdit

java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVehicleSubCommand
nl.mtvehicles.core.commands.vehiclesubs.VehicleEdit

public class VehicleEdit extends MTVehicleSubCommand
/vehicle edit - edit held vehicle's specifications (in a GUI).
  • Constructor Details

    • VehicleEdit

      public VehicleEdit()
  • Method Details

    • execute

      public boolean execute()
      Description copied from class: MTVehicleSubCommand
      Code executed by a subcommand
      Specified by:
      execute in class MTVehicleSubCommand
      Returns:
      True if successful
    • editMenu

      public static void editMenu(org.bukkit.entity.Player p, org.bukkit.inventory.ItemStack item)
      Open /vehicle edit GUI menu to a player
      Parameters:
      p - Player
      item - Vehicle item