Class SkullBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SkullBlockRenderer
- All Implemented Interfaces:
- BlockEntityRenderer<SkullBlockEntity>,- IBlockEntityRendererExtension<SkullBlockEntity>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Map<SkullBlock.Type,SkullModelBase> static final Map<SkullBlock.Type,ResourceLocation> Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtensionINFINITE_EXTENT_AABB
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Map<SkullBlock.Type,SkullModelBase> createSkullRenderers(EntityModelSet p_173662_) getRenderBoundingBox(SkullBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.static RenderTypegetRenderType(SkullBlock.Type p_112524_, com.mojang.authlib.GameProfile p_112525_) voidrender(SkullBlockEntity p_112534_, float p_112535_, PoseStack p_112536_, MultiBufferSource p_112537_, int p_112538_, int p_112539_) static voidrenderSkull(Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderergetViewDistance, shouldRender, shouldRenderOffScreen
- 
Field Details- 
modelByType
- 
SKIN_BY_TYPE
 
- 
- 
Constructor Details- 
SkullBlockRenderer
 
- 
- 
Method Details- 
createSkullRenderers
- 
renderpublic void render(SkullBlockEntity p_112534_, float p_112535_, PoseStack p_112536_, MultiBufferSource p_112537_, int p_112538_, int p_112539_) - Specified by:
- renderin interface- BlockEntityRenderer<SkullBlockEntity>
 
- 
renderSkullpublic static void renderSkull(@Nullable Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) 
- 
getRenderTypepublic static RenderType getRenderType(SkullBlock.Type p_112524_, @Nullable com.mojang.authlib.GameProfile p_112525_) 
- 
getRenderBoundingBoxDescription copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
- getRenderBoundingBoxin interface- IBlockEntityRendererExtension<SkullBlockEntity>
- Returns:
- an appropriately sized AABBfor theBlockEntityRenderer
 
 
-