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 esl$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 Summary
Modifier and TypeFieldDescriptionprivate final StructureTemplate.StructureBlockInfo
The field for theinfo
record component.private final JigsawBlockEntity.Joint
The field for thejointType
record component.private final Identifier
The field for thename
record component.private final int
The field for theplacementPriority
record component.private final Identifier
The field for thepool
record component.private final int
The field for theselectionPriority
record component.private final Identifier
The field for thetarget
record component. -
Constructor Summary
ConstructorDescriptionJigsawBlockInfo
(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, Identifier identifier2, Identifier identifier3, int int2, int int3) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.info()
Returns the value of theinfo
record component.Returns the value of thejointType
record component.name()
Returns the value of thename
record component.of
(StructureTemplate.StructureBlockInfo structureBlockInfo) int
Returns the value of theplacementPriority
record component.pool()
Returns the value of thepool
record component.int
Returns the value of theselectionPriority
record component.target()
Returns the value of thetarget
record component.toString()
Returns a string representation of this record class.withInfo
(StructureTemplate.StructureBlockInfo structureBlockInfo)
-
Field Details
-
info
The field for theinfo
record component. -
jointType
The field for thejointType
record component. -
name
The field for thename
record component. -
pool
The field for thepool
record component. -
target
The field for thetarget
record component. -
placementPriority
private final int placementPriorityThe field for theplacementPriority
record component. -
selectionPriority
private final int selectionPriorityThe field for theselectionPriority
record component.
-
-
Constructor Details
-
JigsawBlockInfo
public JigsawBlockInfo(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, Identifier identifier2, Identifier identifier3, int int2, int int3)
-
-
Method Details
-
of
public 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
Lesl$a;a(Lesl$d;)Lesl$a;
-
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. -
withInfo
public 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
Lesl$a;b(Lesl$d;)Lesl$a;
-
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 '=='. -
info
Returns the value of theinfo
record component.- Returns:
- the value of the
info
record component
-
jointType
Returns the value of thejointType
record component.- Returns:
- the value of the
jointType
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
pool
Returns the value of thepool
record component.- Returns:
- the value of the
pool
record component
-
target
Returns the value of thetarget
record component.- Returns:
- the value of the
target
record component
-
placementPriority
public int placementPriority()Returns the value of theplacementPriority
record component.- Returns:
- the value of the
placementPriority
record component
-
selectionPriority
public int selectionPriority()Returns the value of theselectionPriority
record component.- Returns:
- the value of the
selectionPriority
record component
-