Class HookRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<net.minecraft.world.entity.projectile.FishingHook>
net.minecraft.client.renderer.entity.FishingHookRenderer
com.pixelmonmod.pixelmon.client.render.entity.renderers.HookRenderer
public class HookRenderer
extends net.minecraft.client.renderer.entity.FishingHookRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionHookRenderer
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
getTextureLocation
(net.minecraft.world.entity.projectile.FishingHook par1Entity) void
render
(net.minecraft.world.entity.projectile.FishingHook entity, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight) boolean
shouldRender
(net.minecraft.world.entity.projectile.FishingHook p_225626_1_, net.minecraft.client.renderer.culling.Frustum p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldShowName
-
Constructor Details
-
HookRenderer
public HookRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager)
-
-
Method Details
-
getTextureLocation
public net.minecraft.resources.ResourceLocation getTextureLocation(net.minecraft.world.entity.projectile.FishingHook par1Entity) - Overrides:
getTextureLocation
in classnet.minecraft.client.renderer.entity.FishingHookRenderer
-
shouldRender
public boolean shouldRender(net.minecraft.world.entity.projectile.FishingHook p_225626_1_, net.minecraft.client.renderer.culling.Frustum p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_) - Overrides:
shouldRender
in classnet.minecraft.client.renderer.entity.EntityRenderer<net.minecraft.world.entity.projectile.FishingHook>
-
render
public void render(net.minecraft.world.entity.projectile.FishingHook entity, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight) - Overrides:
render
in classnet.minecraft.client.renderer.entity.FishingHookRenderer
-