Interface ILeafTint


public interface ILeafTint
Responsible for tinting leaf colors according to their environment. The default implementation for vanilla species is using the biome's foliage color, while Forestry species tint based on the escritoire color of the species.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ILeafTint
    A default fallback tint.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get(net.minecraft.world.level.BlockAndTintGetter level, net.minecraft.core.BlockPos pos)
     
  • Field Details

    • DEFAULT

      static final ILeafTint DEFAULT
      A default fallback tint.
  • Method Details

    • get

      int get(@Nullable net.minecraft.world.level.BlockAndTintGetter level, @Nullable net.minecraft.core.BlockPos pos)