Class BlockEntityRenderHelper
java.lang.Object
com.simibubi.create.foundation.render.BlockEntityRenderHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderBlockEntities(List<net.minecraft.world.level.block.entity.BlockEntity> blockEntities, BitSet shouldRenderBEs, BitSet erroredBEsOut, VirtualRenderWorld renderLevel, net.minecraft.world.level.Level realLevel, com.mojang.blaze3d.vertex.PoseStack ms, org.joml.Matrix4f lightTransform, net.minecraft.client.renderer.MultiBufferSource buffer, float pt) Renders the given list of BlockEntities, skipping those not marked in shouldRenderBEs, and marking those that error in erroredBEsOut.
-
Constructor Details
-
BlockEntityRenderHelper
public BlockEntityRenderHelper()
-
-
Method Details
-
renderBlockEntities
public static void renderBlockEntities(List<net.minecraft.world.level.block.entity.BlockEntity> blockEntities, BitSet shouldRenderBEs, BitSet erroredBEsOut, @Nullable VirtualRenderWorld renderLevel, net.minecraft.world.level.Level realLevel, com.mojang.blaze3d.vertex.PoseStack ms, @Nullable org.joml.Matrix4f lightTransform, net.minecraft.client.renderer.MultiBufferSource buffer, float pt) Renders the given list of BlockEntities, skipping those not marked in shouldRenderBEs, and marking those that error in erroredBEsOut.- Parameters:
blockEntities- The list of BlockEntities to render.shouldRenderBEs- A BitSet marking which BlockEntities in the list should be rendered. This will not be modified.erroredBEsOut- A BitSet to mark BlockEntities that error during rendering. This will be modified.
-