Package net.minecraft
Record Class class_7737.class_7742<T>
java.lang.Object
java.lang.Record
net.minecraft.class_7737.class_7742<T>
- Record Components:
tag-
- All Implemented Interfaces:
Predicate<RegistryEntry<T>>,class_7737.class_7741<T>
- Enclosing class:
class_7737<T>
private static record class_7737.class_7742<T>(RegistryEntryList.Named<T> tag)
extends Record
implements class_7737.class_7741<T>
- Mappings:
Namespace Name official eo$dintermediary net/minecraft/class_7737$class_7742named net/minecraft/class_7737$class_7742official aintermediary comp_1024named tag
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntryList.Named<T>The field for thetagrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> <E> Optional<class_7737.class_7741<E>>method_45648(RegistryKey<? extends Registry<E>> registryKey) tag()Returns the value of thetagrecord component.booleantest(RegistryEntry<T> registryEntry) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
tag
The field for thetagrecord component.
-
-
Constructor Details
-
class_7742
class_7742(RegistryEntryList.Named<T> named)
-
-
Method Details
-
method_45647
public com.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> method_45647()- Specified by:
method_45647in interfaceclass_7737.class_7741<T>- Mappings:
Namespace Name Mixin selector official aLeo$c;a()Lcom/mojang/datafixers/util/Either;intermediary method_45647Lnet/minecraft/class_7737$class_7741;method_45647()Lcom/mojang/datafixers/util/Either;named method_45647Lnet/minecraft/class_7737$class_7741;method_45647()Lcom/mojang/datafixers/util/Either;
-
method_45648
public <E> Optional<class_7737.class_7741<E>> method_45648(RegistryKey<? extends Registry<E>> registryKey) - Specified by:
method_45648in interfaceclass_7737.class_7741<T>- Mappings:
Namespace Name Mixin selector official aLeo$c;a(Labu;)Ljava/util/Optional;intermediary method_45648Lnet/minecraft/class_7737$class_7741;method_45648(Lnet/minecraft/class_5321;)Ljava/util/Optional;named method_45648Lnet/minecraft/class_7737$class_7741;method_45648(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Optional;
-
test
- Specified by:
testin interfacePredicate<T>- Mappings:
Namespace Name Mixin selector official aLeo$d;a(Lha;)Zintermediary method_45651Lnet/minecraft/class_7737$class_7742;method_45651(Lnet/minecraft/class_6880;)Znamed testLnet/minecraft/class_7737$class_7742;test(Lnet/minecraft/util/registry/RegistryEntry;)Z
-
method_45650
- Specified by:
method_45650in interfaceclass_7737.class_7741<T>- Mappings:
Namespace Name Mixin selector official bLeo$c;b()Ljava/lang/String;intermediary method_45650Lnet/minecraft/class_7737$class_7741;method_45650()Ljava/lang/String;named method_45650Lnet/minecraft/class_7737$class_7741;method_45650()Ljava/lang/String;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-