Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropped items don't pick up. And Z menu bugs. #685

Open
hilcon222 opened this issue Jun 18, 2024 · 2 comments
Open

Dropped items don't pick up. And Z menu bugs. #685

hilcon222 opened this issue Jun 18, 2024 · 2 comments
Labels
Bug Something that shouldn't happen. Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid.

Comments

@hilcon222
Copy link

Describe the bug
Sometimes, when I open personal crafting menu with Z key, instead of crafting the items, they randomly drop on the floor and I can't pick them up.

To Reproduce
Steps to reproduce the behavior:

  1. Click Z to open personal crafting
  2. Craft a wood plank
  3. It consumes wood but you see that you still have 0 planks
  4. Close crafting menu
  5. Look on the ground to see a lotta planks you can't pick up.

Expected behavior
I wanted planks in my inventory without them dropping.
And if i drop an item, im supposed to be able to pick it before it despawns.

Desktop (please complete the following information):

  • OS: Windows
  • Game version 2.2.0

Additional context
When I chop a tree or a wooden door, sometimes I can't pick wood or the door up.
When I close X or Z menu, sometimes I randomly drop what I'm holding. I think something is wrong with dropping items.

@hilcon222 hilcon222 added the Bug Something that shouldn't happen. label Jun 18, 2024
@BenCheung0422
Copy link
Member

Currently, there is inventory size limit implemented. Please confirm whether your inventory is full. You cannot pickup more items when your inventory is full.

@BenCheung0422
Copy link
Member

Inventory limit is implemented since 2.2.0-dev1. This is likely the circumference when having full inventory. Maximum number of item stacks player can hold is 27.

Analysis

Crafting new item
When the newly crafted item cannot be put into the player's inventory, the item is dropped from the player immediately. The situation is similar to Minecraft. When you crafted an item that cannot stack with other stacks in the inventory, the player would close the inventory to drop it, though the player can swap the holding item on the cursor and a stack in inventory, which is not possible in Minicraft+ at the moment. So the player can see an item dropped on the floor when the menu is closed.

Opening menu
When opening a menu, for example crafting menu or inventory menu, the item stack holding is supposed to be returned to the inventory. However, the inventory count does not count in holding stack, so when the inventory is full when returning held item stacks, they can just be dropped. When the menu is opened, the time is frozen, so the stack dropped can be seen when closing menu.

Picking items up
When the inventory is full, no more items can be picked up when they cannot stack with any stack in the inventory. Then, if the inventory is still full before the item entity disappearing, it is lost.

Inventory fullness is one of the mechanism that has to be noticed anytime to prevent such situation happening, as a part of gameplay.

If you can confirm the situation, I will convert this issue as a question.

@BenCheung0422 BenCheung0422 added the Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid. label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something that shouldn't happen. Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid.
Projects
None yet
Development

No branches or pull requests

2 participants