Class BlockEntityRenderDispatcher

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

@Environment(CLIENT) public class BlockEntityRenderDispatcher extends Object implements SynchronousResourceReloader
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/BlockEntityRenderDispatcher
intermediary net/minecraft/class_824
official gnu
  • Field Details

    • renderers

      private Map<BlockEntityType<?>,BlockEntityRenderer<?>> renderers
      Mappings:
      Namespace Name Mixin selector
      named renderers Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;renderers:Ljava/util/Map;
      intermediary field_4345 Lnet/minecraft/class_824;field_4345:Ljava/util/Map;
      official d Lgnu;d:Ljava/util/Map;
    • textRenderer

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      named textRenderer Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;textRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_4342 Lnet/minecraft/class_824;field_4342:Lnet/minecraft/class_327;
      official e Lgnu;e:Lfnp;
    • entityModelLoader

      private final EntityModelLoader entityModelLoader
      Mappings:
      Namespace Name Mixin selector
      named entityModelLoader Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;entityModelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
      intermediary field_27746 Lnet/minecraft/class_824;field_27746:Lnet/minecraft/class_5599;
      official f Lgnu;f:Lgej;
    • world

      public World world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;world:Lnet/minecraft/world/World;
      intermediary field_4348 Lnet/minecraft/class_824;field_4348:Lnet/minecraft/class_1937;
      official a Lgnu;a:Ldhh;
    • camera

      public Camera camera
      Mappings:
      Namespace Name Mixin selector
      named camera Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;camera:Lnet/minecraft/client/render/Camera;
      intermediary field_4344 Lnet/minecraft/class_824;field_4344:Lnet/minecraft/class_4184;
      official b Lgnu;b:Lflo;
    • crosshairTarget

      public HitResult crosshairTarget
      Mappings:
      Namespace Name Mixin selector
      named crosshairTarget Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;crosshairTarget:Lnet/minecraft/util/hit/HitResult;
      intermediary field_4350 Lnet/minecraft/class_824;field_4350:Lnet/minecraft/class_239;
      official c Lgnu;c:Lfbv;
    • blockRenderManager

      private final Supplier<BlockRenderManager> blockRenderManager
      Mappings:
      Namespace Name Mixin selector
      named blockRenderManager Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;blockRenderManager:Ljava/util/function/Supplier;
      intermediary field_27747 Lnet/minecraft/class_824;field_27747:Ljava/util/function/Supplier;
      official g Lgnu;g:Ljava/util/function/Supplier;
    • itemRenderer

      private final Supplier<ItemRenderer> itemRenderer
      Mappings:
      Namespace Name Mixin selector
      named itemRenderer Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;itemRenderer:Ljava/util/function/Supplier;
      intermediary field_38880 Lnet/minecraft/class_824;field_38880:Ljava/util/function/Supplier;
      official h Lgnu;h:Ljava/util/function/Supplier;
    • entityRenderDispatcher

      private final Supplier<EntityRenderDispatcher> entityRenderDispatcher
      Mappings:
      Namespace Name Mixin selector
      named entityRenderDispatcher Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;entityRenderDispatcher:Ljava/util/function/Supplier;
      intermediary field_38881 Lnet/minecraft/class_824;field_38881:Ljava/util/function/Supplier;
      official i Lgnu;i:Ljava/util/function/Supplier;
  • Constructor Details

    • BlockEntityRenderDispatcher

      public BlockEntityRenderDispatcher(TextRenderer textRenderer, EntityModelLoader entityModelLoader, Supplier<BlockRenderManager> blockRenderManager, Supplier<ItemRenderer> itemRenderer, Supplier<EntityRenderDispatcher> entityRenderDispatcher)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/render/entity/model/EntityModelLoader;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_824;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_5599;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
      official <init> Lgnu;<init>(Lfnp;Lgej;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
  • Method Details

    • get

      @Nullable public <E extends BlockEntity> @Nullable BlockEntityRenderer<E> get(E blockEntity)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;get(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;
      intermediary method_3550 Lnet/minecraft/class_824;method_3550(Lnet/minecraft/class_2586;)Lnet/minecraft/class_827;
      official a Lgnu;a(Lduw;)Lgnv;
    • configure

      public void configure(World world, Camera camera, HitResult crosshairTarget)
      Mappings:
      Namespace Name Mixin selector
      named configure Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;configure(Lnet/minecraft/world/World;Lnet/minecraft/client/render/Camera;Lnet/minecraft/util/hit/HitResult;)V
      intermediary method_3549 Lnet/minecraft/class_824;method_3549(Lnet/minecraft/class_1937;Lnet/minecraft/class_4184;Lnet/minecraft/class_239;)V
      official a Lgnu;a(Ldhh;Lflo;Lfbv;)V
    • render

      public <E extends BlockEntity> void render(E blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;render(Lnet/minecraft/block/entity/BlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;)V
      intermediary method_3555 Lnet/minecraft/class_824;method_3555(Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)V
      official a Lgnu;a(Lduw;FLfgr;Lglk;)V
    • render

      private static <T extends BlockEntity> void render(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;render(Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;Lnet/minecraft/block/entity/BlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;)V
      intermediary method_23079 Lnet/minecraft/class_824;method_23079(Lnet/minecraft/class_827;Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)V
      official a Lgnu;a(Lgnv;Lduw;FLfgr;Lglk;)V
    • renderEntity

      public <E extends BlockEntity> boolean renderEntity(E entity, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      named renderEntity Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;renderEntity(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)Z
      intermediary method_23077 Lnet/minecraft/class_824;method_23077(Lnet/minecraft/class_2586;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Z
      official a Lgnu;a(Lduw;Lfgr;Lglk;II)Z
    • runReported

      private static void runReported(BlockEntity blockEntity, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      named runReported Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;runReported(Lnet/minecraft/block/entity/BlockEntity;Ljava/lang/Runnable;)V
      intermediary method_3554 Lnet/minecraft/class_824;method_3554(Lnet/minecraft/class_2586;Ljava/lang/Runnable;)V
      official a Lgnu;a(Lduw;Ljava/lang/Runnable;)V
    • setWorld

      public void setWorld(@Nullable @Nullable World world)
      Mappings:
      Namespace Name Mixin selector
      named setWorld Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;setWorld(Lnet/minecraft/world/World;)V
      intermediary method_3551 Lnet/minecraft/class_824;method_3551(Lnet/minecraft/class_1937;)V
      official a Lgnu;a(Ldhh;)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
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      official a Lavw;a(Lavv;)V