Class SpawnArmorTrimsCommand

java.lang.Object
net.minecraft.server.command.SpawnArmorTrimsCommand

public class SpawnArmorTrimsCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/SpawnArmorTrimsCommand
intermediary net/minecraft/class_8044
official apw
  • Field Details

    • PATTERNS

      private static final List<RegistryKey<ArmorTrimPattern>> PATTERNS
      Mappings:
      Namespace Name Mixin selector
      named PATTERNS Lnet/minecraft/server/command/SpawnArmorTrimsCommand;PATTERNS:Ljava/util/List;
      intermediary field_41886 Lnet/minecraft/class_8044;field_41886:Ljava/util/List;
      official a Lapw;a:Ljava/util/List;
    • MATERIALS

      private static final List<RegistryKey<ArmorTrimMaterial>> MATERIALS
      Mappings:
      Namespace Name Mixin selector
      named MATERIALS Lnet/minecraft/server/command/SpawnArmorTrimsCommand;MATERIALS:Ljava/util/List;
      intermediary field_41887 Lnet/minecraft/class_8044;field_41887:Ljava/util/List;
      official b Lapw;b:Ljava/util/List;
    • PATTERN_INDEX_GETTER

      private static final ToIntFunction<RegistryKey<ArmorTrimPattern>> PATTERN_INDEX_GETTER
      Mappings:
      Namespace Name Mixin selector
      named PATTERN_INDEX_GETTER Lnet/minecraft/server/command/SpawnArmorTrimsCommand;PATTERN_INDEX_GETTER:Ljava/util/function/ToIntFunction;
      intermediary field_41888 Lnet/minecraft/class_8044;field_41888:Ljava/util/function/ToIntFunction;
      official c Lapw;c:Ljava/util/function/ToIntFunction;
    • MATERIAL_INDEX_GETTER

      private static final ToIntFunction<RegistryKey<ArmorTrimMaterial>> MATERIAL_INDEX_GETTER
      Mappings:
      Namespace Name Mixin selector
      named MATERIAL_INDEX_GETTER Lnet/minecraft/server/command/SpawnArmorTrimsCommand;MATERIAL_INDEX_GETTER:Ljava/util/function/ToIntFunction;
      intermediary field_41889 Lnet/minecraft/class_8044;field_41889:Ljava/util/function/ToIntFunction;
      official d Lapw;d:Ljava/util/function/ToIntFunction;
  • Constructor Details

    • SpawnArmorTrimsCommand

      public SpawnArmorTrimsCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/SpawnArmorTrimsCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_48333 Lnet/minecraft/class_8044;method_48333(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lapw;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/server/command/SpawnArmorTrimsCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;)I
      intermediary method_48336 Lnet/minecraft/class_8044;method_48336(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;)I
      official a Lapw;a(Lew;Lcpw;)I