Class TextureMetaGenerator.VillagerGenerator

java.lang.Object
dev.lukebemish.dynamicassetgenerator.api.client.generators.TextureMetaGenerator.VillagerGenerator
All Implemented Interfaces:
TextureMetaGenerator.MetaSection
Enclosing class:
TextureMetaGenerator

public static class TextureMetaGenerator.VillagerGenerator extends Object implements TextureMetaGenerator.MetaSection
  • Field Details

    • HAT_CODEC

      public static final com.mojang.serialization.Codec<net.minecraft.client.resources.metadata.animation.VillagerMetaDataSection.Hat> HAT_CODEC
    • CODEC

      public static final com.mojang.serialization.Codec<TextureMetaGenerator.VillagerGenerator> CODEC
  • Method Details

    • getHat

      public Optional<net.minecraft.client.resources.metadata.animation.VillagerMetaDataSection.Hat> getHat()
    • apply

      public @Nullable com.google.gson.JsonObject apply(List<com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,com.google.gson.JsonObject>> originals)
      Specified by:
      apply in interface TextureMetaGenerator.MetaSection