Uses of Class
net.minecraft.util.DyeColor
-
Uses of DyeColor in net.minecraft.block
Fields in net.minecraft.block declared as DyeColor Modifier and Type Field Description private DyeColor
AbstractBannerBlock. color
private DyeColor
BedBlock. color
private @Nullable DyeColor
ShulkerBoxBlock. color
private DyeColor
StainedGlassBlock. color
private DyeColor
StainedGlassPaneBlock. color
private DyeColor
DyedCarpetBlock. dyeColor
Fields in net.minecraft.block with type parameters of type DyeColor Modifier and Type Field Description private static Map<DyeColor,Block>
BannerBlock. COLORED_BANNERS
Methods in net.minecraft.block that return DyeColor Modifier and Type Method Description DyeColor
AbstractBannerBlock. getColor()
DyeColor
BeaconBlock. getColor()
DyeColor
BedBlock. getColor()
@Nullable DyeColor
ShulkerBoxBlock. getColor()
static @Nullable DyeColor
ShulkerBoxBlock. getColor(Block block)
static @Nullable DyeColor
ShulkerBoxBlock. getColor(Item item)
DyeColor
Stainable. getColor()
DyeColor
StainedGlassBlock. getColor()
DyeColor
StainedGlassPaneBlock. getColor()
DyeColor
DyedCarpetBlock. getDyeColor()
Methods in net.minecraft.block with parameters of type DyeColor Modifier and Type Method Description private static BedBlock
Blocks. createBedBlock(DyeColor color)
private static ShulkerBoxBlock
Blocks. createShulkerBoxBlock(DyeColor color, AbstractBlock.Settings settings)
private static StainedGlassBlock
Blocks. createStainedGlassBlock(DyeColor color)
static Block
ShulkerBoxBlock. get(@Nullable DyeColor dyeColor)
static Block
BannerBlock. getForColor(DyeColor color)
static ItemStack
ShulkerBoxBlock. getItemStack(@Nullable DyeColor color)
static AbstractBlock.Settings
AbstractBlock.Settings. of(Material material, DyeColor color)
Constructors in net.minecraft.block with parameters of type DyeColor Constructor Description AbstractBannerBlock(DyeColor color, AbstractBlock.Settings settings)
BannerBlock(DyeColor color, AbstractBlock.Settings settings)
BedBlock(DyeColor color, AbstractBlock.Settings settings)
DyedCarpetBlock(DyeColor dyeColor, AbstractBlock.Settings settings)
ShulkerBoxBlock(@Nullable DyeColor color, AbstractBlock.Settings settings)
StainedGlassBlock(DyeColor color, AbstractBlock.Settings settings)
StainedGlassPaneBlock(DyeColor color, AbstractBlock.Settings settings)
WallBannerBlock(DyeColor color, AbstractBlock.Settings settings)
-
Uses of DyeColor in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as DyeColor Modifier and Type Field Description private DyeColor
BannerBlockEntity. baseColor
private @Nullable DyeColor
ShulkerBoxBlockEntity. cachedColor
private DyeColor
BedBlockEntity. color
private DyeColor
SignBlockEntity. textColor
Fields in net.minecraft.block.entity with type parameters of type DyeColor Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
BannerPattern.Patterns. entries
private @Nullable List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
BannerBlockEntity. patterns
Methods in net.minecraft.block.entity that return DyeColor Modifier and Type Method Description DyeColor
BedBlockEntity. getColor()
@Nullable DyeColor
ShulkerBoxBlockEntity. getColor()
DyeColor
BannerBlockEntity. getColorForState()
DyeColor
SignBlockEntity. getTextColor()
Methods in net.minecraft.block.entity that return types with arguments of type DyeColor Modifier and Type Method Description List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
BannerBlockEntity. getPatterns()
static List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
BannerBlockEntity. getPatternsFromNbt(DyeColor baseColor, @Nullable NbtList patternListTag)
Methods in net.minecraft.block.entity with parameters of type DyeColor Modifier and Type Method Description BannerPattern.Patterns
BannerPattern.Patterns. add(BannerPattern pattern, DyeColor color)
static List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
BannerBlockEntity. getPatternsFromNbt(DyeColor baseColor, @Nullable NbtList patternListTag)
void
BannerBlockEntity. readFrom(ItemStack stack, DyeColor baseColor)
void
BedBlockEntity. setColor(DyeColor color)
boolean
SignBlockEntity. setTextColor(DyeColor value)
Method parameters in net.minecraft.block.entity with type arguments of type DyeColor Modifier and Type Method Description BannerPattern.Patterns
BannerPattern.Patterns. add(com.mojang.datafixers.util.Pair<BannerPattern,DyeColor> pattern)
Constructors in net.minecraft.block.entity with parameters of type DyeColor Constructor Description BannerBlockEntity(BlockPos pos, BlockState state, DyeColor baseColor)
BedBlockEntity(BlockPos pos, BlockState state, DyeColor color)
ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos pos, BlockState state)
-
Uses of DyeColor in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type DyeColor Modifier and Type Field Description private @Nullable List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
LoomScreen. bannerPatterns
-
Uses of DyeColor in net.minecraft.client.render.block.entity
Method parameters in net.minecraft.client.render.block.entity with type arguments of type DyeColor Modifier and Type Method Description static void
BannerBlockEntityRenderer. renderCanvas(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns)
static void
BannerBlockEntityRenderer. renderCanvas(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns, boolean glint)
-
Uses of DyeColor in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type DyeColor Modifier and Type Method Description private ItemStack
CelebrateRaidWinTask. createFirework(DyeColor color, int flight)
-
Uses of DyeColor in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return DyeColor Modifier and Type Method Description @Nullable DyeColor
ShulkerEntity. getColor()
Methods in net.minecraft.entity.mob with parameters of type DyeColor Modifier and Type Method Description private void
ShulkerEntity. setColor(DyeColor color)
-
Uses of DyeColor in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type DyeColor Modifier and Type Field Description private static Map<DyeColor,float[]>
SheepEntity. COLORS
private static Map<DyeColor,ItemConvertible>
SheepEntity. DROPS
Methods in net.minecraft.entity.passive that return DyeColor Modifier and Type Method Description static DyeColor
SheepEntity. generateDefaultColor(Random random)
static DyeColor
TropicalFishEntity. getBaseDyeColor(int variant)
@Nullable DyeColor
LlamaEntity. getCarpetColor()
private DyeColor
SheepEntity. getChildColor(AnimalEntity firstParent, AnimalEntity secondParent)
DyeColor
CatEntity. getCollarColor()
DyeColor
WolfEntity. getCollarColor()
DyeColor
SheepEntity. getColor()
private static @Nullable DyeColor
LlamaEntity. getColorFromCarpet(ItemStack color)
static DyeColor
TropicalFishEntity. getPatternDyeColor(int variant)
Methods in net.minecraft.entity.passive with parameters of type DyeColor Modifier and Type Method Description private static CraftingInventory
SheepEntity. createDyeMixingCraftingInventory(DyeColor firstColor, DyeColor secondColor)
private static float[]
SheepEntity. getDyedColor(DyeColor color)
static float[]
SheepEntity. getRgbColor(DyeColor dyeColor)
private void
LlamaEntity. setCarpetColor(@Nullable DyeColor color)
void
CatEntity. setCollarColor(DyeColor color)
void
WolfEntity. setCollarColor(DyeColor color)
void
SheepEntity. setColor(DyeColor color)
private static int
TropicalFishEntity. toVariant(TropicalFishEntity.Variety variety, DyeColor baseColor, DyeColor patternColor)
-
Uses of DyeColor in net.minecraft.item
Fields in net.minecraft.item declared as DyeColor Modifier and Type Field Description private DyeColor
DyeItem. color
Fields in net.minecraft.item with type parameters of type DyeColor Modifier and Type Field Description private static Map<DyeColor,DyeItem>
DyeItem. DYES
Methods in net.minecraft.item that return DyeColor Modifier and Type Method Description DyeColor
BannerItem. getColor()
DyeColor
DyeItem. getColor()
static DyeColor
ShieldItem. getColor(ItemStack stack)
Methods in net.minecraft.item with parameters of type DyeColor Modifier and Type Method Description static DyeItem
DyeItem. byColor(DyeColor color)
Constructors in net.minecraft.item with parameters of type DyeColor Constructor Description DyeItem(DyeColor color, Item.Settings settings)
-
Uses of DyeColor in net.minecraft.item.map
Fields in net.minecraft.item.map declared as DyeColor Modifier and Type Field Description private DyeColor
MapBannerMarker. color
Methods in net.minecraft.item.map that return DyeColor Modifier and Type Method Description DyeColor
MapBannerMarker. getColor()
Constructors in net.minecraft.item.map with parameters of type DyeColor Constructor Description MapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name)
-
Uses of DyeColor in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type DyeColor Modifier and Type Field Description private ImmutableList.Builder<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
SetBannerPatternFunction.class_6157. field_31862
private List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
SetBannerPatternFunction. patterns
Methods in net.minecraft.loot.function with parameters of type DyeColor Modifier and Type Method Description SetBannerPatternFunction.class_6157
SetBannerPatternFunction.class_6157. method_35533(BannerPattern bannerPattern, DyeColor dyeColor)
Constructor parameters in net.minecraft.loot.function with type arguments of type DyeColor Constructor Description SetBannerPatternFunction(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns, boolean append)
-
Uses of DyeColor in net.minecraft.util
Fields in net.minecraft.util declared as DyeColor Modifier and Type Field Description private static DyeColor[]
DyeColor. VALUES
Fields in net.minecraft.util with type parameters of type DyeColor Modifier and Type Field Description private static Int2ObjectOpenHashMap<DyeColor>
DyeColor. BY_FIREWORK_COLOR
Methods in net.minecraft.util that return DyeColor Modifier and Type Method Description static @Nullable DyeColor
DyeColor. byFireworkColor(int color)
static DyeColor
DyeColor. byId(int id)
static DyeColor
DyeColor. byName(String name, DyeColor defaultColor)
static DyeColor
DyeColor. valueOf(String name)
Returns the enum constant of this type with the specified name.static DyeColor[]
DyeColor. values()
Returns an array containing the constants of this enum type, in the order they are declared.