Uses of Enum Class
net.minecraft.world.item.DyeColor
Packages that use DyeColor
Package
Description
-
Uses of DyeColor in net.minecraft.client.data.models
Methods in net.minecraft.client.data.models with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type DyeColorModifier and TypeMethodDescriptionstatic ResourceLocation
Sheets.colorToResourceMaterial
(DyeColor p_387453_) static ResourceLocation
Sheets.colorToShulkerMaterial
(DyeColor p_387537_) static Material
Sheets.createBedMaterial
(DyeColor p_387329_) static Material
Sheets.createShulkerMaterial
(DyeColor p_388587_) static Material
Sheets.getBedMaterial
(DyeColor p_387653_) static Material
Sheets.getShulkerBoxMaterial
(DyeColor p_387352_) -
Uses of DyeColor in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static void
BannerRenderer.renderBanner
(PoseStack p_388373_, MultiBufferSource p_388314_, int p_386449_, int p_388689_, float p_387344_, BannerModel p_386469_, BannerFlagModel p_387874_, float p_387444_, DyeColor p_388367_, BannerPatternLayers p_388938_) void
BannerRenderer.renderInHand
(PoseStack p_387128_, MultiBufferSource p_387289_, int p_386943_, int p_387938_, DyeColor p_388253_, BannerPatternLayers p_388428_) private static void
BannerRenderer.renderPatternLayer
(PoseStack p_332737_, MultiBufferSource p_332758_, int p_332821_, int p_332828_, ModelPart p_332732_, Material p_332704_, DyeColor p_332728_) static void
BannerRenderer.renderPatterns
(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, DyeColor p_332660_, BannerPatternLayers p_330986_) static void
BannerRenderer.renderPatterns
(PoseStack p_112075_, MultiBufferSource p_112076_, int p_112077_, int p_112078_, ModelPart p_112079_, Material p_112080_, boolean p_112081_, DyeColor p_332652_, BannerPatternLayers p_331851_, boolean p_332823_, boolean p_364162_) -
Uses of DyeColor in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type DyeColorModifier and TypeMethodDescriptionstatic ResourceLocation
ShulkerRenderer.getTextureLocation
(DyeColor p_174376_) -
Uses of DyeColor in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DyeColorModifier and TypeFieldDescriptionCatRenderState.collarColor
WolfRenderState.collarColor
ShulkerRenderState.color
SheepRenderState.woolColor
-
Uses of DyeColor in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
BannerSpecialRenderer.baseColor
private final DyeColor
BannerSpecialRenderer.Unbaked.baseColor
The field for thebaseColor
record component.Methods in net.minecraft.client.renderer.special that return DyeColorModifier and TypeMethodDescriptionBannerSpecialRenderer.Unbaked.baseColor()
Returns the value of thebaseColor
record component.Constructors in net.minecraft.client.renderer.special with parameters of type DyeColorModifierConstructorDescriptionBannerSpecialRenderer
(DyeColor p_388643_, BannerRenderer p_386611_) Creates an instance of aUnbaked
record class. -
Uses of DyeColor in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type DyeColorModifier and TypeFieldDescriptionstatic final DataComponentType
<DyeColor> DataComponents.BASE_COLOR
static final DataComponentType
<DyeColor> DataComponents.CAT_COLLAR
static final DataComponentType
<DyeColor> DataComponents.SHEEP_COLOR
static final DataComponentType
<DyeColor> DataComponents.SHULKER_COLOR
static final DataComponentType
<DyeColor> DataComponents.TROPICAL_FISH_BASE_COLOR
static final DataComponentType
<DyeColor> DataComponents.TROPICAL_FISH_PATTERN_COLOR
static final DataComponentType
<DyeColor> DataComponents.WOLF_COLLAR
-
Uses of DyeColor in net.minecraft.data.loot
Method parameters in net.minecraft.data.loot with type arguments of type DyeColorModifier and TypeMethodDescriptionstatic LootPool.Builder
EntityLootSubProvider.createSheepDispatchPool
(Map<DyeColor, ResourceKey<LootTable>> p_368504_) -
Uses of DyeColor in net.minecraft.data.loot.packs
Fields in net.minecraft.data.loot.packs with type parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type DyeColorModifier and TypeMethodDescriptionprivate ItemStack
CelebrateVillagersSurvivedRaid.getFirework
(DyeColor p_22697_, int p_22698_) -
Uses of DyeColor in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
TropicalFish.Variant.baseColor
The field for thebaseColor
record component.private static final DyeColor
private final DyeColor
TropicalFish.Variant.patternColor
The field for thepatternColor
record component.Methods in net.minecraft.world.entity.animal that return DyeColorModifier and TypeMethodDescriptionTropicalFish.Variant.baseColor()
Returns the value of thebaseColor
record component.TropicalFish.getBaseColor()
static DyeColor
TropicalFish.getBaseColor
(int p_30051_) Cat.getCollarColor()
TropicalFish.getPatternColor()
static DyeColor
TropicalFish.getPatternColor
(int p_30053_) TropicalFish.Variant.patternColor()
Returns the value of thepatternColor
record component.Methods in net.minecraft.world.entity.animal with parameters of type DyeColorModifier and TypeMethodDescription(package private) static int
TropicalFish.packVariant
(TropicalFish.Pattern p_262598_, DyeColor p_262618_, DyeColor p_262683_) private void
TropicalFish.setBaseColor
(DyeColor p_398010_) private void
Cat.setCollarColor
(DyeColor p_28132_) private void
TropicalFish.setPatternColor
(DyeColor p_397108_) Constructors in net.minecraft.world.entity.animal with parameters of type DyeColorModifierConstructorDescriptionVariant
(TropicalFish.Pattern pattern, DyeColor baseColor, DyeColor patternColor) Creates an instance of aVariant
record class. -
Uses of DyeColor in net.minecraft.world.entity.animal.sheep
Fields in net.minecraft.world.entity.animal.sheep declared as DyeColorFields in net.minecraft.world.entity.animal.sheep with type parameters of type DyeColorMethods in net.minecraft.world.entity.animal.sheep that return DyeColorModifier and TypeMethodDescriptionSheepColorSpawnRules.SheepColorProvider.get
(RandomSource p_405381_) Sheep.getColor()
static DyeColor
Sheep.getRandomSheepColor
(ServerLevelAccessor p_405871_, BlockPos p_404848_) static DyeColor
SheepColorSpawnRules.getSheepColor
(Holder<Biome> p_404960_, RandomSource p_405409_) Methods in net.minecraft.world.entity.animal.sheep with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static SheepColorSpawnRules.SheepColorProvider
SheepColorSpawnRules.commonColors
(DyeColor p_405584_) private static int
Sheep.createSheepColor
(DyeColor p_405458_) static int
void
private static SheepColorSpawnRules.SheepColorProvider
-
Uses of DyeColor in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as DyeColorMethods in net.minecraft.world.entity.animal.wolf that return DyeColorMethods in net.minecraft.world.entity.animal.wolf with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return DyeColorMethods in net.minecraft.world.entity.monster that return types with arguments of type DyeColorMethod parameters in net.minecraft.world.entity.monster with type arguments of type DyeColor -
Uses of DyeColor in net.minecraft.world.item
Fields in net.minecraft.world.item declared as DyeColorFields in net.minecraft.world.item with type parameters of type DyeColorModifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap
<DyeColor> DyeColor.BY_FIREWORK_COLOR
private static final IntFunction
<DyeColor> DyeColor.BY_ID
static final StringRepresentable.EnumCodec
<DyeColor> DyeColor.CODEC
DyeItem.ITEM_BY_COLOR
static final com.mojang.serialization.Codec
<DyeColor> DyeColor.LEGACY_ID_CODEC
Deprecated.static final StreamCodec
<io.netty.buffer.ByteBuf, DyeColor> DyeColor.STREAM_CODEC
Methods in net.minecraft.world.item that return DyeColorModifier and TypeMethodDescriptionstatic DyeColor
DyeColor.byFireworkColor
(int p_41062_) static DyeColor
DyeColor.byId
(int p_41054_) static DyeColor
BannerItem.getColor()
static DyeColor
DyeItem.getDyeColor()
static DyeColor
DyeColor.getMixedColor
(ServerLevel p_386897_, DyeColor p_388832_, DyeColor p_386710_) 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.world.item with parameters of type DyeColorModifier and TypeMethodDescriptionstatic DyeItem
static DyeColor
static Item
BundleItem.getByColor
(DyeColor p_374396_) static DyeColor
DyeColor.getMixedColor
(ServerLevel p_386897_, DyeColor p_388832_, DyeColor p_386710_) private static CraftingInput
DyeColor.makeCraftColorInput
(DyeColor p_388241_, DyeColor p_387649_) Constructors in net.minecraft.world.item with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type DyeColorModifier and TypeFieldDescriptionstatic final Map
<DyeColor, ResourceKey<EquipmentAsset>> EquipmentAssets.CARPETS
Methods in net.minecraft.world.item.equipment with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
AbstractBannerBlock.color
private final DyeColor
BedBlock.color
private final DyeColor
ShulkerBoxBlock.color
private final DyeColor
StainedGlassBlock.color
private final DyeColor
StainedGlassPaneBlock.color
private final DyeColor
WoolCarpetBlock.color
Fields in net.minecraft.world.level.block with type parameters of type DyeColorMethods in net.minecraft.world.level.block that return DyeColorModifier and TypeMethodDescriptionAbstractBannerBlock.getColor()
BeaconBeamBlock.getColor()
BeaconBlock.getColor()
BedBlock.getColor()
ShulkerBoxBlock.getColor()
StainedGlassBlock.getColor()
StainedGlassPaneBlock.getColor()
WoolCarpetBlock.getColor()
Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionstatic Block
static Block
ShulkerBoxBlock.getBlockByColor
(DyeColor p_56191_) static ItemStack
ShulkerBoxBlock.getColoredItemStack
(DyeColor p_56251_) private static Block
Blocks.registerBed
(String p_368621_, DyeColor p_368579_) private static Block
Blocks.registerStainedGlass
(String p_368636_, DyeColor p_368600_) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionAbstractBannerBlock
(DyeColor p_48659_, BlockBehaviour.Properties p_48660_) BannerBlock
(DyeColor p_49012_, BlockBehaviour.Properties p_49013_) BedBlock
(DyeColor p_49454_, BlockBehaviour.Properties p_49455_) ShulkerBoxBlock
(DyeColor p_56188_, BlockBehaviour.Properties p_56189_) StainedGlassBlock
(DyeColor p_56833_, BlockBehaviour.Properties p_56834_) StainedGlassPaneBlock
(DyeColor p_56838_, BlockBehaviour.Properties p_56839_) WallBannerBlock
(DyeColor p_57920_, BlockBehaviour.Properties p_57921_) WoolCarpetBlock
(DyeColor p_58291_, BlockBehaviour.Properties p_58292_) -
Uses of DyeColor in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
BannerBlockEntity.baseColor
private final DyeColor
BannerPatternLayers.Layer.color
The field for thecolor
record component.private final DyeColor
BedBlockEntity.color
private final DyeColor
ShulkerBoxBlockEntity.color
private final DyeColor
SignText.color
Methods in net.minecraft.world.level.block.entity that return DyeColorModifier and TypeMethodDescriptionBannerPatternLayers.Layer.color()
Returns the value of thecolor
record component.BannerBlockEntity.getBaseColor()
BedBlockEntity.getColor()
ShulkerBoxBlockEntity.getColor()
SignText.getColor()
Methods in net.minecraft.world.level.block.entity with parameters of type DyeColorModifier and TypeMethodDescriptionBannerPatternLayers.Builder.add
(Holder<BannerPattern> p_330325_, DyeColor p_330891_) BannerPatternLayers.Builder.addIfRegistered
(HolderGetter<BannerPattern> p_332806_, ResourceKey<BannerPattern> p_332663_, DyeColor p_332781_) Deprecated.private static SignText
SignText.load
(Component[] p_277661_, Optional<Component[]> p_277768_, DyeColor p_277345_, boolean p_278008_) Constructors in net.minecraft.world.level.block.entity with parameters of type DyeColorModifierConstructorDescriptionBannerBlockEntity
(BlockPos p_155038_, BlockState p_155039_, DyeColor p_155040_) BedBlockEntity
(BlockPos p_155118_, BlockState p_155119_, DyeColor p_155120_) Layer
(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayer
record class.ShulkerBoxBlockEntity
(DyeColor p_155666_, BlockPos p_155667_, BlockState p_155668_) -
Uses of DyeColor in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type DyeColorModifier and TypeMethodDescription -
Uses of DyeColor in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor
MapBanner.color
The field for thecolor
record component.Methods in net.minecraft.world.level.saveddata.maps that return DyeColorModifier and TypeMethodDescriptionMapBanner.color()
Returns the value of thecolor
record component.Constructors in net.minecraft.world.level.saveddata.maps with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type DyeColorModifier and TypeFieldDescriptionstatic final Map
<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEAR_SHEEP_BY_DYE
static final Map
<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEEP_BY_DYE
Methods in net.minecraft.world.level.storage.loot that return types with arguments of type DyeColorModifier and TypeMethodDescriptionprivate static Map
<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.makeDyeKeyMap
(String p_363301_) -
Uses of DyeColor in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type DyeColorModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern
(Holder<BannerPattern> p_230999_, DyeColor p_231000_)