Skip to content

Commit

Permalink
Rework the Client Resources chapter (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis C <xfacthd@gmx.de>
Co-authored-by: ChampionAsh5357 <championash5357@gmail.com>
  • Loading branch information
3 people committed Apr 19, 2024
1 parent 4a95c9a commit 6369904
Show file tree
Hide file tree
Showing 53 changed files with 2,235 additions and 1,738 deletions.
11 changes: 6 additions & 5 deletions docs/blocks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ This does the exact same as the previous example, but is slightly shorter. Of co

### Resources

If you register your block and place it in the world, you will find it to be missing things like a texture. This is because textures, among others, are handled by Minecraft's resource system.

To apply a simple texture to a block, you must add a blockstate JSON, a model JSON, and a texture PNG. See the section on [resources] for more information.
If you register your block and place it in the world, you will find it to be missing things like a texture. This is because [textures], among others, are handled by Minecraft's resource system. To apply the texture to the block, you must provide a [model] and a [blockstate file][bsfile] that associates the block with the texture and a shape. Give the linked articles a read for more information.

## Using Blocks

Expand Down Expand Up @@ -229,12 +227,15 @@ Random ticking is used by a wide range of mechanics in Minecraft, such as plant
[below]: #deferredregisterblocks-helpers
[blockentities]: ../blockentities/index.md
[blockstates]: states.md
[bsfile]: ../resources/client/models/index.md#blockstate-files
[events]: ../concepts/events.md
[interactionpipeline]: ../items/interactionpipeline.md
[item]: ../items/index.md
[model]: ../resources/client/models/index.md
[randomtick]: #random-ticking
[registration]: ../concepts/registries.md#methods-for-registering
[resources]: ../resources/client/index.md
[sounds]: ../gameeffects/sounds.md
[resources]: ../resources/index.md#assets
[sounds]: ../resources/client/sounds.md
[textures]: ../resources/client/textures.md
[usingblocks]: #using-blocks
[usingblockstates]: states.md#using-blockstates
90 changes: 0 additions & 90 deletions docs/concepts/internationalization.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/concepts/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static void onGatherData(GatherDataEvent event) {
[blockentity]: ../blockentities/index.md
[codec]: ../datastorage/codecs.md
[datagen]: #data-generation-for-datapack-registries
[datagenindex]: ../datagen/index.md
[datagenindex]: ../resources/index.md#data-generation
[datapack]: ../resources/server/index.md
[defregblocks]: ../blocks/index.md#deferredregisterblocks-helpers
[defregitems]: ../items/index.md#deferredregisteritems
Expand Down
3 changes: 3 additions & 0 deletions docs/datagen/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"label": "Datagen"
}
File renamed without changes.
3 changes: 0 additions & 3 deletions docs/datagen/client/_category_.json

This file was deleted.

41 changes: 0 additions & 41 deletions docs/datagen/client/localization.md

This file was deleted.

Loading

0 comments on commit 6369904

Please sign in to comment.