You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blocks/blocks-intro.md
+20-24Lines changed: 20 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,9 @@ Below is the **minimum** behavior-side code to get a custom block into the creat
66
66
67
67
### Block Description
68
68
69
-
- Defines the block's `identifier` - a unique ID in the format of `namespace:identifier`.
70
-
- Configures which `menu_category` the block is placed into.
71
-
- Also takes the optional parameters `group` and `is_hidden_in_commands`.
69
+
-Defines the block's `identifier` - a unique ID in the format of `namespace:identifier`.
70
+
-Configures which `menu_category` the block is placed into.
71
+
-Also takes the optional parameters `group` and `is_hidden_in_commands`.
72
72
73
73
_The block description is also home to [states](/blocks/block-states) and [traits](/blocks/block-traits), which are covered in their own pages._
74
74
@@ -107,13 +107,13 @@ Let's configure our own functionality!
107
107
}
108
108
```
109
109
110
-
-[`minecraft:destructible_by_mining`](/blocks/block-components#destructible-by-mining) defines how long the player will need to mine the block until it breaks. Currently, it isn't possible to set different destroy times for different tools.
111
-
-[`minecraft:destructible_by_explosion`](/blocks/block-components#destructible-by-explosion) defines the resistance to explosions. The higher the value, the lower the chance of destruction.
112
-
-[`minecraft:friction`](/blocks/block-components#friction) defines how much friction the block has. For example, soul sand has a high value for friction, so it slows the players. Ice has a lower friction value, so it has a slippery effect. The friction of classic blocks such as wood or stone is `0.4`.
113
-
-[`minecraft:map_color`](/blocks/block-components#map-color) is the hex color code that will be displayed on a Minecraft map to represent this block. `#ffffff` means white. You can get hex codes for other colors [here](https://www.google.com/search?q=hex+color+picker).
114
-
-[`minecraft:light_dampening`](/blocks/block-components#light-dampening) defines how much light will be blocked from passing through.
115
-
-[`minecraft:light_emission`](/blocks/block-components#light-emission) defines the light level the block will output.
116
-
-[`minecraft:loot`](/blocks/block-components#loot) defines a loot table path for the block to drop. If this is removed, then the block will drop itself. You can learn more about loot tables [here](/loot/loot-tables).
110
+
-[`minecraft:destructible_by_mining`](/blocks/block-components#destructible-by-mining) defines how long the player will need to mine the block until it breaks. Currently, it isn't possible to set different destroy times for different tools.
111
+
-[`minecraft:destructible_by_explosion`](/blocks/block-components#destructible-by-explosion) defines the resistance to explosions. The higher the value, the lower the chance of destruction.
112
+
-[`minecraft:friction`](/blocks/block-components#friction) defines how much friction the block has. For example, soul sand has a high value for friction, so it slows the players. Ice has a lower friction value, so it has a slippery effect. The friction of classic blocks such as wood or stone is `0.4`.
113
+
-[`minecraft:map_color`](/blocks/block-components#map-color) is the hex color code that will be displayed on a Minecraft map to represent this block. `#ffffff` means white. You can get hex codes for other colors [here](https://www.google.com/search?q=hex+color+picker).
114
+
-[`minecraft:light_dampening`](/blocks/block-components#light-dampening) defines how much light will be blocked from passing through.
115
+
-[`minecraft:light_emission`](/blocks/block-components#light-emission) defines the light level the block will output.
116
+
-[`minecraft:loot`](/blocks/block-components#loot) defines a loot table path for the block to drop. If this is removed, then the block will drop itself. You can learn more about loot tables [here](/loot/loot-tables).
117
117
118
118
_Browse more block components [here](/blocks/block-components)!_
119
119
@@ -165,47 +165,43 @@ Now, we need to link the texture shortname to an image file path in `RP/textures
165
165
166
166
Textures can also be applied per face. For example, a custom "compass block" could use the following ✨stunning✨ textures:
0 commit comments