public class VillagerLevelPendantLayer<T extends LivingEntity & IVillagerDataHolder,M extends EntityModel<T> & IHeadToggle> extends LayerRenderer<T,M> implements IResourceManagerReloadListener
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> |
field_215352_a |
private it.unimi.dsi.fastutil.objects.Object2ObjectMap<IVillagerType,VillagerMetadataSection.HatType> |
field_215353_b |
private it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerProfession,VillagerMetadataSection.HatType> |
field_215354_c |
private IReloadableResourceManager |
field_215355_d |
private java.lang.String |
field_215356_e |
Constructor and Description |
---|
VillagerLevelPendantLayer(IEntityRenderer<T,M> p_i50955_1_,
IReloadableResourceManager p_i50955_2_,
java.lang.String p_i50955_3_) |
Modifier and Type | Method and Description |
---|---|
<K> VillagerMetadataSection.HatType |
func_215350_a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K,VillagerMetadataSection.HatType> p_215350_1_,
java.lang.String p_215350_2_,
DefaultedRegistry<K> p_215350_3_,
K p_215350_4_) |
private ResourceLocation |
func_215351_a(java.lang.String p_215351_1_,
ResourceLocation p_215351_2_) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
render(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn,
T entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch) |
getEntityModel, getEntityTexture, renderCopyCutoutModel, renderCutoutModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceType, reload
func_225594_i_
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> field_215352_a
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<IVillagerType,VillagerMetadataSection.HatType> field_215353_b
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerProfession,VillagerMetadataSection.HatType> field_215354_c
private final IReloadableResourceManager field_215355_d
private final java.lang.String field_215356_e
public VillagerLevelPendantLayer(IEntityRenderer<T,M> p_i50955_1_, IReloadableResourceManager p_i50955_2_, java.lang.String p_i50955_3_)
public void render(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn, T entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
render
in class LayerRenderer<T extends LivingEntity & IVillagerDataHolder,M extends EntityModel<T> & IHeadToggle>
private ResourceLocation func_215351_a(java.lang.String p_215351_1_, ResourceLocation p_215351_2_)
public <K> VillagerMetadataSection.HatType func_215350_a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K,VillagerMetadataSection.HatType> p_215350_1_, java.lang.String p_215350_2_, DefaultedRegistry<K> p_215350_3_, K p_215350_4_)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener