完整版BedrockWiki镜像!
This commit is contained in:
@@ -1,54 +1,57 @@
|
||||
---
|
||||
title: MBE - Max's Block Entity
|
||||
category: Techniques
|
||||
title: MBE - Max的方块实体
|
||||
category: 技术
|
||||
mention:
|
||||
- BedrockCommands
|
||||
- zheaEvyline
|
||||
tags:
|
||||
- system
|
||||
- 系统
|
||||
---
|
||||
|
||||
## Introduction
|
||||
# MBE - Max的方块实体
|
||||
|
||||
[Sourced By Bedrock Commands Community Discord](https://discord.gg/SYstTYx5G5)
|
||||
<!--@include: @/wiki/bedrock-wiki-mirror.md-->
|
||||
|
||||
This method, developed by Reddit user [u/Maxed_Out10](https://www.reddit.com/user/Maxed_Out10/) allows you to create near-perfect entity replications of any Minecraft block using armour stands and some sequential `/playanimation` commands.
|
||||
## 简介
|
||||
|
||||
To preserve credits to the creator, the community termed this method as "Max's Block Entity" or MBE for short.
|
||||
[源自Bedrock Commands社区Discord](https://discord.gg/SYstTYx5G5)
|
||||
|
||||
### Points to Note
|
||||
此方法由Reddit用户[u/Maxed_Out10](https://www.reddit.com/user/Maxed_Out10/)开发,通过使用盔甲架和连续的`/playanimation`命令,可以近乎完美地复刻Minecraft中任意方块的实体形态。
|
||||
|
||||
1. This method uses 1 armour stand per block entity. Therefore, too many armour stands (like any entity) can contribute to server lag.
|
||||
2. Players will still be able to pass through them as well as interact with them if not restricted.
|
||||
3. While the block entity may appear in one spot, it's actual hitbox will have a slight offset.
|
||||
为保留原创者荣誉,社区将此方法命名为"Max's Block Entity"(简称MBE)。
|
||||
|
||||
## Video Demonstration
|
||||
### 注意事项
|
||||
|
||||
1. 每个方块实体需使用1个盔甲架,过多盔甲架(如同其他实体)可能导致服务器卡顿
|
||||
2. 玩家仍可穿过未加限制的MBE实体并进行交互
|
||||
3. 方块实体的实际碰撞箱会与视觉位置存在细微偏移
|
||||
|
||||
## 视频演示
|
||||
|
||||
<YouTubeEmbed
|
||||
id="kb8rz9ItE_M"
|
||||
/>
|
||||
|
||||
## Setup
|
||||
## 设置步骤
|
||||
|
||||
*To be typed in chat:*
|
||||
*在聊天栏输入:*
|
||||
1. `/summon armor_stand Grumm`
|
||||
- It is necessary to name it 'Grumm' to avoid inverted block textures.
|
||||
- 必须命名为'Grumm'以避免纹理倒置
|
||||
2. `/execute as @e [type= armor_stand, name=Grumm, c=1] at @s run tp @s ~~~ 260`
|
||||
- This will align the MBE to the normal Minecraft block grid.
|
||||
- 用于将MBE对齐标准方块网格
|
||||
ㅤ
|
||||
:::tip
|
||||
- Crouch & right-click (on mcpe: long press) the armor stand 6 times to place it in Pose 7
|
||||
- Doing this negates the need to use the 2nd command in the system.
|
||||
- **Only use this if you wish to reduce one command from the system.**
|
||||
- 潜行并右键点击(手机版长按)盔甲架6次进入Pose 7
|
||||
- 此操作可替代系统中的第二条命令
|
||||
- **仅在需要精简系统命令时使用**
|
||||
:::
|
||||
|
||||
## System
|
||||
## 系统命令
|
||||
|
||||
> Note: adding a delay of 100-200 ticks is recommended.
|
||||
> 注意:建议添加100-200 Tick的延迟
|
||||
|
||||
<CodeHeader>mcfunction</CodeHeader>
|
||||
|
||||
```yaml
|
||||
::: code-group
|
||||
```yaml [mcfunction]
|
||||
/effect @e [type= armor_stand, name=Grumm] invisibility 999999 1 true
|
||||
/playanimation @e [type= armor_stand, name=Grumm] animation.armor_stand.entertain_pose null 0 "0" align.arms
|
||||
/playanimation @e [type= armor_stand, name=Grumm] animation.player.move.arms.zombie null 0 "0" size.mini_block
|
||||
@@ -56,118 +59,119 @@ To preserve credits to the creator, the community termed this method as "Max's B
|
||||
/playanimation @e [type= armor_stand, name=Grumm] animation.fireworks_rocket.move null 0 "0" align.full_block
|
||||
/execute as @e [type= armor_stand, name=Grumm] at @s run tp ~~~
|
||||
```
|
||||
:::
|
||||
|
||||

|
||||
|
||||
### Purpose Of Each Command
|
||||
1. Hides the armour stand body.
|
||||
2. Automatically sets the armour stand pose to 7 for arms alignment. Skip this command you prefer to do it manually.
|
||||
3. __Required command__. Increases size to present as mini-block.
|
||||
4. *Optional command.* Increases size to present as full-block.
|
||||
5. *Optional command.* Aligns the full-block size MBE properly.
|
||||
- Skip 4 & 5 if you do not need full-block size MBE.
|
||||
6. Locks in place to prevent fall in case block underneath is removed.
|
||||
### 命令功能解析
|
||||
1. 隐藏盔甲架本体
|
||||
2. 自动设置盔甲架为Pose 7(手臂对齐),手动设置时可跳过
|
||||
3. __必要命令__ 调整为迷你方块尺寸
|
||||
4. *可选命令* 调整为完整方块尺寸
|
||||
5. *可选命令* 对齐完整方块尺寸
|
||||
- 若不需要完整方块尺寸可跳过4、5
|
||||
6. 锁定位置防止下方方块被破坏时坠落
|
||||
|
||||
## Rotations & Alignments
|
||||
## 旋转与对齐
|
||||
|
||||
> Note: These rotation commands are to be executed only once through a command block.
|
||||
> 注意:以下旋转命令应通过命令方块单次执行
|
||||
|
||||
<Spoiler title="Full MBE">
|
||||
<Spoiler title="完整方块MBE">
|
||||
|
||||
```yaml
|
||||
# Face North
|
||||
# 朝北
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-1.1245 ~0.2260 ~-0.097 81
|
||||
|
||||
# Face South
|
||||
# 朝南
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~1.1245 ~0.2260 ~0.097 260
|
||||
|
||||
# Face East
|
||||
# 朝东
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.097 ~0.2260 ~-1.1245 171
|
||||
|
||||
# Face West
|
||||
# 朝西
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.097 ~0.2260 ~1.1245 350
|
||||
```
|
||||
|
||||
</Spoiler>
|
||||
|
||||
|
||||
<Spoiler title="Mini MBE">
|
||||
<Spoiler title="迷你方块MBE">
|
||||
|
||||
```yaml
|
||||
# Face North
|
||||
# 朝北
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.417~-0.5 ~-0.035 81
|
||||
|
||||
# Face South
|
||||
# 朝南
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.417 ~-0.5 ~0.035 260
|
||||
|
||||
# Face East
|
||||
# 朝东
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.035 ~-0.5 ~-0.417 171
|
||||
|
||||
# Face West
|
||||
# 朝西
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.035 ~-0.5 ~0.417 350
|
||||
```
|
||||
|
||||
</Spoiler>
|
||||
|
||||
<Spoiler title="Stair MBE">
|
||||
<Spoiler title="阶梯MBE">
|
||||
|
||||
```yaml
|
||||
# Face North
|
||||
# 朝北
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.097 ~0.2325 ~1.1245 350
|
||||
|
||||
# Face South
|
||||
# 朝南
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.097 ~0.2325 ~-1.1245 171
|
||||
|
||||
# Face East
|
||||
# 朝东
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-1.1245 ~0.2325 ~-0.097 81
|
||||
|
||||
# Face West
|
||||
# 朝西
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~1.1245 ~0.2325 ~0.097 260
|
||||
```
|
||||
|
||||
</Spoiler>
|
||||
|
||||
<Spoiler title="Bottom Slab MBE">
|
||||
<Spoiler title="下半砖MBE">
|
||||
|
||||
```yaml
|
||||
# Face North
|
||||
# 朝北
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.097 ~0.2325 ~1.1245 350
|
||||
|
||||
# Face South
|
||||
# 朝南
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.097 ~0.2325 ~-1.1245 171
|
||||
|
||||
# Face East
|
||||
# 朝东
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-1.1245 ~0.2325 ~-0.097 81
|
||||
|
||||
# Face West
|
||||
# 朝西
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~1.1245 ~0.2325 ~0.097 260
|
||||
```
|
||||
|
||||
</Spoiler>
|
||||
|
||||
<Spoiler title="Top Slab MBE">
|
||||
<Spoiler title="上半砖MBE">
|
||||
|
||||
```yaml
|
||||
# Face North
|
||||
# 朝北
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-1.1245 ~0.484 ~-0.097 81
|
||||
|
||||
# Face South
|
||||
# 朝南
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~1.1245 ~0.484 ~0.097 260
|
||||
|
||||
# Face East
|
||||
# 朝东
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~0.097 ~0.484 ~-1.1245 171
|
||||
|
||||
# Face West
|
||||
# 朝西
|
||||
/tp @e [type=armor_stand, name=Grumm, c=1] ~-0.097 ~0.484 ~1.1245 350
|
||||
```
|
||||
|
||||
</Spoiler>
|
||||
|
||||
## Saving & Loading MBE
|
||||
## 保存与加载MBE
|
||||
|
||||
1. To save run:
|
||||
1. 保存命令:
|
||||
- `/execute as @e [type=armor_stand, name=Grumm, c=1] at @s run structure save MBE ~~~ ~~~`
|
||||
|
||||
2. To load run:
|
||||
- `/structure load MBE <coordinates>`
|
||||
2. 加载命令:
|
||||
- `/structure load MBE <坐标>`
|
||||
|
||||
> Note: structure name `MBE` can be changed to your preference.
|
||||
> 注意:结构名称`MBE`可根据需要更改
|
||||
Reference in New Issue
Block a user