SpectralArrowRenderer .java

net.minecraft.client.renderer.entity.SpectralArrowRenderer (class, 26 lines): members: SPECTRAL_ARROW_LOCATION, getTextureLocation, createRenderState.

net.minecraft.client.renderer.entityclass26 linesclientextends ArrowRenderer<SpectralArrow865 B

API Surface (2)

Identifier getTextureLocation(final ArrowRenderState state)
ArrowRenderState createRenderState()

Fields & Constants (1)

SPECTRAL_ARROW_LOCATION

String literals (1)

"textures/entity/projectiles/arrow_spectral.png"

Code Graph: Dependencies (5)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

SpectralArrowRenderer.java26 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.renderer.entity;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.client.renderer.entity.state.ArrowRenderState;
6
import net.minecraft.resources.Identifier;
7
import net.minecraft.world.entity.projectile.arrow.SpectralArrow;
8
9
@Environment(EnvType.CLIENT)
10
public class SpectralArrowRenderer extends ArrowRenderer<SpectralArrow, ArrowRenderState> {
11
	public static final Identifier SPECTRAL_ARROW_LOCATION = Identifier.withDefaultNamespace("textures/entity/projectiles/arrow_spectral.png");
12
13
	public SpectralArrowRenderer(final EntityRendererProvider.Context context) {
14
		super(context);
15
	}
16
17
	@Override
18
	protected Identifier getTextureLocation(final ArrowRenderState state) {
19
		return SPECTRAL_ARROW_LOCATION;
20
	}
21
22
	public ArrowRenderState createRenderState() {
23
		return new ArrowRenderState();
24
	}
25
}
26

Decompiled Minecraft 26.3 source of SpectralArrowRenderer (net/minecraft/client/renderer/entity/SpectralArrowRenderer.java) with Mojang official mappings, stored verbatim on the site.