Class EnergyLayer<T extends Entity & IChargeableMob,M extends EntityModel<T>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.LayerRenderer<T,M>
net.minecraft.client.renderer.entity.layers.EnergyLayer<T,M>
- Direct Known Subclasses:
CreeperChargeLayer
,WitherAuraLayer
public abstract class EnergyLayer<T extends Entity & IChargeableMob,M extends EntityModel<T>>
extends LayerRenderer<T,M>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ResourceLocation
protected abstract EntityModel<T>
model()
void
render
(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) protected abstract float
xOffset
(float p_225634_1_) Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Constructor Details
-
EnergyLayer
-
-
Method Details
-
render
public void render(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) - Specified by:
render
in classLayerRenderer<T extends Entity & IChargeableMob,
M extends EntityModel<T>>
-
xOffset
protected abstract float xOffset(float p_225634_1_) -
getTextureLocation
-
model
-