public class CommandResultStats
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandResultStats.Type |
Constructor and Description |
---|
CommandResultStats() |
Modifier and Type | Method and Description |
---|---|
void |
addAllStats(CommandResultStats resultStatsIn) |
void |
readStatsFromNBT(NBTTagCompound tagcompound) |
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) |
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)
public void addAllStats(CommandResultStats resultStatsIn)