Package net.minecraft.loot.context
Interface LootEntityValueSource.ContextComponentBased<T,R>
- All Superinterfaces:
LootEntityValueSource<R>
- All Known Implementing Classes:
ContextLootNbtProvider.BlockEntityTarget,ContextLootNbtProvider.EntityTarget,CopyComponentsLootFunction.BlockEntityComponentsSource,CopyComponentsLootFunction.ComponentAccessSource
- Enclosing interface:
LootEntityValueSource<R>
public static interface LootEntityValueSource.ContextComponentBased<T,R>
extends LootEntityValueSource<R>
- Mappings:
Namespace Name named net/minecraft/loot/context/LootEntityValueSource$ContextComponentBasedintermediary net/minecraft/class_12283$class_12285official fms$b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.context.LootEntityValueSource
LootEntityValueSource.Builder<R>, LootEntityValueSource.ContextBased<T>, LootEntityValueSource.ContextComponentBased<T,R> -
Field Summary
Fields inherited from interface net.minecraft.loot.context.LootEntityValueSource
ENTITY_OR_BLOCK_ENTITY_CODEC -
Method Summary
Modifier and TypeMethodDescriptionContextParameter<? extends T> default @Nullable Rget(LootContext context) @Nullable R
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/loot/context/LootEntityValueSource$ContextComponentBased;get(Ljava/lang/Object;)Ljava/lang/Object;intermediary method_74905Lnet/minecraft/class_12283$class_12285;method_74905(Ljava/lang/Object;)Ljava/lang/Object;official aLfms$b;a(Ljava/lang/Object;)Ljava/lang/Object;
-
contextParam
ContextParameter<? extends T> contextParam()- Specified by:
contextParamin interfaceLootEntityValueSource<T>- Mappings:
Namespace Name Mixin selector named contextParamLnet/minecraft/loot/context/LootEntityValueSource;contextParam()Lnet/minecraft/util/context/ContextParameter;intermediary comp_4920Lnet/minecraft/class_12283;comp_4920()Lnet/minecraft/class_169;official aLfms;a()Lbhu;
-
get
- Specified by:
getin interfaceLootEntityValueSource<T>- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/loot/context/LootEntityValueSource;get(Lnet/minecraft/loot/context/LootContext;)Ljava/lang/Object;intermediary method_76208Lnet/minecraft/class_12283;method_76208(Lnet/minecraft/class_47;)Ljava/lang/Object;official aLfms;a(Lfmr;)Ljava/lang/Object;
-