Class EquipmentLayerRenderer
java.lang.Object
net.minecraft.client.renderer.entity.layers.EquipmentLayerRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
(package private) static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EquipmentAssetManager
private final Function
<EquipmentLayerRenderer.LayerTextureKey, ResourceLocation> private static final int
private final Function
<EquipmentLayerRenderer.TrimSpriteKey, TextureAtlasSprite> -
Constructor Summary
ConstructorsConstructorDescriptionEquipmentLayerRenderer
(EquipmentAssetManager p_388621_, TextureAtlas p_371221_) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getColorForLayer
(EquipmentClientInfo.Layer p_386482_, int p_371443_) void
renderLayers
(EquipmentClientInfo.LayerType p_388694_, ResourceKey<EquipmentAsset> p_386937_, Model p_371498_, ItemStack p_371902_, PoseStack p_371937_, MultiBufferSource p_371457_, int p_371495_) void
renderLayers
(EquipmentClientInfo.LayerType p_387484_, ResourceKey<EquipmentAsset> p_387603_, Model p_371731_, ItemStack p_371670_, PoseStack p_371767_, MultiBufferSource p_371286_, int p_371309_, ResourceLocation p_371639_)
-
Field Details
-
NO_LAYER_COLOR
private static final int NO_LAYER_COLOR- See Also:
-
equipmentAssets
-
layerTextureLookup
-
trimSpriteLookup
-
-
Constructor Details
-
EquipmentLayerRenderer
-
-
Method Details
-
renderLayers
public void renderLayers(EquipmentClientInfo.LayerType p_388694_, ResourceKey<EquipmentAsset> p_386937_, Model p_371498_, ItemStack p_371902_, PoseStack p_371937_, MultiBufferSource p_371457_, int p_371495_) -
renderLayers
public void renderLayers(EquipmentClientInfo.LayerType p_387484_, ResourceKey<EquipmentAsset> p_387603_, Model p_371731_, ItemStack p_371670_, PoseStack p_371767_, MultiBufferSource p_371286_, int p_371309_, @Nullable ResourceLocation p_371639_) -
getColorForLayer
-