DebugPathInfo.java
net.minecraft.util.debug.DebugPathInfo
信息
- 全限定名:net.minecraft.util.debug.DebugPathInfo
- 类型:public record
- 包:net.minecraft.util.debug
- 源码路径:src/main/java/net/minecraft/util/debug/DebugPathInfo.java
- 起始行号:L8
- 职责:
TODO
字段/常量
STREAM_CODEC- 类型:
StreamCodec<FriendlyByteBuf,DebugPathInfo> - 修饰符:
public static final - 源码定位:
L9 - 说明:
TODO
- 类型:
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
- 无
代码
public record DebugPathInfo(Path path, float maxNodeDistance) {
public static final StreamCodec<FriendlyByteBuf, DebugPathInfo> STREAM_CODEC = StreamCodec.composite(
Path.STREAM_CODEC, DebugPathInfo::path, ByteBufCodecs.FLOAT, DebugPathInfo::maxNodeDistance, DebugPathInfo::new
);
}引用的其他类
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段/方法调用 - 关联成员:
StreamCodec.composite()
- 引用位置: