Skip to content

Conversation

@IxPrumxI
Copy link

I only tested on Fabric 1.21.0

When cutting down a tree this will pick up all items, If there's no place for the items it will mimck vanilla behaviour of dropping the items where the block was destoryed.

Closes Serilum/.issue-tracker#1998


Block block = Block.byItem(itemStack.getItem());
BlockPos yZeroPlayerPos = player.getOnPos().atY(0);
// BlockPos yZeroItemPos = leafPos.atY(0);
Copy link
Author

Choose a reason for hiding this comment

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

@ricksouth I wish to hear your input on this. Should it search based on the player position or the leaf position?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant