BlueBird51 bd905cf3be Convert depends.txt to mod.conf 1 年之前
..
models 69480dfd5a Add new mod 3 年之前
textures 69480dfd5a Add new mod 3 年之前
.gitattributes 69480dfd5a Add new mod 3 年之前
README.md 69480dfd5a Add new mod 3 年之前
api.lua d6bee54b77 Fix ingot-duplication exploit reported by player 2 年之前
changelog.txt 69480dfd5a Add new mod 3 年之前
conf.lua 69480dfd5a Add new mod 3 年之前
init.lua 69480dfd5a Add new mod 3 年之前
license.txt 69480dfd5a Add new mod 3 年之前
mod.conf bd905cf3be Convert depends.txt to mod.conf 1 年之前

README.md

Ingots

A small mod that makes it possible to place ore ingots in the world.

Options

Toggle 'is_big' in conf.lua to make ingots apear bigger. You can make an individual per ingot type choice in init.lua

API

You can ragister your own ingots. Call "ingots.register_ingots(ingot_item, texture, is_big)" ingot_item - The item which will be consumed to place an ingot. ex.: "default:steel_ingot" texture - Name of texture used on ingot mesh. ex.: "ingot_steel.png" is_big - Boolean which determines which ingot variant will be used.