@FunctionalInterface @Environment(value=CLIENT) public static interface ArmorRenderingRegistry.ModelProvider
Modifier and Type | Method and Description |
---|---|
@NotNull net.minecraft.client.render.entity.model.BipedEntityModel<net.minecraft.entity.LivingEntity> |
getArmorModel(net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.EquipmentSlot slot,
net.minecraft.client.render.entity.model.BipedEntityModel<net.minecraft.entity.LivingEntity> defaultModel)
Gets the model of the armor piece.
|
@NotNull @NotNull net.minecraft.client.render.entity.model.BipedEntityModel<net.minecraft.entity.LivingEntity> getArmorModel(net.minecraft.entity.LivingEntity entity, net.minecraft.item.ItemStack stack, net.minecraft.entity.EquipmentSlot slot, net.minecraft.client.render.entity.model.BipedEntityModel<net.minecraft.entity.LivingEntity> defaultModel)
entity
- The entity equipping the armorstack
- The item stack of the armorslot
- The slot which the armor is indefaultModel
- The default vanilla armor model