Class BlockEntityRenderDispatcher

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

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

    • renderers

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

      private final BufferBuilder bufferBuilder
      Mappings:
      Namespace Name Mixin selector
      official e Lejn;e:Ldlm;
      intermediary field_20988 Lnet/minecraft/class_824;field_20988:Lnet/minecraft/class_287;
      named bufferBuilder Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;bufferBuilder:Lnet/minecraft/client/render/BufferBuilder;
    • textRenderer

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

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

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

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

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

      private final Supplier<BlockRenderManager> field_27747
      Mappings:
      Namespace Name Mixin selector
      official h Lejn;h:Ljava/util/function/Supplier;
      intermediary field_27747 Lnet/minecraft/class_824;field_27747:Ljava/util/function/Supplier;
      named field_27747 Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;field_27747:Ljava/util/function/Supplier;
  • Constructor Details

    • BlockEntityRenderDispatcher

      public BlockEntityRenderDispatcher​(TextRenderer textRenderer, EntityModelLoader entityModelLoader, Supplier<BlockRenderManager> supplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejn;<init>(Ldrf;Ledd;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_824;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_5599;Ljava/util/function/Supplier;)V
      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;)V
  • Method Details

    • get

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

      public void configure​(World world, Camera camera, HitResult crosshairTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lbtv;Ldpv;Ldis;)V
      intermediary method_3549 Lnet/minecraft/class_824;method_3549(Lnet/minecraft/class_1937;Lnet/minecraft/class_4184;Lnet/minecraft/class_239;)V
      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
    • render

      public <E extends BlockEntity> void render​(E blockEntity, float tickDelta, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lcfr;FLdlr;Lehq;)V
      intermediary method_3555 Lnet/minecraft/class_824;method_3555(Lnet/minecraft/class_2586;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)V
      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
    • render

      private static <T extends BlockEntity> void render​(BlockEntityRenderer<T> renderer, T blockEntity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lejo;Lcfr;FLdlr;Lehq;)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
      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
    • renderEntity

      public <E extends BlockEntity> boolean renderEntity​(E entity, MatrixStack matrix, VertexConsumerProvider vertexConsumerProvider, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lcfr;Ldlr;Lehq;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
      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
    • runReported

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

      public void setWorld​(@Nullable World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lbtv;)V
      intermediary method_3551 Lnet/minecraft/class_824;method_3551(Lnet/minecraft/class_1937;)V
      named setWorld Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;setWorld(Lnet/minecraft/world/World;)V
    • apply

      public void apply​(ResourceManager manager)
      Specified by:
      apply in interface SynchronousResourceReloadListener
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lacx;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      named apply Lnet/minecraft/resource/SynchronousResourceReloadListener;apply(Lnet/minecraft/resource/ResourceManager;)V