extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetAttributesFunction | |
| net.minecraft.class_137 | |
| net.minecraft.loot.function.SetAttributesLootFunction |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetAttributesLootFunction> |
|
||||||
| private final List<SetAttributesLootFunction$Attribute> |
|
||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (Optional<RegistryEntry<LootCondition>> condition, List<SetAttributesLootFunction$Attribute> attributes, boolean replace) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetAttributesLootFunction> |
|
||||||
| public void |
|
||||||
| public ItemStack |
|
||||||
| private AttributeModifiersComponent |
|
||||||
| public static SetAttributesLootFunction$AttributeBuilder |
|
||||||
| public static SetAttributesLootFunction$Builder |
|
||||||
| private AttributeModifiersComponent |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|
||||||
| private static Boolean |
|
||||||
| private static List |
|