Package net.minecraft.server.command
Class SpawnArmorTrimsCommand
java.lang.Object
net.minecraft.server.command.SpawnArmorTrimsCommand
- Mappings:
Namespace Name named net/minecraft/server/command/SpawnArmorTrimsCommandintermediary net/minecraft/class_8044official app
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final ToIntFunction<RegistryKey<ArmorTrimMaterial>> private static final List<RegistryKey<ArmorTrimMaterial>> private static final ToIntFunction<RegistryKey<ArmorTrimPattern>> private static final List<RegistryKey<ArmorTrimPattern>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, PlayerEntity player) private static intexecute(ServerCommandSource source, PlayerEntity player, Stream<RegistryEntry.Reference<ArmorTrimPattern>> patterns) private static intexecute(ServerCommandSource source, PlayerEntity player, RegistryKey<ArmorTrimPattern> pattern) private static List<RegistryEntry.Reference<Item>> getArmorItems(RegistryWrapper<Item> itemRegistry) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
PATTERNS
- Mappings:
Namespace Name Mixin selector named PATTERNSLnet/minecraft/server/command/SpawnArmorTrimsCommand;PATTERNS:Ljava/util/List;intermediary field_41886Lnet/minecraft/class_8044;field_41886:Ljava/util/List;official aLapp;a:Ljava/util/List;
-
MATERIALS
- Mappings:
Namespace Name Mixin selector named MATERIALSLnet/minecraft/server/command/SpawnArmorTrimsCommand;MATERIALS:Ljava/util/List;intermediary field_41887Lnet/minecraft/class_8044;field_41887:Ljava/util/List;official bLapp;b:Ljava/util/List;
-
PATTERN_INDEX_GETTER
- Mappings:
Namespace Name Mixin selector named PATTERN_INDEX_GETTERLnet/minecraft/server/command/SpawnArmorTrimsCommand;PATTERN_INDEX_GETTER:Ljava/util/function/ToIntFunction;intermediary field_41888Lnet/minecraft/class_8044;field_41888:Ljava/util/function/ToIntFunction;official cLapp;c:Ljava/util/function/ToIntFunction;
-
MATERIAL_INDEX_GETTER
- Mappings:
Namespace Name Mixin selector named MATERIAL_INDEX_GETTERLnet/minecraft/server/command/SpawnArmorTrimsCommand;MATERIAL_INDEX_GETTER:Ljava/util/function/ToIntFunction;intermediary field_41889Lnet/minecraft/class_8044;field_41889:Ljava/util/function/ToIntFunction;official dLapp;d:Ljava/util/function/ToIntFunction;
-
INVALID_PATTERN_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_PATTERN_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_PATTERN_EXCEPTIONLnet/minecraft/server/command/SpawnArmorTrimsCommand;INVALID_PATTERN_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_56241Lnet/minecraft/class_8044;field_56241:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official eLapp;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
SpawnArmorTrimsCommand
public SpawnArmorTrimsCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/SpawnArmorTrimsCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_48333Lnet/minecraft/class_8044;method_48333(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLapp;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/SpawnArmorTrimsCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;)Iintermediary method_67081Lnet/minecraft/class_8044;method_67081(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;)Iofficial aLapp;a(Lek;Lcsi;)I
-
execute
private static int execute(ServerCommandSource source, PlayerEntity player, RegistryKey<ArmorTrimPattern> pattern) - Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/SpawnArmorTrimsCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/registry/RegistryKey;)Iintermediary method_67082Lnet/minecraft/class_8044;method_67082(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Lnet/minecraft/class_5321;)Iofficial aLapp;a(Lek;Lcsi;Lalq;)I
-
execute
private static int execute(ServerCommandSource source, PlayerEntity player, Stream<RegistryEntry.Reference<ArmorTrimPattern>> patterns) - Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/SpawnArmorTrimsCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/stream/Stream;)Iintermediary method_48336Lnet/minecraft/class_8044;method_48336(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Ljava/util/stream/Stream;)Iofficial aLapp;a(Lek;Lcsi;Ljava/util/stream/Stream;)I
-
getArmorItems
private static List<RegistryEntry.Reference<Item>> getArmorItems(RegistryWrapper<Item> itemRegistry) - Mappings:
Namespace Name Mixin selector named getArmorItemsLnet/minecraft/server/command/SpawnArmorTrimsCommand;getArmorItems(Lnet/minecraft/registry/RegistryWrapper;)Ljava/util/List;intermediary method_67086Lnet/minecraft/class_8044;method_67086(Lnet/minecraft/class_7225;)Ljava/util/List;official aLapp;a(Lji;)Ljava/util/List;
-