2025-11-24 22:52:51 +03:00

31 lines
969 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.renderer.entity;
import net.minecraft.client.renderer.entity.ArrowRenderer;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
import net.minecraft.client.renderer.entity.state.ArrowRenderState;
import net.minecraft.resources.Identifier;
import net.minecraft.world.entity.projectile.SpectralArrow;
public class SpectralArrowRenderer
extends ArrowRenderer<SpectralArrow, ArrowRenderState> {
public static final Identifier SPECTRAL_ARROW_LOCATION = Identifier.withDefaultNamespace("textures/entity/projectiles/spectral_arrow.png");
public SpectralArrowRenderer(EntityRendererProvider.Context context) {
super(context);
}
@Override
protected Identifier getTextureLocation(ArrowRenderState state) {
return SPECTRAL_ARROW_LOCATION;
}
@Override
public ArrowRenderState createRenderState() {
return new ArrowRenderState();
}
}