ChainDecor
ChainDecor 是一款适用于 Purpur/Paper 的服务端插件,可在方块之间添加装饰性的悬挂链条。你可以将灯笼、旗帜、末影 rods 和悬挂花盆附加到链条段上,同时保留视觉样式和旗帜图案。
它支持下垂链条、详细配置、每段装饰放置、单独移除装饰、多种锚点类型、真实灯笼光源、链条滑索以及红石动力链条升降机。
ChainDecor 专为希望在不依赖任何客户端模组的情况下获得更精细的装饰性和功能性链条机制的建筑师和生存服务器设计。
主要特性
- 在支持的锚点方块之间创建装饰性悬挂链条
- 具有可配置物理效果的逼真链条下垂效果
- 可将灯笼、旗帜、末影 rods 和悬挂花盆附加到单个链条段上
- 在悬挂花盆中种植花卉、树苗和其他支持的植物
- 旗帜图案保留玩家手中物品上的图案
- 使用剪刀可以从特定链条段移除特定装饰
- 灯笼可以为周围区域提供真实光照
- 链条可用作滑索
- 红石驱动的链条可作为链条升降机
- 支持栅栏、墙、铁栏杆、铜栏杆、避雷针,以及可选的全方块锚点支持
- 完全在服务端运行,客户端无需安装
2.0.0 新增内容
- 为链条段添加了悬挂花盆
- 添加了在悬挂花盆中种植花卉和树苗的支持
- 添加了链条滑索功能
- 添加了滑索移动时的音效
- 添加了红石动力链条升降机
- 当两个锚点均被激活时,添加了方向选择功能
- 添加了 X、Y 和 Z 轴独立的红石检测半径设置
- 添加了乘坐滑索时锄头耐久度损耗的可选选项
- 添加了当链条通电时阻止或掉落装饰品的选项
- 添加了完整的语言文件支持
装饰品
每个链条段一次只能容纳一个装饰品:

这允许形成如下模式:
- 旗帜、灯笼、旗帜、灯笼
- 灯笼、旗帜、末影 rod
- 悬挂花盆、灯笼、悬挂花盆
- 交替装饰布局,避免在同一链条段上重叠
悬挂花盆
花盆可以直接附加到链条段上。
- 手持花盆
- 右键点击链条段
- 右键点击悬挂花盆并放入植物、花卉或树苗以进行种植
对悬挂花盆使用剪刀会将其移除。
如果花盆中含有植物,该植物也可以单独掉落。
滑索与红石链条升降机

链条还可以用作滑索。
如果链条未由红石供电,它将作为普通的下坡滑索工作。
unpowered chain = downhill only
如果仅上方锚点通电,链条将作为升降机并将玩家向上拉动。
upper anchor powered = upward lift
如果两个锚点均通电,玩家可以通过沿链条方向观察来选择移动方向。
both anchors powered = choose direction by looking along the chain
根据配置,通电链条还可以阻止新装饰品的放置或掉落现有装饰品。
移除
对已装饰的链条段使用剪刀,首先移除附着在该段上的装饰品。
如果该段上没有装饰品,则可以移除链条本身。
配置
配置文件
- 位置:
plugins/ChainDecor/config.yml
- 重载命令:
/chains reload
主要选项
- 链条下垂强度和限制
- 锚点支持规则
- 灯笼偏移量和连接器大小
- 旗帜大小、偏移量和坡度行为
- 末影 rod 位置和坡度行为
- 悬挂花盆位置和链条包裹
- 滑索速度、音效、碰撞检测和物品耐久度
- 红石升降机行为
- 按 X、Y 和 Z 划分的红石检测半径
- 装饰品间距规则
- 可选支持所有方块作为锚点
- 语言选择
示例红石升降机设置
zipline-powered-lift-redstone-radius-x: 5
zipline-powered-lift-redstone-radius-y: 5
zipline-powered-lift-redstone-radius-z: 5
zipline-powered-lift-speed-blocks-per-tick: 0.5
锚点支持
默认情况下,链条可以附加到以下方块:
你还可以启用此选项:
support-all-blocks: true
启用后,链条可以附加到任意方块。
命令
| 命令 |
描述 |
/chains reload |
重载插件配置和语言文件 |
示例
创建悬挂链条
- 手持支持的链条物品
- 右键点击第一个锚点
- 右键点击第二个锚点
悬挂灯笼
- 手持灯笼
- 右键点击链条段
悬挂旗帜
- 手持任意旗帜
- 右键点击链条段
悬挂末影 rod
- 手持末影 rod
- 右键点击链条段
悬挂花盆
- 手持花盆
- 右键点击链条段
- 右键点击悬挂花盆并放入植物以进行种植
乘坐滑索
- 右键点击配置了滑索物品的链条
- 如果链条未通电,你将向下坡滑行
- 如果上方锚点通电,你将向上滑行
- 如果两个锚点均通电,沿链条方向观察以选择方向
移除装饰品
- 手持剪刀
- 右键点击已装饰的链条段
语言
语言文件存储在:
plugins/ChainDecor/lang/
可用语言:
- 俄语 (Russian)
- 英语 (English)
- 德语 (German)
- 西班牙语 (Spanish)
- 鞑靼语 (Tatar)
- 哈萨克语 (Kazakh)
可以在 config.yml 中选择活动语言。
language: en
安装
这是适用于 Purpur/Paper 的服务端插件,客户端无需安装。
- 将插件 jar 文件放入
plugins 文件夹
- 启动服务器
- 根据需要编辑
config.yml
- 配置更改后使用
/chains reload 命令重载
兼容性
- Minecraft Java Edition:
1.21.9 – 26.2
- 服务端软件:Paper / Purpur
说明
- 放置旗帜时保留所用物品上的旗帜图案
- 装饰物按链条分段存储
- 灯笼可提供光源
- 末影 rods 使用类似旗帜的基于链条的倾斜行为,但渲染为单个装饰物
- 悬挂花盆可容纳植物
- 防止同一分段上的装饰物重叠
- 充能状态的链条可作为功能性红石升降机工作
- 该插件完全在服务端运行
ChainDecor 配置
语言
插件语言文件。
默认可用:ru, en, de, es, tt, kk
文件存储在 plugins/ChainDecor/lang/ 目录下
示例:language: ru
language: ru
链条设置
两个锚点之间允许的最大距离。
max-distance: 24.0
每单位距离创建的视觉链条分段数量(数值越高 = 链条越平滑,但实体越多。)
segments-per-block: 1.25
链条分段的最小数量。
min-segments: 2
链条分段的最大数量。
max-segments: 64
主下垂系数(数值越高 = 悬挂弧度越强。)
sag-factor: 0.06
即使对于短链条,最小下垂量。
min-sag: 0.015
长链条的最大下垂限制。
max-sag: 1.0
方块内部的垂直锚点位置。
anchor-height: 0.55
如果为 true,链条将连接到方块中心。
anchor-to-center: true
当未精确锚定到中心时使用的水平内边距。
anchor-horizontal-inset: 0.12
链条末端附近的额外缩短量。
endpoint-gap: 0.0
主链条显示的厚度。
segment-thickness: 0.82
每个链条分段的不可见交互碰撞箱高度。
segment-hitbox-height: 0.45
灯笼设置
灯笼悬挂在链条下方的距离。
lantern-hang-offset: 0.78
灯笼上方小连接链条的高度。
lantern-connector-top-offset: 0.1
灯笼连接链条的厚度。
lantern-connector-thickness: 0.62
灯笼之间的最小距离。
lantern-min-spacing: 1.5
普通灯笼的光照等级。
lantern-light-level: 15
灵灯的光照等级。
soul-lantern-light-level: 10
使用剪刀移除时掉落灯笼物品。
drop-lantern-on-remove: true
旗帜设置
旗帜悬挂在链条下方的距离。
flag-hang-offset: 0.95
旗帜整体缩放比例。
flag-scale: 1.7
旗帜宽度乘数。
flag-width-scale: 0.86
旗帜高度乘数。
flag-height-scale: 0.92
两个渲染旗帜面之间的小侧边偏移量。
flag-side-offset: 0.0015
应用于旗帜渲染的额外垂直偏移量。
flag-vertical-nudge: -0.1
旗帜跟随链条角度的强度。
flag-slope-factor: 1
允许的最大倾斜角度(度)。
flag-max-slope-degrees: 100.0
应用于旗帜的额外前倾角度。
flag-forward-lean-degrees: 0.0
基于倾斜角度的额外倾斜量。
flag-extra-lean-per-slope-degree: 0.00
沿链条方向移动旗帜。
flag-along-tangent-offset: 0.0
使用剪刀移除时掉落旗帜物品。
drop-flag-on-remove: true
末影 rods 设置
末影 rod 悬挂在链条下方的距离。
end-rod-hang-offset: 0.33
末影 rod 整体缩放比例。
end-rod-scale: 1.6
末影 rod 的额外垂直偏移量。
end-rod-vertical-nudge: -0.06
末影 rod 跟随链条角度的强度。
end-rod-slope-factor: 1.0
允许的最大倾斜角度(度)。
end-rod-max-slope-degrees: 100.0
末影 rod 的额外前倾角度。
end-rod-forward-lean-degrees: 0.0
基于倾斜角度的额外倾斜量。
end-rod-extra-lean-per-slope-degree: 0.0
沿链条方向移动末影 rod。
end-rod-along-tangent-offset: 0.0
使用剪刀移除时掉落末影 rod 物品。
drop-end-rod-on-remove: true
装饰规则
放置装饰物时阻止多少个相邻分段。
0 = 仅同一分段
1 = 同一分段 + 相邻分段
decoration-exclusion-radius-segments: 0
锚点支持
允许链条连接到墙壁。
support-walls: true
允许链条连接到栅栏。
support-fences: true
允许链条连接到铁栏杆和铜栏杆。
support-bars: true
允许链条连接到所有避雷针变体。
support-lightning-rods: true
如果启用,链条可以连接到任何方块(这将覆盖上述特定的支持设置。)
support-all-blocks: false
移除规则
从锚点移除链条连接时需要潜行。
require-sneak-to-remove: true
移除链条时掉落链条物品。
drop-chain-on-remove: true
ChainDecor
ChainDecor is a Purpur/Paper plugin that adds decorative hanging chains between blocks. You can attach lanterns, banners, end rods, and hanging flower pots to chain segments while preserving visual styling and banner patterns.
It supports sagging chains, detailed configuration, per-segment decoration placement, individual decoration removal, multiple anchor types, real lantern light, chain ziplines, and redstone-powered chain lifts.
ChainDecor is designed for builders and survival servers that want more detailed decorative and functional chain mechanics without requiring any client-side mods.
Key Features
- Create decorative hanging chains between supported anchor blocks
- Natural-looking chain sag with configurable physics
- Attach lanterns, banners, end rods, and hanging flower pots to individual chain segments
- Plant flowers, saplings, and other supported plants inside hanging pots
- Banner patterns are preserved from the item in the player’s hand
- Shears can remove a specific decoration from a specific segment
- Lanterns can provide real light to the surrounding area
- Chains can be used as ziplines
- Redstone-powered chains can work as chain lifts
- Supports fences, walls, iron bars, copper bars, lightning rods, and optional all-block anchors
- Fully server-side, not required on the client
New in 2.0.0
- Added hanging flower pots for chain segments
- Added support for planting flowers and saplings inside hanging pots
- Added chain ziplines
- Added chain movement sounds for ziplines
- Added redstone-powered chain lifts
- Added direction selection when both anchors are powered
- Added separate redstone detection radius settings for X, Y, and Z
- Added optional hoe durability loss while riding ziplines
- Added options to block or drop decorations when a chain becomes powered
- Added full language file support
Decorations
Each chain segment can hold one decoration at a time:

- Lanterns
- Banners
- End Rods
- Hanging Flower Pots
This allows patterns such as:
- banner, lantern, banner, lantern
- lantern, banner, end rod
- hanging pot, lantern, hanging pot
- alternating decorative layouts without overlapping on the same segment
Hanging Flower Pots
Flower pots can be attached directly to chain segments.
- Hold a flower pot
- Right-click a chain segment
- Right-click the hanging pot with a plant, flower, or sapling to plant it inside
Using shears on a hanging pot removes it.
If the pot contains a plant, the plant can also drop separately.
Ziplines and Redstone Chain Lifts

Chains can also work as ziplines.
If the chain is not powered by redstone, it works as a normal downhill zipline.
unpowered chain = downhill only
If only the upper anchor is powered, the chain works as a lift and pulls the player upward.
upper anchor powered = upward lift
If both anchors are powered, the player can choose the movement direction by looking along the chain.
both anchors powered = choose direction by looking along the chain
Powered chains can also block new decorations or drop existing decorations, depending on the configuration.
Removal
Using shears on a decorated segment removes the decoration attached to that segment first.
If there is no decoration on that segment, the chain itself can be removed.
Configuration
Config File
- Location:
plugins/ChainDecor/config.yml
- Reload command:
/chains reload
Main Options
- Chain sag strength and limits
- Anchor support rules
- Lantern offsets and connector size
- Banner size, offset, and slope behavior
- End rod position and slope behavior
- Hanging flower pot position and chain wrapping
- Zipline speed, sounds, collision checks, and item durability
- Redstone lift behavior
- Redstone detection radius by X, Y, and Z
- Decoration spacing rules
- Optional support for all blocks as anchors
- Language selection
Example Redstone Lift Settings
zipline-powered-lift-redstone-radius-x: 5
zipline-powered-lift-redstone-radius-y: 5
zipline-powered-lift-redstone-radius-z: 5
zipline-powered-lift-speed-blocks-per-tick: 0.5
Anchor Support
By default, chains can be attached to:
- Fences
- Walls
- Iron bars
- Copper bars
- Lightning rods
You can also enable this option:
support-all-blocks: true
When enabled, chains may be attached to any block.
Commands
| Command |
Description |
/chains reload |
Reload the plugin configuration and language files |
Examples
Create a hanging chain
- Hold a supported chain item
- Right-click the first anchor
- Right-click the second anchor
Hang a lantern
- Hold a lantern
- Right-click a chain segment
Hang a banner
- Hold any banner
- Right-click a chain segment
Hang an end rod
- Hold an end rod
- Right-click a chain segment
Hang a flower pot
- Hold a flower pot
- Right-click a chain segment
- Right-click the hanging pot with a plant to plant it inside
Ride a zipline
- Right-click a chain with the configured zipline item
- If the chain is unpowered, you ride downhill
- If the upper anchor is powered, you ride upward
- If both anchors are powered, look along the chain to choose the direction
Remove a decoration
- Hold shears
- Right-click the decorated segment
Languages
Language files are stored in:
plugins/ChainDecor/lang/
Available languages:
- Russian
- English
- German
- Spanish
- Tatar
- Kazakh
The active language can be selected in config.yml.
language: en
Installation
This is a server-side plugin for Purpur/Paper and is not required on the client.
- Place the plugin jar into your
plugins folder
- Start the server
- Edit
config.yml if needed
- Use
/chains reload after config changes
Compatibility
- Minecraft Java Edition:
1.21.9 – 26.2
- Server software: Paper / Purpur
Notes
- Banner patterns are preserved from the item used when placing the banner
- Decorations are stored per chain segment
- Lanterns can provide light
- End rods use chain-based slope behavior similar to banners, but are rendered as a single decoration
- Hanging pots can contain plants
- Decoration overlap on the same segment is prevented
- Powered chains can work as functional redstone lifts
- The plugin is fully server-side
ChainDecor Configuration
Language
Plugin language file.
Available by default: ru, en, de, es, tt, kk
Files are stored in plugins/ChainDecor/lang/
Example: language: ru
language: ru
Chain Settings
Maximum allowed distance between two anchor points.
max-distance: 24.0
How many visual chain segments are created per block of distance (Higher values = smoother chain, but more entities.)
segments-per-block: 1.25
Minimum amount of chain segments.
min-segments: 2
Maximum amount of chain segments.
max-segments: 64
Main sag multiplier (Higher values = stronger hanging curve.)
sag-factor: 0.06
Minimum sag, even for short chains.
min-sag: 0.015
Maximum sag limit for long chains.
max-sag: 1.0
Vertical anchor point inside the block.
anchor-height: 0.55
If true, the chain connects to the block center.
anchor-to-center: true
Horizontal inset used when not anchoring exactly to the center.
anchor-horizontal-inset: 0.12
Extra shortening near the chain ends.
endpoint-gap: 0.0
Thickness of the main chain display.
segment-thickness: 0.82
Height of the invisible interaction hitbox for each chain segment.
segment-hitbox-height: 0.45
Lantern Settings
How far below the chain the lantern hangs.
lantern-hang-offset: 0.78
Height of the small connector chain above the lantern.
lantern-connector-top-offset: 0.1
Thickness of the lantern connector chain.
lantern-connector-thickness: 0.62
Minimum distance between lanterns.
lantern-min-spacing: 1.5
Light level for normal lanterns.
lantern-light-level: 15
Light level for soul lanterns.
soul-lantern-light-level: 10
Drop the lantern item when removed with shears.
drop-lantern-on-remove: true
Banner Settings
How far below the chain the banner hangs.
flag-hang-offset: 0.95
Overall banner scale.
flag-scale: 1.7
Banner width multiplier.
flag-width-scale: 0.86
Banner height multiplier.
flag-height-scale: 0.92
Small side offset between the two rendered banner sides.
flag-side-offset: 0.0015
Extra vertical offset applied to banner rendering.
flag-vertical-nudge: -0.1
How strongly the banner follows the chain angle.
flag-slope-factor: 1
Maximum allowed slope angle in degrees.
flag-max-slope-degrees: 100.0
Extra forward lean applied to the banner.
flag-forward-lean-degrees: 0.0
Additional lean based on slope angle.
flag-extra-lean-per-slope-degree: 0.00
Moves the banner along the chain direction.
flag-along-tangent-offset: 0.0
Drop the banner item when removed with shears.
drop-flag-on-remove: true
End Rod Settings
How far below the chain the end rod hangs.
end-rod-hang-offset: 0.33
Overall end rod scale.
end-rod-scale: 1.6
Extra vertical offset for the end rod.
end-rod-vertical-nudge: -0.06
How strongly the end rod follows the chain angle.
end-rod-slope-factor: 1.0
Maximum allowed slope angle in degrees.
end-rod-max-slope-degrees: 100.0
Extra forward lean for the end rod.
end-rod-forward-lean-degrees: 0.0
Additional lean based on slope angle.
end-rod-extra-lean-per-slope-degree: 0.0
Moves the end rod along the chain direction.
end-rod-along-tangent-offset: 0.0
Drop the end rod item when removed with shears.
drop-end-rod-on-remove: true
Decoration Rules
How many neighbouring segments are blocked when placing a decoration.
0 = only the same segment
1 = same segment + adjacent segments
decoration-exclusion-radius-segments: 0
Anchor Support
Allow chains to connect to walls.
support-walls: true
Allow chains to connect to fences.
support-fences: true
Allow chains to connect to iron bars and copper bars.
support-bars: true
Allow chains to connect to all lightning rod variants.
support-lightning-rods: true
If enabled, chains can connect to any block (This overrides the specific support settings above.)
support-all-blocks: false
Removal Rules
Require sneaking when removing chain connections from anchors.
require-sneak-to-remove: true
Drop chain item when chain is removed.
drop-chain-on-remove: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧