mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-04-17 09:06:24 +02:00
40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package com.gmail.nossr50.commands.skills;
|
|
|
|
import com.gmail.nossr50.util.text.TextComponentFactory;
|
|
import com.neetgames.mcmmo.player.OnlineMMOPlayer;
|
|
import net.kyori.adventure.text.Component;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class TridentsCommand extends SkillCommand {
|
|
public TridentsCommand() {
|
|
super(CoreSkills.TRIDENTS);
|
|
}
|
|
|
|
@Override
|
|
protected void dataCalculations(@NotNull OnlineMMOPlayer mmoPlayer, float skillValue) {
|
|
|
|
}
|
|
|
|
@Override
|
|
protected void permissionsCheck(@NotNull OnlineMMOPlayer mmoPlayer) {
|
|
|
|
}
|
|
|
|
@Override
|
|
protected @NotNull List<String> statsDisplay(@NotNull OnlineMMOPlayer mmoPlayer, float skillValue, boolean hasEndurance, boolean isLucky) {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
protected @NotNull List<Component> getTextComponents(@NotNull OnlineMMOPlayer mmoPlayer) {
|
|
List<Component> textComponents = new ArrayList<>();
|
|
|
|
TextComponentFactory.getSubSkillTextComponents(mmoPlayer, textComponents, CoreSkills.TRIDENTS);
|
|
|
|
return textComponents;
|
|
}
|
|
}
|