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 poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, ModelPart flagPart, Material material, DyeColor color) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns, boolean glint) -
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 color) -
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 color, int flightTime) -
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 variantId) Cat.getCollarColor()Wolf.getCollarColor()Sheep.getColor()private DyeColorSheep.getOffspringColor(Animal father, Animal mother) Attempts to mix both parent sheep to come up with a mixed dye color.TropicalFish.getPatternColor()static DyeColorTropicalFish.getPatternColor(int variantId) static DyeColorSheep.getRandomSheepColor(RandomSource random) 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 dyeColor) static intprivate static CraftingInputSheep.makeCraftInput(DyeColor color1, DyeColor color2) (package private) static intTropicalFish.packVariant(TropicalFish.Pattern pattern, DyeColor baseColor, DyeColor patternColor) private voidCat.setCollarColor(DyeColor color) private voidWolf.setCollarColor(DyeColor collarColor) 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 stack) 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 fireworkColor) static DyeColorDyeColor.byId(int colorId) 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 block) static DyeColorShulkerBoxBlock.getColorFromItem(Item item) Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static Blockstatic Blockstatic BlockShulkerBoxBlock.getBlockByColor(DyeColor color) static ItemStackShulkerBoxBlock.getColoredItemStack(DyeColor color) private static BlockBlocks.shulkerBox(DyeColor color, MapColor mapColor) private static BlockBlocks.stainedGlass(DyeColor color) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionprotectedAbstractBannerBlock(DyeColor color, BlockBehaviour.Properties properties) BannerBlock(DyeColor color, BlockBehaviour.Properties properties) BedBlock(DyeColor color, BlockBehaviour.Properties properties) ShulkerBoxBlock(DyeColor color, BlockBehaviour.Properties properties) StainedGlassBlock(DyeColor dyeColor, BlockBehaviour.Properties properties) StainedGlassPaneBlock(DyeColor color, BlockBehaviour.Properties properties) WallBannerBlock(DyeColor color, BlockBehaviour.Properties properties) WoolCarpetBlock(DyeColor color, BlockBehaviour.Properties properties) -
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> pattern, DyeColor color) BannerPatternLayers.Builder.addIfRegistered(HolderGetter<BannerPattern> patterns, ResourceKey<BannerPattern> patternKey, DyeColor color) Deprecated.voidprivate static SignTextSignText.load(Component[] messages, Optional<Component[]> filteredMessages, DyeColor color, boolean hasGlowingText) voidConstructors in net.minecraft.world.level.block.entity with parameters of type DyeColorModifierConstructorDescriptionBannerBlockEntity(BlockPos pos, BlockState blockState, DyeColor baseColor) BedBlockEntity(BlockPos pos, BlockState blockState, DyeColor color) Layer(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayerrecord class.ShulkerBoxBlockEntity(DyeColor color, BlockPos pos, BlockState blockState) SignText(Component[] messages, Component[] filteredMessages, DyeColor color, boolean hasGlowingText) -
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> pattern, DyeColor color)