Class TridentRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<TridentEntity>
-
- net.minecraft.client.renderer.entity.TridentRenderer
-
public class TridentRenderer extends EntityRenderer<TridentEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private TridentModel
model
static ResourceLocation
TRIDENT_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description TridentRenderer(EntityRendererManager p_i48828_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(TridentEntity p_110775_1_)
void
render(TridentEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
TRIDENT_LOCATION
public static final ResourceLocation TRIDENT_LOCATION
-
model
private final TridentModel model
-
-
Constructor Detail
-
TridentRenderer
public TridentRenderer(EntityRendererManager p_i48828_1_)
-
-
Method Detail
-
render
public void render(TridentEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<TridentEntity>
-
getTextureLocation
public ResourceLocation getTextureLocation(TridentEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<TridentEntity>
-
-