public class SetCount extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetCount.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>ILootFunction.IBuilder| Modifier and Type | Field and Description |
|---|---|
private IRandomRange |
countRange |
conditions| Modifier | Constructor and Description |
|---|---|
private |
SetCount(ILootCondition[] p_i51222_1_,
IRandomRange p_i51222_2_) |
| Modifier and Type | Method and Description |
|---|---|
static LootFunction.Builder<?> |
builder(IRandomRange p_215932_0_) |
ItemStack |
doApply(ItemStack stack,
LootContext context) |
apply, builder, func_225580_a_clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_215858_agetRequiredParametersprivate final IRandomRange countRange
private SetCount(ILootCondition[] p_i51222_1_, IRandomRange p_i51222_2_)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply in class LootFunctionpublic static LootFunction.Builder<?> builder(IRandomRange p_215932_0_)