BlockOutlineRenderState.java

net.minecraft.client.renderer.state.level.BlockOutlineRenderState

信息

  • 全限定名:net.minecraft.client.renderer.state.level.BlockOutlineRenderState
  • 类型:public record
  • 包:net.minecraft.client.renderer.state.level
  • 源码路径:src/main/java/net/minecraft/client/renderer/state/level/BlockOutlineRenderState.java
  • 起始行号:L10
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

public BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape) @ L19

  • 构造器名:BlockOutlineRenderState
  • 源码定位:L19
  • 修饰符:public

参数:

  • pos: BlockPos
  • isTranslucent: boolean
  • highContrast: boolean
  • shape: VoxelShape

说明:

TODO

方法

下面的方法块按源码顺序生成。

代码

@OnlyIn(Dist.CLIENT)
public record BlockOutlineRenderState(
    BlockPos pos,
    boolean isTranslucent,
    boolean highContrast,
    VoxelShape shape,
    @Nullable VoxelShape collisionShape,
    @Nullable VoxelShape occlusionShape,
    @Nullable VoxelShape interactionShape
) {
    public BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape) {
        this(pos, isTranslucent, highContrast, shape, null, null, null);
    }
}

引用的其他类