GuiBannerResultRenderState.java
net.minecraft.client.renderer.state.gui.pip.GuiBannerResultRenderState
信息
- 全限定名:net.minecraft.client.renderer.state.gui.pip.GuiBannerResultRenderState
- 类型:public record
- 包:net.minecraft.client.renderer.state.gui.pip
- 源码路径:src/main/java/net/minecraft/client/renderer/state/gui/pip/GuiBannerResultRenderState.java
- 起始行号:L12
- 实现:PictureInPictureRenderState
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
public GuiBannerResultRenderState(BannerFlagModel flag, DyeColor baseColor, BannerPatternLayers resultBannerPatterns, int x0, int y0, int x1, int y1, ScreenRectangle scissorArea) @ L23
- 构造器名:GuiBannerResultRenderState
- 源码定位:L23
- 修饰符:public
参数:
- flag: BannerFlagModel
- baseColor: DyeColor
- resultBannerPatterns: BannerPatternLayers
- x0: int
- y0: int
- x1: int
- y1: int
- scissorArea: ScreenRectangle
说明:
TODO
方法
下面的方法块按源码顺序生成。
public float scale() @ L36
- 方法名:scale
- 源码定位:L36
- 返回类型:float
- 修饰符:public
参数:
- 无
说明:
TODO
代码
@OnlyIn(Dist.CLIENT)
public record GuiBannerResultRenderState(
BannerFlagModel flag,
DyeColor baseColor,
BannerPatternLayers resultBannerPatterns,
int x0,
int y0,
int x1,
int y1,
@Nullable ScreenRectangle scissorArea,
@Nullable ScreenRectangle bounds
) implements PictureInPictureRenderState {
public GuiBannerResultRenderState(
BannerFlagModel flag,
DyeColor baseColor,
BannerPatternLayers resultBannerPatterns,
int x0,
int y0,
int x1,
int y1,
@Nullable ScreenRectangle scissorArea
) {
this(flag, baseColor, resultBannerPatterns, x0, y0, x1, y1, scissorArea, PictureInPictureRenderState.getBounds(x0, y0, x1, y1, scissorArea));
}
@Override
public float scale() {
return 16.0F;
}
}引用的其他类
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
实现/方法调用 - 关联成员:
PictureInPictureRenderState.getBounds()
- 引用位置:
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
参数
- 引用位置: