net.minecraft.util

public record Brightness

axp
net.minecraft.util.Brightness
net.minecraft.class_8104
net.minecraft.entity.decoration.Brightness
net.minecraft.util.Brightness

Field summary

Modifier and TypeField
private final int
d
block
comp_1240
block
private final int
e
sky
comp_1241
sky
public static final com.mojang.serialization.Codec<Integer>
a
LIGHT_VALUE_CODEC
field_42262
LIGHT_LEVEL_CODEC
public static final com.mojang.serialization.Codec<Brightness>
b
CODEC
field_42263
CODEC
public static Brightness
c
FULL_BRIGHT
field_42264
FULL

Constructor summary

ModifierConstructor
public (int arg0, int arg1)

Method summary

Modifier and TypeMethod
public int
a()
pack()
method_48763()
pack()
public static Brightness
a(int arg0)
unpack(int arg0)
method_48764(int arg0)
unpack(int packed)
public int
b()
block()
comp_1240()
block()
public int
c()
sky()
comp_1241()
sky()