net.minecraft.core.component

public class DataComponents

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

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<Unbreakable>
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<ItemLore>
i
LORE
field_49632
LORE
f_315745_
public static final DataComponentType<Rarity>
j
RARITY
field_50073
RARITY
f_315029_
public static final DataComponentType<ItemEnchantments>
k
ENCHANTMENTS
field_49633
ENCHANTMENTS
f_314658_
public static final DataComponentType<AdventureModePredicate>
l
CAN_PLACE_ON
field_49634
CAN_PLACE_ON
f_315118_
public static final DataComponentType<AdventureModePredicate>
m
CAN_BREAK
field_49635
CAN_BREAK
f_316977_
public static final DataComponentType<ItemAttributeModifiers>
n
ATTRIBUTE_MODIFIERS
field_49636
ATTRIBUTE_MODIFIERS
f_316119_
public static final DataComponentType<CustomModelData>
o
CUSTOM_MODEL_DATA
field_49637
CUSTOM_MODEL_DATA
f_315513_
public static final DataComponentType<Unit>
p
HIDE_ADDITIONAL_TOOLTIP
field_49638
HIDE_ADDITIONAL_TOOLTIP
f_316186_
public static final DataComponentType<Unit>
q
HIDE_TOOLTIP
field_50074
HIDE_TOOLTIP
f_314049_
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<Unit>
w
FIRE_RESISTANT
field_50076
FIRE_RESISTANT
f_315720_
public static final DataComponentType<Tool>
x
TOOL
field_50077
TOOL
f_314833_
public static final DataComponentType<ItemEnchantments>
y
STORED_ENCHANTMENTS
field_49643
STORED_ENCHANTMENTS
f_314515_
public static final DataComponentType<DyedItemColor>
z
DYED_COLOR
field_49644
DYED_COLOR
f_315011_
public static final DataComponentType<MapItemColor>
A
MAP_COLOR
field_49645
MAP_COLOR
f_315135_
public static final DataComponentType<MapId>
B
MAP_ID
field_49646
MAP_ID
f_315230_
public static final DataComponentType<MapDecorations>
C
MAP_DECORATIONS
field_49647
MAP_DECORATIONS
f_316761_
public static final DataComponentType<MapPostProcessing>
D
MAP_POST_PROCESSING
field_49648
MAP_POST_PROCESSING
f_316856_
public static final DataComponentType<ChargedProjectiles>
E
CHARGED_PROJECTILES
field_49649
CHARGED_PROJECTILES
f_314625_
public static final DataComponentType<BundleContents>
F
BUNDLE_CONTENTS
field_49650
BUNDLE_CONTENTS
f_315394_
public static final DataComponentType<PotionContents>
G
POTION_CONTENTS
field_49651
POTION_CONTENTS
f_314188_
public static final DataComponentType<SuspiciousStewEffects>
H
SUSPICIOUS_STEW_EFFECTS
field_49652
SUSPICIOUS_STEW_EFFECTS
f_316666_
public static final DataComponentType<WritableBookContent>
I
WRITABLE_BOOK_CONTENT
field_49653
WRITABLE_BOOK_CONTENT
f_314472_
public static final DataComponentType<WrittenBookContent>
J
WRITTEN_BOOK_CONTENT
field_49606
WRITTEN_BOOK_CONTENT
f_315840_
public static final DataComponentType<ArmorTrim>
K
TRIM
field_49607
TRIM
f_315199_
public static final DataComponentType<DebugStickState>
L
DEBUG_STICK_STATE
field_49608
DEBUG_STICK_STATE
f_314352_
public static final DataComponentType<CustomData>
M
ENTITY_DATA
field_49609
ENTITY_DATA
f_315141_
public static final DataComponentType<CustomData>
N
BUCKET_ENTITY_DATA
field_49610
BUCKET_ENTITY_DATA
f_315524_
public static final DataComponentType<CustomData>
O
BLOCK_ENTITY_DATA
field_49611
BLOCK_ENTITY_DATA
f_316520_
public static final DataComponentType<Holder<Instrument>>
P
INSTRUMENT
field_49612
INSTRUMENT
f_316614_
public static final DataComponentType<Integer>
Q
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
f_314953_
public static final DataComponentType<List<ResourceLocation>>
R
RECIPES
field_49613
RECIPES
f_315842_
public static final DataComponentType<LodestoneTracker>
S
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
f_314784_
public static final DataComponentType<FireworkExplosion>
T
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
f_315608_
public static final DataComponentType<Fireworks>
U
FIREWORKS
field_49616
FIREWORKS
f_316632_
public static final DataComponentType<ResolvableProfile>
V
PROFILE
field_49617
PROFILE
f_315901_
public static final DataComponentType<ResourceLocation>
W
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
f_315959_
public static final DataComponentType<BannerPatternLayers>
X
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
f_314522_
public static final DataComponentType<DyeColor>
Y
BASE_COLOR
field_49620
BASE_COLOR
f_315952_
public static final DataComponentType<PotDecorations>
Z
POT_DECORATIONS
field_49621
POT_DECORATIONS
f_316536_
public static final DataComponentType<ItemContainerContents>
aa
CONTAINER
field_49622
CONTAINER
f_316065_
public static final DataComponentType<BlockItemStateProperties>
ab
BLOCK_STATE
field_49623
BLOCK_STATE
f_315479_
public static final DataComponentType<List<BeehiveBlockEntity$Occupant>>
ac
BEES
field_49624
BEES
f_314066_
public static final DataComponentType<LockCode>
ad
LOCK
field_49625
LOCK
f_315242_
public static final DataComponentType<SeededContainerLoot>
ae
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
f_314304_
public static final DataComponentMap
af
COMMON_ITEM_COMPONENTS
field_49627
DEFAULT_ITEM_COMPONENTS
f_316136_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static DataComponentType<?>
a(jv<kl<?>> arg0)
bootstrap(Registry<DataComponentType<?>> arg0)
method_57905(class_2378<class_9331<?>> arg0)
getDefault(Registry<DataComponentType<?>> registry)
m_318674_(C_4705_<C_313543_<?>> p_330257_)
private static <T> DataComponentType<T>
a(String arg0, UnaryOperator<kl$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<DataComponentType$Builder<T>> builderOperator)
m_319350_(String p_335254_, UnaryOperator<C_313543_$C_313821_<T>> p_329979_)