Class ExpandLootContextParam
java.lang.Object
com.blamejared.crafttweaker.natives.loot.param.ExpandLootContextParam
A loot context param is provided to a
LootContext allowing it to supply information to functions.
See LootContextParams for a list of built-in params.
- DocParam:
- this LootContextParams.thisEntity()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocationgetName(net.minecraft.world.level.storage.loot.parameters.LootContextParam internal) Gets the name of this parameter.
-
Constructor Details
-
ExpandLootContextParam
public ExpandLootContextParam()
-
-
Method Details
-
getName
public static net.minecraft.resources.ResourceLocation getName(net.minecraft.world.level.storage.loot.parameters.LootContextParam internal) Gets the name of this parameter.- Returns:
- The name of this parameter
-