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 ResourceLocationSheets.colorToResourceMaterial(DyeColor color) static ResourceLocationSheets.colorToShulkerMaterial(DyeColor color) static MaterialSheets.createBedMaterial(DyeColor color) static MaterialSheets.createShulkerMaterial(DyeColor color) static MaterialSheets.getBedMaterial(DyeColor color) static MaterialSheets.getShulkerBoxMaterial(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.renderBanner(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, float rotation, BannerModel standingModel, BannerFlagModel standingFlagModel, float angle, DyeColor baseColor, BannerPatternLayers patterns) voidBannerRenderer.renderInHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, DyeColor baseColor, BannerPatternLayers patterns) private static voidBannerRenderer.renderPatternLayer(PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, ModelPart flagPart, Material material, DyeColor color) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns, boolean withGlint, boolean noEntity) -
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.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DyeColorModifier and TypeFieldDescriptionCatRenderState.collarColorWolfRenderState.collarColorShulkerRenderState.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.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>> lootTables) -
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 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 static final DyeColorprivate final DyeColorTropicalFish.Variant.patternColorThe field for thepatternColorrecord component.Methods 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()TropicalFish.getPatternColor()static DyeColorTropicalFish.getPatternColor(int variantId) TropicalFish.Variant.patternColor()Returns the value of thepatternColorrecord component.Methods in net.minecraft.world.entity.animal with parameters of type DyeColorModifier and TypeMethodDescription(package private) static intTropicalFish.packVariant(TropicalFish.Pattern pattern, DyeColor baseColor, DyeColor patternColor) private voidTropicalFish.setBaseColor(DyeColor baseColor) private voidCat.setCollarColor(DyeColor color) private voidTropicalFish.setPatternColor(DyeColor patternColor) Constructors 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.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 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 mainColor) private static intSheep.createSheepColor(DyeColor color) static intvoidprivate 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_COLORprivate static final IntFunction<DyeColor> DyeColor.BY_IDstatic final StringRepresentable.EnumCodec<DyeColor> DyeColor.CODECDyeItem.ITEM_BY_COLORstatic final com.mojang.serialization.Codec<DyeColor> DyeColor.LEGACY_ID_CODECDeprecated.static 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 DyeColorDyeColor.getMixedColor(ServerLevel level, DyeColor first, DyeColor second) 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 DyeItemstatic DyeColorstatic ItemBundleItem.getByColor(DyeColor color) static DyeColorDyeColor.getMixedColor(ServerLevel level, DyeColor first, DyeColor second) private static CraftingInputDyeColor.makeCraftColorInput(DyeColor first, DyeColor second) 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.CARPETSMethods 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 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()Methods in net.minecraft.world.level.block with parameters of type DyeColorModifier and TypeMethodDescriptionstatic Blockstatic BlockShulkerBoxBlock.getBlockByColor(DyeColor color) static ItemStackShulkerBoxBlock.getColoredItemStack(DyeColor color) private static BlockBlocks.registerBed(String name, DyeColor color) private static BlockBlocks.registerStainedGlass(String name, DyeColor color) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionAbstractBannerBlock(DyeColor color, BlockBehaviour.Properties properties) BannerBlock(DyeColor p_49012_, BlockBehaviour.Properties p_49013_) BedBlock(DyeColor color, BlockBehaviour.Properties properties) ShulkerBoxBlock(DyeColor color, BlockBehaviour.Properties properties) StainedGlassBlock(DyeColor color, BlockBehaviour.Properties properties) StainedGlassPaneBlock(DyeColor color, BlockBehaviour.Properties properties) WallBannerBlock(DyeColor p_57920_, BlockBehaviour.Properties p_57921_) 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 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.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 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
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 path) -
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)