SuggestionSupplier .java

net.minecraft.util.parsing.packrat.SuggestionSupplier (interface, 12 lines): interface declaring 2 methods. members: possibleValues, empty.

net.minecraft.util.parsing.packratinterface12 linescommon256 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

SuggestionSupplier.java12 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.parsing.packrat;
2
3
import java.util.stream.Stream;
4
5
public interface SuggestionSupplier<S> {
6
	Stream<String> possibleValues(ParseState<S> state);
7
8
	static <S> SuggestionSupplier<S> empty() {
9
		return state -> Stream.empty();
10
	}
11
}
12

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