Implement shulker box - #298
Conversation
also fix an ordering bug when fetching block_entity too late
|
I'm wondering if the current known issues should be fixed in another PR as this behavior is consistently missing across all container implementations. |
|
which issues do you mean? |
|
Animations doesn't work/isn't implemented (same with barrels). Looking into it is not so hard to implement. trait Container needs start_open and stop_open functions to be added |
|
as a maintainer I would like to have it seperated into another PR, so it is easier to review and you can merge that branch already here. I personally would also have the breaking changes in another PR, because the ice block impl was adding there some things and it took some time to figure that out while reviewing the ice block in general. Because you can give also a more detailed description why is that needed, which would made the search way easier :) But that is not a requirement, but a feedback from my side, maybe the other maintainer see it different :) |
|
I think 4lve said that in his chest pr the counter of players with the container open was implemented |
If you're talking about the @JunkyDeveloper I've update the description to include all the changes that touches other parts than shulker boxes for me and anyone to look at. If the general consensus is to create a new PR for those changes I could do that. |
Thanks, will not have time in the next 10 days. but I think it will also help other maintainers :) at first we need to internally discuss all the things who we want to have it, but for now that is more than fine! |
Implements the shulker box block and block entity.
Known issues
Other changes
fn apply_components_from_itemtoBlockEntitytraitOption<BlockEntity>toBlockLootContextfn contracttoAabb<DVec3, World>matching the vanilla equivelantfn prevents_block_dropstoPlayerwhich returns instabreak abilityfn to_nbt_tag_reftoLockCodeBlockEntitywas retrieved after its removalLooking for feedback on overall implementation design as I fix the current issues