Interface LootContextArg.Getter<T,R>
- All Superinterfaces:
LootContextArg<R>
- All Known Implementing Classes:
ContextNbtProvider.BlockEntitySource, ContextNbtProvider.EntitySource, CopyComponentsFunction.BlockEntitySource, CopyComponentsFunction.DirectSource
- Enclosing interface:
LootContextArg<R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface LootContextArg
LootContextArg.ArgCodecBuilder<R>, LootContextArg.Getter<T,R>, LootContextArg.SimpleGetter<T> -
Field Summary
Fields inherited from interface LootContextArg
ENTITY_OR_BLOCK -
Method Summary
Modifier and TypeMethodDescriptionContextKey<? extends T> default @Nullable Rget(LootContext context) @Nullable R
-
Method Details
-
get
-
contextParam
ContextKey<? extends T> contextParam()- Specified by:
contextParamin interfaceLootContextArg<T>
-
get
- Specified by:
getin interfaceLootContextArg<T>
-