类 LevelChunkAuxiliaryLightManager
java.lang.Object
net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
- 所有已实现的接口:
AuxiliaryLightManager
@Internal
public final class LevelChunkAuxiliaryLightManager
extends Object
implements AuxiliaryLightManager
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
deserializeNBT
(ListTag list) int
getLightAt
(BlockPos pos) 返回 the light value at the given position or 0 if none is present。void
handleLightDataSync
(Map<BlockPos, Byte> lights) Packet
<?> sendLightDataTo
(ClientboundLevelChunkWithLightPacket chunkPacket) @Nullable ListTag
void
setLightAt
(BlockPos pos, int value) Set the light value at the given position to the given value从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.world.AuxiliaryLightManager
removeLightAt
-
字段详细资料
-
LIGHT_NBT_KEY
- 另请参阅:
-
owner
-
lights
-
-
构造器详细资料
-
LevelChunkAuxiliaryLightManager
-
-
方法详细资料
-
setLightAt
从接口复制的说明:AuxiliaryLightManager
Set the light value at the given position to the given value- 指定者:
setLightAt
在接口中AuxiliaryLightManager
-
getLightAt
从接口复制的说明:AuxiliaryLightManager
返回 the light value at the given position or 0 if none is present。- 指定者:
getLightAt
在接口中AuxiliaryLightManager
- 返回:
- the light value at the given position or 0 if none is present
-
serializeNBT
-
deserializeNBT
-
sendLightDataTo
-
handleLightDataSync
-