Skip to content

[Bug]: mc.explode();有一些问题 #111

Closed
@Ctrini

Description

@Ctrini

Describe the bug

mc.explode();不断运行

To Reproduce

mc.listen("onBlockExplode", (source,pos) => {
let it = '';
log(source.type + " 1");
if (source.type === 'minecraft:air'){
mc.explode(pos.x, pos.y, pos.z, pos.dimid, it, 3, false, false);
return false;
}
});

使用上述代码后。去下界或末地,点击床一次就会崩服

Expected behavior

[2024-04-28 15:48:49.029 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.170 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.170 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.170 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.170 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.170 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.279 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.279 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.279 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.279 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.279 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.373 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.373 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.373 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.373 INFO][a] minecraft:air 1

[2024-04-28 15:48:49.373 INFO][a] minecraft:air 1

......

Screenshots

No response

Platform

winserver2019

BDS Version

1.20.73

LeviLamina Version

0.11.1

LegacyScriptEngine Version

0.6.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions