> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cheart.getvapu.today/llms.txt
> Use this file to discover all available pages before exploring further.

# Block

> 方块快照

从 `world.getBlockAt(...)` 获取。值对象，不跟随世界变化。

### 字段 / getter（两种写法都可用）

```java theme={null}
String  type / getType()               // "minecraft:stone"
String  name / getName()               // display name
int     variant / getVariant()         // 全局 block-state id
double  height / getHeight()
double  width  / getWidth()
double  length / getLength()
double  x / y / z   (getX/Y/Z)
```

### 方法

```java theme={null}
Vec3    getPosition()
boolean isAir()
boolean isSolid()
net.minecraft.world.level.block.state.BlockState raw()
```
