Posted October 25, 20205 yr I want to create a BlockState that is the same as another BlockState but with the block changed. I am missing the MapCodec<BlockState> Edited October 25, 20205 yr by hiperion14
October 25, 20205 yr 2 hours ago, hiperion14 said: I am missing the MapCodec<BlockState> Then just reuse the code present in the other object or if the object doesn't have any design issues extend it. If they are separate, they should not be related to one another. You shouldn't need an instance of the codec as you shouldn't be reading/writing a block state to make it similar to another. Edited October 25, 20205 yr by ChampionAsh5357
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.