extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eyr | |
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction | |
net.minecraft.class_9375 | |
net.minecraft.loot.function.SetFireworkExplosionLootFunction | |
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<SetFireworkExplosionFunction> |
| ||||||||
public static final FireworkExplosion |
| ||||||||
final Optional<FireworkExplosion$Shape> |
| ||||||||
final Optional<it.unimi.dsi.fastutil.ints.IntList> |
| ||||||||
final Optional<it.unimi.dsi.fastutil.ints.IntList> |
| ||||||||
final Optional<Boolean> |
| ||||||||
final Optional<Boolean> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (List<LootItemCondition> conditions, Optional<FireworkExplosion$Shape> shape, Optional<it.unimi.dsi.fastutil.ints.IntList> colors, Optional<it.unimi.dsi.fastutil.ints.IntList> fadeColors, Optional<Boolean> trail, Optional<Boolean> twinkle) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
protected ItemStack |
| ||||||||
private FireworkExplosion |
| ||||||||
public LootItemFunctionType<SetFireworkExplosionFunction> |
|