public class LayerWrapper
extends net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>>
Modifier and Type | Field and Description |
---|---|
net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>> |
layer |
Constructor and Description |
---|
LayerWrapper(net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>> layer) |
Modifier and Type | Method and Description |
---|---|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int packedLight,
net.minecraft.client.entity.player.AbstractClientPlayerEntity entity,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch) |
LayerWrapper |
setEnabled(boolean enabled) |
LayerWrapper |
setTranslates(double offsetX,
double offsetY,
double offsetZ) |
public final net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>> layer
public LayerWrapper(net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>> layer)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int packedLight, net.minecraft.client.entity.player.AbstractClientPlayerEntity entity, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
render
in class net.minecraft.client.renderer.entity.layers.LayerRenderer<net.minecraft.client.entity.player.AbstractClientPlayerEntity,net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity>>
public LayerWrapper setTranslates(double offsetX, double offsetY, double offsetZ)
public LayerWrapper setEnabled(boolean enabled)