public static enum ChunkLightingView.Empty extends Enum<ChunkLightingView.Empty> implements ChunkLightingView
ChunkLightingView.Empty| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
getLightLevel(BlockPos blockPos) |
ChunkNibbleArray |
getLightSection(ChunkSectionPos pos) |
void |
setSectionStatus(ChunkSectionPos pos,
boolean notReady) |
static ChunkLightingView.Empty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkLightingView.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfsetSectionStatuspublic static final ChunkLightingView.Empty INSTANCE
public static ChunkLightingView.Empty[] values()
for (ChunkLightingView.Empty c : ChunkLightingView.Empty.values()) System.out.println(c);
public static ChunkLightingView.Empty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public ChunkNibbleArray getLightSection(ChunkSectionPos pos)
getLightSection in interface ChunkLightingViewpublic int getLightLevel(BlockPos blockPos)
getLightLevel in interface ChunkLightingViewpublic void setSectionStatus(ChunkSectionPos pos, boolean notReady)
setSectionStatus in interface LightingView