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 aoz
  • Field Details

    • ARMOR_PIECES

      private static final Map<com.mojang.datafixers.util.Pair<RegistryEntry<ArmorMaterial>,EquipmentSlot>,Item> ARMOR_PIECES
      Mappings:
      Namespace Name Mixin selector
      named ARMOR_PIECES Lnet/minecraft/server/command/SpawnArmorTrimsCommand;ARMOR_PIECES:Ljava/util/Map;
      intermediary field_41885 Lnet/minecraft/class_8044;field_41885:Ljava/util/Map;
      official a Laoz;a:Ljava/util/Map;
    • 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 b Laoz;b: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 c Laoz;c: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 d Laoz;d: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 e Laoz;e: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 Laoz;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 Laoz;a(Lep;Lcmz;)I