Interface ColorHandlers.ITintableBlock

All Known Subinterfaces:
ColorHandlers.IHeatTintable
All Known Implementing Classes:
AphorismTileBlock, CompressedIronBlock, CreativeCompressedIronBlock, HeatSinkBlock, LiquidHopperBlock, OmnidirectionalHopperBlock, PlasticBrickBlock, SmoothPlasticBrickBlock, ThermalCompressorBlock, UVLightBoxBlock, VortexTubeBlock, WallLampBlock
Enclosing class:
ColorHandlers

public static interface ColorHandlers.ITintableBlock
Items implementing this will be automatically registered in the ColorHandler.Block event
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getTintColor(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, int tintIndex)
     
  • Method Details

    • getTintColor

      int getTintColor(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.BlockAndTintGetter world, @Nullable net.minecraft.core.BlockPos pos, int tintIndex)