Skip to content

Commit 643bf57

Browse files
committed
Corrected list formatting
1 parent 2a4addf commit 643bf57

File tree

2 files changed

+23
-27
lines changed

2 files changed

+23
-27
lines changed

docs/blocks/block-models.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Textures can be created in Blockbench by clicking `Create Texture` and selecting
7070

7171
The "paper_bag" model has multiple pre-made textures, listed below:
7272

73-
- `textures/blocks/paper_bag.png`
73+
- `textures/blocks/paper_bag.png`
7474

7575
<WikiImage
7676
src="/assets/images/blocks/block-models/paper_bag.png"
@@ -79,7 +79,7 @@ The "paper_bag" model has multiple pre-made textures, listed below:
7979
width="128"
8080
/>
8181

82-
- `textures/blocks/paper_bag_bottom_fold.png`
82+
- `textures/blocks/paper_bag_bottom_fold.png`
8383

8484
<WikiImage
8585
src="/assets/images/blocks/block-models/paper_bag_bottom_fold.png"
@@ -88,7 +88,7 @@ The "paper_bag" model has multiple pre-made textures, listed below:
8888
width="128"
8989
/>
9090

91-
- `textures/blocks/paper_bag_side_gusset.png`
91+
- `textures/blocks/paper_bag_side_gusset.png`
9292

9393
<WikiImage
9494
src="/assets/images/blocks/block-models/paper_bag_side_gusset.png"

docs/blocks/blocks-intro.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ Below is the **minimum** behavior-side code to get a custom block into the creat
6666

6767
### Block Description
6868

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`.
7272

7373
_The block description is also home to [states](/blocks/block-states) and [traits](/blocks/block-traits), which are covered in their own pages._
7474

@@ -107,13 +107,13 @@ Let's configure our own functionality!
107107
}
108108
```
109109

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).
117117

118118
_Browse more block components [here](/blocks/block-components)!_
119119

@@ -165,47 +165,43 @@ Now, we need to link the texture shortname to an image file path in `RP/textures
165165

166166
Textures can also be applied per face. For example, a custom "compass block" could use the following ✨stunning✨ textures:
167167

168-
- `textures/blocks/compass_block_down.png`
168+
- `textures/blocks/compass_block_down.png`
169169

170170
<WikiImage
171171
src="/assets/images/blocks/blocks-intro/compass_block_down.png"
172172
pixelated
173173
width="64"
174174
/>
175175

176-
- `textures/blocks/compass_block_up.png`
176+
- `textures/blocks/compass_block_up.png`
177177

178-
<WikiImage
179-
src="/assets/images/blocks/blocks-intro/compass_block_up.png"
180-
pixelated
181-
width="64"
182-
/>
178+
<WikiImage src="/assets/images/blocks/blocks-intro/compass_block_up.png" pixelated width="64" />
183179

184-
- `textures/blocks/compass_block_north.png`
180+
- `textures/blocks/compass_block_north.png`
185181

186182
<WikiImage
187183
src="/assets/images/blocks/blocks-intro/compass_block_north.png"
188184
pixelated
189185
width="64"
190186
/>
191187

192-
- `textures/blocks/compass_block_east.png`
188+
- `textures/blocks/compass_block_east.png`
193189

194190
<WikiImage
195191
src="/assets/images/blocks/blocks-intro/compass_block_east.png"
196192
pixelated
197193
width="64"
198194
/>
199195

200-
- `textures/blocks/compass_block_south.png`
196+
- `textures/blocks/compass_block_south.png`
201197

202198
<WikiImage
203199
src="/assets/images/blocks/blocks-intro/compass_block_south.png"
204200
pixelated
205201
width="64"
206202
/>
207203

208-
- `textures/blocks/compass_block_west.png`
204+
- `textures/blocks/compass_block_west.png`
209205

210206
<WikiImage
211207
src="/assets/images/blocks/blocks-intro/compass_block_west.png"
@@ -310,9 +306,9 @@ You can learn more about translation [here](/concepts/text-and-translations).
310306

311307
In this page, you've learnt about the following:
312308

313-
- [x] Basic features of blocks
314-
- [x] How to apply a texture to all block faces
315-
- [x] How to apply textures per face
309+
- [x] Basic features of blocks
310+
- [x] How to apply a texture to all block faces
311+
- [x] How to apply textures per face
316312

317313
...but it's only the beginning, see what else you could do below!
318314

0 commit comments

Comments
 (0)