BlockEntityWithBoundingBoxRenderState.java

net.minecraft.client.renderer.blockentity.state.BlockEntityWithBoundingBoxRenderState

信息

  • 全限定名:net.minecraft.client.renderer.blockentity.state.BlockEntityWithBoundingBoxRenderState
  • 类型:public class
  • 包:net.minecraft.client.renderer.blockentity.state
  • 源码路径:src/main/java/net/minecraft/client/renderer/blockentity/state/BlockEntityWithBoundingBoxRenderState.java
  • 起始行号:L9
  • 继承:BlockEntityRenderState
  • 职责:

    TODO

字段/常量

  • isVisible

    • 类型: boolean
    • 修饰符: public
    • 源码定位: L10
    • 说明:

      TODO

  • mode

    • 类型: BoundingBoxRenderable.Mode
    • 修饰符: public
    • 源码定位: L11
    • 说明:

      TODO

  • box

    • 类型: BoundingBoxRenderable.RenderableBox
    • 修饰符: public
    • 源码定位: L12
    • 说明:

      TODO

  • invisibleBlocks

    • 类型: BlockEntityWithBoundingBoxRenderState.InvisibleBlockType[]
    • 修饰符: public
    • 源码定位: L13
    • 说明:

      TODO

  • structureVoids

    • 类型: boolean[]
    • 修饰符: public
    • 源码定位: L14
    • 说明:

      TODO

内部类/嵌套类型

  • net.minecraft.client.renderer.blockentity.state.BlockEntityWithBoundingBoxRenderState.InvisibleBlockType
    • 类型: enum
    • 修饰符: public static
    • 源码定位: L17
    • 说明:

      TODO

构造器

方法

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

代码

@OnlyIn(Dist.CLIENT)
public class BlockEntityWithBoundingBoxRenderState extends BlockEntityRenderState {
    public boolean isVisible;
    public BoundingBoxRenderable.Mode mode;
    public BoundingBoxRenderable.RenderableBox box;
    public BlockEntityWithBoundingBoxRenderState.@Nullable InvisibleBlockType @Nullable [] invisibleBlocks;
    public boolean @Nullable [] structureVoids;
 
    @OnlyIn(Dist.CLIENT)
    public static enum InvisibleBlockType {
        AIR,
        BARRIER,
        LIGHT,
        STRUCTURE_VOID;
    }
}

引用的其他类