net.minecraft.server.command

public abstract class AbstractCommand

implements Command

bi
net.minecraft.unmapped.C_04091279
net.minecraft.server.command.AbstractCommand

Field summary

Modifier and TypeField
private static CommandListener
a
f_16331593
listener
private static final com.google.common.base.Splitter
b
f_35230243
BLOCK_STATE_PROPERTY_SPLITTER
private static final com.google.common.base.Splitter
c
f_65735883
BLOCK_STATE_PROPERTY_VALUE_SPLITTER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static CommandSyntaxException
a(com.google.gson.JsonParseException arg0)
m_47236161(com.google.gson.JsonParseException arg0)
jsonException(com.google.gson.JsonParseException e)
public static NbtCompound
a(vg arg0)
m_29219280(C_42232651 arg0)
getEntityNbt(Entity entity)
public int
a()
m_09735553()
getRequiredPermissionLevel()
public List<String>
b()
m_19041456()
getAliases()
public boolean
a(MinecraftServer arg0, bn arg1)
m_52842527(MinecraftServer arg0, C_23078083 arg1)
canUse(MinecraftServer arg0, CommandSource arg1)
public List<String>
a(MinecraftServer arg0, bn arg1, String[] arg2, et arg3)
m_74370043(MinecraftServer arg0, C_23078083 arg1, String[] arg2, C_32594356 arg3)
getSuggestions(MinecraftServer arg0, CommandSource arg1, String[] arg2, BlockPos arg3)
public static int
a(String arg0)
m_44446064(String arg0)
parseInt(String s)
public static int
a(String arg0, int arg1)
m_69646919(String arg0, int arg1)
parseInt(String s, int min)
public static int
a(String arg0, int arg1, int arg2)
m_61076836(String arg0, int arg1, int arg2)
parseInt(String s, int min, int max)
public static long
b(String arg0)
m_17407616(String arg0)
parseLong(String s)
public static long
a(String arg0, long arg1, long arg2)
m_40017136(String arg0, long arg1, long arg2)
parseLong(String s, long min, long max)
public static BlockPos
a(bn arg0, String[] arg1, int arg2, boolean arg3)
m_66885637(C_23078083 arg0, String[] arg1, int arg2, boolean arg3)
parseBlockPos(CommandSource source, String[] args, int startIndex, boolean center)
public static double
c(String arg0)
m_95365496(String arg0)
parseDouble(String s)
public static double
a(String arg0, double arg1)
m_84275824(String arg0, double arg1)
parseDouble(String s, double min)
public static double
a(String arg0, double arg1, double arg2)
m_01336847(String arg0, double arg1, double arg2)
parseDouble(String s, double min, double max)
public static boolean
d(String arg0)
m_91939847(String arg0)
parseBoolean(String s)
public static ServerPlayerEntity
a(bn arg0)
m_76589835(C_23078083 arg0)
asPlayer(CommandSource source)
public static List<ServerPlayerEntity>
a(MinecraftServer arg0, bn arg1, String arg2)
m_80558057(MinecraftServer arg0, C_23078083 arg1, String arg2)
parsePlayers(MinecraftServer server, CommandSource source, String s)
public static ServerPlayerEntity
b(MinecraftServer arg0, bn arg1, String arg2)
m_45959294(MinecraftServer arg0, C_23078083 arg1, String arg2)
parsePlayer(MinecraftServer server, CommandSource source, String s)
private static ServerPlayerEntity
a(MinecraftServer arg0, oq arg1, String arg2)
m_13255613(MinecraftServer arg0, C_49202226 arg1, String arg2)
parsePlayerOrDefault(MinecraftServer server, ServerPlayerEntity defaultValue, String s)
public static Entity
c(MinecraftServer arg0, bn arg1, String arg2)
m_14026343(MinecraftServer arg0, C_23078083 arg1, String arg2)
parseEntity(MinecraftServer server, CommandSource source, String s)
public static <T extends Entity> T
a(MinecraftServer arg0, bn arg1, String arg2, Class<? extends T> arg3)
m_64831965(MinecraftServer arg0, C_23078083 arg1, String arg2, Class<? extends T> arg3)
parseEntity(MinecraftServer server, CommandSource source, String s, Class<? extends T> type)
public static List<Entity>
d(MinecraftServer arg0, bn arg1, String arg2)
m_93089615(MinecraftServer arg0, C_23078083 arg1, String arg2)
parseEntities(MinecraftServer server, CommandSource source, String s)
public static String
e(MinecraftServer arg0, bn arg1, String arg2)
m_22662772(MinecraftServer arg0, C_23078083 arg1, String arg2)
parsePlayerName(MinecraftServer server, CommandSource source, String s)
public static String
f(MinecraftServer arg0, bn arg1, String arg2)
m_55221998(MinecraftServer arg0, C_23078083 arg1, String arg2)
parseEntityName(MinecraftServer server, CommandSource source, String s)
public static Text
a(bn arg0, String[] arg1, int arg2)
m_00780686(C_23078083 arg0, String[] arg1, int arg2)
parseText(CommandSource source, String[] args, int startIndex)
public static Text
b(bn arg0, String[] arg1, int arg2, boolean arg3)
m_50363543(C_23078083 arg0, String[] arg1, int arg2, boolean arg3)
parseText(CommandSource source, String[] args, int startIndex, boolean parseEntityNames)
public static String
a(String[] arg0, int arg1)
m_73590411(String[] arg0, int arg1)
parseString(String[] args, int startIndex)
public static AbstractCommand$Coordinate
a(double arg0, String arg1, boolean arg2)
m_22005140(double arg0, String arg1, boolean arg2)
parseTeleportCoordinate(double c, String s, boolean center)
public static AbstractCommand$Coordinate
a(double arg0, String arg1, int arg2, int arg3, boolean arg4)
m_22773847(double arg0, String arg1, int arg2, int arg3, boolean arg4)
parseTeleportCoordinate(double c, String s, int min, int max, boolean center)
public static double
b(double arg0, String arg1, boolean arg2)
m_46771604(double arg0, String arg1, boolean arg2)
parseCoordinate(double c, String s, boolean center)
public static double
b(double arg0, String arg1, int arg2, int arg3, boolean arg4)
m_11414673(double arg0, String arg1, int arg2, int arg3, boolean arg4)
parseCoordinate(double c, String s, int min, int max, boolean center)
public static Item
a(bn arg0, String arg1)
m_31567079(C_23078083 arg0, String arg1)
parseItem(CommandSource source, String s)
public static Block
b(bn arg0, String arg1)
m_63110067(C_23078083 arg0, String arg1)
parseBlock(CommandSource source, String s)
public static BlockState
a(aow arg0, String arg1)
m_91019031(C_81592558 arg0, String arg1)
parseBlockState(Block block, String s)
private static <T extends Comparable<T>> BlockState
a(awt arg0, axj<T> arg1, Comparable<?> arg2)
m_16093622(C_15815210 arg0, C_35946071<T> arg1, Comparable<?> arg2)
setPropertyValue(BlockState state, Property<T> property, Comparable<?> value)
public static com.google.common.base.Predicate<BlockState>
b(aow arg0, String arg1)
m_67003333(C_81592558 arg0, String arg1)
parseBlockStatePredicate(Block block, String s)
private static Map<Property<?>, Comparable<?>>
c(aow arg0, String arg1)
m_97583077(C_81592558 arg0, String arg1)
parseProperties(Block block, String s)
private static <T extends Comparable<T>> T
a(axj<T> arg0, String arg1)
m_42409438(C_35946071<T> arg0, String arg1)
parsePropertyValue(Property<T> property, String s)
public static String
a(Object[] arg0)
m_97086911(Object[] arg0)
listArgs(Object[] args)
public static Text
a(List<hh> arg0)
m_93996905(List<C_95231345> arg0)
listText(List<Text> text)
public static String
a(Collection<String> arg0)
m_66501484(Collection<String> arg0)
listArgs(Collection<String> args)
public static List<String>
a(String[] arg0, int arg1, et arg2)
m_97193706(String[] arg0, int arg1, C_32594356 arg2)
suggestCoordinate(String[] args, int index, BlockPos pos)
public static List<String>
b(String[] arg0, int arg1, et arg2)
m_81028379(String[] arg0, int arg1, C_32594356 arg2)
suggestHorizontalCoordinate(String[] args, int index, BlockPos pos)
public static boolean
a(String arg0, String arg1)
m_04151853(String arg0, String arg1)
doesStringStartWith(String region, String s)
public static List<String>
a(String[] arg0, String... arg1)
m_19774958(String[] arg0, String... arg1)
suggestMatching(String[] args, String... suggestions)
public static List<String>
a(String[] arg0, Collection<?> arg1)
m_46845050(String[] arg0, Collection<?> arg1)
suggestMatching(String[] args, Collection<?> suggestions)
public boolean
b(String[] arg0, int arg1)
m_73851468(String[] arg0, int arg1)
hasTargetSelectorAt(String[] arg0, int arg1)
public static void
a(bn arg0, bk arg1, String arg2, Object... arg3)
m_30150955(C_23078083 arg0, C_53421322 arg1, String arg2, Object... arg3)
sendSuccess(CommandSource source, Command command, String message, Object... args)
public static void
a(bn arg0, bk arg1, int arg2, String arg3, Object... arg4)
m_71920105(C_23078083 arg0, C_53421322 arg1, int arg2, String arg3, Object... arg4)
sendSuccess(CommandSource source, Command command, int flags, String message, Object... args)
public static void
a(bh arg0)
m_32579854(C_61644694 arg0)
setListener(CommandListener listener)
public int
a(bk arg0)
compareTo(C_53421322 arg0)
compareTo(Command o)