extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| etn | |
| net.minecraft.world.level.storage.loot.functions.SetComponentsFunction | |
| net.minecraft.class_9320 | |
| net.minecraft.loot.function.SetComponentsLootFunction | |
| net.minecraft.src.C_313893_ |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetComponentsFunction> |
| ||||||||||
| private final DataComponentPatch |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootItemCondition> conditions, DataComponentPatch changes) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<SetComponentsFunction> |
| ||||||||||
| public ItemStack |
| ||||||||||
| public static <T> LootItemConditionalFunction$Builder<?> |
|