跳转至

PlayerInputPermissions

文档版本:1.21.60.21

PlayerInputPermissions类。script_api.minecraft/server.playerinputpermissions.description

方法

isPermissionCategoryEnabled

script_api.minecraft/server.playerinputpermissions.ispermissioncategoryenabled.description

isPermissionCategoryEnabled(permissionCategory: InputPermissionCategory): boolean
setPermissionCategory

script_api.minecraft/server.playerinputpermissions.setpermissioncategory.description

setPermissionCategory(permissionCategory: InputPermissionCategory, isEnabled: boolean): void