Class CargoElevatorVboRenderer

java.lang.Object
com.hbm_m.client.render.implementations.CargoElevatorVboRenderer

public class CargoElevatorVboRenderer extends Object
VBO-хелпер для CargoElevator. Кэширует и рендерит отдельные части через MeshRenderCache.getOrCreateRenderer(java.lang.String, net.minecraft.client.resources.model.BakedModel). Аналог MachineAssemblerVboRenderer.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderAnimatedPart(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, String partName, double translateY, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.entity.BlockEntity blockEntity, net.minecraft.client.renderer.MultiBufferSource bufferSource)
    Рендерит анимированную часть (Platform, Piston) с трансформацией.
    void
    renderStaticPart(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, String partName, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.entity.BlockEntity blockEntity, net.minecraft.client.renderer.MultiBufferSource bufferSource)
    Рендерит статичную часть (Base, Guides) без трансформации.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • renderStaticPart

      public void renderStaticPart(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, String partName, net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource)
      Рендерит статичную часть (Base, Guides) без трансформации.
    • renderAnimatedPart

      public void renderAnimatedPart(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, String partName, double translateY, net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource)
      Рендерит анимированную часть (Platform, Piston) с трансформацией.