Files
MAPPET-ULTIMATE-WIKI/scripts/Ae/transparentOwnerMorphNbt-13.md

1.9 KiB
Raw Permalink Blame History

Ae.js — transparentOwnerMorphNbt() (satır 808)

← Ae.js · ← Master

Parça 13/38 · önceki · sonraki

    }

    if (state.tick % 8 === 0)
    {
        play(world, "minecraft:block.portal.ambient", state.centerX, state.centerY + 1.0, state.centerZ, 0.45, 0.6);
    }
}

function startBurst(world, state)
{
    for (var h = 0; h < 11; h++)
    {
        var y = state.centerY + h * 0.46;
        ring(world, state, y, state.radius * (1.12 - h * 0.06), "portal", 64, h * 0.34);
        ring(world, state, y + 0.18, state.radius * (0.98 - h * 0.055), "fireworksSpark", 54, -h * 0.38);
        if (h % 2 === 0)
        {
            ring(world, state, y + 0.34, state.radius * (0.82 - h * 0.045), "spellWitch", 42, h * 0.6);
        }
    }

    spawnFx(world, "spellWitch", state.centerX, state.centerY + 1.5, state.centerZ, 160, state.radius * 0.32, 1.4, state.radius * 0.32, 0.09);
    spawnFx(world, "smoke", state.centerX, state.centerY + 1.2, state.centerZ, 120, state.radius * 0.26, 1.0, state.radius * 0.26, 0.05);
    spawnFx(world, "fireworksSpark", state.centerX, state.centerY + 1.8, state.centerZ, 90, state.radius * 0.18, 0.9, state.radius * 0.18, 0.06);
    play(world, "minecraft:block.portal.trigger", state.centerX, state.centerY + 1.0, state.centerZ, 3.0, 0.42);
    play(world, "minecraft:entity.elder_guardian.curse", state.centerX, state.centerY + 1.0, state.centerZ, 2.0, 0.48);
    play(world, "minecraft:entity.wither.spawn", state.centerX, state.centerY + 1.0, state.centerZ, 1.4, 0.32);
    play(world, "minecraft:entity.enderdragon.growl", state.centerX, state.centerY + 1.0, state.centerZ, 1.2, 0.42);
    play(world, "minecraft:entity.endermen.teleport", state.centerX, state.centerY + 1.0, state.centerZ, 1.7, 0.66);
}