extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetComponentsFunction | |
| net.minecraft.world.level.storage.loot.functions.SetComponentsFunction | |
| net.minecraft.class_9320 | |
| net.minecraft.loot.function.SetComponentsLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetComponentsLootFunction> |
| ||||||||
| private final ComponentChanges |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, ComponentChanges changes) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetComponentsLootFunction> |
| ||||||||
| public ItemStack |
| ||||||||
| public static <T> ConditionalLootFunction$Builder<?> |
|