Package net.minecraft.structure
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/StructurePiecesHolderintermediary net/minecraft/class_6130official ejw
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPiece(StructurePiece piece) Adds a structure piece into this holder.getIntersecting(BlockBox box) Returns an arbitrary piece in this holder that intersects the givenbox, ornullif there is no such piece.
-
Method Details
-
addPiece
Adds a structure piece into this holder.- Parameters:
piece- the piece to add- Mappings:
Namespace Name Mixin selector named addPieceLnet/minecraft/structure/StructurePiecesHolder;addPiece(Lnet/minecraft/structure/StructurePiece;)Vintermediary method_35462Lnet/minecraft/class_6130;method_35462(Lnet/minecraft/class_3443;)Vofficial aLejw;a(Lejv;)V
-
getIntersecting
Returns an arbitrary piece in this holder that intersects the givenbox, ornullif there is no such piece.- Parameters:
box- the box to check intersection against- Mappings:
Namespace Name Mixin selector named getIntersectingLnet/minecraft/structure/StructurePiecesHolder;getIntersecting(Lnet/minecraft/util/math/BlockBox;)Lnet/minecraft/structure/StructurePiece;intermediary method_35461Lnet/minecraft/class_6130;method_35461(Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;official aLejw;a(Lejj;)Lejv;
-