Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

LootContextParamSet

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.

script.zs
import crafttweaker.api.loot.param.LootContextParamSet;

Description

A set of net.minecraft.world.level.storage.loot.parameters.LootContextParam that are required for a specific loot table to roll.

See net.minecraft.world.level.storage.loot.parameters.LootContextParamSets for a list of build-in sets.