Class BlockRenderManager

java.lang.Object
net.minecraft.client.render.block.BlockRenderManager
All Implemented Interfaces:
ResourceReloader, SynchronousResourceReloader

@Environment(CLIENT) public class BlockRenderManager extends Object implements SynchronousResourceReloader
Mappings:
Namespace Name
official eqc
intermediary net/minecraft/class_776
named net/minecraft/client/render/block/BlockRenderManager
  • Field Details

    • models

      private final BlockModels models
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a:Leqb;
      intermediary field_4168 Lnet/minecraft/class_776;field_4168:Lnet/minecraft/class_773;
      named models Lnet/minecraft/client/render/block/BlockRenderManager;models:Lnet/minecraft/client/render/block/BlockModels;
    • blockModelRenderer

      private final BlockModelRenderer blockModelRenderer
      Mappings:
      Namespace Name Mixin selector
      official b Leqc;b:Leqe;
      intermediary field_4170 Lnet/minecraft/class_776;field_4170:Lnet/minecraft/class_778;
      named blockModelRenderer Lnet/minecraft/client/render/block/BlockRenderManager;blockModelRenderer:Lnet/minecraft/client/render/block/BlockModelRenderer;
    • builtinModelItemRenderer

      private final BuiltinModelItemRenderer builtinModelItemRenderer
      Mappings:
      Namespace Name Mixin selector
      official c Leqc;c:Leox;
      intermediary field_27742 Lnet/minecraft/class_776;field_27742:Lnet/minecraft/class_756;
      named builtinModelItemRenderer Lnet/minecraft/client/render/block/BlockRenderManager;builtinModelItemRenderer:Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;
    • fluidRenderer

      private final FluidRenderer fluidRenderer
      Mappings:
      Namespace Name Mixin selector
      official d Leqc;d:Leqd;
      intermediary field_4167 Lnet/minecraft/class_776;field_4167:Lnet/minecraft/class_775;
      named fluidRenderer Lnet/minecraft/client/render/block/BlockRenderManager;fluidRenderer:Lnet/minecraft/client/render/block/FluidRenderer;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official e Leqc;e:Ljava/util/Random;
      intermediary field_4169 Lnet/minecraft/class_776;field_4169:Ljava/util/Random;
      named random Lnet/minecraft/client/render/block/BlockRenderManager;random:Ljava/util/Random;
    • blockColors

      private final BlockColors blockColors
      Mappings:
      Namespace Name Mixin selector
      official f Leqc;f:Ldyf;
      intermediary field_20987 Lnet/minecraft/class_776;field_20987:Lnet/minecraft/class_324;
      named blockColors Lnet/minecraft/client/render/block/BlockRenderManager;blockColors:Lnet/minecraft/client/color/block/BlockColors;
  • Constructor Details

    • BlockRenderManager

      public BlockRenderManager(BlockModels models, BuiltinModelItemRenderer builtinModelItemRenderer, BlockColors blockColors)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqc;<init>(Leqb;Leox;Ldyf;)V
      intermediary <init> Lnet/minecraft/class_776;<init>(Lnet/minecraft/class_773;Lnet/minecraft/class_756;Lnet/minecraft/class_324;)V
      named <init> Lnet/minecraft/client/render/block/BlockRenderManager;<init>(Lnet/minecraft/client/render/block/BlockModels;Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;Lnet/minecraft/client/color/block/BlockColors;)V
  • Method Details

    • getModels

      public BlockModels getModels()
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a()Leqb;
      intermediary method_3351 Lnet/minecraft/class_776;method_3351()Lnet/minecraft/class_773;
      named getModels Lnet/minecraft/client/render/block/BlockRenderManager;getModels()Lnet/minecraft/client/render/block/BlockModels;
    • renderDamage

      public void renderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a(Lcoc;Lgh;Lbzg;Ldsj;Ldsn;)V
      intermediary method_23071 Lnet/minecraft/class_776;method_23071(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;)V
      named renderDamage Lnet/minecraft/client/render/block/BlockRenderManager;renderDamage(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;)V
    • renderBlock

      public boolean renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a(Lcoc;Lgh;Lbzg;Ldsj;Ldsn;ZLjava/util/Random;)Z
      intermediary method_3355 Lnet/minecraft/class_776;method_3355(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;ZLjava/util/Random;)Z
      named renderBlock Lnet/minecraft/client/render/block/BlockRenderManager;renderBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;ZLjava/util/Random;)Z
    • renderFluid

      public boolean renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, FluidState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a(Lgh;Lbzg;Ldsn;Ldhv;)Z
      intermediary method_3352 Lnet/minecraft/class_776;method_3352(Lnet/minecraft/class_2338;Lnet/minecraft/class_1920;Lnet/minecraft/class_4588;Lnet/minecraft/class_3610;)Z
      named renderFluid Lnet/minecraft/client/render/block/BlockRenderManager;renderFluid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/fluid/FluidState;)Z
    • getModelRenderer

      public BlockModelRenderer getModelRenderer()
      Mappings:
      Namespace Name Mixin selector
      official b Leqc;b()Leqe;
      intermediary method_3350 Lnet/minecraft/class_776;method_3350()Lnet/minecraft/class_778;
      named getModelRenderer Lnet/minecraft/client/render/block/BlockRenderManager;getModelRenderer()Lnet/minecraft/client/render/block/BlockModelRenderer;
    • getModel

      public BakedModel getModel(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a(Lcoc;)Lfbd;
      intermediary method_3349 Lnet/minecraft/class_776;method_3349(Lnet/minecraft/class_2680;)Lnet/minecraft/class_1087;
      named getModel Lnet/minecraft/client/render/block/BlockRenderManager;getModel(Lnet/minecraft/block/BlockState;)Lnet/minecraft/client/render/model/BakedModel;
    • renderBlockAsEntity

      public void renderBlockAsEntity(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumer, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      official a Leqc;a(Lcoc;Ldsj;Lepl;II)V
      intermediary method_3353 Lnet/minecraft/class_776;method_3353(Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      named renderBlockAsEntity Lnet/minecraft/client/render/block/BlockRenderManager;renderBlockAsEntity(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
    • reload

      public void reload(ResourceManager manager)
      Performs the reload in the apply executor, or the game engine.
      Specified by:
      reload in interface SynchronousResourceReloader
      Parameters:
      manager - the resource manager
      Mappings:
      Namespace Name Mixin selector
      official a Lafl;a(Lafk;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V