package net.minecraft.client.renderer.entity; import net.minecraft.client.renderer.entity.state.ArrowRenderState; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.projectile.SpectralArrow; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; @OnlyIn(Dist.CLIENT) public class SpectralArrowRenderer extends ArrowRenderer { public static final ResourceLocation SPECTRAL_ARROW_LOCATION = ResourceLocation.withDefaultNamespace("textures/entity/projectiles/spectral_arrow.png"); public SpectralArrowRenderer(EntityRendererProvider.Context p_174399_) { super(p_174399_); } @Override protected ResourceLocation getTextureLocation(ArrowRenderState p_362598_) { return SPECTRAL_ARROW_LOCATION; } public ArrowRenderState createRenderState() { return new ArrowRenderState(); } }