Class SpawnArmorTrimsCommand

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

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

    • ARMOR_PIECES

      private static final Map<com.mojang.datafixers.util.Pair<ArmorMaterial,EquipmentSlot>,Item> ARMOR_PIECES
      Mappings:
      Namespace Name Mixin selector
      official a Lagq;a:Ljava/util/Map;
      intermediary field_41885 Lnet/minecraft/class_8044;field_41885:Ljava/util/Map;
      named ARMOR_PIECES Lnet/minecraft/server/command/SpawnArmorTrimsCommand;ARMOR_PIECES:Ljava/util/Map;
    • PATTERNS

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

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

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

      private static final ToIntFunction<RegistryKey<ArmorTrimMaterial>> MATERIAL_INDEX_GETTER
      Mappings:
      Namespace Name Mixin selector
      official e Lagq;e:Ljava/util/function/ToIntFunction;
      intermediary field_41889 Lnet/minecraft/class_8044;field_41889:Ljava/util/function/ToIntFunction;
      named MATERIAL_INDEX_GETTER Lnet/minecraft/server/command/SpawnArmorTrimsCommand;MATERIAL_INDEX_GETTER: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
      official a Lagq;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_48333 Lnet/minecraft/class_8044;method_48333(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/SpawnArmorTrimsCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

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