Rename Commands

This commit is contained in:
KAMKEEL committed 2023-03-02 02:35:46 -05:00
1 parent 33dd07d941
commit e003e375db
2 files changed
+5 -7

No files matched your search

@@ -1,14 +1,12 @@
package kamkeel;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatComponentTranslation;
import noppes.npcs.controllers.ScriptController;
public class CmdScript extends CommandKamkeelBase {
public class ScriptCommand extends CommandKamkeelBase {
@SubCommand(desc = "Reload scripts and saved data from disks script folder.")
@SubCommand(desc = "Reload scripts data and folders.")
public Boolean reload(ICommandSender sender, String args[]) {
ScriptController.Instance.loadCategories();
@@ -26,10 +26,10 @@ import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.ChatComponentTranslation;
import noppes.npcs.entity.EntityNPCInterface;
public class CmdSlay extends CommandKamkeelBase {
public class SlayCommand extends CommandKamkeelBase {
public Map<String, Class<?>> SlayMap = new LinkedHashMap<String, Class<?>>();
public CmdSlay(){
public SlayCommand(){
SlayMap.clear();
SlayMap.put("all",EntityLivingBase.class);
@@ -60,7 +60,7 @@ public class CmdSlay extends CommandKamkeelBase {
@Override
public String getDescription() {
return "Kills given entity within range. Also has all, mobs, animal options. Can have multiple types";
return "Kills given entity within range. Tab to see options.";
}
@Override