extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| fcw | |
| net.minecraft.world.level.storage.loot.functions.SetFireworksFunction | |
| net.minecraft.class_9376 | |
| net.minecraft.loot.function.SetFireworksLootFunction | |
| net.minecraft.unmapped.C_ldqxohxy | |
| net.minecraft.loot.function.SetFireworksLootFunction | |
| net.minecraft.src.C_313567_ |
Field summary
| Modifier and Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetFireworksLootFunction> |
| ||||||||||||||
| public static final FireworksComponent |
| ||||||||||||||
| private final Optional<ListOperation$Values<FireworkExplosionComponent>> |
| ||||||||||||||
| private final Optional<Integer> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| protected | (List<LootCondition> conditions, Optional<ListOperation$Values<FireworkExplosionComponent>> explosions, Optional<Integer> flightDuration) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| protected ItemStack |
| ||||||||||||||
| private FireworksComponent |
| ||||||||||||||
| public LootFunctionType<SetFireworksLootFunction> |
|