ToLaserBlade-Fabric(旧版本)
ToLaserBlade (T. o. Laser Blade) 模组添加了一把带有激光刃的简单剑。
![]()
![]()
此模组需要 Fabric Loader、Fabric API 和 Cloth Config API。
- 兼容 Minecraft 26.1 及更高版本的版本将在 ToLaserBlade 上提供。
此模组为实验性内容。
- 激光刃攻击升级可能与某些战斗改进模组不兼容。
- 激光刃可能与某些视频选项、某些画面增强模组以及某些光影包不兼容。
附加组件
ToLaserBlade-ExtraModels
一个用于增加更多激光刃形状的 ToLaserBlade 附加组件。
描述
版本:1.20.6-4.0.0 或更高版本
物品
激光刃

功能
升级激光刃
你可以在工作台上将激光刃与特定物品结合,以升级你的激光刃。
- 攻击速度(最高 4.0):激光刃蓝图 + 激光刃 + 金锭
- 攻击伤害(最高 8):激光刃蓝图 + 激光刃 + 钻石块
- 光元素:激光刃蓝图 + 激光刃 + 红石粉
- 精准采集:激光刃蓝图 + 激光刃 + 海晶碎片 / 紫水晶碎 / 回声碎片
- 抢夺:激光刃蓝图 + 激光刃 + 鹦鹉螺壳 / 绿宝石块
- 防火:激光刃蓝图 + 激光刃 + 下界合金锭
“光元素”附魔会增加激光刃的伤害,并对不死生物和灾厄村民造成额外伤害。
更改激光刃颜色
工作台配方:
- 外刃:激光刃蓝图 + 激光刃 + 染色玻璃
- 内刃:激光刃蓝图 + 激光刃 + 染色玻璃板
- 握柄:激光刃蓝图 + 激光刃 + 地毯
- 切换外刃混合模式:激光刃蓝图 + 激光刃 + tinted glass(着色玻璃)
- 切换内刃混合模式:激光刃蓝图 + 激光刃 + 紫水晶块
更改激光刃形状
工作台配方:
- 类型 0(标准):激光刃蓝图 + 激光刃 + 玻璃
- 类型 1:激光刃蓝图 + 激光刃 + 沙子
- 类型 2:激光刃蓝图 + 激光刃 + 砂岩
- 类型 526:激光刃蓝图 + 激光刃 + 泥土
激光陷阱
![]()
当你在发射器中放入激光刃并激活它时,你可以用激光刃攻击发射器前方的生物(包括玩家)。
激光熔炉
![]()
当激光陷阱对准熔炉射击时,它会点燃熔炉。
配置
(game_dir)/config/tolaserblade.toml
如果你更改了配置,则需要重新启动游戏。
通用
在多人模式中,将使用服务器端配置。
- enableLaserTrap: 启用激光陷阱(布尔值,默认值为 true)
- canLaserTrapAttackPlayer: 允许激光陷阱攻击玩家(布尔值,默认值为 true)
- canLaserTrapHeatUpFurnace: 允许激光陷阱点燃熔炉(布尔值,默认值为 true)
以下选项在 v9.1.0 及更高版本中可用:
- laserBladeBaseDamage: 激光刃的基础攻击伤害(浮点数,0.0-2046.0,默认值为 6.0)
- laserBladeBaseSpeed: 激光刃的基础攻击速度(浮点数,0.8-2.8,默认值为 2.8)
- maxAttackDamageUpgradeCount: 可应用于激光刃的最大攻击伤害升级次数(整数,0-2047,默认值为 8)
- attackDamageUpgradeMultiplier: 攻击伤害升级的伤害倍率(整数,1-2048,默认值为 1)
数据组件
激光刃物品的物品组件
示例:/give @p tolaserblade:laser_blade[tolaserblade:lb_atk=8.0f,tolaserblade:lb_spd=1.2f,tolaserblade:lb_mdl={type:2,parts:{grip:{color:-12103854,is_sub:false},in:{color:-1,is_sub:true},out:{color:-1,is_sub:false}}}]
- 给予一把具有 15 点攻击伤害、4 点攻击速度、模型类型 2、灰色握柄以及黑白相间刀刃的激光刃。
攻击伤害
- 键:
tolaserblade:lb_atk - 值:介于 0 到 8 之间的浮点数值
攻击速度
- 键:
tolaserblade:lb_spd - 值:介于 0 到 1.2 之间的浮点数值
模型与颜色
- 键:
tolaserblade:lb_mdl - 值:以下数据复合结构
{type: integer_model_type, parts: {grip: {color: integer_argb_32_bit_color, is_sub: false}, in: {color: integer_argb_32_bit_color, is_sub: boolean_is_subtractive_color}, out: {color: integer_argb_32_bit_color, is_sub: boolean_is_subtractive_color}}}
声音事件
以下音频文件路径是在默认 assets/tolaserblade/sounds.json 中定义的。
挥动激光刃时触发的声音事件:
tolaserblade:item.laser_blade.swing-assets/tolaserblade/sounds/item/laser_blade/swing.oggtolaserblade:item.laser_blade_fp.swing-assets/tolaserblade/sounds/item/laser_blade_fp/swing.ogg
激光剑命中时触发的音效事件:
tolaserblade:item.laser_blade.hit-assets/tolaserblade/sounds/item/laser_blade/hit.oggtolaserblade:item.laser_blade_fp.hit-assets/tolaserblade/sounds/item/laser_blade_fp/hit.ogg
用于配合 blocks_attacks 组件的音效事件:
tolaserblade:item.laser_blade.block-assets/tolaserblade/sounds/item/laser_blade/block.oggtolaserblade:item.laser_blade_fp.block-assets/tolaserblade/sounds/item/laser_blade_fp/block.ogg
激光陷阱激活时触发的音效事件:
tolaserblade:item.laser_trap.activate-assets/tolaserblade/sounds/item/laser_trap/activate.ogg
资源包
内置可选资源包
TLB 示例音效包 (v7.2.0+)
此资源包为游戏添加了一些音频文件,用于测试模组的音效事件。
常见问题解答
[版本 3 或更低版本] 使用光影模组时,激光剑的剑刃无法渲染。
尝试在配置文件中将 useOriginalShaderProgram 设置为 false,然后重新启动游戏。
*注意:我们不提供对各个光影包的单独支持。
ToLaserBlade-Fabric (Older Versions)
ToLaserBlade (T. o. Laser Blade) mod adds a simple sword with a laser blade.
![]()
![]()
This mod requires Fabric Loader, Fabric API, and Cloth Config API.
- Versions compatible with Minecraft 26.1 and later will be available on ToLaserBlade.
This mod is experimental.
- Laser blade attack upgrades may not be compatible with some combat improvement mods.
- Laser blades may not be compatible with some video options, some graphics improvement mods, and some shader packs.
Add-on
ToLaserBlade-ExtraModels
A ToLaserBlade add-on to add more laser blade shapes.
Description
Version: 1.20.6-4.0.0 or later
Items
Laser Blade

Features
Upgrading Laser Blades
You can upgrade your Laser Blade by combining it with certain items on a Smithing Table.
- Attack speed (up to 4.0): Laser Blade Blueprint + Laser Blade + Gold Ingot
- Attack damage (up to 8): Laser Blade Blueprint + Laser Blade + Block of Diamond
- Light Element: Laser Blade Blueprint + Laser Blade + Glowstone
- Silk Touch: Laser Blade Blueprint + Laser Blade + Prismarine Crystals / Amethyst Shard / Echo Shard
- Looting: Laser Blade Blueprint + Laser Blade + Nautilus Shell / Block of Emerald
- Fireproof: Laser Blade Blueprint + Laser Blade + Netherite Ingot
The Light Element enchantment increases the damage of the Laser Blade and deals additional damage to undead mobs and illagers.
Changing Laser Blade colors
Smithing Table recipes:
- Outer blade: Laser Blade Blueprint + Laser Blade + Stained Glass
- Inner blade: Laser Blade Blueprint + Laser Blade + Stained Glass Pane
- Grip: Laser Blade Blueprint + Laser Blade + Carpet
- Switching blend mode of outer blade: Laser Blade Blueprint + Laser Blade + Tinted Glass
- Switching blend mode of inner blade: Laser Blade Blueprint + Laser Blade + Block of Amethyst
Changing Laser Blade Shape
Smithing Table recipes:
- Type 0 (Standard): Laser Blade Blueprint + Laser Blade + Glass
- Type 1: Laser Blade Blueprint + Laser Blade + Sand
- Type 2: Laser Blade Blueprint + Laser Blade + Sandstone
- Type 526: Laser Blade Blueprint + Laser Blade + Dirt
Laser Trap
![]()
When you put a Laser Blade in a Dispenser and activate it, you can attack the mobs (players included) in front of the Dispenser with the Laser Blade.
Laser Furnace
![]()
When a Laser Trap is fired at a Furnace, it will light the Furnace.
Configurations
(game_dir)/config/tolaserblade.toml
If you change the config, you will need to restart the game.
Common
In multiplayer mode, server-side config will be used.
- enableLaserTrap: Enable laser trap (boolean, default value is true)
- canLaserTrapAttackPlayer: Allow laser trap to attack player (boolean, default value is true)
- canLaserTrapHeatUpFurnace: Allow laser trap to light furnace (boolean, default value is true)
The following options are available in v9.1.0 and later:
- laserBladeBaseDamage: Base attack damage of laser blades (float, 0.0-2046.0, default value is 6.0)
- laserBladeBaseSpeed: Base attack speed of laser blades (float, 0.8-2.8, default value is 2.8)
- maxAttackDamageUpgradeCount: Maximum count of attack damage upgrades that can be applied to a laser blade (integer, 0-2047, default value is 8)
- attackDamageUpgradeMultiplier: Damage multiplier of attack damage upgrade (integer, 1-2048, default value is 1)
Data Components
Item components for laser blade items
Example: /give @p tolaserblade:laser_blade[tolaserblade:lb_atk=8.0f,tolaserblade:lb_spd=1.2f,tolaserblade:lb_mdl={type:2,parts:{grip:{color:-12103854,is_sub:false},in:{color:-1,is_sub:true},out:{color:-1,is_sub:false}}}]
- Gives a lase blade with 15 attack damage, 4 attack speed, model type 2, gray grip, and white and black blade.
Attack Damage
- Key:
tolaserblade:lb_atk - Value: A float value between 0 and 8
Attack Speed
- Key:
tolaserblade:lb_spd - Value: A float value between 0 and 1.2
Model and Color
- Key:
tolaserblade:lb_mdl - Value: The following data compound
{type: integer_model_type, parts: {grip: {color: integer_argb_32_bit_color, is_sub: false}, in: {color: integer_argb_32_bit_color, is_sub: boolean_is_subtractive_color}, out: {color: integer_argb_32_bit_color, is_sub: boolean_is_subtractive_color}}}
Sound Events
The following audio file paths are those defined in the default assets/tolaserblade/sounds.json.
Sound events fired when a laser blade is swung:
tolaserblade:item.laser_blade.swing-assets/tolaserblade/sounds/item/laser_blade/swing.oggtolaserblade:item.laser_blade_fp.swing-assets/tolaserblade/sounds/item/laser_blade_fp/swing.ogg
Sound events fired when a laser blade is hit:
tolaserblade:item.laser_blade.hit-assets/tolaserblade/sounds/item/laser_blade/hit.oggtolaserblade:item.laser_blade_fp.hit-assets/tolaserblade/sounds/item/laser_blade_fp/hit.ogg
Sound events for use with blocks_attacks component:
tolaserblade:item.laser_blade.block-assets/tolaserblade/sounds/item/laser_blade/block.oggtolaserblade:item.laser_blade_fp.block-assets/tolaserblade/sounds/item/laser_blade_fp/block.ogg
Sound event fired when a laser trap is activated:
tolaserblade:item.laser_trap.activate-assets/tolaserblade/sounds/item/laser_trap/activate.ogg
Resource pack
Built-in optional resource pack
TLB Sample Sound Pack (v7.2.0+)
This resource pack adds some audio files to the game for testing mod sound events.
FAQ
[Version 3 or older] When using the shader mod, the blade of the laser blade is not rendered.
Try setting useOriginalShaderProgram in the config file to false and restart the game.
*Note that individual support for shader packs is not provided.
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ToLaserBlade-Fabric (Older Versions)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 此版本适用于 Better than Adventure!
- 需要 BTA Fabric 实例 8.0.1。
- 自述文件:
新增
- 为本地玩家挥舞激光剑时添加拖尾效果。
- 在配置文件的
Client分类中添加了enable_laser_blade_trail选项。 如果设为 true,则当本地玩家挥舞激光剑时会显示拖尾效果。
更改
- 使用 JSON 文件代替 RecipeBuilder 来注册配方。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
评论 0
登录后参与评分
还没有评论,来抢沙发吧