Package codechicken.multipart.client
Class MultipartTintRegistry
java.lang.Object
codechicken.multipart.client.MultipartTintRegistry
Registry for exposing tint indicies from a multipart block.
Created by covers1624 on 7/26/26.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetOrRegisterPassthroughTint(net.minecraft.world.level.block.state.BlockState state, int tintIndex) Register (or get) a tint index to proxy through to the given state.static voidinit(net.neoforged.bus.api.IEventBus modBus)
-
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.
-