Code Monkey home page Code Monkey logo

frame's Introduction

frame

This minetest mod adds a lag-free, simple and stylish item and node frame to minetest. It can contain either nodes or craftitems.

The player can place these frames in any orientation, just like normal nodes. Then, with an item or node in hand, the player can place the item or node into the item frame. If the itemframe is punched, the item or node is returned to the puncher.

The concept works through the use of object materials. The empty frame node has the same model, but part of the mesh is transparent and therefore not visible. If an item is inserted, the transparent textures are replaced with the texture of the item or node, and thus it looks like the node is inserted, while effectively the frame is a single node without metadata.

There are no crafting recipes for each variant. The player can craft a frame and potentially use /giveme to give filled versions of the frame, but the creative inventory does not contain them as they are easily filled already.

The model was made in blender from scratch by the author.

The texture of the frame itself was created from the itemframe texture of the excellent Isabella II texture pack, which is Public Domain. The texture has been reworked to allow for a more detailed texturing of the frame model.

The frame mod has an API that can be used by other mods to create new item/node-frame combinations. See api.md for usage information.

frame's People

Contributors

sofar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.