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

28 lines
935 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.renderer.entity.layers;
import net.minecraft.client.model.PhantomModel;
import net.minecraft.client.renderer.entity.RenderLayerParent;
import net.minecraft.client.renderer.entity.layers.EyesLayer;
import net.minecraft.client.renderer.entity.state.PhantomRenderState;
import net.minecraft.client.renderer.rendertype.RenderType;
import net.minecraft.client.renderer.rendertype.RenderTypes;
import net.minecraft.resources.Identifier;
public class PhantomEyesLayer
extends EyesLayer<PhantomRenderState, PhantomModel> {
private static final RenderType PHANTOM_EYES = RenderTypes.eyes(Identifier.withDefaultNamespace("textures/entity/phantom_eyes.png"));
public PhantomEyesLayer(RenderLayerParent<PhantomRenderState, PhantomModel> renderer) {
super(renderer);
}
@Override
public RenderType renderType() {
return PHANTOM_EYES;
}
}