▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Wizards of Lua
Wizards of Lua

Wizards of Lua

Wizards of Lua brings the power of Lua scripting to Minecraft. It adds the /lua command, allowing you to cast spells and interact with the game using Lua scripts.

Оцените первым
2.9K
15
Все версииWizards of Lua 4.0.0-1.21.11

Wizards of Lua 4.0.0-1.21.11

Release02.04.2026

Список изменений

  • Breaking Change: Item access now always returns and stores copies (#26)

    • All item getters return a copy of the underlying item. Modifying the returned value does not affect the original.
    • All item setters store a copy of the provided item. The original value passed in is not consumed or modified.
    • Migration: Code that relied on in-place modification of item references must now write the value back explicitly. For example:
      -- Before (no longer works):
      local item = player:getItemInHand("MAIN_HAND")
      item.count = 5  -- had an effect on the actual item in hand
      -- After (correct):
      local item = player:getItemInHand("MAIN_HAND")
      item.count = 5  -- has NO effect on the actual item in hand
      player:setItemInHand("MAIN_HAND", item) -- NOW affects the item in hand
      
    • Affected APIs: LivingEntity:getItemInHand(), LivingEntity:setItemInHand(), LivingEntity:getEquipment(), LivingEntity:setEquipment(), Player.mainHandItem, PlayerInventory[slot], Entity:dropItem(), ItemEntity:new(), ItemEntity.item.
  • New: spell.world is now writable (#25)

    • Assign a world to move a spell to a different dimension:
      spell.world = spell.server:getWorld("the_nether")
      
    • Chunk-force tickets are correctly transferred when the spell changes worlds.
  • New: Server.worlds

    • Read-only list of all currently loaded server worlds.
  • New: World.timeOfDay

    • Read-only property returning the current time-of-day tick (0–23999).
  • Fix: and/or short-circuit chain returns wrong result when condition is a comparison (#27)

    • Upgraded the internal Lua runtime (rembulan 0.3.2) which contains the fix for this logic bug.

Файлы

wizards-of-lua-4.0.0-1.21.11.jar(1.41 MiB)
Основной
Скачать
wizards-of-lua-4.0.0-1.21.11-sources.jar(338.40 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

4.0.0-1.21.11

Загрузчики

Fabric

Версии игры

1.21.11

Загрузок

10

Дата публикации

02.04.2026

Загрузил

ID версии

Главная