net.minecraft.core.component

public class DataComponents

kl
net.minecraft.core.component.DataComponents
net.minecraft.class_9334
net.minecraft.component.DataComponentTypes
net.minecraft.src.C_313616_

Field summary

Modifier and TypeField
static final EncoderCache
a
ENCODER_CACHE
field_51518
CACHE
f_315405_
public static final DataComponentType<CustomData>
b
CUSTOM_DATA
field_49628
CUSTOM_DATA
f_316665_
public static final DataComponentType<Integer>
c
MAX_STACK_SIZE
field_50071
MAX_STACK_SIZE
f_314701_
public static final DataComponentType<Integer>
d
MAX_DAMAGE
field_50072
MAX_DAMAGE
f_316415_
public static final DataComponentType<Integer>
e
DAMAGE
field_49629
DAMAGE
f_313972_
public static final DataComponentType<Unit>
f
UNBREAKABLE
field_49630
UNBREAKABLE
f_315410_
public static final DataComponentType<Component>
g
CUSTOM_NAME
field_49631
CUSTOM_NAME
f_316016_
public static final DataComponentType<Component>
h
ITEM_NAME
field_50239
ITEM_NAME
f_314548_
public static final DataComponentType<ResourceLocation>
i
ITEM_MODEL
field_54199
ITEM_MODEL
f_347752_
public static final DataComponentType<ItemLore>
j
LORE
field_49632
LORE
f_315745_
public static final DataComponentType<Rarity>
k
RARITY
field_50073
RARITY
f_315029_
public static final DataComponentType<ItemEnchantments>
l
ENCHANTMENTS
field_49633
ENCHANTMENTS
f_314658_
public static final DataComponentType<AdventureModePredicate>
m
CAN_PLACE_ON
field_49634
CAN_PLACE_ON
f_315118_
public static final DataComponentType<AdventureModePredicate>
n
CAN_BREAK
field_49635
CAN_BREAK
f_316977_
public static final DataComponentType<ItemAttributeModifiers>
o
ATTRIBUTE_MODIFIERS
field_49636
ATTRIBUTE_MODIFIERS
f_316119_
public static final DataComponentType<CustomModelData>
p
CUSTOM_MODEL_DATA
field_49637
CUSTOM_MODEL_DATA
f_315513_
public static final DataComponentType<TooltipDisplay>
q
TOOLTIP_DISPLAY
field_56400
TOOLTIP_DISPLAY
f_379356_
public static final DataComponentType<Integer>
r
REPAIR_COST
field_49639
REPAIR_COST
f_315107_
public static final DataComponentType<Unit>
s
CREATIVE_SLOT_LOCK
field_49640
CREATIVE_SLOT_LOCK
f_314367_
public static final DataComponentType<Boolean>
t
ENCHANTMENT_GLINT_OVERRIDE
field_49641
ENCHANTMENT_GLINT_OVERRIDE
f_315974_
public static final DataComponentType<Unit>
u
INTANGIBLE_PROJECTILE
field_49642
INTANGIBLE_PROJECTILE
f_314381_
public static final DataComponentType<FoodProperties>
v
FOOD
field_50075
FOOD
f_315399_
public static final DataComponentType<Consumable>
w
CONSUMABLE
field_53964
CONSUMABLE
f_347811_
public static final DataComponentType<UseRemainder>
x
USE_REMAINDER
field_53965
USE_REMAINDER
f_349088_
public static final DataComponentType<UseCooldown>
y
USE_COOLDOWN
field_53966
USE_COOLDOWN
f_346600_
public static final DataComponentType<DamageResistant>
z
DAMAGE_RESISTANT
field_54273
DAMAGE_RESISTANT
f_348616_
public static final DataComponentType<Tool>
A
TOOL
field_50077
TOOL
f_314833_
public static final DataComponentType<Weapon>
B
WEAPON
field_55878
WEAPON
f_379569_
public static final DataComponentType<Enchantable>
C
ENCHANTABLE
field_53695
ENCHANTABLE
f_346738_
public static final DataComponentType<Equippable>
D
EQUIPPABLE
field_54196
EQUIPPABLE
f_348912_
public static final DataComponentType<Repairable>
E
REPAIRABLE
field_53696
REPAIRABLE
f_348178_
public static final DataComponentType<Unit>
F
GLIDER
field_54197
GLIDER
f_348480_
public static final DataComponentType<ResourceLocation>
G
TOOLTIP_STYLE
field_54198
TOOLTIP_STYLE
f_348750_
public static final DataComponentType<DeathProtection>
H
DEATH_PROTECTION
field_54274
DEATH_PROTECTION
f_346651_
public static final DataComponentType<BlocksAttacks>
I
BLOCKS_ATTACKS
field_56396
BLOCKS_ATTACKS
f_379640_
public static final DataComponentType<ItemEnchantments>
J
STORED_ENCHANTMENTS
field_49643
STORED_ENCHANTMENTS
f_314515_
public static final DataComponentType<DyedItemColor>
K
DYED_COLOR
field_49644
DYED_COLOR
f_315011_
public static final DataComponentType<MapItemColor>
L
MAP_COLOR
field_49645
MAP_COLOR
f_315135_
public static final DataComponentType<MapId>
M
MAP_ID
field_49646
MAP_ID
f_315230_
public static final DataComponentType<MapDecorations>
N
MAP_DECORATIONS
field_49647
MAP_DECORATIONS
f_316761_
public static final DataComponentType<MapPostProcessing>
O
MAP_POST_PROCESSING
field_49648
MAP_POST_PROCESSING
f_316856_
public static final DataComponentType<ChargedProjectiles>
P
CHARGED_PROJECTILES
field_49649
CHARGED_PROJECTILES
f_314625_
public static final DataComponentType<BundleContents>
Q
BUNDLE_CONTENTS
field_49650
BUNDLE_CONTENTS
f_315394_
public static final DataComponentType<PotionContents>
R
POTION_CONTENTS
field_49651
POTION_CONTENTS
f_314188_
public static final DataComponentType<Float>
S
POTION_DURATION_SCALE
field_55879
POTION_DURATION_SCALE
f_381071_
public static final DataComponentType<SuspiciousStewEffects>
T
SUSPICIOUS_STEW_EFFECTS
field_49652
SUSPICIOUS_STEW_EFFECTS
f_316666_
public static final DataComponentType<WritableBookContent>
U
WRITABLE_BOOK_CONTENT
field_49653
WRITABLE_BOOK_CONTENT
f_314472_
public static final DataComponentType<WrittenBookContent>
V
WRITTEN_BOOK_CONTENT
field_49606
WRITTEN_BOOK_CONTENT
f_315840_
public static final DataComponentType<ArmorTrim>
W
TRIM
field_49607
TRIM
f_315199_
public static final DataComponentType<DebugStickState>
X
DEBUG_STICK_STATE
field_49608
DEBUG_STICK_STATE
f_314352_
public static final DataComponentType<CustomData>
Y
ENTITY_DATA
field_49609
ENTITY_DATA
f_315141_
public static final DataComponentType<CustomData>
Z
BUCKET_ENTITY_DATA
field_49610
BUCKET_ENTITY_DATA
f_315524_
public static final DataComponentType<CustomData>
aa
BLOCK_ENTITY_DATA
field_49611
BLOCK_ENTITY_DATA
f_316520_
public static final DataComponentType<InstrumentComponent>
ab
INSTRUMENT
field_49612
INSTRUMENT
f_316614_
public static final DataComponentType<ProvidesTrimMaterial>
ac
PROVIDES_TRIM_MATERIAL
field_56397
PROVIDES_TRIM_MATERIAL
f_379378_
public static final DataComponentType<OminousBottleAmplifier>
ad
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
f_314953_
public static final DataComponentType<JukeboxPlayable>
ae
JUKEBOX_PLAYABLE
field_52175
JUKEBOX_PLAYABLE
f_336668_
public static final DataComponentType<TagKey<BannerPattern>>
af
PROVIDES_BANNER_PATTERNS
field_56398
PROVIDES_BANNER_PATTERNS
f_380059_
public static final DataComponentType<List<ResourceKey<Recipe<?>>>>
ag
RECIPES
field_49613
RECIPES
f_315842_
public static final DataComponentType<LodestoneTracker>
ah
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
f_314784_
public static final DataComponentType<FireworkExplosion>
ai
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
f_315608_
public static final DataComponentType<Fireworks>
aj
FIREWORKS
field_49616
FIREWORKS
f_316632_
public static final DataComponentType<ResolvableProfile>
ak
PROFILE
field_49617
PROFILE
f_315901_
public static final DataComponentType<ResourceLocation>
al
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
f_315959_
public static final DataComponentType<BannerPatternLayers>
am
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
f_314522_
public static final DataComponentType<DyeColor>
an
BASE_COLOR
field_49620
BASE_COLOR
f_315952_
public static final DataComponentType<PotDecorations>
ao
POT_DECORATIONS
field_49621
POT_DECORATIONS
f_316536_
public static final DataComponentType<ItemContainerContents>
ap
CONTAINER
field_49622
CONTAINER
f_316065_
public static final DataComponentType<BlockItemStateProperties>
aq
BLOCK_STATE
field_49623
BLOCK_STATE
f_315479_
public static final DataComponentType<Bees>
ar
BEES
field_49624
BEES
f_314066_
public static final DataComponentType<LockCode>
as
LOCK
field_49625
LOCK
f_315242_
public static final DataComponentType<SeededContainerLoot>
at
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
f_314304_
public static final DataComponentType<Holder<SoundEvent>>
au
BREAK_SOUND
field_56399
BREAK_SOUND
f_379852_
public static final DataComponentType<Holder<VillagerType>>
av
VILLAGER_VARIANT
field_56145
VILLAGER_VARIANT
f_381940_
public static final DataComponentType<Holder<WolfVariant>>
aw
WOLF_VARIANT
field_56146
WOLF_VARIANT
f_379762_
public static final DataComponentType<Holder<WolfSoundVariant>>
ax
WOLF_SOUND_VARIANT
field_57109
WOLF_SOUND_VARIANT
f_380003_
public static final DataComponentType<DyeColor>
ay
WOLF_COLLAR
field_56147
WOLF_COLLAR
f_380667_
public static final DataComponentType<Fox$Variant>
az
FOX_VARIANT
field_56148
FOX_VARIANT
f_379735_
public static final DataComponentType<Salmon$Variant>
aA
SALMON_SIZE
field_56149
SALMON_SIZE
f_380521_
public static final DataComponentType<Parrot$Variant>
aB
PARROT_VARIANT
field_56150
PARROT_VARIANT
f_380393_
public static final DataComponentType<TropicalFish$Pattern>
aC
TROPICAL_FISH_PATTERN
field_56151
TROPICAL_FISH_PATTERN
f_381298_
public static final DataComponentType<DyeColor>
aD
TROPICAL_FISH_BASE_COLOR
field_56152
TROPICAL_FISH_BASE_COLOR
f_382027_
public static final DataComponentType<DyeColor>
aE
TROPICAL_FISH_PATTERN_COLOR
field_56132
TROPICAL_FISH_PATTERN_COLOR
f_380238_
public static final DataComponentType<MushroomCow$Variant>
aF
MOOSHROOM_VARIANT
field_56133
MOOSHROOM_VARIANT
f_382357_
public static final DataComponentType<Rabbit$Variant>
aG
RABBIT_VARIANT
field_56134
RABBIT_VARIANT
f_381330_
public static final DataComponentType<Holder<PigVariant>>
aH
PIG_VARIANT
field_56135
PIG_VARIANT
f_381961_
public static final DataComponentType<Holder<CowVariant>>
aI
COW_VARIANT
field_56508
COW_VARIANT
f_380935_
public static final DataComponentType<EitherHolder<ChickenVariant>>
aJ
CHICKEN_VARIANT
field_56595
CHICKEN_VARIANT
f_380648_
public static final DataComponentType<Holder<FrogVariant>>
aK
FROG_VARIANT
field_56136
FROG_VARIANT
f_382661_
public static final DataComponentType<Variant>
aL
HORSE_VARIANT
field_56137
HORSE_VARIANT
f_380754_
public static final DataComponentType<Holder<PaintingVariant>>
aM
PAINTING_VARIANT
field_56138
PAINTING_VARIANT
f_381047_
public static final DataComponentType<Llama$Variant>
aN
LLAMA_VARIANT
field_56139
LLAMA_VARIANT
f_382366_
public static final DataComponentType<Axolotl$Variant>
aO
AXOLOTL_VARIANT
field_56140
AXOLOTL_VARIANT
f_382111_
public static final DataComponentType<Holder<CatVariant>>
aP
CAT_VARIANT
field_56141
CAT_VARIANT
f_381823_
public static final DataComponentType<DyeColor>
aQ
CAT_COLLAR
field_56142
CAT_COLLAR
f_379817_
public static final DataComponentType<DyeColor>
aR
SHEEP_COLOR
field_56143
SHEEP_COLOR
f_380187_
public static final DataComponentType<DyeColor>
aS
SHULKER_COLOR
field_56144
SHULKER_COLOR
f_380491_
public static final DataComponentMap
aT
COMMON_ITEM_COMPONENTS
field_49627
DEFAULT_ITEM_COMPONENTS
f_316136_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static DataComponentType<?>
a(jt<kk<?>> arg0)
bootstrap(Registry<DataComponentType<?>> arg0)
method_57905(class_2378<class_9331<?>> arg0)
getDefault(Registry<ComponentType<?>> registry)
m_318674_(C_4705_<C_313543_<?>> p_330257_)
private static <T> DataComponentType<T>
a(String arg0, UnaryOperator<kk$a<T>> arg1)
register(String arg0, UnaryOperator<DataComponentType$Builder<T>> arg1)
method_57906(String arg0, UnaryOperator<class_9331$class_9332<T>> arg1)
register(String id, UnaryOperator<ComponentType$Builder<T>> builderOperator)
m_319350_(String p_335254_, UnaryOperator<C_313543_$C_313821_<T>> p_329979_)