Skip to content

[Bug]: mc.getEntities(startPos[,endPos],range) 获取在特定范围内的实体 无法使用 #310

@zmsgsb

Description

@zmsgsb

Describe the bug

Image Image

To Reproduce

mc.getEntities(new IntPos(-222, -60, 121, 0), new IntPos(-227, -58, 116, 0), 10).forEach(en => {
    logger.warn(en.type);
})

Expected behavior

正常返回实体对象列表

Screenshots

Image

Platform

win10

BDS Version

1.21.93

LeviLamina Version

1.4.1

LegacyScriptEngine Version

0.13.0

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