Class CreeperChargeLayer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.layers.LayerRenderer<T,M>
-
- net.minecraft.client.renderer.entity.layers.EnergyLayer<CreeperEntity,CreeperModel<CreeperEntity>>
-
- net.minecraft.client.renderer.entity.layers.CreeperChargeLayer
-
public class CreeperChargeLayer extends EnergyLayer<CreeperEntity,CreeperModel<CreeperEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private CreeperModel<CreeperEntity>
model
private static ResourceLocation
POWER_LOCATION
-
Constructor Summary
Constructors Constructor Description CreeperChargeLayer(IEntityRenderer<CreeperEntity,CreeperModel<CreeperEntity>> p_i50947_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceLocation
getTextureLocation()
protected EntityModel<CreeperEntity>
model()
protected float
xOffset(float p_225634_1_)
-
Methods inherited from class net.minecraft.client.renderer.entity.layers.EnergyLayer
render
-
Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
-
-
-
Field Detail
-
POWER_LOCATION
private static final ResourceLocation POWER_LOCATION
-
model
private final CreeperModel<CreeperEntity> model
-
-
Constructor Detail
-
CreeperChargeLayer
public CreeperChargeLayer(IEntityRenderer<CreeperEntity,CreeperModel<CreeperEntity>> p_i50947_1_)
-
-
Method Detail
-
xOffset
protected float xOffset(float p_225634_1_)
- Specified by:
xOffset
in classEnergyLayer<CreeperEntity,CreeperModel<CreeperEntity>>
-
getTextureLocation
protected ResourceLocation getTextureLocation()
- Specified by:
getTextureLocation
in classEnergyLayer<CreeperEntity,CreeperModel<CreeperEntity>>
-
model
protected EntityModel<CreeperEntity> model()
- Specified by:
model
in classEnergyLayer<CreeperEntity,CreeperModel<CreeperEntity>>
-
-