Allow player to clean his inventory by pressing trash slot while sneaking #1298
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-Minecraft feature
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#1298
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Does this feature need an engine change?
No, it does not
@EliasFleckenstein03 It is a minecraft feature.
https://youtu.be/ci5JZR3WWA8?t=503
Allow player to clean his inventory by pressing trash slotto Allow player to clean his inventory by pressing trash slot while sneakingIt does need an engine change because we need to detect shift in formspec menu, which is currently not possible.
Why detect shift in the formspec menu? Can't you detect it in a similar way to bow input, with a variable for each player?
Minetest allows us to detect whether the player is sneaking. It does not allow us to detect whether a player is pressing shift. When the player pressed shift (or their sneak key) outside a GUI menu, they will sneak.
can't we use
listring[]
to move the item to the trash slot?I think AFCMS was talking about clicking the trash slot, which does not contain an item.