Package net.minecraft.core.component
Class DataComponents
java.lang.Object
net.minecraft.core.component.DataComponents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataComponentType<ItemAttributeModifiers> static final DataComponentType<Axolotl.Variant> static final DataComponentType<BannerPatternLayers> static final DataComponentType<DyeColor> static final DataComponentType<Bees> static final DataComponentType<CustomData> static final DataComponentType<BlockItemStateProperties> static final DataComponentType<BlocksAttacks> static final DataComponentType<Holder<SoundEvent>> static final DataComponentType<CustomData> static final DataComponentType<BundleContents> static final DataComponentType<AdventureModePredicate> static final DataComponentType<AdventureModePredicate> static final DataComponentType<DyeColor> static final DataComponentType<Holder<CatVariant>> static final DataComponentType<ChargedProjectiles> static final DataComponentType<EitherHolder<ChickenVariant>> static final DataComponentMapstatic final DataComponentType<Consumable> static final DataComponentType<ItemContainerContents> static final DataComponentType<SeededContainerLoot> static final DataComponentType<Holder<CowVariant>> static final DataComponentType<Unit> static final DataComponentType<CustomData> static final DataComponentType<CustomModelData> static final DataComponentType<Component> static final DataComponentType<Integer> static final DataComponentType<DamageResistant> static final DataComponentType<DeathProtection> static final DataComponentType<DebugStickState> static final DataComponentType<DyedItemColor> static final DataComponentType<Enchantable> static final DataComponentType<Boolean> static final DataComponentType<ItemEnchantments> (package private) static final EncoderCachestatic final DataComponentType<CustomData> static final DataComponentType<Equippable> static final DataComponentType<FireworkExplosion> static final DataComponentType<Fireworks> static final DataComponentType<FoodProperties> static final DataComponentType<Fox.Variant> static final DataComponentType<Holder<FrogVariant>> static final DataComponentType<Unit> static final DataComponentType<Variant> static final DataComponentType<InstrumentComponent> static final DataComponentType<Unit> static final DataComponentType<ResourceLocation> static final DataComponentType<Component> static final DataComponentType<JukeboxPlayable> static final DataComponentType<Llama.Variant> static final DataComponentType<LockCode> static final DataComponentType<LodestoneTracker> static final DataComponentType<ItemLore> static final DataComponentType<MapItemColor> static final DataComponentType<MapDecorations> static final DataComponentType<MapId> static final DataComponentType<MapPostProcessing> static final DataComponentType<Integer> static final DataComponentType<Integer> static final DataComponentType<MushroomCow.Variant> static final DataComponentType<ResourceLocation> static final DataComponentType<OminousBottleAmplifier> static final DataComponentType<Holder<PaintingVariant>> static final DataComponentType<Parrot.Variant> static final DataComponentType<Holder<PigVariant>> static final DataComponentType<PotDecorations> static final DataComponentType<PotionContents> static final DataComponentType<Float> static final DataComponentType<ResolvableProfile> static final DataComponentType<TagKey<BannerPattern>> static final DataComponentType<ProvidesTrimMaterial> static final DataComponentType<Rabbit.Variant> static final DataComponentType<Rarity> static final DataComponentType<List<ResourceKey<Recipe<?>>>> static final DataComponentType<Integer> static final DataComponentType<Repairable> static final DataComponentType<Salmon.Variant> static final DataComponentType<DyeColor> static final DataComponentType<DyeColor> static final DataComponentType<ItemEnchantments> static final DataComponentType<SuspiciousStewEffects> static final DataComponentType<Tool> static final DataComponentType<TooltipDisplay> static final DataComponentType<ResourceLocation> static final DataComponentType<ArmorTrim> static final DataComponentType<DyeColor> static final DataComponentType<TropicalFish.Pattern> static final DataComponentType<DyeColor> static final DataComponentType<Unit> static final DataComponentType<UseCooldown> static final DataComponentType<UseRemainder> static final DataComponentType<Holder<VillagerType>> static final DataComponentType<Weapon> static final DataComponentType<DyeColor> static final DataComponentType<Holder<WolfSoundVariant>> static final DataComponentType<Holder<WolfVariant>> static final DataComponentType<WritableBookContent> static final DataComponentType<WrittenBookContent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentType<?> bootstrap(Registry<DataComponentType<?>> pRegistry) private static <T> DataComponentType<T> register(String pName, UnaryOperator<DataComponentType.Builder<T>> pBuilder)
-
Field Details
-
ENCODER_CACHE
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
CUSTOM_NAME
-
ITEM_NAME
-
ITEM_MODEL
-
LORE
-
RARITY
-
ENCHANTMENTS
-
CAN_PLACE_ON
-
CAN_BREAK
-
ATTRIBUTE_MODIFIERS
-
CUSTOM_MODEL_DATA
-
TOOLTIP_DISPLAY
-
REPAIR_COST
-
CREATIVE_SLOT_LOCK
-
ENCHANTMENT_GLINT_OVERRIDE
-
INTANGIBLE_PROJECTILE
-
FOOD
-
CONSUMABLE
-
USE_REMAINDER
-
USE_COOLDOWN
-
DAMAGE_RESISTANT
-
TOOL
-
WEAPON
-
ENCHANTABLE
-
EQUIPPABLE
-
REPAIRABLE
-
GLIDER
-
TOOLTIP_STYLE
-
DEATH_PROTECTION
-
BLOCKS_ATTACKS
-
STORED_ENCHANTMENTS
-
DYED_COLOR
-
MAP_COLOR
-
MAP_ID
-
MAP_DECORATIONS
-
MAP_POST_PROCESSING
-
CHARGED_PROJECTILES
-
BUNDLE_CONTENTS
-
POTION_CONTENTS
-
POTION_DURATION_SCALE
-
SUSPICIOUS_STEW_EFFECTS
-
WRITABLE_BOOK_CONTENT
-
WRITTEN_BOOK_CONTENT
-
TRIM
-
DEBUG_STICK_STATE
-
ENTITY_DATA
-
BUCKET_ENTITY_DATA
-
BLOCK_ENTITY_DATA
-
INSTRUMENT
-
PROVIDES_TRIM_MATERIAL
-
OMINOUS_BOTTLE_AMPLIFIER
-
JUKEBOX_PLAYABLE
-
PROVIDES_BANNER_PATTERNS
-
RECIPES
-
LODESTONE_TRACKER
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
PROFILE
-
NOTE_BLOCK_SOUND
-
BANNER_PATTERNS
-
BASE_COLOR
-
POT_DECORATIONS
-
CONTAINER
-
BLOCK_STATE
-
BEES
-
LOCK
-
CONTAINER_LOOT
-
BREAK_SOUND
-
VILLAGER_VARIANT
-
WOLF_VARIANT
-
WOLF_SOUND_VARIANT
-
WOLF_COLLAR
-
FOX_VARIANT
-
SALMON_SIZE
-
PARROT_VARIANT
-
TROPICAL_FISH_PATTERN
-
TROPICAL_FISH_BASE_COLOR
-
TROPICAL_FISH_PATTERN_COLOR
-
MOOSHROOM_VARIANT
-
RABBIT_VARIANT
-
PIG_VARIANT
-
COW_VARIANT
-
CHICKEN_VARIANT
-
FROG_VARIANT
-
HORSE_VARIANT
-
PAINTING_VARIANT
-
LLAMA_VARIANT
-
AXOLOTL_VARIANT
-
CAT_VARIANT
-
CAT_COLLAR
-
SHEEP_COLOR
-
SHULKER_COLOR
-
COMMON_ITEM_COMPONENTS
-
-
Constructor Details
-
DataComponents
public DataComponents()
-
-
Method Details
-
bootstrap
-
register
private static <T> DataComponentType<T> register(String pName, UnaryOperator<DataComponentType.Builder<T>> pBuilder)
-