Package net.minecraft
Record Class class_11034.class_11037
java.lang.Object
java.lang.Record
net.minecraft.class_11034.class_11037
- Enclosing class:
class_11034
public static record class_11034.class_11037(StructureTemplate a, BlockPos b, StructurePlacementData c, long d, Set<BlockPos> e)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11034$class_11037intermediary net/minecraft/class_11034$class_11037official cyv$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StructureTemplateThe field for thearecord component.private final BlockPosThe field for thebrecord component.private final StructurePlacementDataThe field for thecrecord component.private final longThe field for thedrecord component.The field for theerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11037(StructureTemplate structureTemplate, BlockPos blockPos, StructurePlacementData structurePlacementData, long long2, Set<BlockPos> set) -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.b()Returns the value of thebrecord component.c()Returns the value of thecrecord component.longd()Returns the value of thedrecord component.e()Returns the value of theerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
a
The field for thearecord component. -
b
The field for thebrecord component. -
c
The field for thecrecord component. -
d
private final long dThe field for thedrecord component. -
e
The field for theerecord component.
-
-
Constructor Details
-
class_11037
public class_11037(StructureTemplate structureTemplate, BlockPos blockPos, StructurePlacementData structurePlacementData, long long2, Set<BlockPos> set)
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-
b
Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
c
Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
public long d()Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-
e
Returns the value of theerecord component.- Returns:
- the value of the
erecord component
-