diff options
| author | Lance5057 <Lance5057@gmail.com> | 2017-06-30 00:31:52 -0500 |
|---|---|---|
| committer | Lance5057 <Lance5057@gmail.com> | 2017-06-30 00:31:52 -0500 |
| commit | 18e5d45b4d530cc60e59d78cc436877a152b567c (patch) | |
| tree | 7c81ead0d846063f6f66599854b4078ca6932358 /src/main/java/lance5057/tDefense/TD_Commands.java | |
| parent | c757aeb7db1ff0c08ae7f3277ccb2620d5b55600 (diff) | |
Added new metal fluids.
Added special interaction for:
Vile Fluid - Changes various mobs to alternative forms.
Vibrant Fluid - Grows grass on dirt blocks.
Diffstat (limited to 'src/main/java/lance5057/tDefense/TD_Commands.java')
| -rw-r--r-- | src/main/java/lance5057/tDefense/TD_Commands.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/lance5057/tDefense/TD_Commands.java b/src/main/java/lance5057/tDefense/TD_Commands.java index e97f303..4e89780 100644 --- a/src/main/java/lance5057/tDefense/TD_Commands.java +++ b/src/main/java/lance5057/tDefense/TD_Commands.java @@ -3,11 +3,14 @@ package lance5057.tDefense; import java.util.ArrayList; import java.util.List; +import javax.annotation.Nullable; + import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommand; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; +import net.minecraft.util.math.BlockPos; import net.minecraft.util.text.TextComponentString; import net.minecraft.world.World; @@ -121,11 +124,11 @@ public class TD_Commands extends CommandBase implements ICommand // return true; // } // -// @Override -// public List addTabCompletionOptions(ICommandSender p_71516_1_, String[] p_71516_2_) -// { -// return commands; -// } + @Override + public List<String> getTabCompletions(MinecraftServer server, ICommandSender sender, String[] args, @Nullable BlockPos pos) + { + return commands; + } @Override public boolean isUsernameIndex(String[] p_82358_1_, int p_82358_2_) |
