Class LayerEquippables

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.layers.LayerEquippables

public class LayerEquippables extends net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    LayerEquippables(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getPokemon(net.minecraft.world.level.Level world, Optional<Pokemon> newPoke)
     
    static boolean
    hasEquippables(net.minecraft.client.player.AbstractClientPlayer player)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
     

    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
  • Constructor Details

    • LayerEquippables

      public LayerEquippables(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer)
  • Method Details

    • hasEquippables

      public static boolean hasEquippables(net.minecraft.client.player.AbstractClientPlayer player)
    • getPokemon

      public static PixelmonEntity getPokemon(net.minecraft.world.level.Level world, Optional<Pokemon> newPoke)
    • getPokemon

      public static PixelmonEntity getPokemon()
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer player, 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>>