类 ChunkSkyLightSources
java.lang.Object
net.minecraft.world.level.lighting.ChunkSkyLightSources
-
字段概要
字段修饰符和类型字段说明private final BitStorage
private final int
private final BlockPos.MutableBlockPos
private final BlockPos.MutableBlockPos
static final int
private static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private int
extendSourcesBelowWorld
(int p_284953_) private void
fill
(int p_285311_) void
fillFrom
(ChunkAccess p_285152_) private int
findLowestSourceBelow
(BlockGetter p_285279_, BlockPos p_285119_, BlockState p_285096_) private int
findLowestSourceY
(ChunkAccess p_285214_, int p_285171_, int p_285021_, int p_285226_) private int
get
(int p_284951_) int
int
getLowestSourceY
(int p_285247_, int p_285082_) private static int
index
(int p_284980_, int p_285277_) private static boolean
isEdgeOccluded
(BlockState p_285219_, BlockState p_285512_) private void
set
(int p_285323_, int p_285220_) boolean
update
(BlockGetter p_285514_, int p_284999_, int p_285358_, int p_284944_) private boolean
updateEdge
(BlockGetter p_285066_, int p_285184_, int p_285101_, BlockPos p_285446_, BlockState p_285185_, BlockPos p_285103_, BlockState p_285009_)
-
字段详细资料
-
SIZE
private static final int SIZE- 另请参阅:
-
NEGATIVE_INFINITY
public static final int NEGATIVE_INFINITY- 另请参阅:
-
minY
private final int minY -
heightmap
-
mutablePos1
-
mutablePos2
-
-
构造器详细资料
-
ChunkSkyLightSources
-
-
方法详细资料
-
fillFrom
-
findLowestSourceY
-
update
-
updateEdge
private boolean updateEdge(BlockGetter p_285066_, int p_285184_, int p_285101_, BlockPos p_285446_, BlockState p_285185_, BlockPos p_285103_, BlockState p_285009_) -
findLowestSourceBelow
-
isEdgeOccluded
-
getLowestSourceY
public int getLowestSourceY(int p_285247_, int p_285082_) -
getHighestLowestSourceY
public int getHighestLowestSourceY() -
fill
private void fill(int p_285311_) -
set
private void set(int p_285323_, int p_285220_) -
get
private int get(int p_284951_) -
extendSourcesBelowWorld
private int extendSourcesBelowWorld(int p_284953_) -
index
private static int index(int p_284980_, int p_285277_)
-