public enum FillerRegistry extends java.lang.Enum<FillerRegistry> implements IFillerRegistry
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
addPattern(IFillerPattern pattern) |
IFilledTemplate |
createFilledTemplate(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos size) |
IFillerPattern |
getPattern(java.lang.String name) |
java.util.Collection<IFillerPattern> |
getPatterns() |
static FillerRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FillerRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FillerRegistry INSTANCE
public static FillerRegistry[] values()
for (FillerRegistry c : FillerRegistry.values()) System.out.println(c);
public static FillerRegistry valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void addPattern(IFillerPattern pattern)
addPattern
in interface IFillerRegistry
@Nullable public IFillerPattern getPattern(java.lang.String name)
getPattern
in interface IFillerRegistry
IFillerPattern
from its IGuiSlot.getUniqueTag()
public java.util.Collection<IFillerPattern> getPatterns()
getPatterns
in interface IFillerRegistry
public IFilledTemplate createFilledTemplate(net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos size)
createFilledTemplate
in interface IFillerRegistry