Enum Class FluidItemModel.Loader
java.lang.Object
java.lang.Enum<FluidItemModel.Loader>
me.desht.pneumaticcraft.client.model.custom.FluidItemModel.Loader
- All Implemented Interfaces:
Serializable,Comparable<FluidItemModel.Loader>,Constable,net.minecraft.server.packs.resources.PreparableReloadListener,net.minecraft.server.packs.resources.ResourceManagerReloadListener,net.minecraftforge.client.model.IModelLoader<FluidItemModel.Geometry>
- Enclosing class:
- FluidItemModel
public static enum FluidItemModel.Loader
extends Enum<FluidItemModel.Loader>
implements net.minecraftforge.client.model.IModelLoader<FluidItemModel.Geometry>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidonResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager resourceManager) read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) static FluidItemModel.LoaderReturns the enum constant of this class with the specified name.static FluidItemModel.Loader[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getNameMethods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
onResourceManagerReload
public void onResourceManagerReload(net.minecraft.server.packs.resources.ResourceManager resourceManager) - Specified by:
onResourceManagerReloadin interfacenet.minecraft.server.packs.resources.ResourceManagerReloadListener
-
read
public FluidItemModel.Geometry read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) - Specified by:
readin interfacenet.minecraftforge.client.model.IModelLoader<FluidItemModel.Geometry>
-