extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.ApplyBonusCount | |
| net.minecraft.class_94 | |
| net.minecraft.loot.function.ApplyBonusLootFunction |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private static final Map<Identifier, ApplyBonusLootFunction$Type> |
|
||||||
| private static final com.mojang.serialization.Codec<ApplyBonusLootFunction$Type> |
|
||||||
| private static final com.mojang.serialization.MapCodec<ApplyBonusLootFunction$Formula> |
|
||||||
| public static final com.mojang.serialization.MapCodec<ApplyBonusLootFunction> |
|
||||||
| private final RegistryEntry<Enchantment> |
|
||||||
| private final ApplyBonusLootFunction$Formula |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (Optional<RegistryEntry<LootCondition>> condition, RegistryEntry<Enchantment> enchantment, ApplyBonusLootFunction$Formula formula) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<ApplyBonusLootFunction> |
|
||||||
| public Set<ContextParameter<?>> |
|
||||||
| public ItemStack |
|
||||||
| public static ConditionalLootFunction$Builder<?> |
|
||||||
| public static ConditionalLootFunction$Builder<?> |
|
||||||
| public static ConditionalLootFunction$Builder<?> |
|
||||||
| public static ConditionalLootFunction$Builder<?> |
|
||||||
| private static LootFunction |
|
||||||
| private static LootFunction |
|
||||||
| private static LootFunction |
|
||||||
| private static LootFunction |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|
||||||
| private static ApplyBonusLootFunction$Formula |
|
||||||
| private static RegistryEntry |
|
||||||
| private static com.mojang.serialization.DataResult |
|
||||||
| private static String |
|