Filters API
  • Home
  • Tips
  • Using Filters API
    • Setting up
    • Registering filters
    • Adding items
  • Advanced
    • Registering uncategorized filter
    • Configuring reserved button
    • Disabling filters
  • Unsupported
    • Introduction
    • Sorting filters
    • Removing filters
Powered by GitBook
On this page
  • Updates
  • Mixins

Was this helpful?

Tips

PreviousHomeNextSetting up

Last updated 10 months ago

Was this helpful?

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

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

com.mojang.blaze3d.systems.RenderSystem

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

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