Class PokeBallRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<PokeBallEntity>
com.pixelmonmod.pixelmon.client.render.entity.renderers.PokeBallRenderer
public class PokeBallRenderer
extends net.minecraft.client.renderer.entity.EntityRenderer<PokeBallEntity>
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionPokeBallRenderer
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
getTextureLocation
(PokeBallEntity pokeball) void
render
(PokeBallEntity pokeball, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLightIn) net.minecraft.resources.ResourceLocation
resolveTexture
(PokeBallEntity pokeball, boolean flash) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Constructor Details
-
PokeBallRenderer
public PokeBallRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager)
-
-
Method Details
-
render
public void render(PokeBallEntity pokeball, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLightIn) - Overrides:
render
in classnet.minecraft.client.renderer.entity.EntityRenderer<PokeBallEntity>
-
getTextureLocation
- Specified by:
getTextureLocation
in classnet.minecraft.client.renderer.entity.EntityRenderer<PokeBallEntity>
-
resolveTexture
public net.minecraft.resources.ResourceLocation resolveTexture(PokeBallEntity pokeball, boolean flash)
-