<commit_before>package com.publicuhc.pluginframework.util;

public class Coordinates {

    private double x,y,z;

    public Coordinates(double x, double y, double z)
    {
        this.x = x;
        this.y = y;
        this.z = z;
    }


    public double getX()
    {
        return x;
    }

    public void setX(double x)
    {
        this.x = x;
    }

    public double getY()
    {
        return y;
    }

    public void setY(double y)
    {
        this.y = y;
    }<commit_msg>add a way to get a location from a coordinates<commit_after>package com.publicuhc.pluginframework.util;

import org.bukkit.Location;
import org.bukkit.World;

public class Coordinates {

    private double x,y,z;

    public Coordinates(double x, double y, double z)
    {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public Location asLocationForWorld(World world)
    {
        return new Location(world, x, y, z);
    }

    public double getX()
    {
        return x;
    }

    public void setX(double x)
    {
        this.x = x;
    }

    public double getY()
    {
        return y;
    }

    public void setY(double y)
    {
        this.y = y;
    }
{'fraction_non_alphanumeric': 0.09830508474576272, 'fraction_numerical': 0.0, 'mean_word_length': 1.6902050113895217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4823645', 'n_tokens_mistral': 409, 'n_tokens_neox': 391, 'n_words': 109}