mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
update doc/*/block-properties.md
This commit is contained in:
parent
383dcde2e7
commit
d9631467fc
2 changed files with 19 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Block properties
|
# Block properties
|
||||||
|
|
||||||
## Visual
|
## Visual & Audio
|
||||||
|
|
||||||
### *texture*
|
### *texture*
|
||||||
|
|
||||||
|
|
@ -70,6 +70,18 @@ Rotation profile (set of available block rotations and behaviour of placing bloc
|
||||||
- "pane" - panels, doors, signs
|
- "pane" - panels, doors, signs
|
||||||
- "stairs" - "pane" + flipped variants
|
- "stairs" - "pane" + flipped variants
|
||||||
|
|
||||||
|
### *particles*
|
||||||
|
|
||||||
|
Particles are specified as a JSON object. Property names can be found [in the particles section](particles.md).
|
||||||
|
|
||||||
|
When camera is near to the block, the engine will create an emitter that will run
|
||||||
|
until the block is destroyed or the camera moves away a certain distance.
|
||||||
|
|
||||||
|
### Material - *material*
|
||||||
|
|
||||||
|
Defines the name of the block's material in the format `pack:material_name`, which affects the selection of block interaction sounds.
|
||||||
|
Material definitions are located in /block_materials.
|
||||||
|
|
||||||
## Variants
|
## Variants
|
||||||
|
|
||||||
Some properties can vary dynamically, depending on the variant number stored in the user bits of the block.
|
Some properties can vary dynamically, depending on the variant number stored in the user bits of the block.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Свойства блоков
|
# Свойства блоков
|
||||||
|
|
||||||
## Вид
|
## Вид & Звук
|
||||||
|
|
||||||
### Текстура - *texture*
|
### Текстура - *texture*
|
||||||
|
|
||||||
|
|
@ -78,6 +78,11 @@
|
||||||
При приближении к блоку движок создаст эмиттер, который будет работать
|
При приближении к блоку движок создаст эмиттер, который будет работать
|
||||||
до разрушения блока или отдаления камеры на некоторое расстояние.
|
до разрушения блока или отдаления камеры на некоторое расстояние.
|
||||||
|
|
||||||
|
### Материал - *material*
|
||||||
|
|
||||||
|
Определяет имя материала блока в формате `пак:имя_материала`, что влияет на выбор звуков взаимодействия с блоком.
|
||||||
|
Определения материалов расположены в /block_materials.
|
||||||
|
|
||||||
## Варианты
|
## Варианты
|
||||||
|
|
||||||
Некоторые свойства могут варьироваться динамически, в зависимости от номера варианта, хранимого в пользовательских битах блока.
|
Некоторые свойства могут варьироваться динамически, в зависимости от номера варианта, хранимого в пользовательских битах блока.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue