Package net.minecraft.server.command
Class SpawnArmorTrimsCommand
java.lang.Object
net.minecraft.server.command.SpawnArmorTrimsCommand
- Mappings:
Namespace Name official age
intermediary net/minecraft/class_8044
named net/minecraft/server/command/SpawnArmorTrimsCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<com.mojang.datafixers.util.Pair<ArmorMaterial,
EquipmentSlot>, Item> private 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
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, PlayerEntity player) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
ARMOR_PIECES
private static final Map<com.mojang.datafixers.util.Pair<ArmorMaterial,EquipmentSlot>, ARMOR_PIECESItem> - Mappings:
Namespace Name Mixin selector official a
Lage;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
- Mappings:
Namespace Name Mixin selector official b
Lage;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
- Mappings:
Namespace Name Mixin selector official c
Lage;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
- Mappings:
Namespace Name Mixin selector official d
Lage;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
- Mappings:
Namespace Name Mixin selector official e
Lage;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
- Mappings:
Namespace Name Mixin selector official a
Lage;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
- Mappings:
Namespace Name Mixin selector official a
Lage;a(Lds;Lbyi;)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
-