Enum EarlyProgressVisualization
- java.lang.Object
-
- java.lang.Enum<EarlyProgressVisualization>
-
- net.minecraftforge.fml.loading.progress.EarlyProgressVisualization
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EarlyProgressVisualization>
public enum EarlyProgressVisualization extends java.lang.Enum<EarlyProgressVisualization>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classEarlyProgressVisualization.NoVisualization(package private) static interfaceEarlyProgressVisualization.Visualization
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Field Summary
Fields Modifier and Type Field Description private EarlyProgressVisualization.Visualizationvisualization
-
Constructor Summary
Constructors Modifier Constructor Description privateEarlyProgressVisualization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Runnableaccept(net.minecraftforge.api.distmarker.Dist dist, boolean isData)java.lang.Runnableaccept(net.minecraftforge.api.distmarker.Dist dist, boolean isData, java.lang.String mcVersion)longhandOffWindow(java.util.function.IntSupplier width, java.util.function.IntSupplier height, java.util.function.Supplier<java.lang.String> title, java.util.function.LongSupplier monitor)voidupdateFBSize(java.util.function.IntConsumer width, java.util.function.IntConsumer height)static EarlyProgressVisualizationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EarlyProgressVisualization[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final EarlyProgressVisualization INSTANCE
-
-
Field Detail
-
visualization
private EarlyProgressVisualization.Visualization visualization
-
-
Method Detail
-
values
public static EarlyProgressVisualization[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EarlyProgressVisualization c : EarlyProgressVisualization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EarlyProgressVisualization valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
accept
public java.lang.Runnable accept(net.minecraftforge.api.distmarker.Dist dist, boolean isData)
-
accept
public java.lang.Runnable accept(net.minecraftforge.api.distmarker.Dist dist, boolean isData, @Nullable java.lang.String mcVersion)
-
handOffWindow
public long handOffWindow(java.util.function.IntSupplier width, java.util.function.IntSupplier height, java.util.function.Supplier<java.lang.String> title, java.util.function.LongSupplier monitor)
-
updateFBSize
public void updateFBSize(java.util.function.IntConsumer width, java.util.function.IntConsumer height)
-
-