net.minecraft.core.component

public class DataComponents

kj
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<Unit>
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<TooltipDisplay>
q
TOOLTIP_DISPLAY
field_56400
TOOLTIP_DISPLAY
public static final DataComponentType<Integer>
r
REPAIR_COST
field_49639
REPAIR_COST
public static final DataComponentType<Unit>
s
CREATIVE_SLOT_LOCK
field_49640
CREATIVE_SLOT_LOCK
public static final DataComponentType<Boolean>
t
ENCHANTMENT_GLINT_OVERRIDE
field_49641
ENCHANTMENT_GLINT_OVERRIDE
public static final DataComponentType<Unit>
u
INTANGIBLE_PROJECTILE
field_49642
INTANGIBLE_PROJECTILE
public static final DataComponentType<FoodProperties>
v
FOOD
field_50075
FOOD
public static final DataComponentType<Consumable>
w
CONSUMABLE
field_53964
CONSUMABLE
public static final DataComponentType<UseRemainder>
x
USE_REMAINDER
field_53965
USE_REMAINDER
public static final DataComponentType<UseCooldown>
y
USE_COOLDOWN
field_53966
USE_COOLDOWN
public static final DataComponentType<DamageResistant>
z
DAMAGE_RESISTANT
field_54273
DAMAGE_RESISTANT
public static final DataComponentType<Tool>
A
TOOL
field_50077
TOOL
public static final DataComponentType<Weapon>
B
WEAPON
field_55878
WEAPON
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<BlocksAttacks>
I
BLOCKS_ATTACKS
field_56396
BLOCKS_ATTACKS
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<InstrumentComponent>
ab
INSTRUMENT
field_49612
INSTRUMENT
public static final DataComponentType<ProvidesTrimMaterial>
ac
PROVIDES_TRIM_MATERIAL
field_56397
PROVIDES_TRIM_MATERIAL
public static final DataComponentType<OminousBottleAmplifier>
ad
OMINOUS_BOTTLE_AMPLIFIER
field_50238
OMINOUS_BOTTLE_AMPLIFIER
public static final DataComponentType<JukeboxPlayable>
ae
JUKEBOX_PLAYABLE
field_52175
JUKEBOX_PLAYABLE
public static final DataComponentType<TagKey<BannerPattern>>
af
PROVIDES_BANNER_PATTERNS
field_56398
PROVIDES_BANNER_PATTERNS
public static final DataComponentType<List<ResourceKey<Recipe<?>>>>
ag
RECIPES
field_49613
RECIPES
public static final DataComponentType<LodestoneTracker>
ah
LODESTONE_TRACKER
field_49614
LODESTONE_TRACKER
public static final DataComponentType<FireworkExplosion>
ai
FIREWORK_EXPLOSION
field_49615
FIREWORK_EXPLOSION
public static final DataComponentType<Fireworks>
aj
FIREWORKS
field_49616
FIREWORKS
public static final DataComponentType<ResolvableProfile>
ak
PROFILE
field_49617
PROFILE
public static final DataComponentType<ResourceLocation>
al
NOTE_BLOCK_SOUND
field_49618
NOTE_BLOCK_SOUND
public static final DataComponentType<BannerPatternLayers>
am
BANNER_PATTERNS
field_49619
BANNER_PATTERNS
public static final DataComponentType<DyeColor>
an
BASE_COLOR
field_49620
BASE_COLOR
public static final DataComponentType<PotDecorations>
ao
POT_DECORATIONS
field_49621
POT_DECORATIONS
public static final DataComponentType<ItemContainerContents>
ap
CONTAINER
field_49622
CONTAINER
public static final DataComponentType<BlockItemStateProperties>
aq
BLOCK_STATE
field_49623
BLOCK_STATE
public static final DataComponentType<Bees>
ar
BEES
field_49624
BEES
public static final DataComponentType<LockCode>
as
LOCK
field_49625
LOCK
public static final DataComponentType<SeededContainerLoot>
at
CONTAINER_LOOT
field_49626
CONTAINER_LOOT
public static final DataComponentType<Holder<SoundEvent>>
au
BREAK_SOUND
field_56399
BREAK_SOUND
public static final DataComponentType<Holder<VillagerType>>
av
VILLAGER_VARIANT
field_56145
VILLAGER_VARIANT
public static final DataComponentType<Holder<WolfVariant>>
aw
WOLF_VARIANT
field_56146
WOLF_VARIANT
public static final DataComponentType<DyeColor>
ax
WOLF_COLLAR
field_56147
WOLF_COLLAR
public static final DataComponentType<Fox$Variant>
ay
FOX_VARIANT
field_56148
FOX_VARIANT
public static final DataComponentType<Salmon$Variant>
az
SALMON_SIZE
field_56149
SALMON_SIZE
public static final DataComponentType<Parrot$Variant>
aA
PARROT_VARIANT
field_56150
PARROT_VARIANT
public static final DataComponentType<TropicalFish$Pattern>
aB
TROPICAL_FISH_PATTERN
field_56151
TROPICAL_FISH_PATTERN
public static final DataComponentType<DyeColor>
aC
TROPICAL_FISH_BASE_COLOR
field_56152
TROPICAL_FISH_BASE_COLOR
public static final DataComponentType<DyeColor>
aD
TROPICAL_FISH_PATTERN_COLOR
field_56132
TROPICAL_FISH_PATTERN_COLOR
public static final DataComponentType<MushroomCow$Variant>
aE
MOOSHROOM_VARIANT
field_56133
MOOSHROOM_VARIANT
public static final DataComponentType<Rabbit$Variant>
aF
RABBIT_VARIANT
field_56134
RABBIT_VARIANT
public static final DataComponentType<Holder<PigVariant>>
aG
PIG_VARIANT
field_56135
PIG_VARIANT
public static final DataComponentType<Holder<FrogVariant>>
aH
FROG_VARIANT
field_56136
FROG_VARIANT
public static final DataComponentType<Variant>
aI
HORSE_VARIANT
field_56137
HORSE_VARIANT
public static final DataComponentType<Holder<PaintingVariant>>
aJ
PAINTING_VARIANT
field_56138
PAINTING_VARIANT
public static final DataComponentType<Llama$Variant>
aK
LLAMA_VARIANT
field_56139
LLAMA_VARIANT
public static final DataComponentType<Axolotl$Variant>
aL
AXOLOTL_VARIANT
field_56140
AXOLOTL_VARIANT
public static final DataComponentType<Holder<CatVariant>>
aM
CAT_VARIANT
field_56141
CAT_VARIANT
public static final DataComponentType<DyeColor>
aN
CAT_COLLAR
field_56142
CAT_COLLAR
public static final DataComponentType<DyeColor>
aO
SHEEP_COLOR
field_56143
SHEEP_COLOR
public static final DataComponentType<DyeColor>
aP
SHULKER_COLOR
field_56144
SHULKER_COLOR
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(jr<ki<?>> 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<ki$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)