Bullseye 增加了方块检测箭矢的功能。通过在任意方块上放置带有特殊文本的告示牌,即可创建一个 Bullseye 方块(箭矢检测方块)。当该方块被箭矢击中时,告示牌会短暂变为红石火把。
这与 目标方块 不同,因为你可以选择红石信号出现在哪一侧,可以自定义脉冲持续时间,并且可以通过让火把显示在方块背面来使其 完全隐藏。
功能
- 使方块能够检测箭矢击中!
- 检测结果通过 Bullseye 告示牌短暂变为红石火把来显示
- 无需使用命令
- 可以在一个方块上放置多个告示牌
- 可自定义红石火把激活的持续时间(以刻为单位)
- Bullseye 告示牌放置在有效方块上时显示为蓝色,放置在无效方块上时显示为红色。
- 可以在允许/禁止列表中配置允许的方块。
- 可选:当 Bullseye 方块被箭矢击中时显示消息,消息可写在最后三行。
- 各行之间需要留空行
- 支持colors
- 适用于任何可以放置告示牌的方块!
- 如果方块拥有物品栏(如箱子、发射器、附魔台等),需先蹲下/潜行(按住 Shift 键)才能在其上放置告示牌
- 如果红石火把因任何原因被破坏,它将掉落原始的告示牌而不是火把
- 可选择是否让从发射器射出的箭矢激活告示牌(默认开启)
- 可选择是否让骷髅射出的箭矢激活告示牌(默认关闭)
- 可配置最大允许的持续时间(默认 100 刻,即 5 秒)
使用方法
- 制作一个告示牌,在第一行输入文本
[bullseye]、[bull]或[be]- 可选:在标签后添加红石火把激活的刻数:
[be 40]将激活 2 秒 - 默认为 30 刻
- 可选:在标签后添加红石火把激活的刻数:
- 可选:接下来三行的任何文本将在你激活告示牌时发送给你
- 现在,每当你用箭矢射击告示牌所在的方块时,告示牌会短暂变为红石火把
- 注意:你不需要直接击中告示牌,只需击中告示牌依附的方块即可
- 每个方块可以有多个告示牌
以下是有效告示牌的示例:
以下是一个无效告示牌的示例:
已知问题
仅限 Minecraft 1.14
在使用 Spigot 1.14 时,服务器日志中会显示类似以下的错误:
[Server thread/ERROR]: Block at 84, 3, 182 is Block{minecraft:redstone_wall_torch} but has net.minecraft.server.v1_14_R1.TileEntitySign@37dedbb0. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
然而,Bullseye 按预期正常工作,因此可以忽略此错误。在测试过的 1.13-1.19.1 的其他版本中不会出现此问题。
待办事项
- 允许除箭矢以外的其他投射物
- 添加权限控制
自定义每个告示牌的红石火把激活时长(v0.10.0)也许研究如何让箱子和附魔台正确工作??(v0.8)添加允许方块的配置文件(v0.7)修复水的问题(v0.5)添加熔炉、工作台等(v0.3)
有更多想法?创建工单吧!:)
源码
- 托管于
Github
遇到问题?
- 要么创建一个工单,或者
- 在此处发布。
更新日志
版本 0.10.0
- 通过在标签行添加刻数来自定义激活时间
[bullseye 40]将使告示牌激活 40 刻(2 秒)
- 修复了水破坏已激活的 Bullseye 告示牌的问题(再次...)
- 修复了骷髅和发射器触发 Bullseye 方块的问题
- 验证了对 1.13-1.19.1 的支持
早期更改:
版本 0.9.1
- 修复玩家可以将任意数量的红石火把转换为告示牌的问题
版本 0.9.0
- 支持 1.13 - 1.17
- 彻底修复破坏已激活红石火把并让其掉落的问题
- 现在它会掉落原始告示牌
- 将 blockList 更改为 allow/deny 列表
版本 0.8.1
- 支持 1.12
- 注意: 1.13 可以运行,但存在故障。不建议在 1.13 中使用。需要更多代码更改才能正常工作
版本 0.8.0
- 只要你能在上面放告示牌,它就能工作(所有方块均已适配)
- 流动的水无法阻止 Bullseye 告示牌!
- 改进了对方块被箭矢击中的检测
- 防止爆炸掉落红石火把并取消重新放置告示牌
- 在配置文件中添加了 allowSkeleton 选项,允许骷髅激活 Bullseye 告示牌
- 重写了大量代码,因为旧代码已弃用
- 改进和 bug 修复
- 我进行了 0.1.0 版本的主要更新,主要是因为代码被大量重写
版本 0.7.1
- 强烈建议 v0.7.0 用户升级至此版本
- 修复了一个导致所有创建的告示牌都被误认为是 Bullseye(靶心)告示牌的 bug。
版本 0.7(已损坏:请使用 v0.7.1)
- 添加了 config.yml 配置文件
- 为哪些方块允许作为 Bullseye 方块提供了白名单/黑名单功能。
- 添加了从发射器射出的箭可以激活 Bullseye 告示牌的选项。
- 默认值为 true,可在 config.yml 中更改
- 基于 CB1.3.1-R1.0 构建,兼容 CB1.2.5
- 进行了一些代码优化。
版本 0.6
- 代码优化。
- 进一步完善了之前的水相关 bug 修复工作。
- 基于 1.2.5-R5.0 构建,并在 1.3.1-R0.1 中测试通过
- 在 1.3.1 中使用飞行作弊插件(如 zombe's)时,箭的射击轨迹会出现异常。
- 修复了一个问题:如果玩家击中一个 Bullseye 告示牌,即使附着在同一方块的还有其他告示牌,也只有该告示牌会发生变化。
版本 0.5
- 强烈建议所有用户升级至此版本
- 修复了一个问题:v0.4 仅对之前创建的告示牌有效,而无法对新创建的告示牌生效。
- 确认其在 CraftBukkit 1.2.5-R5.0 上运行正常。
版本 0.4(已损坏:请使用 v0.5)
- Bug 修复:当放置在红石火把附近时,可能会导致无限生成红石火把的问题
版本 0.3
- 音符盒、工作台和唱片机现在像熔炉和发射器一样工作。
- 将末地传送门框架添加到了“无效”列表中。
版本 0.2
- 添加了熔炉和发射器可作为 Bullseye 方块的功能。
版本 0.1
- 初始发布
- 如果在红石火把处于激活状态时直接将水桶放在其上方,火把会掉落,且告示牌仍会变回原状,从而导致无限生成红石火把
- 如果更改白名单/黑名单中的方块,已创建的 Bullseye 告示牌的第一行颜色不会立即改变,直到它被再次射击才会更新。
Bullseye adds the ability for blocks to detect arrows with a sign. Allows you to create a Bullseye block (arrow detector block) by placing a sign, with special text, on any block. Whenever that block is hit with arrows, the sign will change to a redstone torch briefly.
This is different from a Target block because you can choose which sides the redstone signal will appear, you can customize the pulse length, and you can make it completely hidden by having the torch appear on the back of the block.
Features
- Make blocks able to detect arrows hitting them!
- The detection is shown by Bullseye signs turning into a redstone torch briefly
- No commands needed
- Can put multiple signs on one block
- Customize the time the redstone torch will be active in ticks
- Bullseye signs turn blue if placed on a valid block, and red if placed on an invalid block.
- Can configure which blocks to allow in an allow/deny list.
- Optional message to be displayed when the Bullseye block is hit with an arrow, message can be written on the last three lines.
- Spaces needed between lines
- Works with colors
- Works with any block you can put a sign on!
- If the block has an Inventory (Chest, Dispenser, Enchantment Table, etc.) crouch/sneak first (hold Shift) in order to put a sign on them
- If the redstone torch breaks for any reason, it will drop the original sign instead of the torch
- Option for arrows shot out of Dispensers to activate the signs (default true)
- Option for arrows shot by Skeletons to activate the signs (default false)
- Configure a maximum allowed tick duration (default 100 ticks, 5 seconds)
Usage
- Make a sign and put the text
[bullseye],[bull], or[be]on the first line- Optionally put the number of ticks the redstone torch will activate for:
[be 40]will be active for 2 seconds - Default 30 ticks
- Optionally put the number of ticks the redstone torch will activate for:
- Optionally any text on the next 3 lines will be sent to you when you activate the sign
- Now whenever you shoot the block the sign is on with an arrow, the sign will briefly turn into a redstone torch
- Note: you don't have to hit the sign, just the block the sign is attached to
- You can have multiple signs per block
These are examples of valid signs:
Here is an example of an invalid sign:
Known Issues
Minecraft 1.14 only
With Spigot 1.14, the server shows an error in the logs similar to the following:
[Server thread/ERROR]: Block at 84, 3, 182 is Block{minecraft:redstone_wall_torch} but has net.minecraft.server.v1_14_R1.TileEntitySign@37dedbb0. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
However, Bullseye works as expected so it can be ignored. This does not show on any other version tested from 1.13-1.19.1.
To-Do
- Allow other projectiles besides arrows
- Add permissions
Customize per sign how long the redstone torch is active(v0.10.0)Maybe figure out how to get Chests and Enchanting tables to work correctly??(v0.8)Add config for which blocks to allow(v0.7)Fix water issue(v0.5)Add Furnaces, Crafting tables, etc.(v0.3)
Have more ideas? Create a ticket! :)
Source
- Is on
Github
Issues?
- Either create a ticket or
- Post them here.
Changelog
Version 0.10.0
- Add custom activation time by adding ticks to the tag line
[bullseye 40]will have the sign activate for 40 ticks (2 seconds)
- Fixed water breaking an activated Bullseye sign (again...)
- Fixed Skeletons and dispensers able to trigger Bullseye blocks
- Verified support for 1.13-1.19.1
Older changes:
Version 0.9.1
- Fix issue where players could turn any amount of redstone torches into signs
Version 0.9.0
- Support for 1.13 - 1.17
- Completely fix issue with breaking activated redstone torches and having them drop
- Now it drops the original sign
- Change blockList to allow/deny list
Version 0.8.1
- Support for 1.12
- Note: 1.13 is working, but glitchy. Not recommend to use for 1.13. It will require more code changes to work properly
Version 0.8.0
- If you can put a sign on it, it will work (got all blocks working)
- Flowing water can't stop a Bullseye sign!
- Better detection of the block hit by an arrow
- Prevented explosions from dropping the redstone torch and cancel putting the sign back
- Added an allowSkeleton option in the config to allow skeletons to activate Bullseye signs
- Rewrote a lot of code because the old stuff was deprecated
- Improvements and bug fixes
- I did a 0.1.0 increase mainly because of just how much code was rewritten
Version 0.7.1
- Highly recommended for users of v0.7.0
- Fixed a bug that made all signs created think they were bullseye signs.
Version 0.7 (broken: use v0.7.1)
- Added config.yml
- Whitelist/Blacklist for which blocks to allow as Bullseye blocks.
- Add option for arrows launched from dispensers to activate the Bullseye signs.
- Default is true and can be changed in the config.yml
- Built with CB1.3.1-R1.0, works with CB1.2.5
- Some code optimization.
Version 0.6
- Code optimization.
- More work on the previous water bug.
- Built with 1.2.5-R5.0 and working in 1.3.1-R0.1
- In 1.3.1 when using a fly hack (such as zombe's) arrows don't shoot right.
- Fixed issue where if a player hit a Bullseye sign, only that sign would change, even if there were others on the attached block.
Version 0.5
- Highly recommended for all users
- Fixed an issue where v0.4 would only work with previously made signs, and not new ones.
- Confirmed it working on CraftBukkit 1.2.5-R5.0.
Version 0.4 (broken: use v0.5)
- Bug fix: when placed near water, could potentially lead to an infinite amount of redstone torches
Version 0.3
- Note blocks, Crafting tables, and Jukeboxes work like Furnaces and Dispensers.
- Ender portal frames added to "invalid" list.
Version 0.2
- Added ability for furnaces and dispensers to be Bullseye blocks.
Version 0.1
- Initial release
- If you place a water bucket directly on a redstone torch when its active, the torch will drop and the sign will still change back, allowing for an infinite amount of redstone torches
- If changing the whitelist/blacklist blocks, the first line on an already made Bullseye sign won't change color until it is shot.
下载 Bullseye
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bullseye
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bullseye
下载 Bullseye
下载 Bullseye
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bullseye
下载 Bullseye
下载 Bullseye
下载 Bullseye
下载 Bullseye
版本 0.10.0
- 通过在标签行添加刻数来自定义激活持续时间
[bullseye 40]将使告示牌激活 40 刻(2 秒)
- 修复了水流破坏已激活的 Bullseye 告示牌的问题(再次...)
- 修复了骷髅和发射器能够触发 Bullseye 方块的问题
- 验证对 1.13-1.19.1 的支持
版本 0.9.1
- 修复了玩家可以将任意数量的红石火把变成告示牌的问题
版本 0.9.0
- 支持 1.13 - 1.17
- 彻底修复破坏激活状态的红石火把并使其掉落的问题
- 现在会掉落原始的告示牌
- 将 blockList 更改为允许/禁止列表
版本 0.8.1
- 支持 1.12
- 注意:1.13 可以运行,但存在故障。不建议在 1.13 上使用。需要更多的代码更改才能正常工作
版本 0.8.0
- 如果可以放置告示牌,它就能工作(所有方块均已适配)
- 流动的水无法阻止 Bullseye 告示牌!
- 改进了对箭头击中方块的检测
- 防止爆炸掉落红石火把并取消重新放置告示牌
- 在配置中添加了 allowSkeleton 选项,以允许骷髅激活 Bullseye 告示牌
- 重写了大量代码,因为旧代码已弃用
- 改进和错误修复
- 版本号主要增加了 0.1.0,主要是因为重写了太多代码
版本 0.7.1
- 强烈建议 v0.7.0 用户使用
- 修复了一个导致所有创建的告示牌都被视为 Bullseye 告示牌的 bug。
版本 0.7
- 添加了 config.yml
- 用于指定哪些方块可以作为 Bullseye 方块的白名单/黑名单。
- 添加选项以允许从发射器射出的箭激活 Bullseye 告示牌。
- 默认为 true,可以在 config.yml 中更改
- 基于 CB1.3.1-R1.0 构建,适用于 CB1.2.5
- 一些代码优化。
版本 0.6
- 代码优化。
- 进一步处理之前的水 bug。
- 基于 1.2.5-R5.0 构建,并在 1.3.1-R0.1 中可用
- 在 1.3.1 中,使用飞行作弊(如 zombe 的)时,箭矢射击不准确。
- 修复了如果玩家击中 Bullseye 告示牌,只有该告示牌会改变,即使附加方块上还有其他告示牌的问题。
版本 0.5
- 强烈建议所有用户使用
- 修复了 v0.4 仅对之前制作的告示牌有效,而对新制作的告示牌无效的问题。
- 确认其在 CraftBukkit 1.2.5-R5.0 上正常工作。
版本 0.4(损坏)
- 错误修复:当放置在靠近水的地方时,可能会导致无限量的红石火把
版本 0.3
- 音符盒、工作台和唱片机像熔炉和发射器一样工作。
- 末地传送门框架被添加到“无效”列表中。
版本 0.2
- 添加了熔炉和发射器作为 Bullseye 方块的功能。
版本 0.1
-
初始发布
-
如果在激活状态下直接将水桶放在红石火把上,火把会掉落,而告示牌仍会变回原状,从而产生无限量的红石火把
- 如果更改白名单/黑名单方块,已制作的 Bullseye 告示牌上的第一行颜色不会改变,直到被射击为止。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
使床在所有维度中爆炸的模组
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧