Skip to content

Dynamic Lighting API إضافة لماينكرافت 1.21.122

هل سبق أن أردت إضافة إضاءة ديناميكية إلى إحدى إضافاتك؟ هذه هي الحزمة المناسبة لك!

ابتداءً من AlienEdds · CurseForge
مشاهدة
9 مشاهدة
محدّث
محدّث 18.10.2026
  • 1.21.70 — 1.21.122

حول إضافة Dynamic Lighting API

This pack is for add-on creators!

If you are an add-on creator and would like to add Dynamic Lighting to your pack,

then you should use this add-on API.

To use this API, you just need to put the pack on your world,

and you need to initialize your dynamic lighting items in your pack with an API file listed before the downloads.

This API allows your Entities and Items to give off dynamic lighting without much hassle.

By default: enchanted items give off a light of 4.

This is all you have to do in your script to register items/entities.

Dynamic Lighting API — لقطة شاشة 2

The lightLevel parameter can only be set from 1-15.

Setting the offhand parameter to true will make it where you can

swap the item between your mainhand and offhand by crouching.

Be careful! This will only transfer the stack amount data due to limitations.

This API also supports dropped items now starting from v1.3.0.

Setting the sendError parameter to false will make the pack not send the error if this pack isn't loaded.

API files:

JavaScript TypeScript

Credits to LightyIsReal for the pack icon!

There is a pack that already utilizes this API, and it's called Simple Dynamic Lighting.

There is also an Example Pack that shows how to use the API.

If you need help, or just want to keep up with me, here's my discord link: Edds' Addons

الإصدارات

Minecraftالمشغّلالملفالتاريخالإجراءات
1.21.81—Dynamic Lighting API v1-3-2.mcaddon223 KB

الأسئلة الشائعة

Which Minecraft versions does Dynamic Lighting API work on?

There are files for 1.21.70–1.21.122, 18 versions in total. The newest is 1.21.122.

Where can I download Dynamic Lighting API safely?

On this page: the file Dynamic Lighting API v1-3-2.mcaddon (223 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d22c2a7e1b8ed350026f8b391d4c57efd2277dfe.

التقييمات

كن أول من يقيّم Dynamic Lighting API

التعليقات 0

سجّل الدخول للتعليقتسجيل الدخول

إضافات مشابهة

كل الإضافات

المزيد حول هذا