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 Details

  • Constructor Details

  • Method Details

    • of

      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

      public String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • withInfo

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • info

      Returns the value of the info record component.
      Returns:
      the value of the info record component
    • jointType

      public JigsawBlockEntity.Joint jointType()
      Returns the value of the jointType record component.
      Returns:
      the value of the jointType record component
    • name

      public Identifier name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • pool

      public Identifier pool()
      Returns the value of the pool record component.
      Returns:
      the value of the pool record component
    • target

      public Identifier target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • placementPriority

      public int placementPriority()
      Returns the value of the placementPriority record component.
      Returns:
      the value of the placementPriority record component
    • selectionPriority

      public int selectionPriority()
      Returns the value of the selectionPriority record component.
      Returns:
      the value of the selectionPriority record component