Block Renderer [Forge/Fabric]

Block Renderer [Forge/Fabric]

3.3k Downloads

Entity Renderer

AterAnimAvis opened this issue ยท 2 comments

commented

MinecraftWiki:StandardizedViews

  • Calculate Render Size based on Scale and Angle
  • UI to change Partial Ticks
  • UI to select / preview Entity
  • UI to change viewing angles
  • Bulk Render
  • API to declare Entity Bound Box
    • Vanilla values
  • API to declare / modify Entity for View
    • Zombie Arms
    • Silverfish
    • Guardians
    • Anything Else
  • Entity Particles (e.g. Blaze)
commented

Current Bounding Box is just the entities AABB + .5f

Current Rendering State Cave Spider
Current Rendering State Zombie

commented

Blue Bounding Box is a unit cube centered on (0, 0, 0)
Red Bounding Box is declared Entity Render Box

Fixed an issue with centering not taking into account none equal x and z values.

Javascript files get loaded from /renders/scripts/*.bounds.js using Nashorn (With ES6 enabled).
Can also register 'BoundsProvider' by a ServiceLoader or programatically.

TODO:

  • Priority System?
  • Further Sandboxing
  • Utility functions for API
  • A whole lot of JS files for Vanilla Mobs

Current Render State:

BoundsProviderJS
BoundsProviderJSResult