public class LimitCount extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
LimitCount.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>
ILootFunction.IBuilder
Modifier and Type | Field and Description |
---|---|
private IntClamper |
field_215914_a |
conditions
Modifier | Constructor and Description |
---|---|
private |
LimitCount(ILootCondition[] p_i51232_1_,
IntClamper p_i51232_2_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static LootFunction.Builder<?> |
func_215911_a(IntClamper p_215911_0_) |
apply, builder, func_225580_a_
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
getRequiredParameters
private final IntClamper field_215914_a
private LimitCount(ILootCondition[] p_i51232_1_, IntClamper p_i51232_2_)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction
public static LootFunction.Builder<?> func_215911_a(IntClamper p_215911_0_)