net.minecraft.core.component

public class DataComponents

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

Field summary

Modifier and TypeField
static final EncoderCache
a
ENCODER_CACHE
field_51518
CACHE
public static final DataComponentType<CustomData>
b
CUSTOM_DATA
field_49628
CUSTOM_DATA
public static final DataComponentType<Integer>
c
MAX_STACK_SIZE
field_50071
MAX_STACK_SIZE
public static final DataComponentType<Integer>
d
MAX_DAMAGE
field_50072
MAX_DAMAGE
public static final DataComponentType<Integer>
e
DAMAGE
field_49629
DAMAGE
public static final DataComponentType<Unbreakable>
f
UNBREAKABLE
field_49630
UNBREAKABLE
public static final DataComponentType<Component>
g
CUSTOM_NAME
field_49631
CUSTOM_NAME
public static final DataComponentType<Component>
h
ITEM_NAME
field_50239
ITEM_NAME
public static final DataComponentType<ResourceLocation>
i
ITEM_MODEL
field_54199
ITEM_MODEL
public static final DataComponentType<ItemLore>
j
LORE
field_49632
LORE
public static final DataComponentType<Rarity>
k
RARITY
field_50073
RARITY
public static final DataComponentType<ItemEnchantments>
l
ENCHANTMENTS
field_49633
ENCHANTMENTS
public static final DataComponentType<AdventureModePredicate>
m
CAN_PLACE_ON
field_49634
CAN_PLACE_ON
public static final DataComponentType<AdventureModePredicate>
n
CAN_BREAK
field_49635
CAN_BREAK
public static final DataComponentType<ItemAttributeModifiers>
o
ATTRIBUTE_MODIFIERS
field_49636
ATTRIBUTE_MODIFIERS
public static final DataComponentType<CustomModelData>
p
CUSTOM_MODEL_DATA
field_49637
CUSTOM_MODEL_DATA
public static final DataComponentType<Unit>
q
HIDE_ADDITIONAL_TOOLTIP
field_49638
HIDE_ADDITIONAL_TOOLTIP
public static final DataComponentType<Unit>
r
HIDE_TOOLTIP
field_50074
HIDE_TOOLTIP
public static final DataComponentType<Integer>
s
REPAIR_COST
field_49639
REPAIR_COST
public static final DataComponentType<Unit>
t
CREATIVE_SLOT_LOCK
field_49640
CREATIVE_SLOT_LOCK
public static final DataComponentType<Boolean>
u
ENCHANTMENT_GLINT_OVERRIDE
field_49641
ENCHANTMENT_GLINT_OVERRIDE
public static final DataComponentType<Unit>
v
INTANGIBLE_PROJECTILE
field_49642
INTANGIBLE_PROJECTILE
public static final DataComponentType<FoodProperties>
w
FOOD
field_50075
FOOD
public static final DataComponentType<Consumable>
x
CONSUMABLE
field_53964
CONSUMABLE
public static final DataComponentType<UseRemainder>
y
USE_REMAINDER
field_53965
USE_REMAINDER
public static final DataComponentType<UseCooldown>
z
USE_COOLDOWN
field_53966
USE_COOLDOWN
public static final DataComponentType<DamageResistant>
A
DAMAGE_RESISTANT
field_54273
DAMAGE_RESISTANT
public static final DataComponentType<Tool>
B
TOOL
field_50077
TOOL
public static final DataComponentType<Enchantable>
C
ENCHANTABLE
field_53695
ENCHANTABLE
public static final DataComponentType<Equippable>
D
EQUIPPABLE
field_54196
EQUIPPABLE
public static final DataComponentType<Repairable>
E
REPAIRABLE
field_53696
REPAIRABLE
public static final DataComponentType<Unit>
F
GLIDER
field_54197
GLIDER
public static final DataComponentType<ResourceLocation>
G
TOOLTIP_STYLE
field_54198
TOOLTIP_STYLE
public static final DataComponentType<DeathProtection>
H
DEATH_PROTECTION
field_54274
DEATH_PROTECTION
public static final DataComponentType<ItemEnchantments>
I
STORED_ENCHANTMENTS
field_49643
STORED_ENCHANTMENTS
public static final DataComponentType<DyedItemColor>
J
DYED_COLOR
field_49644
DYED_COLOR
public static final DataComponentType<MapItemColor>
K
MAP_COLOR
field_49645
MAP_COLOR
public static final DataComponentType<MapId>
L
MAP_ID
field_49646
MAP_ID
public static final DataComponentType<MapDecorations>
M
MAP_DECORATIONS
field_49647
MAP_DECORATIONS
public static final DataComponentType<MapPostProcessing>
N
MAP_POST_PROCESSING
field_49648
MAP_POST_PROCESSING
public static final DataComponentType<ChargedProjectiles>
O
CHARGED_PROJECTILES
field_49649
CHARGED_PROJECTILES
public static final DataComponentType<BundleContents>
P
BUNDLE_CONTENTS
field_49650
BUNDLE_CONTENTS
public static final DataComponentType<PotionContents>
Q
POTION_CONTENTS
field_49651
POTION_CONTENTS
public static final DataComponentType<SuspiciousStewEffects>
R
SUSPICIOUS_STEW_EFFECTS
field_49652
SUSPICIOUS_STEW_EFFECTS
public static final DataComponentType<WritableBookContent>
S
WRITABLE_BOOK_CONTENT
field_49653
WRITABLE_BOOK_CONTENT
public static final DataComponentType<WrittenBookContent>
T
WRITTEN_BOOK_CONTENT
field_49606
WRITTEN_BOOK_CONTENT
public static final DataComponentType<ArmorTrim>
U
TRIM
field_49607
TRIM
public static final DataComponentType<DebugStickState>
V
DEBUG_STICK_STATE
field_49608
DEBUG_STICK_STATE
public static final DataComponentType<CustomData>
W
ENTITY_DATA
field_49609
ENTITY_DATA
public static final DataComponentType<CustomData>
X
BUCKET_ENTITY_DATA
field_49610
BUCKET_ENTITY_DATA
public static final DataComponentType<CustomData>
Y
BLOCK_ENTITY_DATA
field_49611
BLOCK_ENTITY_DATA
public static final DataComponentType<Holder<Instrument>>
Z
INSTRUMENT
field_49612
INSTRUMENT
public static final DataComponentType<OminousBottleAmplifier>
aa
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
public static final DataComponentType<JukeboxPlayable>
ab
JUKEBOX_PLAYABLE
field_52175
JUKEBOX_PLAYABLE
public static final DataComponentType<List<ResourceKey<Recipe<?>>>>
ac
RECIPES
field_49613
RECIPES
public static final DataComponentType<LodestoneTracker>
ad
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
public static final DataComponentType<FireworkExplosion>
ae
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
public static final DataComponentType<Fireworks>
af
FIREWORKS
field_49616
FIREWORKS
public static final DataComponentType<ResolvableProfile>
ag
PROFILE
field_49617
PROFILE
public static final DataComponentType<ResourceLocation>
ah
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
public static final DataComponentType<BannerPatternLayers>
ai
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
public static final DataComponentType<DyeColor>
aj
BASE_COLOR
field_49620
BASE_COLOR
public static final DataComponentType<PotDecorations>
ak
POT_DECORATIONS
field_49621
POT_DECORATIONS
public static final DataComponentType<ItemContainerContents>
al
CONTAINER
field_49622
CONTAINER
public static final DataComponentType<BlockItemStateProperties>
am
BLOCK_STATE
field_49623
BLOCK_STATE
public static final DataComponentType<List<BeehiveBlockEntity$Occupant>>
an
BEES
field_49624
BEES
public static final DataComponentType<LockCode>
ao
LOCK
field_49625
LOCK
public static final DataComponentType<SeededContainerLoot>
ap
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
public static final DataComponentMap
aq
COMMON_ITEM_COMPONENTS
field_49627
DEFAULT_ITEM_COMPONENTS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static DataComponentType<?>
a(kd<kt<?>> arg0)
bootstrap(Registry<DataComponentType<?>> arg0)
method_57905(class_2378<class_9331<?>> arg0)
getDefault(Registry<ComponentType<?>> registry)
private static <T> DataComponentType<T>
a(String arg0, UnaryOperator<kt$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)