Package net.minecraft.structure
Record Class StructureTemplate.JigsawBlockInfo
java.lang.Object
java.lang.Record
net.minecraft.structure.StructureTemplate.JigsawBlockInfo
- Record Components:
- info-
- jointType-
- name-
- pool-
- target-
- placementPriority-
- selectionPriority-
- Enclosing class:
- StructureTemplate
public static record StructureTemplate.JigsawBlockInfo(StructureTemplate.StructureBlockInfo info, JigsawBlockEntity.Joint jointType, Identifier name, Identifier pool, Identifier target, int placementPriority, int selectionPriority)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/structure/StructureTemplate$JigsawBlockInfo- intermediary - net/minecraft/class_3499$class_10326- official - erp$a- named - info- intermediary - comp_3278- official - a- named - jointType- intermediary - comp_3279- official - b- named - name- intermediary - comp_3280- official - c- named - pool- intermediary - comp_3281- official - d- named - target- intermediary - comp_3282- official - e- named - placementPriority- intermediary - comp_3283- official - f- named - selectionPriority- intermediary - comp_3284- official - g
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final StructureTemplate.StructureBlockInfoThe field for theinforecord component.private final JigsawBlockEntity.JointThe field for thejointTyperecord component.private final IdentifierThe field for thenamerecord component.private final intThe field for theplacementPriorityrecord component.private final IdentifierThe field for thepoolrecord component.private final intThe field for theselectionPriorityrecord component.private final IdentifierThe field for thetargetrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionJigsawBlockInfo(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, Identifier identifier2, Identifier identifier3, int int2, int int3) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.info()Returns the value of theinforecord component.Returns the value of thejointTyperecord component.name()Returns the value of thenamerecord component.of(StructureTemplate.StructureBlockInfo structureBlockInfo) intReturns the value of theplacementPriorityrecord component.pool()Returns the value of thepoolrecord component.intReturns the value of theselectionPriorityrecord component.target()Returns the value of thetargetrecord component.toString()Returns a string representation of this record class.withInfo(StructureTemplate.StructureBlockInfo structureBlockInfo) 
- 
Field Details- 
infoThe field for theinforecord component.
- 
jointTypeThe field for thejointTyperecord component.
- 
nameThe field for thenamerecord component.
- 
poolThe field for thepoolrecord component.
- 
targetThe field for thetargetrecord component.
- 
placementPriorityprivate final int placementPriorityThe field for theplacementPriorityrecord component.
- 
selectionPriorityprivate final int selectionPriorityThe field for theselectionPriorityrecord component.
 
- 
- 
Constructor Details- 
JigsawBlockInfopublic JigsawBlockInfo(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, Identifier identifier2, Identifier identifier3, int int2, int int3) 
 
- 
- 
Method Details- 
ofpublic static StructureTemplate.JigsawBlockInfo of(StructureTemplate.StructureBlockInfo structureBlockInfo) - Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;of(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;)Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;- intermediary - method_64824- Lnet/minecraft/class_3499$class_10326;method_64824(Lnet/minecraft/class_3499$class_3501;)Lnet/minecraft/class_3499$class_10326;- official - a- Lerp$a;a(Lerp$d;)Lerp$a;
 
- 
toStringReturns 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.
- 
withInfopublic StructureTemplate.JigsawBlockInfo withInfo(StructureTemplate.StructureBlockInfo structureBlockInfo) - Mappings:
- Namespace - Name - Mixin selector - named - withInfo- Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;withInfo(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;)Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;- intermediary - method_64825- Lnet/minecraft/class_3499$class_10326;method_64825(Lnet/minecraft/class_3499$class_3501;)Lnet/minecraft/class_3499$class_10326;- official - b- Lerp$a;b(Lerp$d;)Lerp$a;
 
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
infoReturns the value of theinforecord component.- Returns:
- the value of the inforecord component
 
- 
jointTypeReturns the value of thejointTyperecord component.- Returns:
- the value of the jointTyperecord component
 
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
poolReturns the value of thepoolrecord component.- Returns:
- the value of the poolrecord component
 
- 
targetReturns the value of thetargetrecord component.- Returns:
- the value of the targetrecord component
 
- 
placementPrioritypublic int placementPriority()Returns the value of theplacementPriorityrecord component.- Returns:
- the value of the placementPriorityrecord component
 
- 
selectionPrioritypublic int selectionPriority()Returns the value of theselectionPriorityrecord component.- Returns:
- the value of the selectionPriorityrecord component
 
 
-