Package net.minecraft.text
Record Class StorageNbtDataSource
java.lang.Object
java.lang.Record
net.minecraft.text.StorageNbtDataSource
- Record Components:
- id-
- All Implemented Interfaces:
- NbtDataSource
- Mappings:
- Namespace - Name - named - net/minecraft/text/StorageNbtDataSource- intermediary - net/minecraft/class_4616- official - xz- named - id- intermediary - comp_738- official - d
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.text.NbtDataSourceNbtDataSource.Type<T extends NbtDataSource>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<StorageNbtDataSource> private final IdentifierThe field for theidrecord component.static final NbtDataSource.Type<StorageNbtDataSource> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.get(ServerCommandSource source) getType()final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.toString()Returns a string representation of this record class.
- 
Field Details- 
idThe field for theidrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/text/StorageNbtDataSource;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46631- Lnet/minecraft/class_4616;field_46631:Lcom/mojang/serialization/MapCodec;- official - a- Lxz;a:Lcom/mojang/serialization/MapCodec;
 
- 
TYPE- Mappings:
- Namespace - Name - Mixin selector - named - TYPE- Lnet/minecraft/text/StorageNbtDataSource;TYPE:Lnet/minecraft/text/NbtDataSource$Type;- intermediary - field_46632- Lnet/minecraft/class_4616;field_46632:Lnet/minecraft/class_7419$class_8827;- official - b- Lxz;b:Lxr$a;
 
 
- 
- 
Constructor Details- 
StorageNbtDataSource
 
- 
- 
Method Details- 
get- Specified by:
- getin interface- NbtDataSource
- Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/text/NbtDataSource;get(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;- intermediary - method_10916- Lnet/minecraft/class_7419;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;- official - a- Lxr;a(Lex;)Ljava/util/stream/Stream;
 
- 
getType- Specified by:
- getTypein interface- NbtDataSource
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/text/NbtDataSource;getType()Lnet/minecraft/text/NbtDataSource$Type;- intermediary - method_54225- Lnet/minecraft/class_7419;method_54225()Lnet/minecraft/class_7419$class_8827;- official - a- Lxr;a()Lxr$a;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
 
-