类 SkullBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SkullBlockRenderer
- 所有已实现的接口:
BlockEntityRenderer<SkullBlockEntity>
-
字段概要
字段修饰符和类型字段说明private final Map<SkullBlock.Type,
SkullModelBase> static final Map<SkullBlock.Type,
ResourceLocation> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Map<SkullBlock.Type,
SkullModelBase> createSkullRenderers
(EntityModelSet pEntityModelSet) static RenderType
getRenderType
(SkullBlock.Type pSkullType, com.mojang.authlib.GameProfile pGameProfile) void
render
(SkullBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) static void
renderSkull
(Direction pDirection, float pYRot, float pMouthAnimation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, SkullModelBase pModel, RenderType pRenderType) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
字段详细资料
-
modelByType
-
SKIN_BY_TYPE
-
-
构造器详细资料
-
SkullBlockRenderer
-
-
方法详细资料
-
createSkullRenderers
public static Map<SkullBlock.Type,SkullModelBase> createSkullRenderers(EntityModelSet pEntityModelSet) -
render
public void render(SkullBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) - 指定者:
render
在接口中BlockEntityRenderer<SkullBlockEntity>
-
renderSkull
public static void renderSkull(@Nullable Direction pDirection, float pYRot, float pMouthAnimation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, SkullModelBase pModel, RenderType pRenderType) -
getRenderType
public static RenderType getRenderType(SkullBlock.Type pSkullType, @Nullable com.mojang.authlib.GameProfile pGameProfile)
-