Class SpecialtyDrinkManager

java.lang.Object
ml.pluto7073.pdapi.specialty.SpecialtyDrinkManager
All Implemented Interfaces:
net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener, net.fabricmc.fabric.api.resource.SimpleSynchronousResourceReloadListener, net.minecraft.server.packs.resources.PreparableReloadListener, net.minecraft.server.packs.resources.ResourceManagerReloadListener

public class SpecialtyDrinkManager extends Object implements net.fabricmc.fabric.api.resource.SimpleSynchronousResourceReloadListener
  • Nested Class Summary

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

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SpecialtyDrink
     
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(net.minecraft.resources.ResourceLocation id)
     
    ArrayList<net.minecraft.resources.ResourceLocation>
     
    net.minecraft.resources.ResourceLocation
     
    static net.minecraft.resources.ResourceLocation
     
    void
    onResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager manager)
     
    static void
    register(net.minecraft.resources.ResourceLocation id, SpecialtyDrink drink)
     
    static void
     
     

    Methods inherited from class java.lang.Object

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

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

    getName

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

    reload
  • Field Details

    • EMPTY

      public static final SpecialtyDrink EMPTY
    • PHASE

      public static final net.minecraft.resources.ResourceLocation PHASE
  • Constructor Details

    • SpecialtyDrinkManager

      public SpecialtyDrinkManager()
  • Method Details

    • getFabricId

      public net.minecraft.resources.ResourceLocation getFabricId()
      Specified by:
      getFabricId in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
    • onResourceManagerReload

      public void onResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager manager)
      Specified by:
      onResourceManagerReload in interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
    • getFabricDependencies

      public ArrayList<net.minecraft.resources.ResourceLocation> getFabricDependencies()
      Specified by:
      getFabricDependencies in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
    • register

      public static void register(net.minecraft.resources.ResourceLocation id, SpecialtyDrink drink)
    • get

      public static SpecialtyDrink get(net.minecraft.resources.ResourceLocation id)
    • getId

      public static net.minecraft.resources.ResourceLocation getId(SpecialtyDrink drink)
    • values

      public static Collection<SpecialtyDrink> values()
    • reset

      public static void reset()