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 apc
  • 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 Lapc;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 Lapc;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 Lapc;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 Lapc;d:Ljava/util/function/ToIntFunction;
    • field_56241

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_56241
      Mappings:
      Namespace Name Mixin selector
      named field_56241 Lnet/minecraft/server/command/SpawnArmorTrimsCommand;field_56241:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_56241 Lnet/minecraft/class_8044;field_56241:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official e Lapc;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • 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 Lapc;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • method_67081

      private static int method_67081(ServerCommandSource serverCommandSource, PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      named method_67081 Lnet/minecraft/server/command/SpawnArmorTrimsCommand;method_67081(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;)I
      intermediary method_67081 Lnet/minecraft/class_8044;method_67081(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;)I
      official a Lapc;a(Lei;Lcqs;)I
    • method_67082

      private static int method_67082(ServerCommandSource serverCommandSource, PlayerEntity playerEntity, RegistryKey<ArmorTrimPattern> registryKey)
      Mappings:
      Namespace Name Mixin selector
      named method_67082 Lnet/minecraft/server/command/SpawnArmorTrimsCommand;method_67082(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/registry/RegistryKey;)I
      intermediary method_67082 Lnet/minecraft/class_8044;method_67082(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Lnet/minecraft/class_5321;)I
      official a Lapc;a(Lei;Lcqs;Lald;)I
    • execute

      private static int execute(ServerCommandSource source, PlayerEntity player, Stream<RegistryEntry.Reference<ArmorTrimPattern>> stream)
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/server/command/SpawnArmorTrimsCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/stream/Stream;)I
      intermediary method_48336 Lnet/minecraft/class_8044;method_48336(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Ljava/util/stream/Stream;)I
      official a Lapc;a(Lei;Lcqs;Ljava/util/stream/Stream;)I
    • method_67086

      private static List<RegistryEntry.Reference<Item>> method_67086(RegistryWrapper<Item> registryWrapper)
      Mappings:
      Namespace Name Mixin selector
      named method_67086 Lnet/minecraft/server/command/SpawnArmorTrimsCommand;method_67086(Lnet/minecraft/registry/RegistryWrapper;)Ljava/util/List;
      intermediary method_67086 Lnet/minecraft/class_8044;method_67086(Lnet/minecraft/class_7225;)Ljava/util/List;
      official a Lapc;a(Ljg;)Ljava/util/List;