IsXmas.java

net.minecraft.client.renderer.block.model.properties.conditional.IsXmas

信息

  • 全限定名:net.minecraft.client.renderer.block.model.properties.conditional.IsXmas
  • 类型:public class
  • 包:net.minecraft.client.renderer.block.model.properties.conditional
  • 源码路径:src/main/java/net/minecraft/client/renderer/block/model/properties/conditional/IsXmas.java
  • 起始行号:L9
  • 实现:ConditionalBlockModelProperty
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

方法

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

public boolean get(BlockState blockState) @ L10

  • 方法名:get
  • 源码定位:L10
  • 返回类型:boolean
  • 修饰符:public

参数:

  • blockState: BlockState

说明:

TODO

代码

@OnlyIn(Dist.CLIENT)
public class IsXmas implements ConditionalBlockModelProperty {
    @Override
    public boolean get(BlockState blockState) {
        return ChestRenderer.xmasTextures();
    }
}

引用的其他类