SuggestionSupplier.java
net.minecraft.util.parsing.packrat.SuggestionSupplier
信息
- 全限定名:net.minecraft.util.parsing.packrat.SuggestionSupplier
- 类型:public interface
- 包:net.minecraft.util.parsing.packrat
- 源码路径:src/main/java/net/minecraft/util/parsing/packrat/SuggestionSupplier.java
- 起始行号:L5
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
Stream<String> possibleValues(ParseState<S> state) @ L6
- 方法名:possibleValues
- 源码定位:L6
- 返回类型:Stream
- 修饰符:package-private
参数:
- state: ParseState
说明:
TODO
static <S> SuggestionSupplier<S> empty() @ L8
- 方法名:empty
- 源码定位:L8
- 返回类型:
SuggestionSupplier - 修饰符:static
参数:
- 无
说明:
TODO
代码
public interface SuggestionSupplier<S> {
Stream<String> possibleValues(ParseState<S> state);
static <S> SuggestionSupplier<S> empty() {
return state -> Stream.empty();
}
}引用的其他类
- ParseState
- 引用位置:
参数
- 引用位置: