public class ExplosionDecayLootFunction extends ConditionalLootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
ExplosionDecayLootFunction.Serializer |
ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>>, ConditionalLootFunction.Joinerconditions| Modifier | Constructor and Description |
|---|---|
private |
ExplosionDecayLootFunction(LootCondition[] conditions) |
| Modifier and Type | Method and Description |
|---|---|
static ConditionalLootFunction.Builder<?> |
builder() |
LootFunctionType |
getType() |
ItemStack |
process(ItemStack stack,
LootContext context) |
apply, builder, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplygetRequiredParametersandThenprivate ExplosionDecayLootFunction(LootCondition[] conditions)
public LootFunctionType getType()
public ItemStack process(ItemStack stack, LootContext context)
process in class ConditionalLootFunctionpublic static ConditionalLootFunction.Builder<?> builder()