BlockAnvil 和 BlockChest 规定了 setBlockBoundsBasedOnState,如下所示:<syntaxhighlight lang="java"> /* 简化代码 */