public class CommandResultStats
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandResultStats.Type |
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
entitiesID |
private static int |
NUM_RESULT_TYPES |
private java.lang.String[] |
objectives |
private static java.lang.String[] |
STRING_RESULT_TYPES |
Constructor and Description |
---|
CommandResultStats() |
Modifier and Type | Method and Description |
---|---|
void |
addAllStats(CommandResultStats resultStatsIn) |
void |
readStatsFromNBT(NBTTagCompound tagcompound) |
private static void |
removeScoreBoardStat(CommandResultStats resultStatsIn,
CommandResultStats.Type resultTypeIn) |
void |
setCommandStatForSender(MinecraftServer server,
ICommandSender sender,
CommandResultStats.Type typeIn,
int p_184932_4_) |
static void |
setScoreBoardStat(CommandResultStats stats,
CommandResultStats.Type resultType,
java.lang.String entityID,
java.lang.String objectiveName) |
void |
writeStatsToNBT(NBTTagCompound tagcompound) |
private static final int NUM_RESULT_TYPES
private static final java.lang.String[] STRING_RESULT_TYPES
private java.lang.String[] entitiesID
private java.lang.String[] objectives
public void setCommandStatForSender(MinecraftServer server, ICommandSender sender, CommandResultStats.Type typeIn, int p_184932_4_)
public void readStatsFromNBT(NBTTagCompound tagcompound)
public void writeStatsToNBT(NBTTagCompound tagcompound)
public static void setScoreBoardStat(CommandResultStats stats, CommandResultStats.Type resultType, @Nullable java.lang.String entityID, @Nullable java.lang.String objectiveName)
private static void removeScoreBoardStat(CommandResultStats resultStatsIn, CommandResultStats.Type resultTypeIn)
public void addAllStats(CommandResultStats resultStatsIn)