package net.minecraft.client.renderer.entity; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.model.TadpoleModel; import net.minecraft.client.model.geom.ModelLayers; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.animal.frog.Tadpole; @Environment(EnvType.CLIENT) public class TadpoleRenderer extends MobRenderer> { private static final ResourceLocation TADPOLE_TEXTURE = ResourceLocation.withDefaultNamespace("textures/entity/tadpole/tadpole.png"); public TadpoleRenderer(EntityRendererProvider.Context context) { super(context, new TadpoleModel<>(context.bakeLayer(ModelLayers.TADPOLE)), 0.14F); } public ResourceLocation getTextureLocation(Tadpole tadpole) { return TADPOLE_TEXTURE; } }