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 pColor) static ResourceLocation
Sheets.colorToShulkerMaterial
(DyeColor pColor) static Material
Sheets.createBedMaterial
(DyeColor pColor) static Material
Sheets.createShulkerMaterial
(DyeColor pColor) static Material
Sheets.getBedMaterial
(DyeColor pColor) static Material
Sheets.getShulkerBoxMaterial
(DyeColor pColor) -
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 pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, float pRotation, BannerModel pStandingModel, BannerFlagModel pStandingFlagModel, float pAngle, DyeColor pBaseColor, BannerPatternLayers pPatterns) void
BannerRenderer.renderInHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, DyeColor pBaseColor, BannerPatternLayers pPatterns) private static void
BannerRenderer.renderPatternLayer
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pMaterial, DyeColor pColor) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns, boolean pWithGlint, boolean pNoEntity) -
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 pColor) -
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 pBaseColor, BannerRenderer pBannerRenderer) 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>> pLootTables) -
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 pColor, int pFlightTime) -
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 pVariantId) Cat.getCollarColor()
TropicalFish.getPatternColor()
static DyeColor
TropicalFish.getPatternColor
(int pVariantId) 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 pPattern, DyeColor pBaseColor, DyeColor pPatternColor) private void
TropicalFish.setBaseColor
(DyeColor pBaseColor) private void
Cat.setCollarColor
(DyeColor pColor) private void
TropicalFish.setPatternColor
(DyeColor pPatternColor) 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 pRandom) Sheep.getColor()
static DyeColor
Sheep.getRandomSheepColor
(ServerLevelAccessor pLevel, BlockPos pPos) static DyeColor
SheepColorSpawnRules.getSheepColor
(Holder<Biome> pBiome, RandomSource pRandom) Methods in net.minecraft.world.entity.animal.sheep with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static SheepColorSpawnRules.SheepColorProvider
SheepColorSpawnRules.commonColors
(DyeColor pMainColor) private static int
Sheep.createSheepColor
(DyeColor pColor) 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 pFireworkColor) static DyeColor
DyeColor.byId
(int pColorId) static DyeColor
BannerItem.getColor()
static DyeColor
DyeItem.getDyeColor()
static DyeColor
DyeColor.getMixedColor
(ServerLevel pLevel, DyeColor pFirst, DyeColor pSecond) 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 pColor) static DyeColor
DyeColor.getMixedColor
(ServerLevel pLevel, DyeColor pFirst, DyeColor pSecond) private static CraftingInput
DyeColor.makeCraftColorInput
(DyeColor pFirst, DyeColor pSecond) 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 pColor) static ItemStack
ShulkerBoxBlock.getColoredItemStack
(DyeColor pColor) private static Block
Blocks.registerBed
(String pName, DyeColor pColor) private static Block
Blocks.registerStainedGlass
(String pName, DyeColor pColor) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionAbstractBannerBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) BannerBlock
(DyeColor p_49012_, BlockBehaviour.Properties p_49013_) BedBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) ShulkerBoxBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) StainedGlassBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) StainedGlassPaneBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) WallBannerBlock
(DyeColor p_57920_, BlockBehaviour.Properties p_57921_) WoolCarpetBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) -
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> pPattern, DyeColor pColor) BannerPatternLayers.Builder.addIfRegistered
(HolderGetter<BannerPattern> pPatterns, ResourceKey<BannerPattern> pPatternKey, DyeColor pColor) Deprecated.private static SignText
SignText.load
(Component[] pMessages, Optional<Component[]> pFilteredMessages, DyeColor pColor, boolean pHasGlowingText) Constructors in net.minecraft.world.level.block.entity with parameters of type DyeColorModifierConstructorDescriptionBannerBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pBaseColor) BedBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pColor) Layer
(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayer
record class.ShulkerBoxBlockEntity
(DyeColor pColor, BlockPos pPos, BlockState pBlockState) SignText
(Component[] pMessages, Component[] pFilteredMessages, DyeColor pColor, boolean pHasGlowingText) -
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 pPath) -
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> pPattern, DyeColor pColor)