Interface BlockEntityArchetypeVolume

    • Method Detail

      • blockEntityArchetype

        java.util.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
      • blockEntityArchetype

        default java.util.Optional<BlockEntityArchetype> blockEntityArchetype​(Vector3i position)
        Gets the BlockEntityArchetype for the block entity carrying block at the given coordinates.
        Parameters:
        position - The position
        Returns:
        The block entity, if found
      • blockEntityArchetypes

        java.util.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