Class DyeHelper

java.lang.Object
com.simibubi.create.foundation.utility.DyeHelper

public class DyeHelper extends Object
  • Constructor Details

    • DyeHelper

      public DyeHelper()
  • Method Details

    • getWoolOfDye

      public static net.minecraft.world.level.ItemLike getWoolOfDye(net.minecraft.world.item.DyeColor color)
    • getDyeColors

      public static net.createmod.catnip.data.Couple<Integer> getDyeColors(net.minecraft.world.item.DyeColor color)
    • addDye

      public static void addDye(net.minecraft.world.item.DyeColor color, Integer brightColor, Integer darkColor, Supplier<net.minecraft.world.level.ItemLike> wool)
      Adds a dye color s.t. Create's blocks can use it instead of defaulting to white.
      Parameters:
      color - Dye color to add
      brightColor - Front (bright) RGB color
      darkColor - Back (dark) RGB color
      wool - Supplier of wool item/block corresponding to the color