Package net.minecraft.loot.function
Interface CopyComponentsLootFunction.ComponentsSource<T>
- All Known Implementing Classes:
CopyComponentsLootFunction.BlockEntityComponentsSource,CopyComponentsLootFunction.EntityComponentsSource,CopyComponentsLootFunction.ItemStackComponentsSource
- Enclosing class:
CopyComponentsLootFunction
public static interface CopyComponentsLootFunction.ComponentsSource<T>
- Mappings:
Namespace Name named net/minecraft/loot/function/CopyComponentsLootFunction$ComponentsSourceintermediary net/minecraft/class_9317$class_12069official fjy$e
-
Method Summary
Modifier and TypeMethodDescriptionContextParameter<? extends T> default @Nullable ComponentsAccessgetComponents(LootContext context) getComponents(T value)
-
Method Details
-
contextParam
ContextParameter<? extends T> contextParam()- Mappings:
Namespace Name Mixin selector named contextParamLnet/minecraft/loot/function/CopyComponentsLootFunction$ComponentsSource;contextParam()Lnet/minecraft/util/context/ContextParameter;intermediary comp_4918Lnet/minecraft/class_9317$class_12069;comp_4918()Lnet/minecraft/class_169;official aLfjy$e;a()Lbgt;
-
getComponents
- Mappings:
Namespace Name Mixin selector named getComponentsLnet/minecraft/loot/function/CopyComponentsLootFunction$ComponentsSource;getComponents(Ljava/lang/Object;)Lnet/minecraft/component/ComponentsAccess;intermediary method_74905Lnet/minecraft/class_9317$class_12069;method_74905(Ljava/lang/Object;)Lnet/minecraft/class_9473;official aLfjy$e;a(Ljava/lang/Object;)Lkk;
-
getComponents
- Mappings:
Namespace Name Mixin selector named getComponentsLnet/minecraft/loot/function/CopyComponentsLootFunction$ComponentsSource;getComponents(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/component/ComponentsAccess;intermediary method_74908Lnet/minecraft/class_9317$class_12069;method_74908(Lnet/minecraft/class_47;)Lnet/minecraft/class_9473;official aLfjy$e;a(Lfiy;)Lkk;
-