Interface BlockEntityArchetypeVolume

    • Method Detail

      • blockEntityArchetype

        Optional<BlockEntityArchetype> blockEntityArchetype​(int x,
                                                            int y,
                                                            int z)
        Gets the BlockEntityArchetype for the block entity carrying block at the given coordinates.
        Parameters:
        x - The X position
        y - The Y position
        z - The Z position
        Returns:
        The block entity, if found
      • blockEntityArchetypes

        Map<Vector3i,​BlockEntityArchetype> blockEntityArchetypes()
        Gets a map containing all block entity archetypes within this volume, keyed by their positions within the volume.
        Returns:
        The block entity map