@FunctionalInterface @Environment(value=CLIENT) public static interface ArmorRenderingRegistry.TextureProvider
Modifier and Type | Method and Description |
---|---|
@NotNull net.minecraft.util.Identifier |
getArmorTexture(net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.EquipmentSlot slot,
boolean secondLayer,
@Nullable String suffix,
net.minecraft.util.Identifier defaultTexture)
Gets the armor texture
Identifier . |
@NotNull @NotNull net.minecraft.util.Identifier getArmorTexture(net.minecraft.entity.LivingEntity entity, net.minecraft.item.ItemStack stack, net.minecraft.entity.EquipmentSlot slot, boolean secondLayer, @Nullable @Nullable String suffix, net.minecraft.util.Identifier defaultTexture)
Identifier
.entity
- The entity equipping the armorstack
- The item stack of the armorslot
- The slot which the armor is indefaultTexture
- The default vanilla texture identifier