public class SetStewEffectLootFunction extends ConditionalLootFunction
Modifier and Type | Class and Description |
---|---|
static class |
SetStewEffectLootFunction.Builder |
static class |
SetStewEffectLootFunction.Serializer |
ConditionalLootFunction.Joiner
Modifier and Type | Field and Description |
---|---|
private Map<StatusEffect,UniformLootTableRange> |
effects |
conditions
Modifier | Constructor and Description |
---|---|
private |
SetStewEffectLootFunction(LootCondition[] conditions,
Map<StatusEffect,UniformLootTableRange> effects) |
Modifier and Type | Method and Description |
---|---|
static SetStewEffectLootFunction.Builder |
builder() |
LootFunctionType |
getType() |
ItemStack |
process(ItemStack stack,
LootContext context) |
apply, builder, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
getRequiredParameters
andThen
private final Map<StatusEffect,UniformLootTableRange> effects
private SetStewEffectLootFunction(LootCondition[] conditions, Map<StatusEffect,UniformLootTableRange> effects)
public LootFunctionType getType()
public ItemStack process(ItemStack stack, LootContext context)
process
in class ConditionalLootFunction
public static SetStewEffectLootFunction.Builder builder()