Uses of Interface
net.minecraft.network.chat.contents.data.DataSource
Packages that use DataSource
Package
Description
-
Uses of DataSource in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type DataSourceModifier and TypeMethodDescriptionstatic MutableComponentComponent.nbt(CompilableString<NbtPathArgument.NbtPath> nbtPath, boolean interpreting, boolean plain, Optional<Component> separator, DataSource dataSource) -
Uses of DataSource in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as DataSourceModifier and TypeFieldDescriptionprivate final DataSourceNbtContents.dataSourceThe field for thedataSourcerecord component.Methods in net.minecraft.network.chat.contents that return DataSourceModifier and TypeMethodDescriptionNbtContents.dataSource()Returns the value of thedataSourcerecord component.Constructors in net.minecraft.network.chat.contents with parameters of type DataSourceModifierConstructorDescriptionNbtContents(CompilableString<NbtPathArgument.NbtPath> nbtPath, boolean interpreting, boolean plain, Optional<Component> separator, DataSource dataSource) Creates an instance of aNbtContentsrecord class. -
Uses of DataSource in net.minecraft.network.chat.contents.data
Classes in net.minecraft.network.chat.contents.data that implement DataSourceModifier and TypeClassDescriptionfinal recordfinal recordfinal recordFields in net.minecraft.network.chat.contents.data with type parameters of type DataSourceModifier and TypeFieldDescriptionstatic final MapCodec<DataSource> DataSources.CODECprivate static final ExtraCodecs.LateBoundIdMapper<String, MapCodec<? extends DataSource>> DataSources.ID_MAPPERMethods in net.minecraft.network.chat.contents.data that return types with arguments of type DataSource