<commit_before>(function() {
    mf._serializableTypeNames = [];

    mf._serializableTypeNames.push("Point");
    mf.Point = function(x, y, z) {
        this._type = "Point";
        this.x = x;
        this.y = y;
        this.z = z;
    };
    mf.Point.prototype.floored = function() {
        return new mf.Point(Math.floor(this.x), Math.floor(this.y), Math.floor(this.z));
    };
    /** returns a new point offset by the amount specified */
    mf.Point.prototype.offset = function(dx, dy, dz) {
        return new mf.Point(this.x + dx, this.y + dy, this.z + dz);
    };
    /** returns a new point */
    mf.Point.prototype.plus = function(other) {
        return this.offset(other.x, other.y, other.z);
    };
    mf.Point.prototype.minus = function(other) {
        return this.offset(-other.x, -other.y, -other.z);
    };
    mf.Point.prototype.scaled = function(scalar) {
        return new mf.Point(this.x * scalar, this.y * scalar, this.z * scalar);
    };
    mf.Point.prototype.abs = function() {
        return new mf.Point(Math.abs(this.x), Math.abs(this.y), Math.abs(this.z));
    };
    /** euclidean distance */
    mf.Point.prototype.distanceTo = function(other) {
        var dx = other.x - this.x;
        var dy = other.y - this.y;
        var dz = other.z - this.z;
        return Math.sqrt(dx * dx + dy * dy + dz * dz);
    };
    mf.Point.prototype.equals = function(other) {
        return this.x === other.x && this.y === other.y && this.z === other.z;
    };
    mf.Point.prototype.toString = function() {
        return "(" + this.x + ", " + this.y + ", " + this.z + ")";
    };
    mf.Point.prototype.clone = function() {
        return this.offset(0, 0, 0);
    };

    mf.Entity = function() {
    };
    mf.Entity.prototype.equals = function(other) {
        return this.entity_id === other.entity_id;
    };

    mf.EntityType = {
        "Player": 1,
        "Mob": 3,
        "Pickup": 4,
    };

    mf._serializableTypeNames.push("Item");
    mf.Item = function(type, count, metadata) {
        this._type = "Item";
        this.type = type;
        this.count = count !== undefined ? count : 1;
        this.metadata = metadata !== undefined ? metadata : 0;
    };

    mf.MetadataUse = {
        "ItemUnknown": 0
        "ItemHealth": 1,
        "ItemType": 2,
        "ItemMap": 3
    };

    mf.Item.prototype.useForMetadata = function() {
        switch(this.type) {
            case 256: // Iron Shovel
            case 257: // Iron Pickaxe
            case 258: // Iron Axe
            case 259: // Flint and Steel
            case 261: // Bow
            case 267: // Iron Sword
            case 268: // Wooden Sword
            case 269: // Wooden Shovel
            case 270: // Wooden Pickaxe
            case 271: // Wooden Axe
            case 272: // Stone Sword
            case 273: // Stone Shovel
            case 274: // Stone Pickaxe
            case 275: // Stone Axe
            case 276: // Diamond Sword<commit_msg>fix syntax error in builtin_types.js. fixes 1.8.1 regression<commit_after>(function() {
    mf._serializableTypeNames = [];

    mf._serializableTypeNames.push("Point");
    mf.Point = function(x, y, z) {
        this._type = "Point";
        this.x = x;
        this.y = y;
        this.z = z;
    };
    mf.Point.prototype.floored = function() {
        return new mf.Point(Math.floor(this.x), Math.floor(this.y), Math.floor(this.z));
    };
    /** returns a new point offset by the amount specified */
    mf.Point.prototype.offset = function(dx, dy, dz) {
        return new mf.Point(this.x + dx, this.y + dy, this.z + dz);
    };
    /** returns a new point */
    mf.Point.prototype.plus = function(other) {
        return this.offset(other.x, other.y, other.z);
    };
    mf.Point.prototype.minus = function(other) {
        return this.offset(-other.x, -other.y, -other.z);
    };
    mf.Point.prototype.scaled = function(scalar) {
        return new mf.Point(this.x * scalar, this.y * scalar, this.z * scalar);
    };
    mf.Point.prototype.abs = function() {
        return new mf.Point(Math.abs(this.x), Math.abs(this.y), Math.abs(this.z));
    };
    /** euclidean distance */
    mf.Point.prototype.distanceTo = function(other) {
        var dx = other.x - this.x;
        var dy = other.y - this.y;
        var dz = other.z - this.z;
        return Math.sqrt(dx * dx + dy * dy + dz * dz);
    };
    mf.Point.prototype.equals = function(other) {
        return this.x === other.x && this.y === other.y && this.z === other.z;
    };
    mf.Point.prototype.toString = function() {
        return "(" + this.x + ", " + this.y + ", " + this.z + ")";
    };
    mf.Point.prototype.clone = function() {
        return this.offset(0, 0, 0);
    };

    mf.Entity = function() {
    };
    mf.Entity.prototype.equals = function(other) {
        return this.entity_id === other.entity_id;
    };

    mf.EntityType = {
        "Player": 1,
        "Mob": 3,
        "Pickup": 4,
    };

    mf._serializableTypeNames.push("Item");
    mf.Item = function(type, count, metadata) {
        this._type = "Item";
        this.type = type;
        this.count = count !== undefined ? count : 1;
        this.metadata = metadata !== undefined ? metadata : 0;
    };

    mf.MetadataUse = {
        "ItemUnknown": 0,
        "ItemHealth": 1,
        "ItemType": 2,
        "ItemMap": 3
    };

    mf.Item.prototype.useForMetadata = function() {
        switch(this.type) {
            case 256: // Iron Shovel
            case 257: // Iron Pickaxe
            case 258: // Iron Axe
            case 259: // Flint and Steel
            case 261: // Bow
            case 267: // Iron Sword
            case 268: // Wooden Sword
            case 269: // Wooden Shovel
            case 270: // Wooden Pickaxe
            case 271: // Wooden Axe
            case 272: // Stone Sword
            case 273: // Stone Shovel
            case 274: // Stone Pickaxe
            case 275: // Stone Axe
            case 276: // Diamond Sword
{'fraction_non_alphanumeric': 0.15268065268065267, 'fraction_numerical': 0.01948051948051948, 'mean_word_length': 1.7758780036968578, 'pattern_counts': {'":': 14, '<': 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': '4789052', 'n_tokens_mistral': 2074, 'n_tokens_neox': 1882, 'n_words': 456}