IntProvider .java

net.minecraft.util.valueproviders.IntProvider (interface, 15 lines): members: maxInclusive, minInclusive, sample, codec. imports: RandomSource.

net.minecraft.util.valueprovidersinterface15 linescommon281 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IntProvider.java15 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.valueproviders;
2
3
import com.mojang.serialization.MapCodec;
4
import net.minecraft.util.RandomSource;
5
6
public interface IntProvider {
7
	int sample(RandomSource random);
8
9
	int minInclusive();
10
11
	int maxInclusive();
12
13
	MapCodec<? extends IntProvider> codec();
14
}
15

Decompiled Minecraft 26.3 source of IntProvider (net/minecraft/util/valueproviders/IntProvider.java) with Mojang official mappings, stored verbatim on the site.