Files

1.9 KiB

potion_rain.js — üst seviye kod

← potion_rain.js · ← Master

Parça 6/8 · önceki · sonraki

    { key: "cow",      name: "Inek",          col: "§6", type: "morph",   morph: '{Name:"minecraft:cow"}', flip: true, fx: "cow" },
    { key: "fish",     name: "Balik",         col: "§3", type: "image",   tex: "minecraft:textures/items/fish_cod_raw.png", fx: "flop" },
    { key: "cookie",   name: "Kurabiye",      col: "§6", type: "image",   tex: "minecraft:textures/items/cookie.png", fx: "eat" },
    { key: "diamond",  name: "Sahte Elmas",   col: "§b", type: "image",   tex: "minecraft:textures/items/diamond.png", fx: "nope" },
    { key: "gold",     name: "Sahte Altin",   col: "§e", type: "image",   tex: "minecraft:textures/items/gold_ingot.png", fx: "nope" },
    { key: "snowball", name: "Kar Topu",      col: "§f", type: "vanilla", entity: "minecraft:snowball" },
    { key: "egg",      name: "Yumurta",       col: "§e", type: "vanilla", entity: "minecraft:egg" },
    { key: "arrow",    name: "Ok",            col: "§7", type: "vanilla", entity: "minecraft:arrow", harm: true },
    { key: "skin",     name: "Karakter Skin", col: "§d", type: "skin",    flip: true, fx: "skin" },
    { key: "morph",    name: "Ozel Morph",    col: "§d", type: "custom",  fx: "none" }
];

var KIND_MAP = {};
for (var ki = 0; ki < KINDS.length; ki++) KIND_MAP[KINDS[ki].key] = KINDS[ki];

// =====================================================================
//  YARDIMCILAR
// =====================================================================
// Not: Mappet sinif filtresi java.lang.System'a izin vermez; Date.now kullan




// NBT sayisi: bilimsel gosterim (1e-7) NBT'de gecersiz


// NBT string'i: tirnak ve ters bolu kacisli
 else if (page === 2) {