1.4.12
This commit is contained in:
1 parent
5adc3ae3f9
commit
8a2ddcbf2a
14 files changed
+26
-24
No files matched your search
@@ -31,7 +31,7 @@ import java.lang.Math;
|
||||
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class DrawCommand
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import static com.mojang.brigadier.arguments.StringArgumentType.getString;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class LogCommand
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ import net.minecraft.util.registry.Registry;
|
||||
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class MobAICommand
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ import java.util.function.Consumer;
|
||||
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class PlayerCommand
|
||||
{
|
||||
|
||||
@@ -48,12 +48,12 @@ import java.util.stream.Collectors;
|
||||
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class ScriptCommand
|
||||
{
|
||||
private static TreeSet<String> scarpetFunctions;
|
||||
private static TreeSet<String> APIFunctions;
|
||||
private static final TreeSet<String> scarpetFunctions;
|
||||
private static final TreeSet<String> APIFunctions;
|
||||
static
|
||||
{
|
||||
Set<String> allFunctions = (new CarpetExpression(null, "null", null, null)).getExpr().getFunctionNames();
|
||||
|
||||
@@ -30,7 +30,7 @@ import static com.mojang.brigadier.arguments.StringArgumentType.string;
|
||||
import static com.mojang.brigadier.arguments.StringArgumentType.word;
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
|
||||
public class SpawnCommand
|
||||
|
||||
@@ -20,7 +20,7 @@ import static com.mojang.brigadier.arguments.StringArgumentType.getString;
|
||||
import static com.mojang.brigadier.arguments.StringArgumentType.greedyString;
|
||||
import static net.minecraft.server.command.CommandManager.argument;
|
||||
import static net.minecraft.server.command.CommandManager.literal;
|
||||
import static net.minecraft.server.command.CommandSource.suggestMatching;
|
||||
import static net.minecraft.command.CommandSource.suggestMatching;
|
||||
|
||||
public class TickCommand
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user