Class MachineChemicalPlantVboRenderer

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

public class MachineChemicalPlantVboRenderer extends Object
  • Constructor Details

  • Method Details

    • isChemplantProcessVisible

      public static boolean isChemplantProcessVisible(MachineChemicalPlantBlockEntity be)
      Видимость жидкости: тот же критерий, что звук и anim (см. MachineChemicalPlantBlockEntity.isChemplantEffectsActive()).
    • getRecipeVisual

    • renderChemplantFluid

      public static void renderChemplantFluid(MachineChemicalPlantBlockEntity be, MachineChemicalPlantBakedModel model, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay, MachineChemicalPlantVboRenderer.FluidVisual visual)
      Ставит рендер жидкости в очередь до MachineChemicalPlantRenderer.presentDeferredFluids(). Caller уже применил поворот блока; здесь только VBO-сдвиг (-0.5, 0, -0.5).
    • drawChemplantFluidBaked

      public static void drawChemplantFluidBaked(MachineChemicalPlantBakedModel model, net.minecraft.world.level.block.state.BlockState state, float anim, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay, MachineChemicalPlantVboRenderer.FluidVisual visual)
    • renderStaticBase

      public void renderStaticBase(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource)
    • renderStaticFrame

      public void renderStaticFrame(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource)
    • renderAnimatedPart

      public void renderAnimatedPart(com.mojang.blaze3d.vertex.PoseStack poseStack, int packedLight, String partName, org.joml.Matrix4f transform, net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.client.renderer.MultiBufferSource bufferSource)