Skip to content

[Bug]: onMobTrySpawn事件出错 #81

@panjj95

Description

@panjj95

Describe the bug

image

To Reproduce

mc.listen("onMobTrySpawn", (typeName, _pos) => {
if (typeName === "minecraft:phantom" || typeName === "minecraft:wandering_trader") {
return false;
}
})

Expected behavior

正常使用

Screenshots

No response

Platform

Windows 10

BDS Version

1.20.72.01

LeviLamina Version

0.10.1

LegacyScriptEngine Version

0.5.1

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