Uses of Enum Class
net.minecraft.world.item.DyeColor
Packages that use DyeColor
Package
Description
-
Uses of DyeColor in net.minecraft.client.color
Fields in net.minecraft.client.color declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColor[]ColorLerper.Type.colorsstatic final DyeColor[]ColorLerper.MUSIC_NOTE_COLORSFields in net.minecraft.client.color with type parameters of type DyeColorMethods in net.minecraft.client.color with parameters of type DyeColorModifier and TypeMethodDescriptionfinal intprivate static intColorLerper.getModifiedColor(DyeColor color, float brightness) Constructors in net.minecraft.client.color with parameters of type DyeColor -
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.gui
Methods in net.minecraft.client.gui with parameters of type DyeColorModifier and TypeMethodDescriptionvoidGuiGraphics.submitBannerPatternRenderState(BannerFlagModel flag, DyeColor baseColor, BannerPatternLayers resultBannerPatterns, int x0, int y0, int x1, int y1) -
Uses of DyeColor in net.minecraft.client.gui.render.state.pip
Fields in net.minecraft.client.gui.render.state.pip declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColorGuiBannerResultRenderState.baseColorThe field for thebaseColorrecord component.Methods in net.minecraft.client.gui.render.state.pip that return DyeColorModifier and TypeMethodDescriptionGuiBannerResultRenderState.baseColor()Returns the value of thebaseColorrecord component.Constructors in net.minecraft.client.gui.render.state.pip with parameters of type DyeColorModifierConstructorDescriptionGuiBannerResultRenderState(BannerFlagModel flag, DyeColor baseColor, BannerPatternLayers resultBannerPatterns, int x0, int y0, int x1, int y1, @Nullable ScreenRectangle scissorArea) GuiBannerResultRenderState(BannerFlagModel flag, DyeColor baseColor, BannerPatternLayers resultBannerPatterns, int x0, int y0, int x1, int y1, @Nullable ScreenRectangle scissorArea, @Nullable ScreenRectangle bounds) Creates an instance of aGuiBannerResultRenderStaterecord class. -
Uses of DyeColor in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type DyeColorModifier and TypeMethodDescriptionstatic IdentifierSheets.colorToResourceSprite(DyeColor color) static IdentifierSheets.colorToShulkerSprite(DyeColor color) static SpriteIdSheets.createBedSprite(DyeColor color) static SpriteIdSheets.createShulkerSprite(DyeColor color) static SpriteIdSheets.getBedSprite(DyeColor color) static SpriteIdSheets.getShulkerBoxSprite(DyeColor color) -
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.submitBanner(SpriteGetter sprites, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, int overlayCoords, float angle, BannerModel model, BannerFlagModel flagModel, float phase, DyeColor baseColor, BannerPatternLayers patterns, @Nullable ModelFeatureRenderer.CrumblingOverlay breakProgress, int outlineColor) private static <S> voidBannerRenderer.submitPatternLayer(SpriteGetter sprites, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, int overlayCoords, Model<S> model, S state, SpriteId sprite, DyeColor color, @Nullable ModelFeatureRenderer.CrumblingOverlay breakProgress) static <S> voidBannerRenderer.submitPatterns(SpriteGetter sprites, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, int overlayCoords, Model<S> model, S state, boolean banner, DyeColor baseColor, BannerPatternLayers patterns, @Nullable ModelFeatureRenderer.CrumblingOverlay breakProgress) voidBannerRenderer.submitSpecial(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, int overlayCoords, DyeColor baseColor, BannerPatternLayers patterns, int outlineColor) -
Uses of DyeColor in net.minecraft.client.renderer.blockentity.state
Fields in net.minecraft.client.renderer.blockentity.state declared as DyeColor -
Uses of DyeColor in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type DyeColorModifier and TypeMethodDescriptionstatic IdentifierShulkerRenderer.getTextureLocation(@Nullable DyeColor color) -
Uses of DyeColor in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DyeColorModifier and TypeFieldDescription@Nullable DyeColorCatRenderState.collarColor@Nullable DyeColorWolfRenderState.collarColor@Nullable DyeColorShulkerRenderState.colorSheepRenderState.woolColor -
Uses of DyeColor in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColorBannerSpecialRenderer.baseColorprivate final DyeColorBannerSpecialRenderer.Unbaked.baseColorThe field for thebaseColorrecord component.Methods in net.minecraft.client.renderer.special that return DyeColorModifier and TypeMethodDescriptionBannerSpecialRenderer.Unbaked.baseColor()Returns the value of thebaseColorrecord component.Constructors in net.minecraft.client.renderer.special with parameters of type DyeColorModifierConstructorDescriptionBannerSpecialRenderer(DyeColor baseColor, BannerRenderer bannerRenderer) Creates an instance of aUnbakedrecord 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_COLORstatic final DataComponentType<DyeColor> DataComponents.CAT_COLLARstatic final DataComponentType<DyeColor> DataComponents.DYEstatic final DataComponentType<DyeColor> DataComponents.SHEEP_COLORstatic final DataComponentType<DyeColor> DataComponents.SHULKER_COLORstatic final DataComponentType<DyeColor> DataComponents.TROPICAL_FISH_BASE_COLORstatic final DataComponentType<DyeColor> DataComponents.TROPICAL_FISH_PATTERN_COLORstatic 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.BuilderEntityLootSubProvider.createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> tableNames) -
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 ItemStackCelebrateVillagersSurvivedRaid.getFirework(DyeColor color, int flightDuration) -
Uses of DyeColor in net.minecraft.world.entity.animal.feline
Fields in net.minecraft.world.entity.animal.feline declared as DyeColorMethods in net.minecraft.world.entity.animal.feline that return DyeColorMethods in net.minecraft.world.entity.animal.feline with parameters of type DyeColor -
Uses of DyeColor in net.minecraft.world.entity.animal.fish
Fields in net.minecraft.world.entity.animal.fish declared as DyeColorModifier and TypeFieldDescriptionprivate final DyeColorTropicalFish.Variant.baseColorThe field for thebaseColorrecord component.private final DyeColorTropicalFish.Variant.patternColorThe field for thepatternColorrecord component.Methods in net.minecraft.world.entity.animal.fish that return DyeColorModifier and TypeMethodDescriptionTropicalFish.Variant.baseColor()Returns the value of thebaseColorrecord component.TropicalFish.getBaseColor()static DyeColorTropicalFish.getBaseColor(int packedVariant) TropicalFish.getPatternColor()static DyeColorTropicalFish.getPatternColor(int packedVariant) TropicalFish.Variant.patternColor()Returns the value of thepatternColorrecord component.Methods in net.minecraft.world.entity.animal.fish with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static intTropicalFish.packVariant(TropicalFish.Pattern pattern, DyeColor baseColor, DyeColor patternColor) private voidTropicalFish.setBaseColor(DyeColor baseColor) private voidTropicalFish.setPatternColor(DyeColor patternColor) Constructors in net.minecraft.world.entity.animal.fish 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.sheep
Fields in net.minecraft.world.entity.animal.sheep declared as DyeColorMethods in net.minecraft.world.entity.animal.sheep that return DyeColorModifier and TypeMethodDescriptionSheepColorSpawnRules.SheepColorProvider.get(RandomSource random) Sheep.getColor()static DyeColorSheep.getRandomSheepColor(ServerLevelAccessor level, BlockPos pos) static DyeColorSheepColorSpawnRules.getSheepColor(Holder<Biome> biome, RandomSource random) Methods in net.minecraft.world.entity.animal.sheep with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static SheepColorSpawnRules.SheepColorProviderSheepColorSpawnRules.commonColors(DyeColor defaultColor) voidprivate 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
Subclasses with type arguments of type DyeColor in net.minecraft.world.itemFields 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.CODECstatic final com.mojang.serialization.Codec<DyeColor> DyeColor.LEGACY_ID_CODECDeprecated.static final StreamCodec<io.netty.buffer.ByteBuf, DyeColor> DyeColor.STREAM_CODECDyeColor.VALUESMethods in net.minecraft.world.item that return DyeColorModifier and TypeMethodDescriptionstatic @Nullable DyeColorDyeColor.byFireworkColor(int color) static DyeColorDyeColor.byId(int id) static @Nullable DyeColorprivate static @Nullable DyeColorDyeColor.findColorMixInRecipes(ServerLevel level, DyeColor dyeColor1, DyeColor dyeColor2) BannerItem.getColor()static @Nullable DyeColorstatic DyeColorDyeColor.getMixedColor(ServerLevel level, DyeColor dyeColor1, DyeColor dyeColor2) 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 DyeColorModifier and TypeMethodDescriptionstatic @Nullable DyeColorprivate static @Nullable DyeColorDyeColor.findColorMixInRecipes(ServerLevel level, DyeColor dyeColor1, DyeColor dyeColor2) static DyeColorDyeColor.getMixedColor(ServerLevel level, DyeColor dyeColor1, DyeColor dyeColor2) -
Uses of DyeColor in net.minecraft.world.item.component
Method parameters in net.minecraft.world.item.component with type arguments of type DyeColorModifier and TypeMethodDescriptionstatic DyedItemColorDyedItemColor.applyDyes(@Nullable DyedItemColor currentDye, List<DyeColor> dyes) static ItemStack -
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.CARPETSstatic final Map<DyeColor, ResourceKey<EquipmentAsset>> EquipmentAssets.HARNESSESMethods 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 DyeColorAbstractBannerBlock.colorprivate final DyeColorBedBlock.colorprivate final @Nullable DyeColorShulkerBoxBlock.colorprivate final DyeColorStainedGlassBlock.colorprivate final DyeColorStainedGlassPaneBlock.colorprivate final DyeColorWoolCarpetBlock.colorMethods in net.minecraft.world.level.block that return DyeColorModifier and TypeMethodDescriptionAbstractBannerBlock.getColor()BeaconBeamBlock.getColor()BeaconBlock.getColor()BedBlock.getColor()@Nullable DyeColorShulkerBoxBlock.getColor()StainedGlassBlock.getColor()StainedGlassPaneBlock.getColor()WoolCarpetBlock.getColor()Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static BlockBlocks.registerBed(String id, DyeColor color) private static BlockBlocks.registerStainedGlass(String id, DyeColor color) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionAbstractBannerBlock(DyeColor color, BlockBehaviour.Properties properties) BannerBlock(DyeColor color, BlockBehaviour.Properties properties) BedBlock(DyeColor color, BlockBehaviour.Properties properties) ShulkerBoxBlock(@Nullable DyeColor color, BlockBehaviour.Properties properties) StainedGlassBlock(DyeColor color, 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 final DyeColorBannerBlockEntity.baseColorprivate final DyeColorBannerPatternLayers.Layer.colorThe field for thecolorrecord component.private final DyeColorBedBlockEntity.colorprivate final @Nullable 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()@Nullable DyeColorShulkerBoxBlockEntity.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> patternGetter, ResourceKey<BannerPattern> patternKey, DyeColor color) Deprecated.private static SignTextSignText.load(Component[] messages, Optional<Component[]> filteredMessages, DyeColor color, boolean hasGlowingText) Constructors in net.minecraft.world.level.block.entity with parameters of type DyeColorModifierConstructorDescriptionBannerBlockEntity(BlockPos worldPosition, BlockState blockState, DyeColor color) BedBlockEntity(BlockPos worldPosition, BlockState blockState, DyeColor color) Layer(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayerrecord class.ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos worldPosition, 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
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_DYEstatic final Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEEP_BY_DYEMethods 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 prefix) -
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)