Package net.minecraft
Record Class class_11034.class_11037
java.lang.Object
java.lang.Record
net.minecraft.class_11034.class_11037
- Record Components:
structure-origin-settings-seed-doorsToOpen-
- Enclosing class:
class_11034
public static record class_11034.class_11037(StructureTemplate structure, BlockPos origin, StructurePlacementData settings, long seed, Set<BlockPos> doorsToOpen)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11034$class_11037intermediary net/minecraft/class_11034$class_11037official cyv$cnamed structureintermediary comp_3928official anamed originintermediary comp_3929official bnamed settingsintermediary comp_3930official cnamed seedintermediary comp_3931official dnamed doorsToOpenintermediary comp_3932official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thedoorsToOpenrecord component.private final BlockPosThe field for theoriginrecord component.private final longThe field for theseedrecord component.private final StructurePlacementDataThe field for thesettingsrecord component.private final StructureTemplateThe field for thestructurerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11037(StructureTemplate structureTemplate, BlockPos blockPos, StructurePlacementData structurePlacementData, long long2, Set<BlockPos> set) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedoorsToOpenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.origin()Returns the value of theoriginrecord component.longseed()Returns the value of theseedrecord component.settings()Returns the value of thesettingsrecord component.Returns the value of thestructurerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
structure
The field for thestructurerecord component. -
origin
The field for theoriginrecord component. -
settings
The field for thesettingsrecord component. -
seed
private final long seedThe field for theseedrecord component. -
doorsToOpen
The field for thedoorsToOpenrecord 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 '=='. -
structure
Returns the value of thestructurerecord component.- Returns:
- the value of the
structurerecord component
-
origin
Returns the value of theoriginrecord component.- Returns:
- the value of the
originrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
doorsToOpen
Returns the value of thedoorsToOpenrecord component.- Returns:
- the value of the
doorsToOpenrecord component
-