public static enum ChunkLightingView.Empty extends Enum<ChunkLightingView.Empty> implements ChunkLightingView
ChunkLightingView.Empty
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
ChunkNibbleArray |
getLightArray(ChunkSectionPos pos) |
int |
getLightLevel(BlockPos blockPos) |
void |
updateSectionStatus(ChunkSectionPos pos,
boolean status) |
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, valueOf
updateSectionStatus
public 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 getLightArray(ChunkSectionPos pos)
getLightArray
in interface ChunkLightingView
public int getLightLevel(BlockPos blockPos)
getLightLevel
in interface ChunkLightingView
public void updateSectionStatus(ChunkSectionPos pos, boolean status)
updateSectionStatus
in interface LightingView