Class LayerWrapper

java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
com.pixelmonmod.pixelmon.client.render.player.LayerWrapper

public class LayerWrapper extends net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
Created by Jay113355 on 11/11/2019.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
     

    Fields inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer

    renderer
  • Constructor Summary

    Constructors
    Constructor
    Description
    LayerWrapper(net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>> layer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer entity, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
     
    setEnabled(boolean enabled)
     
    setTranslates(double offsetX, double offsetY, double offsetZ)
     

    Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer

    coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • layer

      public final net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>> layer
  • Constructor Details

    • LayerWrapper

      public LayerWrapper(net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>> layer)
  • Method Details

    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer entity, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
      Specified by:
      render in class net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
    • setTranslates

      public LayerWrapper setTranslates(double offsetX, double offsetY, double offsetZ)
    • setEnabled

      public LayerWrapper setEnabled(boolean enabled)