net.minecraft.client.render.block.entity

public class SkullBlockEntityRenderer

implements BlockEntityRenderer<SkullBlockEntity, SkullBlockEntityRenderState>

net.minecraft.client.renderer.blockentity.SkullBlockRenderer
net.minecraft.class_836
net.minecraft.client.render.block.entity.SkullBlockEntityRenderer

Field summary

Modifier and TypeField
public static final OrientationMap<AffineTransformation>
TRANSFORMATIONS
field_1_2390
TRANSFORMATIONS
private final Function<SkullBlock$SkullType, SkullBlockEntityModel>
modelByType
field_4391
models
private static final Map<SkullBlock$SkullType, Identifier>
SKIN_BY_TYPE
field_4390
TEXTURES
private final PlayerSkinCache
playerSkinRenderCache
field_62253
skinCache

Constructor summary

ModifierConstructor
public (BlockEntityRendererFactory$Context context)

Method summary

Modifier and TypeMethod
public static SkullBlockEntityModel
createModel(EntityModelSet modelSet, SkullBlock$Type type)
method_32160(class_5599 arg0, class_2484$class_2485 arg1)
getModels(LoadedEntityModels models, SkullBlock$SkullType type)
public SkullBlockEntityRenderState
createRenderState()
method_74335()
createRenderState()
public void
extractRenderState(SkullBlockEntity blockEntity, SkullBlockRenderState state, float partialTicks, Vec3 cameraPosition, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_74386(class_2631 arg0, class_11972 arg1, float arg2, class_243 arg3, class_11683$class_11792 arg4)
updateRenderState(SkullBlockEntity arg0, SkullBlockEntityRenderState arg1, float arg2, Vec3d arg3, ModelCommandRenderer$CrumblingOverlayCommand arg4)
public void
submit(SkullBlockRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3577(class_11972 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(SkullBlockEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public static void
submitSkull(float animationValue, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, SkullModelBase model, RenderType renderType, int outlineColor, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_72958(float arg0, class_4587 arg1, class_11659 arg2, int arg3, class_5598 arg4, class_1921 arg5, int arg6, class_11683$class_11792 arg7)
render(float poweredTicks, MatrixStack matrices, OrderedRenderCommandQueue queue, int light, SkullBlockEntityModel model, RenderLayer renderLayer, int outlineColor, ModelCommandRenderer$CrumblingOverlayCommand crumblingOverlay)
private RenderLayer
resolveSkullRenderType(SkullBlock$Type type, SkullBlockEntity entity)
method_32161(class_2484$class_2485 arg0, class_2631 arg1)
renderSkull(SkullBlock$SkullType skullType, SkullBlockEntity blockEntity)
public static RenderLayer
getSkullRenderType(SkullBlock$Type type, Identifier texture)
method_3578(class_2484$class_2485 arg0, class_2960 arg1)
getCutoutRenderLayer(SkullBlock$SkullType type, Identifier texture)
public static RenderLayer
getPlayerSkinRenderType(Identifier texture)
method_72165(class_2960 arg0)
getTranslucentRenderLayer(Identifier texture)
public static RenderLayer
getPlayerSkinRenderTypeCutout(Identifier texture)
method_1_7109(class_2960 arg0)
method_1_7109(Identifier arg0)
private static AffineTransformation
createWallTransformation(Direction wallDirection)
method_1_2846(class_2350 arg0)
getWallTransformation(Direction direction)
private static AffineTransformation
createGroundTransformation(int segment)
method_1_2845(int arg0)
getGroundTransformation(int rotation)
public void
submit(BlockEntityRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3569(class_11954 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(BlockEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public void
extractRenderState(BlockEntity blockEntity, BlockEntityRenderState state, float partialTicks, Vec3 cameraPosition, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_74331(class_2586 arg0, class_11954 arg1, float arg2, class_243 arg3, class_11683$class_11792 arg4)
updateRenderState(BlockEntity arg0, BlockEntityRenderState arg1, float arg2, Vec3d arg3, ModelCommandRenderer$CrumblingOverlayCommand arg4)
public BlockEntityRenderState
createRenderState()
method_74335()
createRenderState()
private static SkullBlockEntityModel
lambda$new$0(EntityModelSet arg0, SkullBlock$Type arg1)
method_65563(class_5599 arg0, class_2484$class_2485 arg1)
method_65563(LoadedEntityModels arg0, SkullBlock$SkullType type)
private static void
lambda$static$0(HashMap arg0)
method_3580(HashMap arg0)
method_3580(HashMap map)