关于
本数据包旨在帮助玩家使用方块显示实体。相关的命令/语法可能较为复杂,因此本数据包提供了游戏内工具来修改方块显示。
基础
以下是一些你需要知道的基本事项:
- 使用 /function bdhelper:help 获取简单的游戏内帮助页面。
- 使用 /function bdhelper:config 访问配置菜单。要更改数值,请点击数字。
- 碰撞箱(你通过右键/左键点击来修改方块显示实体的区域)始终为 1x1x1 大小。按 F3+B 可在游戏中显示碰撞箱。
- 要更改方块显示的方块,请使用任意方块右键点击碰撞箱。
- 要在方块显示上使用工具,请左键点击碰撞箱,方块显示将被修改。
- 当从世界中移除此数据包时,只需删除 .zip 文件即可。部分计分板会保留下来,以便你在重新安装该数据包时它仍能正常工作。
工具
使用 /function bdhelper:_give:_all 获取所有工具。
方块显示(物品展示框)
将物品展示框放置在地板上以生成方块显示。默认情况下,它将是一个 1x1x1 的白色混凝土块。使用任意方块右键点击可将其更改为该方块。某些方块(如告示牌)的渲染方式与大多数方块不同,因此无法在方块显示中展示。
删除方块显示(屏障)
左键点击方块显示即可删除整个实体。
锁定切换(铁粒)
左键点击方块显示以锁定/解锁它。当方块显示被锁定时,你无法更改其方块、无法删除它,也无法使用其他工具对其进行修改。如果附近玩家手持锁定切换物品,它将显示红色轮廓。
碰撞箱切换(结构空位)
左键点击方块显示以切换其是否具有实心碰撞箱。这个实心碰撞箱是通过召唤隐形潜影盒创建的,因此其大小只能为 1x1x1 且无法旋转。不过,它可以随方块显示一起移动。
移动棒
左键点击方块显示可使其朝你面对的方向移动,按住 Shift 左键点击则使其朝你移动。移动距离可在配置菜单(/function bdhelper:config)的“方块移动量”部分进行设置。
缩放棒
左键点击方块显示可使其朝你面对的方向缩放,按住 Shift 左键点击则反转缩放方向。缩放幅度可在配置菜单(/function bdhelper:config)的“方块缩放量”部分进行设置。
旋转棒
左键点击方块显示可使其朝你面对的方向旋转,按住 Shift 左键点击则反转旋转方向。旋转角度可在配置菜单(/function bdhelper:config)的“方块旋转量”部分进行设置。沿 X 轴或 Z 轴旋转时,限制为 -90° 到 90°。
复制数据(书)
按住 Shift 左键点击以复制方块显示的数据。这包括方块类型、方块状态、缩放和旋转。数据复制完成后,书本会变成一本名为“已复制数据”的已写之书,打开即可查看你所复制的所有数值。要将此数据应用到另一个方块显示,请左键点击它。如果你在副手持有该书并放置一个新的方块显示,数据将立即应用。如果你在副手中打开已复制数据的书,它将不会显示已复制的数值。
方块转方块显示(胡萝卜竿)
右键点击将你面对方向的方块转换为方块显示。方块显示将继承原方块的方块类型和方块状态。这使得方块显示在被红石信号激活时表现得像红石元件一样,或者保持方块原有的朝向。该方块显示具有与使用方块显示物品放置的方块显示相同的属性,这意味着它可以移动、缩放、旋转等。
⚠️ 错误
如果你发现任何错误,请在 我的 Discord 服务器 中的 [bugs] 文本频道中报告。
下载
要下载该数据包,你有两种方法将其添加到你的世界中:
-
创建新世界:
- 下载 .zip 文件
- 在 Minecraft 中点击创建新世界
- 点击数据包
- 将 .zip 文件拖拽到其中,并确保将其放在“已选中”一侧(右侧)
-
添加到现有世界:
- 下载 .zip 文件
- 在单人游戏菜单中选择你的世界
- 点击屏幕底部的编辑
- 点击打开世界文件夹
- 点击 datapacks 文件夹
- 将 .zip 文件拖拽到其中
进入世界后,建议在聊天栏中输入 /reload。
About
This datapack is meant to help people with the block display entity. The commands/syntax can be quite difficult to work with, so this datapack adds in-game tools that can modify the block display.
Basics
Here are some basic things you need to know:
- Use /function bdhelper:help for a simple in-game help page.
- Use /function bdhelper:config to access the config menu. To change a value click on the number
- The hitbox (Which you right/left click to modify the block display entity) will always be 1x1x1. Press F3+B to show hitboxes in-game.
- To change the block of a block display, right-click the hitbox with any block.
- To use a tool on a block display, left-click the hitbox and the block display will be modified.
- When removing the datapack from a world simply delete the .zip file. Some scoreboards will stay behind so that the datapack still works when you reinstall it.
Tools
Use /function bdhelper:_give:_all to get all tools.
Block Display (Item frame)
Place the item frame on the ground to spawn the block display. By default it will be a 1x1x1 white concrete block. Right-click with any block to change it to that block. Some blocks such as signs render differently than most blocks, and can therefore not be shown in a block display
Delete Block Display (Barrier)
Left-click the block display to delete the entire thing.
Lock Toggle (Iron nugget)
Left-click the block display to lock/unlock it. When a block display is locked, you can't change the block, it can't be deleted and it can't be modified by other tools. It will also get a red outline if a nearby player is holding the lock toggle item.
Hitbox Toggle (Structure void)
Left-click the block display to toggle if it has a solid hitbox. This solid hitbox is created by summoning an invisible shulker, therefore it can only be 1x1x1 in size and can't rotate. However, it is able to move with the block display.
Move Stick
Left-click the block display to move it in the direction you're facing, shift left-click to move towards you. The amount it moves can be configured in the config menu (/function bdhelper:config) in the 'Block move amount' section.
Scale Stick
Left-click the block display to scale it in the direction you're facing, shift left-click to reverse the scaling. The amount it scales can be configured in the config menu (/function bdhelper:config) in the 'Block scale amount' section.
Rotate Stick
Left-click the block display to rotate it in the direction you're facing, shift left-click to reverse the rotating. The amount it rotates can be configured in the config menu (/function bdhelper:config) in the 'Block rotate amount' section. When rotating along the x-axis or z-axis it is limited to -90° and 90°
Copy Data (Book)
Shift left-click to copy the data of the block display. This includes block type, block states, scale and rotation. Once data is copied, the book turns into a written book named 'Copied Data', that can be opened to view whatever values you copied. To apply this data to another block display left-click it. If you hold the book in your offhand and then place down a new block display, it will immediately apply the data. If you open the copied data book in your offhand it won't show the copied data values
Block - to - Block display (Carrot on a stick)
Right-click to turn the block you are facing at into a block display. The block display will carry over the block type and block states of the block. This allows the block display to be powered if it were to be a redstone item or keep the direction a block was facing. The block display has the same properties as a block display placed with the block display item, which means it can be moved, scaled, rotated, etc.
⚠️ Bugs
If you notice any bugs report them in the [bugs] text channel in my discord server
Download
To download the datapack, you have two options to add it to your world:
-
Creating a new world:
- Download the .zip file
- Click Create new world in minecraft
- Click Data Packs
- Drag the .zip file into there, and make sure you put it on the 'selected' side (right side)
-
Add to existing world:
- Download the .zip file
- Select your world in the single player menu
- Click Edit at the bottom of the screen
- Click Open World Folder
- Click on the datapacks folder
- Drag the .zip file into there
It is always recommended to type /reload in chat once you enter the world
评论 0
登录后参与评分
还没有评论,来抢沙发吧