Dynamic Lighting API is a developer-facing add-on library for Minecraft Bedrock that lets add-on creators give their own entities and items dynamic light. Once the pack is placed in a world and its API file is listed before the downloads, custom items and entities can emit light without much extra work. By default, enchanted items give off a light level of 4, and creators can set a custom light level from 1 to 15 when registering an item or entity. Registration can also enable an offhand option that lets players swap the item between their main hand and offhand by crouching, though only the stack amount carries over due to limitations. Dropped items are supported starting from version 1.3.0, and a sendError setting controls whether the pack reports an error when this library is not loaded. The API is written in JavaScript or TypeScript, and an Example Pack demonstrates how to use it, while Simple Dynamic Lighting is an existing pack that already uses it.
Written from CurseForge . How we write it
The newest release or beta for each Bedrock version, on CurseForge.
Have a copy of Dynamic Lighting API? Check that it is the official one.
Drop it here. We compare its fingerprint with the official Dynamic Lighting API files. A file we do not know is not sent: we only say what its manifest declares.
Who makes Dynamic Lighting API, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
None found
Its scripts send no web requests. A Bedrock script can only go online with @minecraft/server-net, and its scripts do not use it.
We read the manifest and every script of its files, and list the web addresses the scripts write.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
What we read in the file: its packs, their manifests and their scripts.
Dynamic Lighting API v1-3-2.mcaddon · 222.5 KB@minecraft/serverDynamic Lighting API_BP/scripts/main.jsSomething wrong here? Report a mistake