Uses of Enum Class
net.minecraft.world.item.DyeColor
Packages that use DyeColor
Package
Description
-
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.renderPatternLayer
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pMaterial, DyeColor pColor) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns, boolean pGlint) -
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.core.component
Fields in net.minecraft.core.component with type parameters of type DyeColorModifier and TypeFieldDescriptionstatic final DataComponentType
<DyeColor> DataComponents.BASE_COLOR
-
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 final DyeColor
TropicalFish.Variant.patternColor
The field for thepatternColor
record component.Fields in net.minecraft.world.entity.animal with type parameters of type DyeColorMethods 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()
Wolf.getCollarColor()
Sheep.getColor()
private DyeColor
Sheep.getOffspringColor
(Animal pFather, Animal pMother) Attempts to mix both parent sheep to come up with a mixed dye color.TropicalFish.getPatternColor()
static DyeColor
TropicalFish.getPatternColor
(int pVariantId) static DyeColor
Sheep.getRandomSheepColor
(RandomSource pRandom) TropicalFish.Variant.patternColor()
Returns the value of thepatternColor
record component.Methods in net.minecraft.world.entity.animal with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static int
Sheep.createSheepColor
(DyeColor p_29866_) static int
private static CraftingInput
Sheep.makeCraftInput
(DyeColor pColor1, DyeColor pColor2) (package private) static int
TropicalFish.packVariant
(TropicalFish.Pattern pPattern, DyeColor pBaseColor, DyeColor pPatternColor) private void
Cat.setCollarColor
(DyeColor pColor) private void
Wolf.setCollarColor
(DyeColor pCollarColor) void
Sets the wool color of this sheepConstructors 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.horse
Methods in net.minecraft.world.entity.animal.horse that return DyeColorModifier and TypeMethodDescriptionprivate static DyeColor
Llama.getDyeColor
(ItemStack pStack) Llama.getSwag()
-
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 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
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 DyeColorConstructors in net.minecraft.world.item 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()
static DyeColor
ShulkerBoxBlock.getColorFromBlock
(Block pBlock) static DyeColor
ShulkerBoxBlock.getColorFromItem
(Item pItem) Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static Block
static Block
static Block
ShulkerBoxBlock.getBlockByColor
(DyeColor pColor) static ItemStack
ShulkerBoxBlock.getColoredItemStack
(DyeColor pColor) private static Block
Blocks.shulkerBox
(DyeColor pColor, MapColor pMapColor) private static Block
Blocks.stainedGlass
(DyeColor pColor) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionprotected
AbstractBannerBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) BannerBlock
(DyeColor p_49012_, BlockBehaviour.Properties p_49013_) BedBlock
(DyeColor p_49454_, BlockBehaviour.Properties p_49455_) ShulkerBoxBlock
(DyeColor pColor, BlockBehaviour.Properties pProperties) 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 DyeColor
BannerBlockEntity.baseColor
private final DyeColor
BannerPatternLayers.Layer.color
The field for thecolor
record component.private 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.void
private static SignText
SignText.load
(Component[] p_277661_, Optional<Component[]> p_277768_, DyeColor p_277345_, boolean p_278008_) void
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.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type DyeColorModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern
(Holder<BannerPattern> pPattern, DyeColor pColor)