Chunk Animator Embeddium Compat

Adds compatibility between the Chunk Animator mod and the Embeddium mod.

Chunk Animator Embeddium Compat allows the Chunk Animator mod to work with the Embeddium mod as well as the Xenon mod.

Chunk Animator crashes on startup when Embeddium or Xenon is installed. Both replace vanilla's chunk-rendering pipeline with their own GPU-instanced per-region rendering. This makes Chunk Animator's mixin unable to find the vanilla call to hook to. 

A Mixin plugin stops Chunk Animator's incompatible LevelRenderer mixin at load time when Embeddium or Xenon is detected. New chunks are tracked, and their per-section offset is applied during Embeddium's render pass via a separate draw per animating chunk. The fast batched path still runs for every static section. 

Oculus runs without Embeddium when Xenon is installed; this mod supports either renderer.

This has been tested with multiple shaders.

Configuration:

- enabled: The master toggle.
- animationDurationMs: This is how long each chunk's animation lasts.
- startOffsetX / startOffsetY / startOffsetZ: Control the direction and distance to slide from.
- easing: This is animation curve options. LINEAR, QUAD_OUT, CUBIC_OUT, QUART_OUT, QUINT_OUT, SINE_OUT, EXPO_OUT, CIRC_OUT, BACK_OUT, BOUNCE_OUT.
- disableAroundPlayer + playerRadius: This suppress animations near the player.

Requirements:
Chunk Animator by Lumien231: https://www.curseforge.com/minecraft/mc-mods/chunk-animator
One of these:
Embeddium by FiniteReality: https://www.curseforge.com/minecraft/mc-mods/embeddium
Xenon by Txni: https://www.curseforge.com/minecraft/mc-mods/xenon

Notes:
This mod is client side only. Servers don't need it.
This mod replaces Chunk Animator's render hook with its own; you don't need to remove Chunk Animator. Both need to be installed.

If you have any incompatibilities or issues with this mod, leave a comment!

This mod will not add compatibility for Rubidium as it is outdated and not compatible with Oculus. Please do not ask.

The Chunk Animator Embeddium Compat Team

profile avatar
  • 1
    Followers
  • 11
    Projects
  • 4.5K
    Downloads
Donate

More from SxilverrView all