Skip to content

litehed/HytaleModelLoader

Repository files navigation

Hytale Model Loader

A mod for Minecraft Neoforge 1.21.11 that allows the player to import and use Hytale models in game. It converts Hytale's BlockyModel and BLockyAnim file formats into renderable versions inside of Minecraft. Currently, these can be rendered as item or block models with entity models coming in a future version. This is usable with both resource packs and mods.

Creating a Model

Refer to the wiki to learn how to create and animate your models.

Example: pot.json

{
  "loader": "hytalemodelloader:blockymodel_loader",
  "model": "hytalemodelloader:models/pot.blockymodel",
  "render_type": "minecraft:cutout",
  "textures": {
    "texture": "hytalemodelloader:block/pot_texture",
    "particle": "hytalemodelloader:block/pot_texture"
  }
}

Key fields:

  • loader – References the BlockyModelLoader This is most important
  • model – Path to your .blockymodel file (This file is best in the models folder but put it wherever)
  • render_type – Standard Minecraft render type this needs to be changed depending on model transparency
  • textures – Texture references used by your model

TODO

v1.0.0

  • Add model parser .blockymodel
  • Implement custom item/block loader
  • Add block rotation support
  • Add double-sided face rendering
  • Add UV rotation and mirroring support

v1.1.0

  • Check item and block scaling/translating using model json
  • Implement custom BlockEntities for animation support since baked models cannot
  • Add parser for animation support .blockyanim
  • Load animations in for blocks
  • Create animation system to actually play and time these animations
  • Add wiki to show how to use different parts of the mod
  • Fix and clean up code

v2.0.0

  • Implement entity model loading
  • Support for custom render layers and transparency blending
  • Clean code and docs for v2 release

v2.1.0

  • Add animation support for entities

v2.2.0

  • Add player model swapping

Contributing

Contributions are welcome! Please feel free to submit issues and prs

About

Allows the user to use Hytale Models in Minecraft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published