Skip to content

IServerBlockComponents

github-actions[bot] edited this page Jul 15, 2024 · 19 revisions

Interface: IServerBlockComponents

Indexable

▪ [key: string]: any

Table of contents

Properties

Properties

minecraft:collision_box

Optional minecraft:collision_box: boolean | { origin: MolangTripleArray ; size: MolangTripleArray }

Defined in

ts/app/types/server/blocks.ts:37


minecraft:crafting_table

Optional minecraft:crafting_table: Object

Type declaration

Name Type
crafting_tags string[]
table_name string

Defined in

ts/app/types/server/blocks.ts:41


minecraft:destructible_by_explosion

Optional minecraft:destructible_by_explosion: boolean | { explosion_resistance: number }

Defined in

ts/app/types/server/blocks.ts:45


minecraft:destructible_by_mining

Optional minecraft:destructible_by_mining: boolean | { seconds_to_destroy: number }

Defined in

ts/app/types/server/blocks.ts:48


minecraft:display_name

Optional minecraft:display_name: string

Defined in

ts/app/types/server/blocks.ts:55


minecraft:flammable

Optional minecraft:flammable: boolean | { catch_chance_multiplier: number ; destroy_chance_multiplier: number }

Defined in

ts/app/types/server/blocks.ts:51


minecraft:friction

Optional minecraft:friction: number

Defined in

ts/app/types/server/blocks.ts:56


minecraft:geometry

Optional minecraft:geometry: `geometry.${string}` | { bone_visibility?: { [key: string]: boolean | string; } ; identifier: `geometry.${string}` }

Defined in

ts/app/types/server/blocks.ts:57


minecraft:light_dampening

Optional minecraft:light_dampening: number

Defined in

ts/app/types/server/blocks.ts:63


minecraft:light_emission

Optional minecraft:light_emission: number

Defined in

ts/app/types/server/blocks.ts:64


minecraft:loot

Optional minecraft:loot: string

Defined in

ts/app/types/server/blocks.ts:65


minecraft:map_color

Optional minecraft:map_color: string | MolangTripleArray

Defined in

ts/app/types/server/blocks.ts:66


minecraft:material_instances

Optional minecraft:material_instances: Object

Index signature

▪ [key: string]: IServerBlockMaterialInstance

Type declaration

Name Type
* IServerBlockMaterialInstance

Defined in

ts/app/types/server/blocks.ts:67


minecraft:placement_filter

Optional minecraft:placement_filter: Object

Type declaration

Name Type
conditions { allowed_faces?: "up" | "down" | "north" | "east" | "south" | "west" | "side"[] ; block_filter?: `${string}:${string}` | { tags: string }[] }[]

Defined in

ts/app/types/server/blocks.ts:71


minecraft:selection_box

Optional minecraft:selection_box: boolean | { origin: MolangTripleArray ; size: MolangTripleArray }

Defined in

ts/app/types/server/blocks.ts:79


minecraft:transformation

Optional minecraft:transformation: Object

Type declaration

Name Type
rotation? MolangTripleArray
scale? MolangTripleArray
translation? MolangTripleArray

Defined in

ts/app/types/server/blocks.ts:83

bedrock-development

Clone this wiki locally