Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/rework/blocks' into rework/blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Nov 15, 2023
2 parents f510e01 + 27f5fd5 commit fc9e448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blocks/states.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Here, the rule of thumb is: **if you have a finite amount of states, use a block

Blockstates and block entities can be used in conjunction with one another. For example, the chest uses blockstate properties for things like the direction, whether it is opened or not, or becoming a double chest is handled by blockstate properties, while storing the inventory or interacting with hoppers is handled by a block entity.

There is no definitive answer to the question "How many states are too much for a blockstate?", but the authors recommend that if you need more than 8-9 bits of data (i.e. more than a few hundred states), you should use a block entity instead.
There is no definitive answer to the question "How many states are too much for a blockstate?", but we recommend that if you need more than 8-9 bits of data (i.e. more than a few hundred states), you should use a block entity instead.

Implementing Blockstates
------------------------
Expand Down

1 comment on commit fc9e448

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: fc9e44854a7536ebc439d91dc2857d2c3721e21d
Status: ✅ Deploy successful!
Preview URL: https://cd2859cb.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-21.neoforged-docs-previews.pages.dev

Please sign in to comment.