Interface LootContextArg.SimpleGetter<T>
- All Superinterfaces:
LootContextArg<T>
- All Known Implementing Classes:
LootContext.BlockEntityTarget, LootContext.EntityTarget, LootContext.ItemStackTarget
- 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 Tget(LootContext context)
-
Method Details
-
contextParam
ContextKey<? extends T> contextParam()- Specified by:
contextParamin interfaceLootContextArg<T>
-
get
- Specified by:
getin interfaceLootContextArg<T>
-