Package net.minecraft.loot.context
Interface LootEntityValueSource.ContextBased<T>
- All Superinterfaces:
LootEntityValueSource<T>
- All Known Implementing Classes:
LootContext.BlockEntityReference,LootContext.EntityReference,LootContext.ItemStackReference
- Enclosing interface:
LootEntityValueSource<R>
- Mappings:
Namespace Name named net/minecraft/loot/context/LootEntityValueSource$ContextBasedintermediary net/minecraft/class_12283$class_12286official fms$c
-
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 Tget(LootContext context)
-
Method Details
-
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;
-