Package ml.pluto7073.pdapi.specialty
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialtyDrinkget(net.minecraft.resources.ResourceLocation id) ArrayList<net.minecraft.resources.ResourceLocation> net.minecraft.resources.ResourceLocationstatic net.minecraft.resources.ResourceLocationgetId(SpecialtyDrink drink) voidonResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager manager) static voidregister(net.minecraft.resources.ResourceLocation id, SpecialtyDrink drink) static voidreset()static Collection<SpecialtyDrink> values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getNameMethods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Field Details
-
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:
getFabricIdin interfacenet.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
-
onResourceManagerReload
public void onResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager manager) - Specified by:
onResourceManagerReloadin interfacenet.minecraft.server.packs.resources.ResourceManagerReloadListener
-
getFabricDependencies
- Specified by:
getFabricDependenciesin interfacenet.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
-
register
-
get
-
getId
-
values
-
reset
public static void reset()
-