|
表面保护 (Surface Protection)Github |相关wiki |源站链接支持: forge防止玩家破坏表面方块
*如何工作:*
它检查玩家试图破坏的当前方块上方的 10 个方块。如果检测到上方有实心方块,则玩家可以摧毁当前方块。
但是,有一些例外情况会阻止玩家无论如何破坏方块。
1 - 第一个例外情况
如果当前方块是以下之一:
黏土、泥土、粗泥土、苔原、耕地、草方块、砂砾、菌丝土、沙子、红沙、雪块、雪、灵魂沙、泥土路径、白色混凝土粉末、橙色混凝土粉末、洋红色混凝土粉末、淡蓝色混凝土粉末、黄色混凝土粉末、石灰色混凝土粉末、粉红色混凝土粉末、灰色混凝土粉末、淡灰色混凝土粉末、青色混凝土粉末、紫色混凝土粉末、蓝色混凝土粉末、棕色混凝土粉末、绿色混凝土粉末、红色混凝土粉末、黑色混凝土粉末、灵魂土、扎根的泥土、泥泞的红树根、泥巴
并且上方有以下之一:
丛林树叶、橡树树叶、云杉树叶、深色橡树树叶、合欢树树叶、白桦树树叶、杜鹃树叶、开花杜鹃树树叶、红树树叶
将取消破坏方块事件。
2 - 第二个例外情况
如果当前方块是以下之一:
任何方块
并且上方有以下之一:
橡木木板、云杉木板、白桦木板、丛林木板、合欢木板、深色橡木木板、绯红木板、诡异木板、红树木板
将取消破坏方块事件。
截图:
来自Modrinth所有游戏版本1.20.1所有类型forgeSurface Protection 0.0.1SurfaceProtection-0.0.1-Forge-1.20.1.jar下载0.0.1#Alpha**Prevent players from breaking surface\'s blocks**## How it work :It check for 10 blocks above the current block that player is trying to break.If a solid block is detected above, the player can destroy the current block.There is some exceptions that prevent players to break block anyway.### 1 - First Exception<details><summary>If current block is one of this :</summary>clay, dirt, coarse_dirt, podzol, farmland, grass_block, gravel, mycelium, sand, red_sand, snow_block, snow, soul_sand, dirt_path, white_concrete_powder, orange_concrete_powder, magenta_concrete_powder, light_blue_concrete_powder, yellow_concrete_powder, lime_concrete_powder, pink_concrete_powder, gray_concrete_powder, light_gray_concrete_powder, cyan_concrete_powder, purple_concrete_powder, blue_concrete_powder, brown_concrete_powder, green_concrete_powder, red_concrete_powder, black_concrete_powder, soul_soil, rooted_dirt, muddy_mangrove_roots, mud</details><details><summary>And have above it one of this :</summary>jungle_leaves, oak_leaves, spruce_leaves, dark_oak_leaves, acacia_leaves, birch_leaves, azalea_leaves, flowering_azalea_leaves, mangrove_leaves</details>It will cancel the breaking block event.### 2 - Second Exception<details><summary>If current block is one of this :</summary>anything</details><details><summary>And have above it one of this :</summary>oak_planks, spruce_planks, birch_planks, jungle_planks, acacia_planks, dark_oak_planks, crimson_planks, warped_planks, mangrove_planks</details>It will cancel the breaking block event.展开版本: 0.0.1支持游戏: 1.20.1类型:ForgeAlpha下载次数: 11全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
表面保护 |
楼主
2025-8-10 19:31:58
回复(0)
收起回复
|