net.minecraft.world.level.storage.loot

public interface LootContextArg<R>

fms
net.minecraft.world.level.storage.loot.LootContextArg
net.minecraft.class_12283
net.minecraft.loot.context.LootEntityValueSource

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<LootContextArg<Object>>
h
ENTITY_OR_BLOCK
field_64179
ENTITY_OR_BLOCK_ENTITY_CODEC

Method summary

Modifier and TypeMethod
R
a(fmr arg0)
get(LootContext arg0)
method_76208(class_47 arg0)
get(LootContext context)
ContextKey<?>
a()
contextParam()
comp_4920()
contextParam()
static <U> LootContextArg<U>
a(fms<? extends U> arg0)
cast(LootContextArg<? extends U> arg0)
method_76210(class_12283<? extends U> arg0)
cast(LootEntityValueSource<? extends U> source)
static <R> com.mojang.serialization.Codec<LootContextArg<R>>
a(UnaryOperator<fms$a<R>> arg0)
createArgCodec(UnaryOperator<LootContextArg$ArgCodecBuilder<R>> arg0)
method_76211(UnaryOperator<class_12283$class_12284<R>> arg0)
createCodec(UnaryOperator<LootEntityValueSource$Builder<R>> factory)