Tips

Updates

Filters API's updates will be available in the final minor update of Minecraft Major versions. For example, 1.16.5, 1.17.1, and 1.18.2 will receive every update of Filters API.

Other versions of Minecraft, such as 1.21, will receive a single version of Filters API only, to make sure FIlters API is available in these versions. They won't receive further updates of Filters API.

Mixins

Filters API uses Mixin to implement. You should pay attention when mixining the following methods.

Class
Methods

net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen

render(MatrixStack, int, int, float)
init()

net.minecraft.client.gui.screens.inventory.EffectRenderingInventoryScreen

renderEffects(MatrixStack)

com.mojang.blaze3d.systems.RenderSystem

finishInitialization()

Note that the mixin of finishInitialization() exists in 1.16~1.18.2 only, renderEffects(MatrixStack) exists in 1.16~1.17.1 only.

Last updated

Was this helpful?