extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
esn | |
net.minecraft.world.level.storage.loot.functions.SetFireworksFunction | |
net.minecraft.class_9376 | |
net.minecraft.unmapped.C_ldqxohxy | |
net.minecraft.loot.function.SetFireworksLootFunction | |
net.minecraft.loot.function.SetFireworksLootFunction | |
net.minecraft.src.C_313567_ | |
net.minecraft.world.level.storage.loot.functions.SetFireworksFunction |
Field summary
Modifier and Type | Field | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<SetFireworksFunction> |
| ||||||||||||||
public static final Fireworks |
| ||||||||||||||
private final Optional<ListOperation$StandAlone<FireworkExplosion>> |
| ||||||||||||||
private final Optional<Integer> |
|
Constructor summary
Modifier | Constructor |
---|---|
protected | (List<LootItemCondition> conditions, Optional<ListOperation$StandAlone<FireworkExplosion>> explosions, Optional<Integer> flightDuration) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
protected ItemStack |
| ||||||||||||||
private Fireworks |
| ||||||||||||||
public LootItemFunctionType<SetFireworksFunction> |
|