Class GlowMinecart.Command

All Implemented Interfaces:
io.papermc.paper.command.CommandBlockHolder, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.command.CommandSender, org.bukkit.entity.Entity, org.bukkit.entity.Minecart, org.bukkit.entity.minecart.CommandMinecart, org.bukkit.entity.Vehicle, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder
Enclosing class:
GlowMinecart

public static class GlowMinecart.Command extends GlowMinecart implements org.bukkit.entity.minecart.CommandMinecart
  • Constructor Details

    • Command

      public Command(org.bukkit.Location location)
  • Method Details

    • lastOutput

      @NotNull public @NotNull net.kyori.adventure.text.Component lastOutput()
      Specified by:
      lastOutput in interface io.papermc.paper.command.CommandBlockHolder
    • lastOutput

      public void lastOutput(@Nullable @Nullable net.kyori.adventure.text.Component lastOutput)
      Specified by:
      lastOutput in interface io.papermc.paper.command.CommandBlockHolder
    • getSuccessCount

      public int getSuccessCount()
      Specified by:
      getSuccessCount in interface io.papermc.paper.command.CommandBlockHolder
    • setSuccessCount

      public void setSuccessCount(int successCount)
      Specified by:
      setSuccessCount in interface io.papermc.paper.command.CommandBlockHolder
    • getCommand

      public String getCommand()
      Specified by:
      getCommand in interface io.papermc.paper.command.CommandBlockHolder
      Specified by:
      getCommand in interface org.bukkit.entity.minecart.CommandMinecart
    • setCommand

      public void setCommand(String command)
      Specified by:
      setCommand in interface io.papermc.paper.command.CommandBlockHolder
      Specified by:
      setCommand in interface org.bukkit.entity.minecart.CommandMinecart
    • getName

      public String getName()
      Specified by:
      getName in interface org.bukkit.command.CommandSender
      Overrides:
      getName in class GlowEntity
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.bukkit.entity.minecart.CommandMinecart