Package net.minecraft
Record Class class_10703
java.lang.Object
java.lang.Record
net.minecraft.class_10703
- Record Components:
requiredStructures-
- All Implemented Interfaces:
Predicate<class_10701>,class_10695.class_10697<class_10701>,class_10699
public record class_10703(RegistryEntryList<Structure> requiredStructures)
extends Record
implements class_10699
- Mappings:
Namespace Name named net/minecraft/class_10703intermediary net/minecraft/class_10703official csznamed requiredStructuresintermediary comp_3584official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_10703> private final RegistryEntryList<Structure> The field for therequiredStructuresrecord component.Fields inherited from interface net.minecraft.class_10699
field_56284 -
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.serialization.MapCodec<class_10703> Returns the value of therequiredStructuresrecord component.booleantest(class_10701 class_10701) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
requiredStructures
The field for therequiredStructuresrecord component. -
field_56287
- Mappings:
Namespace Name Mixin selector named field_56287Lnet/minecraft/class_10703;field_56287:Lcom/mojang/serialization/MapCodec;intermediary field_56287Lnet/minecraft/class_10703;field_56287:Lcom/mojang/serialization/MapCodec;official aLcsz;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10703
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<class_10701>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_10703;test(Lnet/minecraft/class_10701;)Zintermediary method_67173Lnet/minecraft/class_10703;method_67173(Lnet/minecraft/class_10701;)Zofficial aLcsz;a(Lcsx;)Z
-
method_67151
- Specified by:
method_67151in interfaceclass_10699- Mappings:
Namespace Name Mixin selector named method_67151Lnet/minecraft/class_10699;method_67151()Lcom/mojang/serialization/MapCodec;intermediary method_67151Lnet/minecraft/class_10699;method_67151()Lcom/mojang/serialization/MapCodec;official aLcsv;a()Lcom/mojang/serialization/MapCodec;
-
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). -
requiredStructures
Returns the value of therequiredStructuresrecord component.- Returns:
- the value of the
requiredStructuresrecord component
-