minecraft-src/net/minecraft/client/renderer/entity/NoopRenderer.java
2025-07-04 01:41:11 +03:00

19 lines
565 B
Java

package net.minecraft.client.renderer.entity;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.renderer.texture.TextureAtlas;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.entity.Entity;
@Environment(EnvType.CLIENT)
public class NoopRenderer<T extends Entity> extends EntityRenderer<T> {
public NoopRenderer(EntityRendererProvider.Context context) {
super(context);
}
@Override
public ResourceLocation getTextureLocation(T entity) {
return TextureAtlas.LOCATION_BLOCKS;
}
}