LootContextParam
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
A loot context param is provided to anet.minecraft.world.level.storage.loot.LootContext
allowing it to supply information to functions. See net.minecraft.world.level.storage.loot.parameters.LootContextParams
for a list of built-in params.
Members
Getter
Gets the name of this parameter.
Return Type:
ResourceLocation
name() as ResourceLocation