Uses of Enum Class
net.minecraft.util.DyeColor
Packages that use DyeColor
Package
Description
-
Uses of DyeColor in net.minecraft.block
Fields in net.minecraft.block declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
AbstractBannerBlock.color
private final DyeColor
BedBlock.color
ShulkerBoxBlock.color
private final DyeColor
StainedGlassBlock.color
private final DyeColor
StainedGlassPaneBlock.color
private final DyeColor
DyedCarpetBlock.dyeColor
Fields in net.minecraft.block with type parameters of type DyeColorMethods in net.minecraft.block that return DyeColorModifier and TypeMethodDescriptionAbstractBannerBlock.getColor()
BeaconBlock.getColor()
BedBlock.getColor()
ShulkerBoxBlock.getColor()
Stainable.getColor()
StainedGlassBlock.getColor()
StainedGlassPaneBlock.getColor()
DyedCarpetBlock.getDyeColor()
Returns the color of this carpet when worn by a llama.Methods in net.minecraft.block with parameters of type DyeColorModifier and TypeMethodDescriptionprivate 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
static Block
BannerBlock.getForColor
(DyeColor color) static ItemStack
ShulkerBoxBlock.getItemStack
(@Nullable DyeColor color) static AbstractBlock.Settings
Constructors in net.minecraft.block with parameters of type DyeColorModifierConstructorDescriptionprotected
AbstractBannerBlock
(DyeColor color, AbstractBlock.Settings settings) BannerBlock
(DyeColor color, AbstractBlock.Settings settings) BedBlock
(DyeColor color, AbstractBlock.Settings settings) protected
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 DyeColorModifier and TypeFieldDescriptionprivate DyeColor
BannerBlockEntity.baseColor
ShulkerBoxBlockEntity.cachedColor
private DyeColor
BedBlockEntity.color
private DyeColor
SignBlockEntity.textColor
Fields in net.minecraft.block.entity with type parameters of type DyeColorModifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerPattern.Patterns.entries
private @Nullable List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.patterns
Methods in net.minecraft.block.entity that return DyeColorModifier and TypeMethodDescriptionBedBlockEntity.getColor()
ShulkerBoxBlockEntity.getColor()
BannerBlockEntity.getColorForState()
SignBlockEntity.getTextColor()
Methods in net.minecraft.block.entity that return types with arguments of type DyeColorModifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatterns()
static List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatternsFromNbt
(DyeColor baseColor, @Nullable NbtList patternListNbt) Methods in net.minecraft.block.entity with parameters of type DyeColorModifier and TypeMethodDescriptionBannerPattern.Patterns.add
(RegistryEntry<BannerPattern> pattern, DyeColor color) BannerPattern.Patterns.add
(RegistryKey<BannerPattern> pattern, DyeColor color) static List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatternsFromNbt
(DyeColor baseColor, @Nullable NbtList patternListNbt) void
void
boolean
SignBlockEntity.setTextColor
(DyeColor value) Method parameters in net.minecraft.block.entity with type arguments of type DyeColorModifier and TypeMethodDescriptionBannerPattern.Patterns.add
(com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor> pattern) Constructors in net.minecraft.block.entity with parameters of type DyeColorModifierConstructorDescriptionBannerBlockEntity
(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 DyeColorModifier and TypeFieldDescriptionprivate @Nullable List<com.mojang.datafixers.util.Pair<RegistryEntry<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 DyeColorModifier and TypeMethodDescriptionstatic void
BannerBlockEntityRenderer.renderCanvas
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<RegistryEntry<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<RegistryEntry<BannerPattern>, DyeColor>> patterns, boolean glint) -
Uses of DyeColor in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type DyeColorModifier and TypeMethodDescriptionstatic Identifier
ShulkerEntityRenderer.getTexture
(@Nullable DyeColor shulkerColor) -
Uses of DyeColor in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type DyeColorModifier and TypeMethodDescriptionprivate ItemStack
CelebrateRaidWinTask.createFirework
(DyeColor color, int flight) -
Uses of DyeColor in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return DyeColorMethods in net.minecraft.entity.mob with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type DyeColorModifier and TypeFieldDescriptionSheepEntity.COLORS
private static final Map<DyeColor,
ItemConvertible> SheepEntity.DROPS
Methods in net.minecraft.entity.passive that return DyeColorModifier and TypeMethodDescriptionstatic DyeColor
SheepEntity.generateDefaultColor
(Random random) static DyeColor
TropicalFishEntity.getBaseDyeColor
(int variant) LlamaEntity.getCarpetColor()
private DyeColor
SheepEntity.getChildColor
(AnimalEntity firstParent, AnimalEntity secondParent) CatEntity.getCollarColor()
WolfEntity.getCollarColor()
SheepEntity.getColor()
LlamaEntity.getColorFromCarpet
(ItemStack color) static DyeColor
TropicalFishEntity.getPatternDyeColor
(int variant) Methods in net.minecraft.entity.passive with parameters of type DyeColorModifier and TypeMethodDescriptionprivate 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
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 DyeColorFields in net.minecraft.item with type parameters of type DyeColorMethods in net.minecraft.item that return DyeColorMethods in net.minecraft.item with parameters of type DyeColorConstructors in net.minecraft.item with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.item.map
Fields in net.minecraft.item.map declared as DyeColorMethods in net.minecraft.item.map that return DyeColorConstructors in net.minecraft.item.map with parameters of type DyeColorModifierConstructorDescriptionMapBannerMarker
(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 DyeColorModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.Builder.patterns
(package private) final List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.patterns
Methods in net.minecraft.loot.function with parameters of type DyeColorModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.pattern
(RegistryEntry<BannerPattern> pattern, DyeColor color) SetBannerPatternFunction.Builder.pattern
(RegistryKey<BannerPattern> pattern, DyeColor color) Constructor parameters in net.minecraft.loot.function with type arguments of type DyeColorModifierConstructorDescription(package private)
SetBannerPatternFunction
(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor>> patterns, boolean append) -
Uses of DyeColor in net.minecraft.util
Fields in net.minecraft.util declared as DyeColorFields in net.minecraft.util with type parameters of type DyeColorModifier and TypeFieldDescriptionprivate static final Int2ObjectOpenHashMap<DyeColor>
DyeColor.BY_FIREWORK_COLOR
Methods in net.minecraft.util that return DyeColorModifier and TypeMethodDescriptionDyeColor.byFireworkColor
(int color) static DyeColor
DyeColor.byId
(int id) static DyeColor
Returns the enum constant of this class with the specified name.static DyeColor[]
DyeColor.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util with parameters of type DyeColor