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, RegistryKey<StructurePool> pool, Identifier target, int placementPriority, int selectionPriority)
extends Record
- Mappings:
Namespace Name named net/minecraft/structure/StructureTemplate$JigsawBlockInfointermediary net/minecraft/class_3499$class_10326official ewp$anamed infointermediary comp_3278official anamed jointTypeintermediary comp_3279official bnamed nameintermediary comp_3280official cnamed poolintermediary comp_3281official dnamed targetintermediary comp_3282official enamed placementPriorityintermediary comp_3283official fnamed selectionPriorityintermediary comp_3284official g
-
Field Summary
FieldsModifier 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 RegistryKey<StructurePool> The field for thepoolrecord component.private final intThe field for theselectionPriorityrecord component.private final IdentifierThe field for thetargetrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionJigsawBlockInfo(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, RegistryKey<StructurePool> registryKey, Identifier identifier2, int int2, int int3) -
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.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
-
info
The field for theinforecord component. -
jointType
The field for thejointTyperecord component. -
name
The field for thenamerecord component. -
pool
The field for thepoolrecord component. -
target
The field for thetargetrecord component. -
placementPriority
private final int placementPriorityThe field for theplacementPriorityrecord component. -
selectionPriority
private final int selectionPriorityThe field for theselectionPriorityrecord component.
-
-
Constructor Details
-
JigsawBlockInfo
public JigsawBlockInfo(StructureTemplate.StructureBlockInfo structureBlockInfo, JigsawBlockEntity.Joint joint, Identifier identifier, RegistryKey<StructurePool> registryKey, Identifier identifier2, int int2, int int3)
-
-
Method Details
-
of
public static StructureTemplate.JigsawBlockInfo of(StructureTemplate.StructureBlockInfo structureBlockInfo) - Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;of(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;)Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;intermediary method_64824Lnet/minecraft/class_3499$class_10326;method_64824(Lnet/minecraft/class_3499$class_3501;)Lnet/minecraft/class_3499$class_10326;official aLewp$a;a(Lewp$d;)Lewp$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 withInfoLnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;withInfo(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;)Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;intermediary method_64825Lnet/minecraft/class_3499$class_10326;method_64825(Lnet/minecraft/class_3499$class_3501;)Lnet/minecraft/class_3499$class_10326;official bLewp$a;b(Lewp$d;)Lewp$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 theinforecord component.- Returns:
- the value of the
inforecord component
-
jointType
Returns the value of thejointTyperecord component.- Returns:
- the value of the
jointTyperecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
pool
Returns the value of thepoolrecord component.- Returns:
- the value of the
poolrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
placementPriority
public int placementPriority()Returns the value of theplacementPriorityrecord component.- Returns:
- the value of the
placementPriorityrecord component
-
selectionPriority
public int selectionPriority()Returns the value of theselectionPriorityrecord component.- Returns:
- the value of the
selectionPriorityrecord component
-