Interface TrackedVolume

    • Method Detail

      • creator

        default java.util.Optional<java.util.UUID> creator​(Vector3i pos)
        Gets the UUID, if available, of the user who created the BlockSnapshot at passed block position.
        Parameters:
        pos - The position to be checked
        Returns:
        The UUID if one exists
      • creator

        default java.util.Optional<java.util.UUID> creator​(int x,
                                                           int y,
                                                           int z)
        Gets the UUID, if available, of the user who created the BlockSnapshot at passed block position.
        Parameters:
        x - The x coordinate
        y - The y coordinate
        z - The z coordinate
        Returns:
        The UUID if one exists
      • notifier

        default java.util.Optional<java.util.UUID> notifier​(Vector3i pos)
        Gets the UUID, if available, of the user who last notified the BlockSnapshot located at passed block position.
        Parameters:
        pos - The position to be checked
        Returns:
        The UUID if one exists
      • notifier

        default java.util.Optional<java.util.UUID> notifier​(int x,
                                                            int y,
                                                            int z)
        Gets the UUID, if available, of the user who last notified the BlockSnapshot located at passed block coordinates.
        Parameters:
        x - The x coordinate
        y - The y coordinate
        z - The z coordinate
        Returns:
        The UUID if available
      • setCreator

        default void setCreator​(Vector3i pos,
                                @Nullable java.util.UUID uuid)
        Sets the UUID of the user who created the BlockSnapshot located at passed block position.
        Parameters:
        pos - The block position where the user data should be applied
        uuid - The UUID to set as creator
      • setCreator

        default void setCreator​(int x,
                                int y,
                                int z,
                                @Nullable java.util.UUID uuid)
        Sets the UUID of the user who created the BlockSnapshot located at passed block coordinates.
        Parameters:
        x - The x coordinate where the user data should be applied
        y - The y coordinate where the user data should be applied
        z - The z coordinate where the user data should be applied
        uuid - The UUID to set as creator
      • setNotifier

        default void setNotifier​(Vector3i pos,
                                 @Nullable java.util.UUID uuid)
        Sets the UUID of the user who last notified the BlockSnapshot located at passed block position.
        Parameters:
        pos - The block position where the user data should be applied
        uuid - The UUID to set as notifier
      • setNotifier

        default void setNotifier​(int x,
                                 int y,
                                 int z,
                                 @Nullable java.util.UUID uuid)
        Sets the UUID of the user who last notified the BlockSnapshot located at passed block coordinates.
        Parameters:
        x - The x coordinate where the user data should be applied
        y - The y coordinate where the user data should be applied
        z - The z coordinate where the user data should be applied
        uuid - The UUID to set as notifier