攻击玩家时,随机窃取(直接删除)玩家物品栏中的一件物品。
默认禁用。
配置
stealableItems = [
"minecraft:amethyst_shard",
"minecraft:beacon",
"minecraft:creeper_head",
"minecraft:diamond",
"minecraft:dragon_egg",
"minecraft:dragon_head",
"minecraft:elytra",
"minecraft:emerald",
"minecraft:enchanted_golden_apple",
"minecraft:filled_map",
"minecraft:gold_ingot",
"minecraft:golden_apple",
"minecraft:heart_of_the_sea",
"minecraft:iron_ingot",
"minecraft:lapis_lazuli",
"minecraft:nether_star",
"minecraft:netherite_ingot",
"minecraft:player_head",
"minecraft:potion",
"minecraft:skeleton_skull",
"minecraft:totem_of_undying",
"minecraft:wither_skeleton_skull",
"minecraft:zombie_head"
]
可配置可被窃取的物品,列表项值为物品的命名空间ID,默认如下: