Class CommandStats

java.lang.Object
net.minecraft.command.CommandStats

public class CommandStats
extends Object
Mappings:
Namespace Name
official n
intermediary net/minecraft/class_1685
named net/minecraft/command/CommandStats
  • Field Details

    • SIZE

      private static final int SIZE
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a:I
      intermediary field_6954 Lnet/minecraft/class_1685;field_6954:I
      named SIZE Lnet/minecraft/command/CommandStats;SIZE:I
    • BLANK

      private static final String[] BLANK
      Mappings:
      Namespace Name Mixin selector
      official b Ln;b:[Ljava/lang/String;
      intermediary field_6955 Lnet/minecraft/class_1685;field_6955:[Ljava/lang/String;
      named BLANK Lnet/minecraft/command/CommandStats;BLANK:[Ljava/lang/String;
    • names

      private String[] names
      Mappings:
      Namespace Name Mixin selector
      official c Ln;c:[Ljava/lang/String;
      intermediary field_6956 Lnet/minecraft/class_1685;field_6956:[Ljava/lang/String;
      named names Lnet/minecraft/command/CommandStats;names:[Ljava/lang/String;
    • objectives

      private String[] objectives
      Mappings:
      Namespace Name Mixin selector
      official d Ln;d:[Ljava/lang/String;
      intermediary field_6957 Lnet/minecraft/class_1685;field_6957:[Ljava/lang/String;
      named objectives Lnet/minecraft/command/CommandStats;objectives:[Ljava/lang/String;
  • Constructor Details

    • CommandStats

      public CommandStats()
  • Method Details

    • method_6376

      public void method_6376​(CommandSource commandSource, CommandStats.Type type, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Lm;Ln$a;I)V
      intermediary method_6376 Lnet/minecraft/class_1685;method_6376(Lnet/minecraft/class_1659;Lnet/minecraft/class_1685$class_1686;I)V
      named method_6376 Lnet/minecraft/command/CommandStats;method_6376(Lnet/minecraft/command/CommandSource;Lnet/minecraft/command/CommandStats$Type;I)V
    • fromTag

      public void fromTag​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Ldn;)V
      intermediary method_6375 Lnet/minecraft/class_1685;method_6375(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/command/CommandStats;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • toTag

      public void toTag​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official b Ln;b(Ldn;)V
      intermediary method_6380 Lnet/minecraft/class_1685;method_6380(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/command/CommandStats;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • setStat

      public static void setStat​(CommandStats stats, CommandStats.Type type, String name, String objective)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Ln;Ln$a;Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_6379 Lnet/minecraft/class_1685;method_6379(Lnet/minecraft/class_1685;Lnet/minecraft/class_1685$class_1686;Ljava/lang/String;Ljava/lang/String;)V
      named setStat Lnet/minecraft/command/CommandStats;setStat(Lnet/minecraft/command/CommandStats;Lnet/minecraft/command/CommandStats$Type;Ljava/lang/String;Ljava/lang/String;)V
    • method_6378

      private static void method_6378​(CommandStats stats, CommandStats.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Ln;Ln$a;)V
      intermediary method_6378 Lnet/minecraft/class_1685;method_6378(Lnet/minecraft/class_1685;Lnet/minecraft/class_1685$class_1686;)V
      named method_6378 Lnet/minecraft/command/CommandStats;method_6378(Lnet/minecraft/command/CommandStats;Lnet/minecraft/command/CommandStats$Type;)V
    • setAllStats

      public void setAllStats​(CommandStats sats)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Ln;)V
      intermediary method_6377 Lnet/minecraft/class_1685;method_6377(Lnet/minecraft/class_1685;)V
      named setAllStats Lnet/minecraft/command/CommandStats;setAllStats(Lnet/minecraft/command/CommandStats;)V