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
ConstructorDescriptionLayerEquippables
(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionstatic PixelmonEntity
static PixelmonEntity
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
-
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
-
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 classnet.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,
net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
-