BlockEntity: {
type: "compound";
value: {
CustomName?: { type: "string"; value: string };
id: { type: "string"; value: string };
isMovable: { type: "byte"; value: 0 | 1 };
x: { type: "int"; value: number };
y: { type: "int"; value: number };
z: { type: "int"; value: number };
};
}
Type declaration
type: "compound"
value: {
CustomName?: { type: "string"; value: string };
id: { type: "string"; value: string };
isMovable: { type: "byte"; value: 0 | 1 };
x: { type: "int"; value: number };
y: { type: "int"; value: number };
z: { type: "int"; value: number };
}
OptionalCustomName?: { type: "string"; value: string }
id: { type: "string"; value: string }
isMovable: { type: "byte"; value: 0 | 1 }
x: { type: "int"; value: number }
y: { type: "int"; value: number }
z: { type: "int"; value: number }
The BlockEntity schema.
All block entities share this base.