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 pColor) static ResourceLocationSheets.colorToShulkerMaterial(DyeColor pColor) static MaterialSheets.createBedMaterial(DyeColor pColor) static MaterialSheets.createShulkerMaterial(DyeColor pColor) static MaterialSheets.getBedMaterial(DyeColor pColor) static MaterialSheets.getShulkerBoxMaterial(DyeColor pColor) -
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 pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, float pRotation, BannerModel pStandingModel, BannerFlagModel pStandingFlagModel, float pAngle, DyeColor pBaseColor, BannerPatternLayers pPatterns) voidBannerRenderer.renderInHand(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, DyeColor pBaseColor, BannerPatternLayers pPatterns) private static voidBannerRenderer.renderPatternLayer(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pMaterial, DyeColor pColor) static voidBannerRenderer.renderPatterns(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns) static voidBannerRenderer.renderPatterns(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns, boolean pWithGlint, boolean pNoEntity) -
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.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 pBaseColor, BannerRenderer pBannerRenderer) 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>> pLootTables) -
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 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 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 pVariantId) Cat.getCollarColor()TropicalFish.getPatternColor()static DyeColorTropicalFish.getPatternColor(int pVariantId) 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 pPattern, DyeColor pBaseColor, DyeColor pPatternColor) private voidTropicalFish.setBaseColor(DyeColor pBaseColor) private voidCat.setCollarColor(DyeColor pColor) private voidTropicalFish.setPatternColor(DyeColor pPatternColor) 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 pRandom) Sheep.getColor()static DyeColorSheep.getRandomSheepColor(ServerLevelAccessor pLevel, BlockPos pPos) static DyeColorSheepColorSpawnRules.getSheepColor(Holder<Biome> pBiome, RandomSource pRandom) Methods in net.minecraft.world.entity.animal.sheep with parameters of type DyeColorModifier and TypeMethodDescriptionprivate static SheepColorSpawnRules.SheepColorProviderSheepColorSpawnRules.commonColors(DyeColor pMainColor) private static intSheep.createSheepColor(DyeColor pColor) 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 pFireworkColor) static DyeColorDyeColor.byId(int pColorId) static DyeColorBannerItem.getColor()static DyeColorDyeItem.getDyeColor()static DyeColorDyeColor.getMixedColor(ServerLevel pLevel, DyeColor pFirst, DyeColor pSecond) 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 pColor) static DyeColorDyeColor.getMixedColor(ServerLevel pLevel, DyeColor pFirst, DyeColor pSecond) private static CraftingInputDyeColor.makeCraftColorInput(DyeColor pFirst, DyeColor pSecond) 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 pColor) static ItemStackShulkerBoxBlock.getColoredItemStack(DyeColor pColor) private static BlockBlocks.registerBed(String pName, DyeColor pColor) private static BlockBlocks.registerStainedGlass(String pName, DyeColor pColor) Constructors in net.minecraft.world.level.block with parameters of type DyeColorModifierConstructorDescriptionAbstractBannerBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) BannerBlock(DyeColor p_49012_, BlockBehaviour.Properties p_49013_) BedBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) ShulkerBoxBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) StainedGlassBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) StainedGlassPaneBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) WallBannerBlock(DyeColor p_57920_, BlockBehaviour.Properties p_57921_) WoolCarpetBlock(DyeColor pColor, BlockBehaviour.Properties pProperties) -
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> pPattern, DyeColor pColor) BannerPatternLayers.Builder.addIfRegistered(HolderGetter<BannerPattern> pPatterns, ResourceKey<BannerPattern> pPatternKey, DyeColor pColor) Deprecated.private static SignTextSignText.load(Component[] pMessages, Optional<Component[]> pFilteredMessages, DyeColor pColor, boolean pHasGlowingText) 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 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
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 pPath) -
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)