Class GenderArmorProvider

java.lang.Object
com.wildfire.api.data.GenderArmorProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider

public abstract class GenderArmorProvider extends Object implements net.minecraft.data.DataProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider

    net.minecraft.data.DataProvider.Factory<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GenderArmorProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String modId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    add(net.minecraft.resources.Identifier material, IGenderArmor armor)
     
    protected void
    add(net.minecraft.resources.ResourceKey<net.minecraft.world.item.equipment.EquipmentAsset> armorMaterial, IGenderArmor armor)
     
    protected void
    add(net.minecraft.world.item.equipment.ArmorMaterial armorMaterial, IGenderArmor armor)
     
    protected abstract void
    addDefaults(net.minecraft.core.HolderLookup.Provider lookupProvider)
     
    final String
     
    run(net.minecraft.data.CachedOutput cachedOutput)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GenderArmorProvider

      protected GenderArmorProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String modId)
  • Method Details

    • getName

      public final String getName()
      Specified by:
      getName in interface net.minecraft.data.DataProvider
    • run

      public final CompletableFuture<?> run(net.minecraft.data.CachedOutput cachedOutput)
      Specified by:
      run in interface net.minecraft.data.DataProvider
    • addDefaults

      protected abstract void addDefaults(net.minecraft.core.HolderLookup.Provider lookupProvider)
    • add

      protected void add(net.minecraft.world.item.equipment.ArmorMaterial armorMaterial, IGenderArmor armor)
    • add

      protected void add(net.minecraft.resources.ResourceKey<net.minecraft.world.item.equipment.EquipmentAsset> armorMaterial, IGenderArmor armor)
    • add

      protected void add(net.minecraft.resources.Identifier material, IGenderArmor armor)