Class DataComponentTypes

java.lang.Object
net.minecraft.component.DataComponentTypes

public class DataComponentTypes extends Object
Mappings:
Namespace Name
official jr
intermediary net/minecraft/class_9334
named net/minecraft/component/DataComponentTypes
  • Field Details

    • CUSTOM_DATA

      public static final DataComponentType<NbtComponent> CUSTOM_DATA
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a:Ljq;
      intermediary field_49628 Lnet/minecraft/class_9334;field_49628:Lnet/minecraft/class_9331;
      named CUSTOM_DATA Lnet/minecraft/component/DataComponentTypes;CUSTOM_DATA:Lnet/minecraft/component/DataComponentType;
    • DAMAGE

      public static final DataComponentType<Integer> DAMAGE
      Mappings:
      Namespace Name Mixin selector
      official b Ljr;b:Ljq;
      intermediary field_49629 Lnet/minecraft/class_9334;field_49629:Lnet/minecraft/class_9331;
      named DAMAGE Lnet/minecraft/component/DataComponentTypes;DAMAGE:Lnet/minecraft/component/DataComponentType;
    • UNBREAKABLE

      public static final DataComponentType<UnbreakableComponent> UNBREAKABLE
      Mappings:
      Namespace Name Mixin selector
      official c Ljr;c:Ljq;
      intermediary field_49630 Lnet/minecraft/class_9334;field_49630:Lnet/minecraft/class_9331;
      named UNBREAKABLE Lnet/minecraft/component/DataComponentTypes;UNBREAKABLE:Lnet/minecraft/component/DataComponentType;
    • CUSTOM_NAME

      public static final DataComponentType<Text> CUSTOM_NAME
      Mappings:
      Namespace Name Mixin selector
      official d Ljr;d:Ljq;
      intermediary field_49631 Lnet/minecraft/class_9334;field_49631:Lnet/minecraft/class_9331;
      named CUSTOM_NAME Lnet/minecraft/component/DataComponentTypes;CUSTOM_NAME:Lnet/minecraft/component/DataComponentType;
    • LORE

      public static final DataComponentType<LoreComponent> LORE
      Mappings:
      Namespace Name Mixin selector
      official e Ljr;e:Ljq;
      intermediary field_49632 Lnet/minecraft/class_9334;field_49632:Lnet/minecraft/class_9331;
      named LORE Lnet/minecraft/component/DataComponentTypes;LORE:Lnet/minecraft/component/DataComponentType;
    • ENCHANTMENTS

      public static final DataComponentType<ItemEnchantmentsComponent> ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      official f Ljr;f:Ljq;
      intermediary field_49633 Lnet/minecraft/class_9334;field_49633:Lnet/minecraft/class_9331;
      named ENCHANTMENTS Lnet/minecraft/component/DataComponentTypes;ENCHANTMENTS:Lnet/minecraft/component/DataComponentType;
    • CAN_PLACE_ON

      public static final DataComponentType<BlockPredicatesChecker> CAN_PLACE_ON
      Mappings:
      Namespace Name Mixin selector
      official g Ljr;g:Ljq;
      intermediary field_49634 Lnet/minecraft/class_9334;field_49634:Lnet/minecraft/class_9331;
      named CAN_PLACE_ON Lnet/minecraft/component/DataComponentTypes;CAN_PLACE_ON:Lnet/minecraft/component/DataComponentType;
    • CAN_BREAK

      public static final DataComponentType<BlockPredicatesChecker> CAN_BREAK
      Mappings:
      Namespace Name Mixin selector
      official h Ljr;h:Ljq;
      intermediary field_49635 Lnet/minecraft/class_9334;field_49635:Lnet/minecraft/class_9331;
      named CAN_BREAK Lnet/minecraft/component/DataComponentTypes;CAN_BREAK:Lnet/minecraft/component/DataComponentType;
    • ATTRIBUTE_MODIFIERS

      public static final DataComponentType<AttributeModifiersComponent> ATTRIBUTE_MODIFIERS
      Mappings:
      Namespace Name Mixin selector
      official i Ljr;i:Ljq;
      intermediary field_49636 Lnet/minecraft/class_9334;field_49636:Lnet/minecraft/class_9331;
      named ATTRIBUTE_MODIFIERS Lnet/minecraft/component/DataComponentTypes;ATTRIBUTE_MODIFIERS:Lnet/minecraft/component/DataComponentType;
    • CUSTOM_MODEL_DATA

      public static final DataComponentType<CustomModelDataComponent> CUSTOM_MODEL_DATA
      Mappings:
      Namespace Name Mixin selector
      official j Ljr;j:Ljq;
      intermediary field_49637 Lnet/minecraft/class_9334;field_49637:Lnet/minecraft/class_9331;
      named CUSTOM_MODEL_DATA Lnet/minecraft/component/DataComponentTypes;CUSTOM_MODEL_DATA:Lnet/minecraft/component/DataComponentType;
    • HIDE_ADDITIONAL_TOOLTIP

      public static final DataComponentType<Unit> HIDE_ADDITIONAL_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      official k Ljr;k:Ljq;
      intermediary field_49638 Lnet/minecraft/class_9334;field_49638:Lnet/minecraft/class_9331;
      named HIDE_ADDITIONAL_TOOLTIP Lnet/minecraft/component/DataComponentTypes;HIDE_ADDITIONAL_TOOLTIP:Lnet/minecraft/component/DataComponentType;
    • REPAIR_COST

      public static final DataComponentType<Integer> REPAIR_COST
      Mappings:
      Namespace Name Mixin selector
      official l Ljr;l:Ljq;
      intermediary field_49639 Lnet/minecraft/class_9334;field_49639:Lnet/minecraft/class_9331;
      named REPAIR_COST Lnet/minecraft/component/DataComponentTypes;REPAIR_COST:Lnet/minecraft/component/DataComponentType;
    • CREATIVE_SLOT_LOCK

      public static final DataComponentType<Unit> CREATIVE_SLOT_LOCK
      Mappings:
      Namespace Name Mixin selector
      official m Ljr;m:Ljq;
      intermediary field_49640 Lnet/minecraft/class_9334;field_49640:Lnet/minecraft/class_9331;
      named CREATIVE_SLOT_LOCK Lnet/minecraft/component/DataComponentTypes;CREATIVE_SLOT_LOCK:Lnet/minecraft/component/DataComponentType;
    • ENCHANTMENT_GLINT_OVERRIDE

      public static final DataComponentType<Boolean> ENCHANTMENT_GLINT_OVERRIDE
      Mappings:
      Namespace Name Mixin selector
      official n Ljr;n:Ljq;
      intermediary field_49641 Lnet/minecraft/class_9334;field_49641:Lnet/minecraft/class_9331;
      named ENCHANTMENT_GLINT_OVERRIDE Lnet/minecraft/component/DataComponentTypes;ENCHANTMENT_GLINT_OVERRIDE:Lnet/minecraft/component/DataComponentType;
    • INTANGIBLE_PROJECTILE

      public static final DataComponentType<Unit> INTANGIBLE_PROJECTILE
      Mappings:
      Namespace Name Mixin selector
      official o Ljr;o:Ljq;
      intermediary field_49642 Lnet/minecraft/class_9334;field_49642:Lnet/minecraft/class_9331;
      named INTANGIBLE_PROJECTILE Lnet/minecraft/component/DataComponentTypes;INTANGIBLE_PROJECTILE:Lnet/minecraft/component/DataComponentType;
    • STORED_ENCHANTMENTS

      public static final DataComponentType<ItemEnchantmentsComponent> STORED_ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      official p Ljr;p:Ljq;
      intermediary field_49643 Lnet/minecraft/class_9334;field_49643:Lnet/minecraft/class_9331;
      named STORED_ENCHANTMENTS Lnet/minecraft/component/DataComponentTypes;STORED_ENCHANTMENTS:Lnet/minecraft/component/DataComponentType;
    • DYED_COLOR

      public static final DataComponentType<DyedColorComponent> DYED_COLOR
      Mappings:
      Namespace Name Mixin selector
      official q Ljr;q:Ljq;
      intermediary field_49644 Lnet/minecraft/class_9334;field_49644:Lnet/minecraft/class_9331;
      named DYED_COLOR Lnet/minecraft/component/DataComponentTypes;DYED_COLOR:Lnet/minecraft/component/DataComponentType;
    • MAP_COLOR

      public static final DataComponentType<MapColorComponent> MAP_COLOR
      Mappings:
      Namespace Name Mixin selector
      official r Ljr;r:Ljq;
      intermediary field_49645 Lnet/minecraft/class_9334;field_49645:Lnet/minecraft/class_9331;
      named MAP_COLOR Lnet/minecraft/component/DataComponentTypes;MAP_COLOR:Lnet/minecraft/component/DataComponentType;
    • MAP_ID

      public static final DataComponentType<MapIdComponent> MAP_ID
      Mappings:
      Namespace Name Mixin selector
      official s Ljr;s:Ljq;
      intermediary field_49646 Lnet/minecraft/class_9334;field_49646:Lnet/minecraft/class_9331;
      named MAP_ID Lnet/minecraft/component/DataComponentTypes;MAP_ID:Lnet/minecraft/component/DataComponentType;
    • MAP_DECORATIONS

      public static final DataComponentType<MapDecorationsComponent> MAP_DECORATIONS
      Mappings:
      Namespace Name Mixin selector
      official t Ljr;t:Ljq;
      intermediary field_49647 Lnet/minecraft/class_9334;field_49647:Lnet/minecraft/class_9331;
      named MAP_DECORATIONS Lnet/minecraft/component/DataComponentTypes;MAP_DECORATIONS:Lnet/minecraft/component/DataComponentType;
    • MAP_POST_PROCESSING

      public static final DataComponentType<MapPostProcessingComponent> MAP_POST_PROCESSING
      Mappings:
      Namespace Name Mixin selector
      official u Ljr;u:Ljq;
      intermediary field_49648 Lnet/minecraft/class_9334;field_49648:Lnet/minecraft/class_9331;
      named MAP_POST_PROCESSING Lnet/minecraft/component/DataComponentTypes;MAP_POST_PROCESSING:Lnet/minecraft/component/DataComponentType;
    • CHARGED_PROJECTILES

      public static final DataComponentType<ChargedProjectilesComponent> CHARGED_PROJECTILES
      Mappings:
      Namespace Name Mixin selector
      official v Ljr;v:Ljq;
      intermediary field_49649 Lnet/minecraft/class_9334;field_49649:Lnet/minecraft/class_9331;
      named CHARGED_PROJECTILES Lnet/minecraft/component/DataComponentTypes;CHARGED_PROJECTILES:Lnet/minecraft/component/DataComponentType;
    • BUNDLE_CONTENTS

      public static final DataComponentType<BundleContentsComponent> BUNDLE_CONTENTS
      Mappings:
      Namespace Name Mixin selector
      official w Ljr;w:Ljq;
      intermediary field_49650 Lnet/minecraft/class_9334;field_49650:Lnet/minecraft/class_9331;
      named BUNDLE_CONTENTS Lnet/minecraft/component/DataComponentTypes;BUNDLE_CONTENTS:Lnet/minecraft/component/DataComponentType;
    • POTION_CONTENTS

      public static final DataComponentType<PotionContentsComponent> POTION_CONTENTS
      Mappings:
      Namespace Name Mixin selector
      official x Ljr;x:Ljq;
      intermediary field_49651 Lnet/minecraft/class_9334;field_49651:Lnet/minecraft/class_9331;
      named POTION_CONTENTS Lnet/minecraft/component/DataComponentTypes;POTION_CONTENTS:Lnet/minecraft/component/DataComponentType;
    • SUSPICIOUS_STEW_EFFECTS

      public static final DataComponentType<SuspiciousStewEffectsComponent> SUSPICIOUS_STEW_EFFECTS
      Mappings:
      Namespace Name Mixin selector
      official y Ljr;y:Ljq;
      intermediary field_49652 Lnet/minecraft/class_9334;field_49652:Lnet/minecraft/class_9331;
      named SUSPICIOUS_STEW_EFFECTS Lnet/minecraft/component/DataComponentTypes;SUSPICIOUS_STEW_EFFECTS:Lnet/minecraft/component/DataComponentType;
    • WRITABLE_BOOK_CONTENT

      public static final DataComponentType<WritableBookContentComponent> WRITABLE_BOOK_CONTENT
      Mappings:
      Namespace Name Mixin selector
      official z Ljr;z:Ljq;
      intermediary field_49653 Lnet/minecraft/class_9334;field_49653:Lnet/minecraft/class_9331;
      named WRITABLE_BOOK_CONTENT Lnet/minecraft/component/DataComponentTypes;WRITABLE_BOOK_CONTENT:Lnet/minecraft/component/DataComponentType;
    • WRITTEN_BOOK_CONTENT

      public static final DataComponentType<WrittenBookContentComponent> WRITTEN_BOOK_CONTENT
      Mappings:
      Namespace Name Mixin selector
      official A Ljr;A:Ljq;
      intermediary field_49606 Lnet/minecraft/class_9334;field_49606:Lnet/minecraft/class_9331;
      named WRITTEN_BOOK_CONTENT Lnet/minecraft/component/DataComponentTypes;WRITTEN_BOOK_CONTENT:Lnet/minecraft/component/DataComponentType;
    • TRIM

      public static final DataComponentType<ArmorTrim> TRIM
      Mappings:
      Namespace Name Mixin selector
      official B Ljr;B:Ljq;
      intermediary field_49607 Lnet/minecraft/class_9334;field_49607:Lnet/minecraft/class_9331;
      named TRIM Lnet/minecraft/component/DataComponentTypes;TRIM:Lnet/minecraft/component/DataComponentType;
    • DEBUG_STICK_STATE

      public static final DataComponentType<DebugStickStateComponent> DEBUG_STICK_STATE
      Mappings:
      Namespace Name Mixin selector
      official C Ljr;C:Ljq;
      intermediary field_49608 Lnet/minecraft/class_9334;field_49608:Lnet/minecraft/class_9331;
      named DEBUG_STICK_STATE Lnet/minecraft/component/DataComponentTypes;DEBUG_STICK_STATE:Lnet/minecraft/component/DataComponentType;
    • ENTITY_DATA

      public static final DataComponentType<NbtComponent> ENTITY_DATA
      Mappings:
      Namespace Name Mixin selector
      official D Ljr;D:Ljq;
      intermediary field_49609 Lnet/minecraft/class_9334;field_49609:Lnet/minecraft/class_9331;
      named ENTITY_DATA Lnet/minecraft/component/DataComponentTypes;ENTITY_DATA:Lnet/minecraft/component/DataComponentType;
    • BUCKET_ENTITY_DATA

      public static final DataComponentType<NbtComponent> BUCKET_ENTITY_DATA
      Mappings:
      Namespace Name Mixin selector
      official E Ljr;E:Ljq;
      intermediary field_49610 Lnet/minecraft/class_9334;field_49610:Lnet/minecraft/class_9331;
      named BUCKET_ENTITY_DATA Lnet/minecraft/component/DataComponentTypes;BUCKET_ENTITY_DATA:Lnet/minecraft/component/DataComponentType;
    • BLOCK_ENTITY_DATA

      public static final DataComponentType<NbtComponent> BLOCK_ENTITY_DATA
      Mappings:
      Namespace Name Mixin selector
      official F Ljr;F:Ljq;
      intermediary field_49611 Lnet/minecraft/class_9334;field_49611:Lnet/minecraft/class_9331;
      named BLOCK_ENTITY_DATA Lnet/minecraft/component/DataComponentTypes;BLOCK_ENTITY_DATA:Lnet/minecraft/component/DataComponentType;
    • INSTRUMENT

      public static final DataComponentType<RegistryEntry<Instrument>> INSTRUMENT
      Mappings:
      Namespace Name Mixin selector
      official G Ljr;G:Ljq;
      intermediary field_49612 Lnet/minecraft/class_9334;field_49612:Lnet/minecraft/class_9331;
      named INSTRUMENT Lnet/minecraft/component/DataComponentTypes;INSTRUMENT:Lnet/minecraft/component/DataComponentType;
    • RECIPES

      public static final DataComponentType<List<Identifier>> RECIPES
      Mappings:
      Namespace Name Mixin selector
      official H Ljr;H:Ljq;
      intermediary field_49613 Lnet/minecraft/class_9334;field_49613:Lnet/minecraft/class_9331;
      named RECIPES Lnet/minecraft/component/DataComponentTypes;RECIPES:Lnet/minecraft/component/DataComponentType;
    • LODESTONE_TRACKER

      public static final DataComponentType<LodestoneTargetComponent> LODESTONE_TRACKER
      Mappings:
      Namespace Name Mixin selector
      official I Ljr;I:Ljq;
      intermediary field_49614 Lnet/minecraft/class_9334;field_49614:Lnet/minecraft/class_9331;
      named LODESTONE_TRACKER Lnet/minecraft/component/DataComponentTypes;LODESTONE_TRACKER:Lnet/minecraft/component/DataComponentType;
    • FIREWORK_EXPLOSION

      public static final DataComponentType<FireworkExplosionComponent> FIREWORK_EXPLOSION
      Mappings:
      Namespace Name Mixin selector
      official J Ljr;J:Ljq;
      intermediary field_49615 Lnet/minecraft/class_9334;field_49615:Lnet/minecraft/class_9331;
      named FIREWORK_EXPLOSION Lnet/minecraft/component/DataComponentTypes;FIREWORK_EXPLOSION:Lnet/minecraft/component/DataComponentType;
    • FIREWORKS

      public static final DataComponentType<FireworksComponent> FIREWORKS
      Mappings:
      Namespace Name Mixin selector
      official K Ljr;K:Ljq;
      intermediary field_49616 Lnet/minecraft/class_9334;field_49616:Lnet/minecraft/class_9331;
      named FIREWORKS Lnet/minecraft/component/DataComponentTypes;FIREWORKS:Lnet/minecraft/component/DataComponentType;
    • PROFILE

      public static final DataComponentType<ProfileComponent> PROFILE
      Mappings:
      Namespace Name Mixin selector
      official L Ljr;L:Ljq;
      intermediary field_49617 Lnet/minecraft/class_9334;field_49617:Lnet/minecraft/class_9331;
      named PROFILE Lnet/minecraft/component/DataComponentTypes;PROFILE:Lnet/minecraft/component/DataComponentType;
    • NOTE_BLOCK_SOUND

      public static final DataComponentType<Identifier> NOTE_BLOCK_SOUND
      Mappings:
      Namespace Name Mixin selector
      official M Ljr;M:Ljq;
      intermediary field_49618 Lnet/minecraft/class_9334;field_49618:Lnet/minecraft/class_9331;
      named NOTE_BLOCK_SOUND Lnet/minecraft/component/DataComponentTypes;NOTE_BLOCK_SOUND:Lnet/minecraft/component/DataComponentType;
    • BASE_COLOR

      public static final DataComponentType<DyeColor> BASE_COLOR
      Mappings:
      Namespace Name Mixin selector
      official O Ljr;O:Ljq;
      intermediary field_49620 Lnet/minecraft/class_9334;field_49620:Lnet/minecraft/class_9331;
      named BASE_COLOR Lnet/minecraft/component/DataComponentTypes;BASE_COLOR:Lnet/minecraft/component/DataComponentType;
    • POT_DECORATIONS

      public static final DataComponentType<Sherds> POT_DECORATIONS
      Mappings:
      Namespace Name Mixin selector
      official P Ljr;P:Ljq;
      intermediary field_49621 Lnet/minecraft/class_9334;field_49621:Lnet/minecraft/class_9331;
      named POT_DECORATIONS Lnet/minecraft/component/DataComponentTypes;POT_DECORATIONS:Lnet/minecraft/component/DataComponentType;
    • CONTAINER

      public static final DataComponentType<ContainerComponent> CONTAINER
      Mappings:
      Namespace Name Mixin selector
      official Q Ljr;Q:Ljq;
      intermediary field_49622 Lnet/minecraft/class_9334;field_49622:Lnet/minecraft/class_9331;
      named CONTAINER Lnet/minecraft/component/DataComponentTypes;CONTAINER:Lnet/minecraft/component/DataComponentType;
    • BLOCK_STATE

      public static final DataComponentType<BlockStateComponent> BLOCK_STATE
      Mappings:
      Namespace Name Mixin selector
      official R Ljr;R:Ljq;
      intermediary field_49623 Lnet/minecraft/class_9334;field_49623:Lnet/minecraft/class_9331;
      named BLOCK_STATE Lnet/minecraft/component/DataComponentTypes;BLOCK_STATE:Lnet/minecraft/component/DataComponentType;
    • BEES

      Mappings:
      Namespace Name Mixin selector
      official S Ljr;S:Ljq;
      intermediary field_49624 Lnet/minecraft/class_9334;field_49624:Lnet/minecraft/class_9331;
      named BEES Lnet/minecraft/component/DataComponentTypes;BEES:Lnet/minecraft/component/DataComponentType;
    • LOCK

      public static final DataComponentType<ContainerLock> LOCK
      Mappings:
      Namespace Name Mixin selector
      official T Ljr;T:Ljq;
      intermediary field_49625 Lnet/minecraft/class_9334;field_49625:Lnet/minecraft/class_9331;
      named LOCK Lnet/minecraft/component/DataComponentTypes;LOCK:Lnet/minecraft/component/DataComponentType;
    • CONTAINER_LOOT

      public static final DataComponentType<ContainerLootComponent> CONTAINER_LOOT
      Mappings:
      Namespace Name Mixin selector
      official U Ljr;U:Ljq;
      intermediary field_49626 Lnet/minecraft/class_9334;field_49626:Lnet/minecraft/class_9331;
      named CONTAINER_LOOT Lnet/minecraft/component/DataComponentTypes;CONTAINER_LOOT:Lnet/minecraft/component/DataComponentType;
    • DEFAULT_ITEM_COMPONENTS

      public static final ComponentMap DEFAULT_ITEM_COMPONENTS
      Mappings:
      Namespace Name Mixin selector
      official V Ljr;V:Ljn;
      intermediary field_49627 Lnet/minecraft/class_9334;field_49627:Lnet/minecraft/class_9323;
      named DEFAULT_ITEM_COMPONENTS Lnet/minecraft/component/DataComponentTypes;DEFAULT_ITEM_COMPONENTS:Lnet/minecraft/component/ComponentMap;
  • Constructor Details

    • DataComponentTypes

      public DataComponentTypes()
  • Method Details

    • getDefault

      public static DataComponentType<?> getDefault(Registry<DataComponentType<?>> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lja;)Ljq;
      intermediary method_57905 Lnet/minecraft/class_9334;method_57905(Lnet/minecraft/class_2378;)Lnet/minecraft/class_9331;
      named getDefault Lnet/minecraft/component/DataComponentTypes;getDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/component/DataComponentType;
    • register

      private static <T> DataComponentType<T> register(String id, UnaryOperator<DataComponentType.Builder<T>> builderOperator)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/lang/String;Ljava/util/function/UnaryOperator;)Ljq;
      intermediary method_57906 Lnet/minecraft/class_9334;method_57906(Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lnet/minecraft/class_9331;
      named register Lnet/minecraft/component/DataComponentTypes;register(Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lnet/minecraft/component/DataComponentType;