TeleportCommand class
Пакет: com.hypixel.hytale.builtin.teleport.commands.teleport
Файл: com/hypixel/hytale/builtin/teleport/commands/teleport/TeleportCommand.java
extends: AbstractCommandCollection
Методы (1)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
abstract |
|
super super("tp", "server.commands.tp.desc") |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.builtin.teleport.commands.teleport;
class="kw">import com.hypixel.hytale.builtin.teleport.commands.teleport.variant.TeleportOtherToPlayerCommand;
class="kw">import com.hypixel.hytale.builtin.teleport.commands.teleport.variant.TeleportPlayerToCoordinatesCommand;
class="kw">import com.hypixel.hytale.builtin.teleport.commands.teleport.variant.TeleportToCoordinatesCommand;
class="kw">import com.hypixel.hytale.builtin.teleport.commands.teleport.variant.TeleportToPlayerCommand;
class="kw">import com.hypixel.hytale.server.core.command.system.basecommands.AbstractCommandCollection;
class="kw">public class TeleportCommand class="kw">extends AbstractCommandCollection {
class="kw">public TeleportCommand() {
super("tp", "server.commands.tp.desc");
this.setPermissionGroups("hytale:WorldEditor");
this.addAliases("teleport");
this.addUsageVariant(new TeleportToCoordinatesCommand());
this.addUsageVariant(new TeleportPlayerToCoordinatesCommand());
this.addUsageVariant(new TeleportToPlayerCommand());
this.addUsageVariant(new TeleportOtherToPlayerCommand());
this.addSubCommand(new TeleportAllCommand());
this.addSubCommand(new TeleportHomeCommand());
this.addSubCommand(new TeleportTopCommand());
this.addSubCommand(new TeleportBackCommand());
this.addSubCommand(new TeleportForwardCommand());
this.addSubCommand(new TeleportHistoryCommand());
this.addSubCommand(new TeleportWorldCommand());
}
}