net.minecraft.client.render.entity.feature.FeatureRendererContext Java Examples
The following examples show how to use
net.minecraft.client.render.entity.feature.FeatureRendererContext.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GlowingEyesFeature.java From MineLittlePony with MIT License | 5 votes |
public <V extends FeatureRendererContext<T, M> & IPonyRenderContext<T, M> & IGlowingRenderer> GlowingEyesFeature(V renderer) { super(renderer); layer = RenderLayer.getEyes(renderer.getEyeTexture()); }
Example #2
Source File: EvolvedCreeperChargeFeatureRenderer.java From Galacticraft-Rewoven with MIT License | 4 votes |
public EvolvedCreeperChargeFeatureRenderer(FeatureRendererContext<EvolvedCreeperEntity, EvolvedCreeperEntityModel> featureRendererContext) { super(featureRendererContext); }
Example #3
Source File: PumpcownStemFeatureRenderer.java From the-hallow with MIT License | 4 votes |
public PumpcownStemFeatureRenderer(FeatureRendererContext<T, CowEntityModel<T>> rendererContext) { super(rendererContext); }
Example #4
Source File: AbstractPonyFeature.java From MineLittlePony with MIT License | 4 votes |
@SuppressWarnings("unchecked") public AbstractPonyFeature(IPonyRenderContext<T, M> context) { super((FeatureRendererContext<T, M>)context); this.context = context; }
Example #5
Source File: AbstractPonyFeature.java From MineLittlePony with MIT License | 4 votes |
@SuppressWarnings("unchecked") protected <C extends IPonyRenderContext<T, M> & FeatureRendererContext<T, M>> C getContext() { return (C)context; }
Example #6
Source File: AbstractClothingFeature.java From MineLittlePony with MIT License | 4 votes |
public AbstractClothingFeature(FeatureRendererContext<T, M> render) { super(render); renderer = render; }
Example #7
Source File: PonyStandRenderer.java From MineLittlePony with MIT License | 4 votes |
public Armour(FeatureRendererContext<ArmorStandEntity, ArmorStandArmorEntityModel> context) { super(context, new ArmorStandArmorEntityModel(0.5F), new ArmorStandArmorEntityModel(1)); pony.apply(new PonyData(Race.EARTH)); }