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 voidBannerRenderer.renderPatternLayer(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pMaterial, DyeColor pColor) static voidBannerRenderer.renderPatterns(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns) static voidBannerRenderer.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 ResourceLocationShulkerRenderer.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 ItemStackCelebrateVillagersSurvivedRaid.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 DyeColorTropicalFish.Variant.baseColorThe field for thebaseColorrecord component.private final DyeColorTropicalFish.Variant.patternColorThe field for thepatternColorrecord 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 thebaseColorrecord component.TropicalFish.getBaseColor()static DyeColorTropicalFish.getBaseColor(int pVariantId) Cat.getCollarColor()Wolf.getCollarColor()Sheep.getColor()private DyeColorSheep.getOffspringColor(Animal pFather, Animal pMother) Attempts to mix both parent sheep to come up with a mixed dye color.TropicalFish.getPatternColor()static DyeColorTropicalFish.getPatternColor(int pVariantId) static DyeColorSheep.getRandomSheepColor(RandomSource pRandom) TropicalFish.Variant.patternColor()Returns the value of thepatternColorrecord component.Methods in net.minecraft.world.entity.animal with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static intSheep.createSheepColor(DyeColor p_29866_) static intprivate static CraftingInputSheep.makeCraftInput(DyeColor pColor1, DyeColor pColor2) (package private) static intTropicalFish.packVariant(TropicalFish.Pattern pPattern, DyeColor pBaseColor, DyeColor pPatternColor) private voidCat.setCollarColor(DyeColor pColor) private voidWolf.setCollarColor(DyeColor pCollarColor) voidSets 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 aVariantrecord 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 DyeColorLlama.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_COLORprivate static final IntFunction<DyeColor> DyeColor.BY_IDstatic final StringRepresentable.EnumCodec<DyeColor> DyeColor.CODECDyeItem.ITEM_BY_COLORstatic final StreamCodec<io.netty.buffer.ByteBuf, DyeColor> DyeColor.STREAM_CODECMethods in net.minecraft.world.item that return DyeColorModifier and TypeMethodDescriptionstatic DyeColorDyeColor.byFireworkColor(int pFireworkColor) static DyeColorDyeColor.byId(int pColorId) static DyeColorBannerItem.getColor()static DyeColorDyeItem.getDyeColor()static DyeColorReturns 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 DyeColorAbstractBannerBlock.colorprivate final DyeColorBedBlock.colorprivate final DyeColorShulkerBoxBlock.colorprivate final DyeColorStainedGlassBlock.colorprivate final DyeColorStainedGlassPaneBlock.colorprivate final DyeColorWoolCarpetBlock.colorFields 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 DyeColorShulkerBoxBlock.getColorFromBlock(Block pBlock) static DyeColorShulkerBoxBlock.getColorFromItem(Item pItem) Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static Blockstatic Blockstatic BlockShulkerBoxBlock.getBlockByColor(DyeColor pColor) static ItemStackShulkerBoxBlock.getColoredItemStack(DyeColor pColor) private static BlockBlocks.shulkerBox(DyeColor pColor, MapColor pMapColor) private static BlockBlocks.stainedGlass(DyeColor pColor) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionprotectedAbstractBannerBlock(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 DyeColorBannerBlockEntity.baseColorprivate final DyeColorBannerPatternLayers.Layer.colorThe field for thecolorrecord component.private DyeColorBedBlockEntity.colorprivate final DyeColorShulkerBoxBlockEntity.colorprivate final DyeColorSignText.colorMethods in net.minecraft.world.level.block.entity that return DyeColorModifier and TypeMethodDescriptionBannerPatternLayers.Layer.color()Returns the value of thecolorrecord 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.voidprivate static SignTextSignText.load(Component[] p_277661_, Optional<Component[]> p_277768_, DyeColor p_277345_, boolean p_278008_) voidConstructors 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 aLayerrecord 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 DyeColorMapBanner.colorThe field for thecolorrecord component.Methods in net.minecraft.world.level.saveddata.maps that return DyeColorModifier and TypeMethodDescriptionMapBanner.color()Returns the value of thecolorrecord 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)