Class MultipartTintRegistry

java.lang.Object
codechicken.multipart.client.MultipartTintRegistry

public class MultipartTintRegistry extends Object
Registry for exposing tint indicies from a multipart block.

Created by covers1624 on 7/26/26.

  • Constructor Details

    • MultipartTintRegistry

      public MultipartTintRegistry()
  • Method Details

    • init

      public static void init(net.neoforged.bus.api.IEventBus modBus)
    • getOrRegisterPassthroughTint

      public static int getOrRegisterPassthroughTint(net.minecraft.world.level.block.state.BlockState state, int tintIndex)
      Register (or get) a tint index to proxy through to the given state.
      Parameters:
      state - The state to proxy to.
      tintIndex - The tint index.
      Returns:
      The tint index to expose via your static renderer.