Interface StructurePiecesHolder

All Known Implementing Classes:
StructurePiecesCollector

public interface StructurePiecesHolder
A holder of structure pieces to be added.
See Also:
Mappings:
Namespace Name
named net/minecraft/structure/StructurePiecesHolder
intermediary net/minecraft/class_6130
official ejw
  • Method Details

    • addPiece

      void addPiece(StructurePiece piece)
      Adds a structure piece into this holder.
      Parameters:
      piece - the piece to add
      Mappings:
      Namespace Name Mixin selector
      named addPiece Lnet/minecraft/structure/StructurePiecesHolder;addPiece(Lnet/minecraft/structure/StructurePiece;)V
      intermediary method_35462 Lnet/minecraft/class_6130;method_35462(Lnet/minecraft/class_3443;)V
      official a Lejw;a(Lejv;)V
    • getIntersecting

      Returns an arbitrary piece in this holder that intersects the given box, or null if there is no such piece.
      Parameters:
      box - the box to check intersection against
      Mappings:
      Namespace Name Mixin selector
      named getIntersecting Lnet/minecraft/structure/StructurePiecesHolder;getIntersecting(Lnet/minecraft/util/math/BlockBox;)Lnet/minecraft/structure/StructurePiece;
      intermediary method_35461 Lnet/minecraft/class_6130;method_35461(Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;
      official a Lejw;a(Lejj;)Lejv;