IIntProvider interface
Samples an int, like vanilla's IntProvider.
public interface IIntProvider : IRegistryResource
In Obsidian.API.
Properties
int MaxValue { get; }int MinValue { get; }Type
string Type { get; }Can be constant, uniform, biased_to_bottom, very_biased_to_bottom, clamped, clamped_normal, weighted_list, or trapezoid.
Remarks
See IntProviderTypes for the default types.
Methods
int Sample(IRandomSource random);