类 StructureBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.StructureBlockRenderer
- 所有已实现的接口:
BlockEntityRenderer<StructureBlockEntity>
public class StructureBlockRenderer
extends Object
implements BlockEntityRenderer<StructureBlockEntity>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
void
render
(StructureBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) private void
renderInvisibleBlocks
(StructureBlockEntity pBlockEntity, VertexConsumer pConsumer, BlockPos pPos, PoseStack pPoseStack) boolean
shouldRenderOffScreen
(StructureBlockEntity pBlockEntity) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.renderer.blockentity.BlockEntityRenderer
shouldRender
-
构造器详细资料
-
StructureBlockRenderer
-
-
方法详细资料
-
render
public void render(StructureBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) - 指定者:
render
在接口中BlockEntityRenderer<StructureBlockEntity>
-
renderInvisibleBlocks
private void renderInvisibleBlocks(StructureBlockEntity pBlockEntity, VertexConsumer pConsumer, BlockPos pPos, PoseStack pPoseStack) -
shouldRenderOffScreen
-
getViewDistance
public int getViewDistance()
-