Modifier and Type | Method and Description |
---|---|
java.util.List<Block> |
getBlocks()
Get the list of blocks contained in this compound.
|
attachTag, getSubElements, isCompound, replaceSubElement, retrieveTag
public java.util.List<Block> getBlocks()
Get the list of blocks contained in this compound.
Caveat: if this compound is a block itself, the returned list is not empty, it contains self.