Record Class BlockEntityRendererFactory.Context

java.lang.Object
java.lang.Record
net.minecraft.client.render.block.entity.BlockEntityRendererFactory.Context
Record Components:
renderDispatcher -
renderManager -
itemModelManager -
itemRenderer -
entityRenderDispatcher -
loadedEntityModels -
textRenderer -
spriteHolder -
playerSkinRenderCache -
Enclosing interface:
BlockEntityRendererFactory<T extends BlockEntity,S extends BlockEntityRenderState>

@Environment(CLIENT) public static record BlockEntityRendererFactory.Context(BlockEntityRenderManager renderDispatcher, BlockRenderManager renderManager, ItemModelManager itemModelManager, ItemRenderer itemRenderer, EntityRenderManager entityRenderDispatcher, LoadedEntityModels loadedEntityModels, TextRenderer textRenderer, SpriteHolder spriteHolder, PlayerSkinCache playerSkinRenderCache) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context
intermediary net/minecraft/class_5614$class_5615
official hit$a
named renderDispatcher
intermediary comp_4534
official a
named renderManager
intermediary comp_4535
official b
named itemModelManager
intermediary comp_4536
official c
named itemRenderer
intermediary comp_4537
official d
named entityRenderDispatcher
intermediary comp_4538
official e
named loadedEntityModels
intermediary comp_4539
official f
named textRenderer
intermediary comp_4540
official g
named spriteHolder
intermediary comp_4541
official h
named playerSkinRenderCache
intermediary comp_4655
official i
  • Field Details

  • Constructor Details

    • Context

      public Context(BlockEntityRenderManager renderDispatcher, BlockRenderManager renderManager, ItemModelManager itemModelManager, ItemRenderer itemRenderer, EntityRenderManager entityRenderDispatcher, LoadedEntityModels layerRenderDispatcher, TextRenderer textRenderer, SpriteHolder spriteHolder, PlayerSkinCache playerSkinCache)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRenderManager;Lnet/minecraft/client/render/block/BlockRenderManager;Lnet/minecraft/client/item/ItemModelManager;Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/render/entity/EntityRenderManager;Lnet/minecraft/client/render/entity/model/LoadedEntityModels;Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/texture/SpriteHolder;Lnet/minecraft/client/texture/PlayerSkinCache;)V
      intermediary <init> Lnet/minecraft/class_5614$class_5615;<init>(Lnet/minecraft/class_824;Lnet/minecraft/class_776;Lnet/minecraft/class_10442;Lnet/minecraft/class_918;Lnet/minecraft/class_898;Lnet/minecraft/class_5599;Lnet/minecraft/class_327;Lnet/minecraft/class_11701;Lnet/minecraft/class_11786;)V
      official <init> Lhit$a;<init>(Lhir;Lhhg;Lhyq;Lhox;Lhnw;Lgyk;Lgda;Lies;Lhgc;)V
  • Method Details

    • getLayerModelPart

      public ModelPart getLayerModelPart(EntityModelLayer modelLayer)
      Mappings:
      Namespace Name Mixin selector
      named getLayerModelPart Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;getLayerModelPart(Lnet/minecraft/client/render/entity/model/EntityModelLayer;)Lnet/minecraft/client/model/ModelPart;
      intermediary method_32140 Lnet/minecraft/class_5614$class_5615;method_32140(Lnet/minecraft/class_5601;)Lnet/minecraft/class_630;
      official a Lhit$a;a(Lgym;)Lgyo;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • renderDispatcher

      public BlockEntityRenderManager renderDispatcher()
      Returns the value of the renderDispatcher record component.
      Returns:
      the value of the renderDispatcher record component
    • renderManager

      public BlockRenderManager renderManager()
      Returns the value of the renderManager record component.
      Returns:
      the value of the renderManager record component
    • itemModelManager

      public ItemModelManager itemModelManager()
      Returns the value of the itemModelManager record component.
      Returns:
      the value of the itemModelManager record component
    • itemRenderer

      public ItemRenderer itemRenderer()
      Returns the value of the itemRenderer record component.
      Returns:
      the value of the itemRenderer record component
    • entityRenderDispatcher

      public EntityRenderManager entityRenderDispatcher()
      Returns the value of the entityRenderDispatcher record component.
      Returns:
      the value of the entityRenderDispatcher record component
    • loadedEntityModels

      public LoadedEntityModels loadedEntityModels()
      Returns the value of the loadedEntityModels record component.
      Returns:
      the value of the loadedEntityModels record component
    • textRenderer

      public TextRenderer textRenderer()
      Returns the value of the textRenderer record component.
      Returns:
      the value of the textRenderer record component
    • spriteHolder

      public SpriteHolder spriteHolder()
      Returns the value of the spriteHolder record component.
      Returns:
      the value of the spriteHolder record component
    • playerSkinRenderCache

      public PlayerSkinCache playerSkinRenderCache()
      Returns the value of the playerSkinRenderCache record component.
      Returns:
      the value of the playerSkinRenderCache record component