M4GNV5 / MoonCraft

Lua to Commandblock compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MoonCraft

Lua to commandblock compiler

Example

import("chat")

radius = 1
pi = 3.14

tellraw("Circle circumference and area for radius 1 to 19")
for radius = 1, 19 do
    area = pi * radius * radius
    circumference = pi * 2 * radius

    tellraw("r = ", radius, " C = ", circumference, " A = ", area)
end

screenshot

About

Lua to Commandblock compiler

License:Other


Languages

Language:JavaScript 97.3%Language:Lua 2.7%