net.minecraft.component

public class DataComponentTypes

net.minecraft.core.component.DataComponents
net.minecraft.core.component.DataComponents
net.minecraft.class_9334
net.minecraft.component.DataComponentTypes

Field summary

Modifier and TypeField
static final CodecCache
ENCODER_CACHE
ENCODER_CACHE
field_51518
CACHE
public static final ComponentType<NbtComponent>
CUSTOM_DATA
CUSTOM_DATA
field_49628
CUSTOM_DATA
public static final ComponentType<Integer>
MAX_STACK_SIZE
MAX_STACK_SIZE
field_50071
MAX_STACK_SIZE
public static final ComponentType<Integer>
MAX_DAMAGE
MAX_DAMAGE
field_50072
MAX_DAMAGE
public static final ComponentType<Integer>
DAMAGE
DAMAGE
field_49629
DAMAGE
public static final ComponentType<Unit>
UNBREAKABLE
UNBREAKABLE
field_49630
UNBREAKABLE
public static final ComponentType<UseEffectsComponent>
USE_EFFECTS
USE_EFFECTS
field_63634
USE_EFFECTS
public static final ComponentType<Text>
CUSTOM_NAME
CUSTOM_NAME
field_49631
CUSTOM_NAME
public static final ComponentType<Float>
MINIMUM_ATTACK_CHARGE
MINIMUM_ATTACK_CHARGE
field_63635
MINIMUM_ATTACK_CHARGE
public static final ComponentType<RegistryEntry<DamageType>>
DAMAGE_TYPE
DAMAGE_TYPE
field_63636
DAMAGE_TYPE
public static final ComponentType<Text>
ITEM_NAME
ITEM_NAME
field_50239
ITEM_NAME
public static final ComponentType<Identifier>
ITEM_MODEL
ITEM_MODEL
field_54199
ITEM_MODEL
public static final ComponentType<LoreComponent>
LORE
LORE
field_49632
LORE
public static final ComponentType<Rarity>
RARITY
RARITY
field_50073
RARITY
public static final ComponentType<ItemEnchantmentsComponent>
ENCHANTMENTS
ENCHANTMENTS
field_49633
ENCHANTMENTS
public static final ComponentType<BlockPredicatesComponent>
CAN_PLACE_ON
CAN_PLACE_ON
field_49634
CAN_PLACE_ON
public static final ComponentType<BlockPredicatesComponent>
CAN_BREAK
CAN_BREAK
field_49635
CAN_BREAK
public static final ComponentType<AttributeModifiersComponent>
ATTRIBUTE_MODIFIERS
ATTRIBUTE_MODIFIERS
field_49636
ATTRIBUTE_MODIFIERS
public static final ComponentType<CustomModelDataComponent>
CUSTOM_MODEL_DATA
CUSTOM_MODEL_DATA
field_49637
CUSTOM_MODEL_DATA
public static final ComponentType<TooltipDisplayComponent>
TOOLTIP_DISPLAY
TOOLTIP_DISPLAY
field_56400
TOOLTIP_DISPLAY
public static final ComponentType<Integer>
REPAIR_COST
REPAIR_COST
field_49639
REPAIR_COST
public static final ComponentType<Unit>
CREATIVE_SLOT_LOCK
CREATIVE_SLOT_LOCK
field_49640
CREATIVE_SLOT_LOCK
public static final ComponentType<Boolean>
ENCHANTMENT_GLINT_OVERRIDE
ENCHANTMENT_GLINT_OVERRIDE
field_49641
ENCHANTMENT_GLINT_OVERRIDE
public static final ComponentType<Unit>
INTANGIBLE_PROJECTILE
INTANGIBLE_PROJECTILE
field_49642
INTANGIBLE_PROJECTILE
public static final ComponentType<FoodComponent>
FOOD
FOOD
field_50075
FOOD
public static final ComponentType<ConsumableComponent>
CONSUMABLE
CONSUMABLE
field_53964
CONSUMABLE
public static final ComponentType<UseRemainderComponent>
USE_REMAINDER
USE_REMAINDER
field_53965
USE_REMAINDER
public static final ComponentType<UseCooldownComponent>
USE_COOLDOWN
USE_COOLDOWN
field_53966
USE_COOLDOWN
public static final ComponentType<DamageResistantComponent>
DAMAGE_RESISTANT
DAMAGE_RESISTANT
field_54273
DAMAGE_RESISTANT
public static final ComponentType<ToolComponent>
TOOL
TOOL
field_50077
TOOL
public static final ComponentType<WeaponComponent>
WEAPON
WEAPON
field_55878
WEAPON
public static final ComponentType<AttackRangeComponent>
ATTACK_RANGE
ATTACK_RANGE
field_64680
ATTACK_RANGE
public static final ComponentType<EnchantableComponent>
ENCHANTABLE
ENCHANTABLE
field_53695
ENCHANTABLE
public static final ComponentType<EquippableComponent>
EQUIPPABLE
EQUIPPABLE
field_54196
EQUIPPABLE
public static final ComponentType<RepairableComponent>
REPAIRABLE
REPAIRABLE
field_53696
REPAIRABLE
public static final ComponentType<Unit>
GLIDER
GLIDER
field_54197
GLIDER
public static final ComponentType<Identifier>
TOOLTIP_STYLE
TOOLTIP_STYLE
field_54198
TOOLTIP_STYLE
public static final ComponentType<DeathProtectionComponent>
DEATH_PROTECTION
DEATH_PROTECTION
field_54274
DEATH_PROTECTION
public static final ComponentType<BlocksAttacksComponent>
BLOCKS_ATTACKS
BLOCKS_ATTACKS
field_56396
BLOCKS_ATTACKS
public static final ComponentType<PiercingWeaponComponent>
PIERCING_WEAPON
PIERCING_WEAPON
field_63631
PIERCING_WEAPON
public static final ComponentType<KineticWeaponComponent>
KINETIC_WEAPON
KINETIC_WEAPON
field_63632
KINETIC_WEAPON
public static final ComponentType<SwingAnimationComponent>
ATTACK_ANIMATION
ATTACK_ANIMATION
field_1_9786
ATTACK_ANIMATION
public static final ComponentType<SwingAnimationComponent>
INTERACT_ANIMATION
INTERACT_ANIMATION
field_1_9787
INTERACT_ANIMATION
public static final ComponentType<Integer>
ADDITIONAL_TRADE_COST
ADDITIONAL_TRADE_COST
field_1_207
ADDITIONAL_TRADE_COST
public static final ComponentType<RegistryEntry<BlockTransformerComponent>>
BLOCK_TRANSFORMER
BLOCK_TRANSFORMER
field_1_7986
BLOCK_TRANSFORMER
public static final ComponentType<VillagerFoodComponent>
VILLAGER_FOOD
VILLAGER_FOOD
field_1_9028
VILLAGER_FOOD
public static final ComponentType<ItemEnchantmentsComponent>
STORED_ENCHANTMENTS
STORED_ENCHANTMENTS
field_49643
STORED_ENCHANTMENTS
public static final ComponentType<DyeColor>
DYE
DYE
field_1_1158
DYE
public static final ComponentType<DyedColorComponent>
DYED_COLOR
DYED_COLOR
field_49644
DYED_COLOR
public static final ComponentType<MapIdComponent>
MAP_ID
MAP_ID
field_49646
MAP_ID
public static final ComponentType<MapDecorationsComponent>
MAP_DECORATIONS
MAP_DECORATIONS
field_49647
MAP_DECORATIONS
public static final ComponentType<MapPostProcessingComponent>
MAP_POST_PROCESSING
MAP_POST_PROCESSING
field_49648
MAP_POST_PROCESSING
public static final ComponentType<ChargedProjectilesComponent>
CHARGED_PROJECTILES
CHARGED_PROJECTILES
field_49649
CHARGED_PROJECTILES
public static final ComponentType<BundleContentsComponent>
BUNDLE_CONTENTS
BUNDLE_CONTENTS
field_49650
BUNDLE_CONTENTS
public static final ComponentType<PotionContentsComponent>
POTION_CONTENTS
POTION_CONTENTS
field_49651
POTION_CONTENTS
public static final ComponentType<Float>
POTION_DURATION_SCALE
POTION_DURATION_SCALE
field_55879
POTION_DURATION_SCALE
public static final ComponentType<SuspiciousStewEffectsComponent>
SUSPICIOUS_STEW_EFFECTS
SUSPICIOUS_STEW_EFFECTS
field_49652
SUSPICIOUS_STEW_EFFECTS
public static final ComponentType<WritableBookContentComponent>
WRITABLE_BOOK_CONTENT
WRITABLE_BOOK_CONTENT
field_49653
WRITABLE_BOOK_CONTENT
public static final ComponentType<WrittenBookContentComponent>
WRITTEN_BOOK_CONTENT
WRITTEN_BOOK_CONTENT
field_49606
WRITTEN_BOOK_CONTENT
public static final ComponentType<ArmorTrim>
TRIM
TRIM
field_49607
TRIM
public static final ComponentType<DebugStickStateComponent>
DEBUG_STICK_STATE
DEBUG_STICK_STATE
field_49608
DEBUG_STICK_STATE
public static final ComponentType<TypedEntityData<EntityType<?>>>
ENTITY_DATA
ENTITY_DATA
field_49609
ENTITY_DATA
public static final ComponentType<NbtComponent>
BUCKET_ENTITY_DATA
BUCKET_ENTITY_DATA
field_49610
BUCKET_ENTITY_DATA
public static final ComponentType<TypedEntityData<BlockEntityType<?>>>
BLOCK_ENTITY_DATA
BLOCK_ENTITY_DATA
field_49611
BLOCK_ENTITY_DATA
public static final ComponentType<InstrumentComponent>
INSTRUMENT
INSTRUMENT
field_49612
INSTRUMENT
public static final ComponentType<RegistryEntry<ArmorTrimMaterial>>
PROVIDES_TRIM_MATERIAL
PROVIDES_TRIM_MATERIAL
field_56397
PROVIDES_TRIM_MATERIAL
public static final ComponentType<OminousBottleAmplifierComponent>
OMINOUS_BOTTLE_AMPLIFIER
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
public static final ComponentType<JukeboxPlayableComponent>
JUKEBOX_PLAYABLE
JUKEBOX_PLAYABLE
field_52175
JUKEBOX_PLAYABLE
public static final ComponentType<RegistryEntryList<BannerPattern>>
PROVIDES_BANNER_PATTERNS
PROVIDES_BANNER_PATTERNS
field_56398
PROVIDES_BANNER_PATTERNS
public static final ComponentType<List<RegistryKey<Recipe<?>>>>
RECIPES
RECIPES
field_49613
RECIPES
public static final ComponentType<LodestoneTrackerComponent>
LODESTONE_TRACKER
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
public static final ComponentType<FireworkExplosionComponent>
FIREWORK_EXPLOSION
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
public static final ComponentType<FireworksComponent>
FIREWORKS
FIREWORKS
field_49616
FIREWORKS
public static final ComponentType<ProfileComponent>
PROFILE
PROFILE
field_49617
PROFILE
public static final ComponentType<Identifier>
NOTE_BLOCK_SOUND
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
public static final ComponentType<BannerPatternsComponent>
BANNER_PATTERNS
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
public static final ComponentType<DyeColor>
BASE_COLOR
BASE_COLOR
field_49620
BASE_COLOR
public static final ComponentType<Sherds>
POT_DECORATIONS
POT_DECORATIONS
field_49621
POT_DECORATIONS
public static final ComponentType<ContainerComponent>
CONTAINER
CONTAINER
field_49622
CONTAINER
public static final ComponentType<BlockStateComponent>
BLOCK_STATE
BLOCK_STATE
field_49623
BLOCK_STATE
public static final ComponentType<BeesComponent>
BEES
BEES
field_49624
BEES
public static final ComponentType<SulfurCubeContentComponent>
SULFUR_CUBE_CONTENT
SULFUR_CUBE_CONTENT
field_1_3644
SULFUR_CUBE_CONTENT
public static final ComponentType<ContainerLock>
LOCK
LOCK
field_49625
LOCK
public static final ComponentType<ContainerLootComponent>
CONTAINER_LOOT
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
public static final ComponentType<RegistryEntry<SoundEvent>>
BREAK_SOUND
BREAK_SOUND
field_56399
BREAK_SOUND
public static final ComponentType<CompostableComponent>
COMPOSTABLE
COMPOSTABLE
field_1_8348
COMPOSTABLE
public static final ComponentType<CookingFuelComponent>
COOKING_FUEL
COOKING_FUEL
field_1_9023
COOKING_FUEL
public static final ComponentType<BrewingFuelComponent>
BREWING_FUEL
BREWING_FUEL
field_1_9022
BREWING_FUEL
public static final ComponentType<MobVisibilityComponent>
MOB_VISIBILITY
MOB_VISIBILITY
field_1_9025
MOB_VISIBILITY
public static final ComponentType<RegistryEntry<VillagerType>>
VILLAGER_VARIANT
VILLAGER_VARIANT
field_56145
VILLAGER_VARIANT
public static final ComponentType<RegistryEntry<WolfVariant>>
WOLF_VARIANT
WOLF_VARIANT
field_56146
WOLF_VARIANT
public static final ComponentType<RegistryEntry<WolfSoundVariant>>
WOLF_SOUND_VARIANT
WOLF_SOUND_VARIANT
field_57109
WOLF_SOUND_VARIANT
public static final ComponentType<DyeColor>
WOLF_COLLAR
WOLF_COLLAR
field_56147
WOLF_COLLAR
public static final ComponentType<FoxEntity$Variant>
FOX_VARIANT
FOX_VARIANT
field_56148
FOX_VARIANT
public static final ComponentType<SalmonEntity$Variant>
SALMON_SIZE
SALMON_SIZE
field_56149
SALMON_SIZE
public static final ComponentType<ParrotEntity$Variant>
PARROT_VARIANT
PARROT_VARIANT
field_56150
PARROT_VARIANT
public static final ComponentType<TropicalFishEntity$Pattern>
TROPICAL_FISH_PATTERN
TROPICAL_FISH_PATTERN
field_56151
TROPICAL_FISH_PATTERN
public static final ComponentType<DyeColor>
TROPICAL_FISH_BASE_COLOR
TROPICAL_FISH_BASE_COLOR
field_56152
TROPICAL_FISH_BASE_COLOR
public static final ComponentType<DyeColor>
TROPICAL_FISH_PATTERN_COLOR
TROPICAL_FISH_PATTERN_COLOR
field_56132
TROPICAL_FISH_PATTERN_COLOR
public static final ComponentType<MooshroomEntity$Variant>
MOOSHROOM_VARIANT
MOOSHROOM_VARIANT
field_56133
MOOSHROOM_VARIANT
public static final ComponentType<RabbitEntity$Variant>
RABBIT_VARIANT
RABBIT_VARIANT
field_56134
RABBIT_VARIANT
public static final ComponentType<RegistryEntry<PigVariant>>
PIG_VARIANT
PIG_VARIANT
field_56135
PIG_VARIANT
public static final ComponentType<RegistryEntry<PigSoundVariant>>
PIG_SOUND_VARIANT
PIG_SOUND_VARIANT
field_1_1826
SOUND_VARIANT_PIG
public static final ComponentType<RegistryEntry<CowVariant>>
COW_VARIANT
COW_VARIANT
field_56508
COW_VARIANT
public static final ComponentType<RegistryEntry<CowSoundVariant>>
COW_SOUND_VARIANT
COW_SOUND_VARIANT
field_1_1825
SOUND_VARIANT_COW
public static final ComponentType<RegistryEntry<ChickenVariant>>
CHICKEN_VARIANT
CHICKEN_VARIANT
field_56595
CHICKEN_VARIANT
public static final ComponentType<RegistryEntry<ChickenSoundVariant>>
CHICKEN_SOUND_VARIANT
CHICKEN_SOUND_VARIANT
field_1_1824
SOUND_VARIANT_CHICKEN
public static final ComponentType<RegistryEntry<ZombieNautilusVariant>>
ZOMBIE_NAUTILUS_VARIANT
ZOMBIE_NAUTILUS_VARIANT
field_64474
ZOMBIE_NAUTILUS_VARIANT
public static final ComponentType<RegistryEntry<FrogVariant>>
FROG_VARIANT
FROG_VARIANT
field_56136
FROG_VARIANT
public static final ComponentType<HorseColor>
HORSE_VARIANT
HORSE_VARIANT
field_56137
HORSE_VARIANT
public static final ComponentType<RegistryEntry<PaintingVariant>>
PAINTING_VARIANT
PAINTING_VARIANT
field_56138
PAINTING_VARIANT
public static final ComponentType<LlamaEntity$Variant>
LLAMA_VARIANT
LLAMA_VARIANT
field_56139
LLAMA_VARIANT
public static final ComponentType<AxolotlEntity$Variant>
AXOLOTL_VARIANT
AXOLOTL_VARIANT
field_56140
AXOLOTL_VARIANT
public static final ComponentType<RegistryEntry<CatVariant>>
CAT_VARIANT
CAT_VARIANT
field_56141
CAT_VARIANT
public static final ComponentType<RegistryEntry<CatSoundVariant>>
CAT_SOUND_VARIANT
CAT_SOUND_VARIANT
field_1_1823
SOUND_VARIANT_CAT
public static final ComponentType<DyeColor>
CAT_COLLAR
CAT_COLLAR
field_56142
CAT_COLLAR
public static final ComponentType<DyeColor>
SHEEP_COLOR
SHEEP_COLOR
field_56143
SHEEP_COLOR
public static final ComponentType<DyeColor>
SHULKER_COLOR
SHULKER_COLOR
field_56144
SHULKER_COLOR
public static final ComponentType<RegistryEntry<DecoratedPotPattern>>
PROVIDES_POTTERY_PATTERN
PROVIDES_POTTERY_PATTERN
field_1_7411
PROVIDES_POTTERY_PATTERN
public static final ComponentType<SignText>
SIGN_TEXT_FRONT
SIGN_TEXT_FRONT
field_1_9027
SIGN_TEXT_FRONT
public static final ComponentType<SignText>
SIGN_TEXT_BACK
SIGN_TEXT_BACK
field_1_9026
SIGN_TEXT_BACK
public static final ComponentType<Unit>
WAXED
WAXED
field_1_9029
WAXED
public static final ComponentType<DyeColor>
CUSHION_COLOR
CUSHION_COLOR
field_1_9024
COLOR_CUSHION
public static final ComponentMap
COMMON_ITEM_COMPONENTS
COMMON_ITEM_COMPONENTS
field_49627
DEFAULT_ITEM_COMPONENTS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ComponentType<?>
bootstrap(Registry<DataComponentType<?>> registry)
bootstrap(Registry<DataComponentType<?>> registry)
method_57905(class_2378<class_9331<?>> arg0)
getDefault(Registry<ComponentType<?>> registry)
private static <T> ComponentType<T>
register(String id, UnaryOperator<DataComponentType$Builder<T>> builder)
register(String id, UnaryOperator<DataComponentType$Builder<T>> builder)
method_57906(String arg0, UnaryOperator<class_9331$class_9332<T>> arg1)
register(String id, UnaryOperator<ComponentType$Builder<T>> builderOperator)