Giter VIP home page Giter VIP logo

modelloaderexample's Introduction

ModelLoaderExample

This project is set of mods using ModelLoader to showcase how to implement common usecases.

Examples

Simple Block

It's a block with the default blockstate and static model.

You can check it out here.

Rotable Block

It's a block with 6 states, each one encodes the rotation of the block placed in different directions. each direction has a different static model rotated.

You can check it out here.

Tile Block

This block has rotation like the rotable block, but uses a TileEntityRenderer instead of an static model. This approach is slower that using a static model, but its more flexible, you can change which model is rendered, which texture is used, you can render dynamic models like fluids, special particles, etc.

You can check it out here.

Animated Block

This example extends the previous one rendering the model with an animation.

You can check it out here.

Simple Item

This example adds 2 items, both have an static model, each model uses a different set of ItemTransforms that you can check decide which one you prefer.

You can check it out here.

Animated Item

This example adds 2 items, both are rendered using an ItemStackTileEntityRenderer which works the same as a TileEntityRenderer. Both items have an animation and it's rendered the same way as a block animation.

You can check it out here.

modelloaderexample's People

Contributors

cout970 avatar

Watchers

 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.