Progress can be found at https://github.com/tiin57/luaforge
An example mod which adds a textureless block:
luamods/testmod/main.lua:
-- Block = luaforge.block.new(number blockID, luaforge.materials material)
block = luaforge.block.new(2019, luaforge.materials.rock)
-- luaforge.block.setCreativeTab(Block block, luaforge.creativetabs creativeTab)
luaforge.block.setCreativeTab(block, luaforge.creativetabs.tabRedstone)
-- luaforge.game.registerBlock(Block block, string name)
-- Note that this method's name parameter does not change the name displayed while ingame.
luaforge.game.registerBlock(block, "testblock")
luamods/testmod/luamod.info
modid:testmod
modname:Test Mod
version:1.0
authors:tiin57,another author, Yet another author
credits:tiin57 and this other guy
description:This is a test mod for Luaforge.
url:luaforge.info (Eventually)
updateurl:luaforge.info/updates (Again, WAIT)
logofile:NA
loadstate:beforeminecraft
All fields need to be present, even if blank.At this point, there are several possibilities for the loadstate, but right now, the only one that allows you to do anything except some printing is "beforeminecraft".
luamod.info is very inflexible in terms of spacing.
{field}:{value}
You cannot have spaces anywhere except in the value.
Changelog:
pre2: Fixed networking, servers can now be set up!
pre1: Initial prerelease.
Downloads:
pre1: http://www.mediafire...aforge-pre1.jar
pre2: http://www.mediafire...aforge-pre2.jar
Please remember that this is just a proof-of-concept at this point, and the only methods are the ones documented above.
The server verification crash has been fixed; Luaforge servers can now be created! :D/>