BigDoors Physics

本插件通过多种方式为 Spigot 插件 BigDoors 添加碰撞检测。
实现方式
- Shulkers(默认 1.19+)
- 允许网格外碰撞
- 每个门方块需要 2 个实体
- 潜影贝头部有时可见
- Barriers(默认 1.16.5-1.18.2)
- 锁定在 Minecraft 网格上
- 更加实心
- 完全不可见
- 无需额外实体
依赖项
- Java 11+(必需)
- BigDoors(必需)
- ProtocolLib(可选)
- 允许使用数据包剔除潜影贝
命令与权限
| 命令 | 权限 | 默认值 | 描述 |
|---|---|---|---|
/killbigdoorsphysicsentities |
bigdoorsphysics.admin.killentities |
false |
杀死该插件创建的所有实体 |
示例配置
# 插件应如何创建碰撞体
# 有效选项:BARRIER, SHULKER, NONE
# 任何无效选择都将设置为适合你版本的默认值
method:
door: SHULKER
drawbridge: SHULKER
portcullis: SHULKER
sliding: SHULKER
### 潜影贝选项
# 使玩家随潜影贝移动,这仅在潜影贝和玩家相互穿透时生效。
# 当潜影贝和玩家未相互穿透时,此设置不会生效
# 对大型玩家数量和门数量可能有 TPS 影响
move-player-with-shulker: true
# 使所有非玩家实体随潜影贝移动,这仅在潜影贝和实体相互穿透时生效。
# 当潜影贝和实体未相互穿透时,此设置不会生效
# 由于服务器上通常存在大量实体,其对性能的影响比玩家更大
move-entity-with-shulker: true
# 验证移动结束时实体未与门发生穿透
# 如果实体在移动结束时站在门上,它们将被向上传送一小段距离,以防止其穿过门掉落
# 这仅适用于上方启用的实体/玩家
# 这应具有最小的性能影响
correct-ending-clipping: true
# 隐藏距离玩家较远的潜影贝
# 注意:这需要 ProtocolLib 才能工作
cull-distant-shulkers: true
# 潜影贝需要距离多远才会被剔除
# 设置为小于 0 的数字以始终剔除潜影贝
# 注意:如果玩家与已剔除的潜影贝交互,其行为将类似于幽灵方块
shulker-cull-distance: 4
# 潜影贝是否应在门上生成,还是在远处生成
# 当此设置为 true 时,潜影贝将在其最终位置附近生成
# 当此设置为 false 时,潜影贝将在世界高度上方约 10 万块处生成,以便在设置期间隐藏它们
# 启用此项有助于与区域插件兼容(特别是如果你使用区域来控制生物生成)
# 默认情况下,如果服务器上有 ProtocolLib,则启用此项,潜影贝将在设置期间使用数据包隐藏
spawn-shulkers-on-door: true
### 屏障选项
# 使用额外数据包在屏障距离较远时将其隐藏
# 这可能产生中等性能影响,主要影响 FPS
hide-barriers: true
# 根据门的移动方向移动靠近门的玩家
# 这可能产生较小的性能影响,主要影响 TPS
move-player-with-barrier: true
### 其他选项
# 是否通过 https://modrinth.com/ 检查更新
# 仅在启动时检查更新
check-for-updates: true
通过 bStats 的使用统计
BigDoors Physics

This plugin adds collisions to the spigot plugin BigDoors through several methods.
The Methods
- Shulkers (Default 1.19+)
- Allows off grid collisions
- Requires 2 entities per door block
- Shulker heads are sometimes visible
- Barriers (Default 1.16.5-1.18.2)
- Locked to minecraft grid
- More solid
- Completely invisible
- No extra entities
Dependencies
- Java 11+ (Required)
- BigDoors (Required)
- ProtocolLib (Optional)
- Allows culling of shulkers using packets
Commands and Permissions
| Command | Permission | Default | Description |
|---|---|---|---|
/killbigdoorsphysicsentities |
bigdoorsphysics.admin.killentities |
false |
Kills all entities created by the plugin |
Example Config
# How the plugin should create the colliders
# Valid options: BARRIER, SHULKER, NONE
# Any invalid selection will be set to the default for your version
method:
door: SHULKER
drawbridge: SHULKER
portcullis: SHULKER
sliding: SHULKER
### Shulker Options
# Make the player move with the shulker, this only has an effect when the shulker and player clip into one another.
# It will not have an effect when the shulker and player are not clipped into each other
# Potential tps impact on larger player and door counts
move-player-with-shulker: true
# Make all non-player entities move with the shulker, this only has an effect when the shulker and entity clip into one another.
# It will not have an effect when the shulker and entity are not clipped into each other
# Larger performance impact than with players, due to the usually larger amount of entities on a server
move-entity-with-shulker: true
# Verify that the moved entity is not clipping into the door when it finishes moving
# If a entity is standing on top of a door when it finishes moving they will be
# teleported up a small amount to prevent them from falling through the door
# This will only apply to entities / players if they are enabled above
# This should have a minimal performance impact
correct-ending-clipping: true
# Hide shulkers that are far away from the player
# NOTE: This requires ProtocolLib to work
cull-distant-shulkers: true
# How many blocks away a shulker needs to be to be culled
# Set to number less than 0 to always cull shulkers
# NOTE: If player interacts will culled shulker it will behave similarly to a ghost block
shulker-cull-distance: 4
# If shulkers should be spawned on the door, or far away
# When this is set to true the shulkers will be spawned near their final locations
# When this is set to false the shulkers will be spawned ~100k blocks above the world height to hide them while they are being set up
# Enabling this can help with compatibility with region plugins (Specifically if you are using regions to control mob spawning)
# By default this is enabled if ProtocolLib is on the server and shulkers will instead be hidden during setup using packets
spawn-shulkers-on-door: true
### Barrier Options
# Use extra packets to hide barriers when they are far away
# This may have a medium performance impact, primarily fps
hide-barriers: true
# Move players who are near the door in accordance with the direction of the door
# This may have a small performance impact, primarily tps
move-player-with-barrier: true
### Other Options
# Whether or not to check for updates via https://modrinth.com/
# Updates will only be checked for on startup
check-for-updates: true
Usage Statistics via bStats
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BigDoors Physics
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
维护更新,以支持 BigDoors 0.1.8.64 中引入的版本跟踪变更。
已移除
- BigDoors 启动版本检查
- 此启动检查原本用于减少 Bug 报告,因为 BigDoorsPhysics 最初需要非常新版本的 BigDoors。然而,该检查在最新的 BigDoors 更新中失效,经过审查后,我确定 BigDoorsPhysics 已不再需要此类启动检查。
已更新
- 基于 ProtocolLib 5.3.0 进行构建
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧