17 lines
491 B
Java
17 lines
491 B
Java
package net.minecraft.client.renderer.entity;
|
|
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
import net.minecraft.client.model.EntityModel;
|
|
import net.minecraft.resources.ResourceLocation;
|
|
import net.minecraft.world.entity.Entity;
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
public interface RenderLayerParent<T extends Entity, M extends EntityModel<T>> {
|
|
M getModel();
|
|
|
|
/**
|
|
* Returns the location of an entity's texture.
|
|
*/
|
|
ResourceLocation getTextureLocation(T entity);
|
|
}
|