Class
net.minecraft.world.chunk.light.ChunkLightProvider
This description should be content pulled from the first comments of a lua file.
Static Fields
int, long | ChunkLightProvider.field_31708 | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
ChunkLightProvider.getRealisticOpacity(world, state1, pos1, state2, pos2, direction, opacity2) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Constructors
ChunkLightProvider(chunkProvider, type, lightStorage) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Fields
userdata, ChunkProvider | instance.chunkProvider | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
userdata, LightStorage | instance.lightStorage | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
userdata, BlockPos$Mutable | instance.reusableBlockPos | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
userdata, LightType | instance.type | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:addLightSource(pos, level) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:applyPendingUpdates(maxSteps) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:checkBlock(pos) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:displaySectionLevel(sectionPos) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:doLightUpdates(i, doSkylight, skipEdgeLightPropagation) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:enqueueSectionData(sectionPos, lightArray, nonEdge) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:equals(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getClass() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getCurrentLevelFromSection(section, blockPos) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getLevel(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getLightLevel(pos) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getLightSection(pos) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getOpaqueShape(world, pos, facing) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getPendingUpdateCount() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getPropagatedLevel(sourceId, targetId, level) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getStateForLighting(pos, mutableInt) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasPendingUpdates() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasUpdates() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hashCode() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:isMarker(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notify() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notifyAll() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:propagateLevel(sourceId, targetId, level, decrease) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:propagateLevel(id, level, decrease) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:recalculateLevel(id, excludedId, maxLevel) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:removePendingUpdate(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:removePendingUpdateIf(predicate) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:resetLevel(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setColumnEnabled(pos, retainData) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setLevel(id, level) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setRetainColumn(pos, retainData) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setSectionStatus(pos, notReady) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setSectionStatus(pos, notReady) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:toString() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:updateLevel(sourceId, id, level, decrease) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0, arg1) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
- ChunkLightProvider.getRealisticOpacity(world, state1, pos1, state2, pos2, direction, opacity2)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- world userdata, BlockView This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- state1 userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- pos1 userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- state2 userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- pos2 userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- direction userdata, Direction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- opacity2 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
Constructors
- ChunkLightProvider(chunkProvider, type, lightStorage)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- chunkProvider userdata, ChunkProvider This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- type userdata, LightType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- lightStorage userdata, LightStorage This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Instance Methods
- instance:addLightSource(pos, level)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:applyPendingUpdates(maxSteps)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- maxSteps int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:checkBlock(pos)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:displaySectionLevel(sectionPos)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- sectionPos int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:doLightUpdates(i, doSkylight, skipEdgeLightPropagation)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- i int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- doSkylight boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- skipEdgeLightPropagation boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:enqueueSectionData(sectionPos, lightArray, nonEdge)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- sectionPos int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- lightArray userdata, ChunkNibbleArray This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- nonEdge boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:equals(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getClass()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getCurrentLevelFromSection(section, blockPos)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- section userdata, ChunkNibbleArray This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- blockPos int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getLevel(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getLightLevel(pos)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getLightSection(pos)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, ChunkSectionPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, ChunkNibbleArray This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getOpaqueShape(world, pos, facing)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- world userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- pos int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- facing userdata, Direction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, VoxelShape This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getPendingUpdateCount()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getPropagatedLevel(sourceId, targetId, level)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- sourceId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- targetId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getStateForLighting(pos, mutableInt)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- mutableInt userdata, MutableInt This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasPendingUpdates()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasUpdates()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hashCode()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:isMarker(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:notify()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:notifyAll()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:propagateLevel(sourceId, targetId, level, decrease)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- sourceId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- targetId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- decrease boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:propagateLevel(id, level, decrease)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- decrease boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:recalculateLevel(id, excludedId, maxLevel)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- excludedId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- maxLevel int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:removePendingUpdate(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:removePendingUpdateIf(predicate)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- predicate userdata, LongPredicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:resetLevel(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setColumnEnabled(pos, retainData)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, ChunkPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- retainData boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setLevel(id, level)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setRetainColumn(pos, retainData)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, ChunkPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- retainData boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setSectionStatus(pos, notReady)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- notReady boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setSectionStatus(pos, notReady)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- pos userdata, ChunkSectionPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- notReady boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:toString()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:updateLevel(sourceId, id, level, decrease)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- sourceId int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- id int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- decrease boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:wait()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:wait(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:wait(arg0, arg1)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"