net.minecraft.core.component

public class DataComponents

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

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<Weapon>
C
WEAPON
field_55878
WEAPON
public static final DataComponentType<Enchantable>
D
ENCHANTABLE
field_53695
ENCHANTABLE
public static final DataComponentType<Equippable>
E
EQUIPPABLE
field_54196
EQUIPPABLE
public static final DataComponentType<Repairable>
F
REPAIRABLE
field_53696
REPAIRABLE
public static final DataComponentType<Unit>
G
GLIDER
field_54197
GLIDER
public static final DataComponentType<ResourceLocation>
H
TOOLTIP_STYLE
field_54198
TOOLTIP_STYLE
public static final DataComponentType<DeathProtection>
I
DEATH_PROTECTION
field_54274
DEATH_PROTECTION
public static final DataComponentType<ItemEnchantments>
J
STORED_ENCHANTMENTS
field_49643
STORED_ENCHANTMENTS
public static final DataComponentType<DyedItemColor>
K
DYED_COLOR
field_49644
DYED_COLOR
public static final DataComponentType<MapItemColor>
L
MAP_COLOR
field_49645
MAP_COLOR
public static final DataComponentType<MapId>
M
MAP_ID
field_49646
MAP_ID
public static final DataComponentType<MapDecorations>
N
MAP_DECORATIONS
field_49647
MAP_DECORATIONS
public static final DataComponentType<MapPostProcessing>
O
MAP_POST_PROCESSING
field_49648
MAP_POST_PROCESSING
public static final DataComponentType<ChargedProjectiles>
P
CHARGED_PROJECTILES
field_49649
CHARGED_PROJECTILES
public static final DataComponentType<BundleContents>
Q
BUNDLE_CONTENTS
field_49650
BUNDLE_CONTENTS
public static final DataComponentType<PotionContents>
R
POTION_CONTENTS
field_49651
POTION_CONTENTS
public static final DataComponentType<Float>
S
POTION_DURATION_SCALE
field_55879
POTION_DURATION_SCALE
public static final DataComponentType<SuspiciousStewEffects>
T
SUSPICIOUS_STEW_EFFECTS
field_49652
SUSPICIOUS_STEW_EFFECTS
public static final DataComponentType<WritableBookContent>
U
WRITABLE_BOOK_CONTENT
field_49653
WRITABLE_BOOK_CONTENT
public static final DataComponentType<WrittenBookContent>
V
WRITTEN_BOOK_CONTENT
field_49606
WRITTEN_BOOK_CONTENT
public static final DataComponentType<ArmorTrim>
W
TRIM
field_49607
TRIM
public static final DataComponentType<DebugStickState>
X
DEBUG_STICK_STATE
field_49608
DEBUG_STICK_STATE
public static final DataComponentType<CustomData>
Y
ENTITY_DATA
field_49609
ENTITY_DATA
public static final DataComponentType<CustomData>
Z
BUCKET_ENTITY_DATA
field_49610
BUCKET_ENTITY_DATA
public static final DataComponentType<CustomData>
aa
BLOCK_ENTITY_DATA
field_49611
BLOCK_ENTITY_DATA
public static final DataComponentType<Holder<Instrument>>
ab
INSTRUMENT
field_49612
INSTRUMENT
public static final DataComponentType<OminousBottleAmplifier>
ac
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
public static final DataComponentType<JukeboxPlayable>
ad
JUKEBOX_PLAYABLE
field_52175
JUKEBOX_PLAYABLE
public static final DataComponentType<List<ResourceKey<Recipe<?>>>>
ae
RECIPES
field_49613
RECIPES
public static final DataComponentType<LodestoneTracker>
af
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
public static final DataComponentType<FireworkExplosion>
ag
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
public static final DataComponentType<Fireworks>
ah
FIREWORKS
field_49616
FIREWORKS
public static final DataComponentType<ResolvableProfile>
ai
PROFILE
field_49617
PROFILE
public static final DataComponentType<ResourceLocation>
aj
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
public static final DataComponentType<BannerPatternLayers>
ak
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
public static final DataComponentType<DyeColor>
al
BASE_COLOR
field_49620
BASE_COLOR
public static final DataComponentType<PotDecorations>
am
POT_DECORATIONS
field_49621
POT_DECORATIONS
public static final DataComponentType<ItemContainerContents>
an
CONTAINER
field_49622
CONTAINER
public static final DataComponentType<BlockItemStateProperties>
ao
BLOCK_STATE
field_49623
BLOCK_STATE
public static final DataComponentType<List<BeehiveBlockEntity$Occupant>>
ap
BEES
field_49624
BEES
public static final DataComponentType<LockCode>
aq
LOCK
field_49625
LOCK
public static final DataComponentType<SeededContainerLoot>
ar
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
public static final DataComponentType<Holder<VillagerType>>
as
VILLAGER_VARIANT
field_56145
VARIANT_VILLAGER
public static final DataComponentType<Holder<WolfVariant>>
at
WOLF_VARIANT
field_56146
VARIANT_WOLF
public static final DataComponentType<DyeColor>
au
WOLF_COLLAR
field_56147
COLLAR_WOLF
public static final DataComponentType<Fox$Variant>
av
FOX_VARIANT
field_56148
VARIANT_FOX
public static final DataComponentType<Salmon$Variant>
aw
SALMON_SIZE
field_56149
SIZE_SALMON
public static final DataComponentType<Parrot$Variant>
ax
PARROT_VARIANT
field_56150
VARIANT_PARROT
public static final DataComponentType<TropicalFish$Pattern>
ay
TROPICAL_FISH_PATTERN
field_56151
PATTERN_TROPICAL_FISH
public static final DataComponentType<DyeColor>
az
TROPICAL_FISH_BASE_COLOR
field_56152
BASE_COLOR_TROPICAL_FISH
public static final DataComponentType<DyeColor>
aA
TROPICAL_FISH_PATTERN_COLOR
field_56132
PATTERN_COLOR_TROPICAL_FISH
public static final DataComponentType<MushroomCow$Variant>
aB
MOOSHROOM_VARIANT
field_56133
VARIANT_MOOSHROOM
public static final DataComponentType<Rabbit$Variant>
aC
RABBIT_VARIANT
field_56134
VARIANT_RABBIT
public static final DataComponentType<Holder<PigVariant>>
aD
PIG_VARIANT
field_56135
VARIANT_PIG
public static final DataComponentType<Holder<FrogVariant>>
aE
FROG_VARIANT
field_56136
VARIANT_FROG
public static final DataComponentType<Variant>
aF
HORSE_VARIANT
field_56137
VARIANT_HORSE
public static final DataComponentType<Holder<PaintingVariant>>
aG
PAINTING_VARIANT
field_56138
VARIANT_PAINTING
public static final DataComponentType<Llama$Variant>
aH
LLAMA_VARIANT
field_56139
VARIANT_LLAMA
public static final DataComponentType<Axolotl$Variant>
aI
AXOLOTL_VARIANT
field_56140
VARIANT_AXOLOTL
public static final DataComponentType<Holder<CatVariant>>
aJ
CAT_VARIANT
field_56141
VARIANT_CAT
public static final DataComponentType<DyeColor>
aK
CAT_COLLAR
field_56142
COLLAR_CAT
public static final DataComponentType<DyeColor>
aL
SHEEP_COLOR
field_56143
COLOR_SHEEP
public static final DataComponentType<DyeColor>
aM
SHULKER_COLOR
field_56144
COLOR_SHULKER
public static final DataComponentMap
aN
COMMON_ITEM_COMPONENTS
field_49627
DEFAULT_ITEM_COMPONENTS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static DataComponentType<?>
a(kf<kw<?>> 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<kw$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)