Closed panjj95 closed 5 months ago
mc.listen("onMobTrySpawn", (typeName, _pos) => { if (typeName === "minecraft:phantom" || typeName === "minecraft:wandering_trader") { return false; } })
正常使用
No response
Windows 10
1.20.72.01
0.10.1
0.5.1
https://github.com/LiteLDev/LeviLamina/issues/1499
Describe the bug
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