Class GenderArmorResourceManager

java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.Identifier, IGenderArmor>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
com.wildfire.client.resources.GenderArmorResourceManager
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

public final class GenderArmorResourceManager extends net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
API Note:
Only use this on the client side
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier, net.minecraft.server.packs.resources.PreparableReloadListener.SharedState, net.minecraft.server.packs.resources.PreparableReloadListener.StateKey<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.Identifier
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(Map<net.minecraft.resources.Identifier, IGenderArmor> prepared, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler)
     
    static @Nullable IGenderArmor
    get(net.minecraft.resources.Identifier model)
     
    get(net.minecraft.world.item.ItemStack item)
     
    protected Map<net.minecraft.resources.Identifier, IGenderArmor>
    prepare(net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler)
     

    Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener

    reload

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    getName, prepareSharedState
  • Field Details

    • ID

      public static final net.minecraft.resources.Identifier ID
    • INSTANCE

      public static final GenderArmorResourceManager INSTANCE
  • Method Details

    • prepare

      protected Map<net.minecraft.resources.Identifier, IGenderArmor> prepare(net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler)
      Overrides:
      prepare in class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
    • apply

      protected void apply(Map<net.minecraft.resources.Identifier, IGenderArmor> prepared, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler)
      Specified by:
      apply in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.Identifier, IGenderArmor>>
    • get

      public static @Nullable IGenderArmor get(net.minecraft.resources.Identifier model)
    • get

      public static Optional<IGenderArmor> get(net.minecraft.world.item.ItemStack item)