v4.7.3
- Fix stopTriggeredSingletonAnim actually starting a triggered anim instead of stopping it
v4.8.5
- Fix stopTriggeredSingletonAnim actually starting a triggered anim instead of stopping it
GeckoLib v5.0.2
Bug Fixes
- Fix stopTriggeredSingletonAnim actually starting a triggered anim instead of stopping it
v4.7.1.3
Fabric:
- Update MixinItemRenderer to improve third-party mod compatibility
GeckoLib v5.0.1
Bug Fixes
- Fixed AutoGlowingGeoLayer rendering a black and purple model
GeckoLib v5.0
New Things
- Added
ItemInHandGeoLayer
- Added
PerBoneRender
- Added
DataTickets#IS_LEFT_HANDED
- Added
DataTickets#IS_CROUCHING
- Added
GeoRender#adjustPositionForRender
- Added
DirectionalProjectileRenderer
- Added
TextureLayerGeoLayer
- Added
CustomBoneTextureGeoLayer
Internal Changes
- Removed some unnecessary warnings when loading animation or model files without their suffixes
- Fixed the javadocs in
DefaultedGeoModel
using the old format - Moved the scale attribute handling into
scaleModelForRender
forGeoEntityRenderer
, and moved sleeping pose translation to better account for scaling - Moved
scaleModelForRender
out ofpreRender
and into its own call - Optimised
RenderUtil#getTextureDimensions
and allowed it to account for post-loading modifications - Optimised
BakedGeoModel#getBone
API Changes
- Removed
GeoRenderer#applyRenderLayersForBone
. Per-bone renders are now added in#preApplyRenderLayers
- Added
GeoRenderLayer#addPerBoneRender
- Changed how
ItemArmorGeoLayer
works to be more efficient, and support Elytras (although they're not 100% correct yet) - Changed how
BlockAndItemGeoLayer
works to be more efficient and cleaner - Changed
ItemArmorGeoLayer#prepModelPartForRender
toprepHumanoidModelForRender
- Changed
GeckoLibClient#getArmorModelForItem
to return aHumanoidModel
instead of a baseModel
, since non-humanoid models never get used - Added the
packedLight
,packedOverlay
, andrenderColor
toGeoRenderer#renderFinal
- Removed
final
fromGeoEntityRenderer#calculateYRot
- Removed
BoneFilterGeoLayer
andFastBoneFilterGeoLayer
Bug Fixes
- Fixed
GeckoLibAnimatedTexture
crashing when failing to load a texture - Fixed Per-bone render tasks messing with query values
- Fixed PoseStack manipulations in render layers messing with bone-position getters
- Fixed
GeoItemRenderer
andGeoObjectRenderer
positioning incorrectly when scaled - Fixed
GeoReplacedEntityRenderer
not propagating PoseStack manipulations - Fixed
ItemArmorGeoLayer
colliding with other layers that use the same DataTicket
GeckoLib v5.0-alpha2
NOTE
- Still looking into alternate solutions for per-bone render handling since Mojang has made the previous Dynamic renderers not practical.
Bug Fixes
- Fixed GeoObjectRenderer not storing packed light (#712)
- Fixed GeoEntityRenderer not allowing for generically-extendable RenderStates
- Fixed some incorrect javadocs in
AutoGlowingGeoLayer
- Fixed GeoArmorRenderer not accounting for glowing or invisibility DataTickets
- Reloading textures causes odd issues with Glowing & animated textures
Internal Changes
- AutoGlowingGeoLayer no longer removes sections of the base texture, allowing for selective dynamic emissivity
- AutoGlowingGeoLayer no longer disables shader compatibility
- Animated textures & glowmasks are no longer dependent on each other. You can have a non-animated glowmask on an animated texture, etc.
New Stuff
- Added
RenderUtil#getEmissiveResource
helper method - AutoGlowingGeoLayer now has a
shouldRespectWorldLighting
method, allowing you to choose between absolute emissivity, and emissivity that shades in conjunction with world lighting
Removals
- GeckoLib emissive textures no longer support mcmeta creation. Use a glowmask image instead (It's way easier anyway)