Package net.minecraft.core.component
Class DataComponents
java.lang.Object
net.minecraft.core.component.DataComponents
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataComponentType
<ItemAttributeModifiers> static final DataComponentType
<BannerPatternLayers> static final DataComponentType
<DyeColor> static final DataComponentType
<List<BeehiveBlockEntity.Occupant>> static final DataComponentType
<CustomData> static final DataComponentType
<BlockItemStateProperties> static final DataComponentType
<CustomData> static final DataComponentType
<BundleContents> static final DataComponentType
<AdventureModePredicate> static final DataComponentType
<AdventureModePredicate> static final DataComponentType
<ChargedProjectiles> static final DataComponentMap
static final DataComponentType
<ItemContainerContents> static final DataComponentType
<SeededContainerLoot> static final DataComponentType
<Unit> static final DataComponentType
<CustomData> static final DataComponentType
<CustomModelData> static final DataComponentType
<Component> static final DataComponentType
<Integer> static final DataComponentType
<DebugStickState> static final DataComponentType
<DyedItemColor> static final DataComponentType
<Boolean> static final DataComponentType
<ItemEnchantments> (package private) static final EncoderCache
static final DataComponentType
<CustomData> static final DataComponentType
<Unit> static final DataComponentType
<FireworkExplosion> static final DataComponentType
<Fireworks> static final DataComponentType
<FoodProperties> static final DataComponentType
<Unit> static final DataComponentType
<Unit> static final DataComponentType
<Holder<Instrument>> static final DataComponentType
<Unit> static final DataComponentType
<Component> static final DataComponentType
<JukeboxPlayable> static final DataComponentType
<LockCode> static final DataComponentType
<LodestoneTracker> static final DataComponentType
<ItemLore> static final DataComponentType
<MapItemColor> static final DataComponentType
<MapDecorations> static final DataComponentType
<MapId> static final DataComponentType
<MapPostProcessing> static final DataComponentType
<Integer> static final DataComponentType
<Integer> static final DataComponentType
<ResourceLocation> static final DataComponentType
<Integer> static final DataComponentType
<PotDecorations> static final DataComponentType
<PotionContents> static final DataComponentType
<ResolvableProfile> static final DataComponentType
<Rarity> static final DataComponentType
<List<ResourceLocation>> static final DataComponentType
<Integer> static final DataComponentType
<ItemEnchantments> static final DataComponentType
<SuspiciousStewEffects> static final DataComponentType
<Tool> static final DataComponentType
<ArmorTrim> static final DataComponentType
<Unbreakable> static final DataComponentType
<WritableBookContent> static final DataComponentType
<WrittenBookContent> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentType
<?> bootstrap
(Registry<DataComponentType<?>> p_330821_) private static <T> DataComponentType
<T> register
(String p_332092_, UnaryOperator<DataComponentType.Builder<T>> p_331261_)
-
Field Details
-
ENCODER_CACHE
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
CUSTOM_NAME
-
ITEM_NAME
-
LORE
-
RARITY
-
ENCHANTMENTS
-
CAN_PLACE_ON
-
CAN_BREAK
-
ATTRIBUTE_MODIFIERS
-
CUSTOM_MODEL_DATA
-
HIDE_ADDITIONAL_TOOLTIP
-
HIDE_TOOLTIP
-
REPAIR_COST
-
CREATIVE_SLOT_LOCK
-
ENCHANTMENT_GLINT_OVERRIDE
-
INTANGIBLE_PROJECTILE
-
FOOD
-
FIRE_RESISTANT
-
TOOL
-
STORED_ENCHANTMENTS
-
DYED_COLOR
-
MAP_COLOR
-
MAP_ID
-
MAP_DECORATIONS
-
MAP_POST_PROCESSING
-
CHARGED_PROJECTILES
-
BUNDLE_CONTENTS
-
POTION_CONTENTS
-
SUSPICIOUS_STEW_EFFECTS
-
WRITABLE_BOOK_CONTENT
-
WRITTEN_BOOK_CONTENT
-
TRIM
-
DEBUG_STICK_STATE
-
ENTITY_DATA
-
BUCKET_ENTITY_DATA
-
BLOCK_ENTITY_DATA
-
INSTRUMENT
-
OMINOUS_BOTTLE_AMPLIFIER
-
JUKEBOX_PLAYABLE
-
RECIPES
-
LODESTONE_TRACKER
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
PROFILE
-
NOTE_BLOCK_SOUND
-
BANNER_PATTERNS
-
BASE_COLOR
-
POT_DECORATIONS
-
CONTAINER
-
BLOCK_STATE
-
BEES
-
LOCK
-
CONTAINER_LOOT
-
COMMON_ITEM_COMPONENTS
-
-
Constructor Details
-
DataComponents
public DataComponents()
-
-
Method Details
-
bootstrap
-
register
private static <T> DataComponentType<T> register(String p_332092_, UnaryOperator<DataComponentType.Builder<T>> p_331261_)
-