Package net.minecraft
Record Class class_7059
java.lang.Object
java.lang.Record
net.minecraft.class_7059
- Record Components:
structures-placement-
public record class_7059(List<class_7059.class_7060> structures, StructurePlacement placement)
extends Record
- Mappings:
Namespace Name official dfointermediary net/minecraft/class_7059named net/minecraft/class_7059official cintermediary comp_510named structuresofficial dintermediary comp_511named placement
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_7059>static final com.mojang.serialization.Codec<RegistryEntry<class_7059>>private final StructurePlacementThe field for theplacementrecord component.private final List<class_7059.class_7060>The field for thestructuresrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7059(List<class_7059.class_7060> list, StructurePlacement structurePlacement) class_7059(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry, StructurePlacement structurePlacement) -
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.static class_7059.class_7060method_41145(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry) static class_7059.class_7060method_41146(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry, int int2) Returns the value of theplacementrecord component.Returns the value of thestructuresrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
structures
The field for thestructuresrecord component. -
placement
The field for theplacementrecord component. -
field_37195
- Mappings:
Namespace Name Mixin selector official aLdfo;a:Lcom/mojang/serialization/Codec;intermediary field_37195Lnet/minecraft/class_7059;field_37195:Lcom/mojang/serialization/Codec;named field_37195Lnet/minecraft/class_7059;field_37195:Lcom/mojang/serialization/Codec;
-
field_37196
- Mappings:
Namespace Name Mixin selector official bLdfo;b:Lcom/mojang/serialization/Codec;intermediary field_37196Lnet/minecraft/class_7059;field_37196:Lcom/mojang/serialization/Codec;named field_37196Lnet/minecraft/class_7059;field_37196:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7059
public class_7059(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry, StructurePlacement structurePlacement) -
class_7059
-
-
Method Details
-
method_41146
public static class_7059.class_7060 method_41146(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry, int int2) - Mappings:
Namespace Name Mixin selector official aLdfo;a(Lgr;I)Ldfo$a;intermediary method_41146Lnet/minecraft/class_7059;method_41146(Lnet/minecraft/class_6880;I)Lnet/minecraft/class_7059$class_7060;named method_41146Lnet/minecraft/class_7059;method_41146(Lnet/minecraft/util/registry/RegistryEntry;I)Lnet/minecraft/class_7059$class_7060;
-
method_41145
public static class_7059.class_7060 method_41145(RegistryEntry<ConfiguredStructureFeature<?, ?>> registryEntry) - Mappings:
Namespace Name Mixin selector official aLdfo;a(Lgr;)Ldfo$a;intermediary method_41145Lnet/minecraft/class_7059;method_41145(Lnet/minecraft/class_6880;)Lnet/minecraft/class_7059$class_7060;named method_41145Lnet/minecraft/class_7059;method_41145(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/class_7059$class_7060;
-
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). -
structures
Returns the value of thestructuresrecord component.- Returns:
- the value of the
structuresrecord component
-
placement
Returns the value of theplacementrecord component.- Returns:
- the value of the
placementrecord component
-