This mod currently adds 2 systems to prevent accidental dropping of items:
- A drop delay system, which changes how item dropping works - the "drop" key now needs to be held down for a configurable amount of ticks.
- A favorites system, which allows specifying certain items that cannot be dropped without holding another modifier key. Items can currently be specified by their type, what enchantments they have and what tags they're in.
Each of these two systems can be enabled or disabled independently of each other.
Additionally, this mod also prevents dropping items from screens via:
- Clicking outside of the screen (favorite items by default).
- Closing the screen (all items by default).
This can be configured to include all items, only favorite items, or be disabled completely.
The mod can be configured using Mod Menu, or you can edit the configuration file manually at config/dontdropit.json5.
Since version 1.1.0, this mod will also allow you to rebind the "drop entire stack" modifier key (Left Control by default).
Since version 2.0.0: this mod comes bundled with Amecs API, which, among other improvements, allows multiple actions to be bound to the same key.
Old version stuff:
Since version 1.2.0, this mod comes bundled with Conflict in Harmony, which allows multiple actions to be bound to the same key. CiH is broken. Do not use 1.2.0 or 1.2.1.
1.2.2-1.3.1: This mod comes bundled with Amecs (API in 1.16), which, among other improvements, allows multiple actions to be bound to the same key.
1.4.0-1.4.2: It is heavily recommended you install Amecs alongside this mod.
This mod is entirely client-side, and doesn't need to be installed on the server to work (in fact, it does nothing on a server).
Note: Please use the GitHub issue tracker (linked above) to report bugs or request features!
Can you update to 1.16.3?
In reply to daddy_spin:
Coming very soon, don't you worry!
In reply to daddy_spin:
It has been done. Update to 2.0.0.
Could you add an option to get rid of the lock symbol?
In reply to Forge_User_28275447:
Sure. Just gotta solve some log spam first...
In reply to Forge_User_28275447:
v1.3.1 has this feature now.
In reply to Forge_User_43595715:
Thank you. I’m already using it
I like this mod and it's really nice to have, but what about a toggle keybind? It would be very helpful for me to toggle it on or off. Thanks.
In reply to Forge_User_21868851:
That'd probably be pretty easy to implement.
In reply to Forge_User_21868851:
Version 1.3.0 has just been uploaded with this feature. You might need to wait a bit for the file to be approved.
In reply to Forge_User_43595715:
Thanks for adding it! Works just as I imagined :)
Hello. I think I found a bug. For some reason this mod prevents you from taking fall damage and I was wondering if this can be fixed since I got banned from a server because I wasn't taking fall damage. Thanks.
In reply to Z0MBIEGeneral:
...what?
This mod does not touch the player code in the slightest, and even if it somehow disabled fall damage, it'd be client-side only and would be corrected by the server.
This is not the mod that caused this, that I can guarantee.
In reply to Forge_User_43595715:
Well that's kinda weird since I tried running every other mod I had when it happened and I found out that if I have this mod on it prevents it so I don't know what's happening.
Could you have Conflict in Harmony not be bundled with this mod? I don't want to use that since all keys are unusable when that mod is installed.
In reply to thegiggitybyte:
v1.2.2 has been released which removes Conflict in Harmony in favor or Amecs, which provides the same benefit along with a few others.
Is there a forge version of this?NVM...answered below...sighHeey! :D
I'm getting a crash on launch, probably incompatibility, I'm running a lot of mods.
The crash log:
---- Minecraft Crash Report ----
// Why did you do that?
Time: 2020-07-17 23:45:35 BRT
Description: Initializing game
java.lang.StackOverflowError
at Not Enough Crashes deobfuscated stack trace.(1.16.1+build.19)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
at net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper.getBoundKeyOf(KeyBindingHelper.java:56)
at net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.getBoundKey(FabricKeyBinding.java:46)
=====================This goes forever, to long can't post, but exactly the same lines===========================
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Initialization --
-- System Details --
Minecraft Version: 1.16.1
Minecraft Version ID: 1.16.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2995782456 bytes (2857 MB) / 6207569920 bytes (5920 MB) up to 6442450944 bytes (6144 MB)
CPUs: 12
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Suspected Mods: Fabric Key Binding API (v1) (fabric-key-binding-api-v1), Fabric Key Bindings (v0) (fabric-keybindings-v0)
Fabric Mods: adorn: Adorn 1.9.1+1.16.1
angerable-patch: Angerable Patch 1.0.0-1.16.1
atmosfera: Atmosfera 1.2.2-1.16
autoconfig1u: Auto Config v1 Updated 3.2.0-unstable
bambootweaks: Bamboo Tweaks unspecified
beachslimes: Beach Slimes 2.1.0+mc1.16.1
better_wandering_trader: Better Wandering Trader 1.4.0
betterdroppeditems: Better Dropped Items 1.2.1-1.16
bettergraves: Better Graves 0.3.0
betternether: Better Nether 3.3.1
betterstones: Better Stones 0.0.3
betterthanmending: BetterThanMending 1.1.1
blockus: Blockus 1.6.0.1
blue_endless_jankson: jankson +
blur: Blur 1.0.6
borderlessmining: Borderless Mining 1.0.5+1.16
bunch-o-trinkets: Bunch O' Trinkets 1.0.1
byg: BYG 1.0.8
cardinal-components-base: Cardinal Components API (base) 2.4.1
cardinal-components-entity: Cardinal Components API (entities) 2.4.1
cavebiomes: Cave Biomes 0.2.3
chunkpregen: Fabric Chunk Pregenerator 0.2.2
cinderscapes: Cinderscapes 1.0.5+build.36-1.16.1
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-client-events-v0: Cloth Client Events v0 1.0.4
cloth-config2: Cloth Config v4 4.6.0
columns: Columns 1.1.0
com_moandjiezana_toml_toml4j: toml4j 0.7.2
conflictinharmony: Conflict in Harmony 1.0.0+1.16
connected_block_textures: Connected Block Textures 0.1.0+1.16
craftablehorsearmour: Craftable Horse Armour & Saddle 1.16-1.3-Fabric
curses: Curses 1.3.0
darkness: True Darkness 1.5.43
dontdropit: Don't Drop It! 1.2.0+1.16
dungeons: JavaDungeons 1.2.1+1.16.1
dynamicsoundfilters: Dynamic Sound Filters 1.1.2+1.16.1
eldritch_mobs: Eldritch Mobs 1.2.7
extraalchemy: Extra Alchemy 1.0.3
fabric: Fabric API 0.14.1+build.372-1.16
fabric-api-base: Fabric API Base 0.1.3+12a8474c7c
fabric-biomes-v1: Fabric Biomes (v1) 0.2.7+059ea86602
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea8902
fabric-command-api-v1: Fabric Command API (v1) 1.0.8+5ce5339802
fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d3083602
fabric-containers-v0: Fabric Containers (v0) 0.1.8+045df74f02
fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+059ea86602
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d02
fabric-dimensions-v1: fabric-dimensions-v1 1.0.0+a71b305302
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.3.3+7066030f02
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+16acbe5b02
fabric-item-api-v1: Fabric Item API (v1) 1.0.0+16acbe5b02
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.0+438f963602
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.0+e16a977402
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+3fa9f7c502
fabric-language-kotlin: Fabric Language Kotlin 1.3.72+build.1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.0.0+b0993bc102
fabric-loot-tables-v1: Fabric Loot Tables (v1) 0.1.10+059ea86602
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce9902
fabric-models-v0: Fabric Models (v0) 0.1.0+dfdb52d602
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b02
fabric-networking-v0: Fabric Networking (v0) 0.1.10+e00ecb5f02
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.5.5+e00ecb5f02
fabric-object-builders-v0: Fabric Object Builders (v0) 0.6.0+da175ad602
fabric-particles-v1: fabric-particles-v1 0.2.1+0a6f2a7002
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.3.8+7dba2d6c02
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.2.13+eae12eb802
fabric-renderer-indigo: Fabric Renderer - Indigo 0.3.2+4d66bed502
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.0.1+5a0f9a6002
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.3+b7f9825d02
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.8+b7084faa02
fabric-rendering-v0: Fabric Rendering (v0) 1.1.0+5341049002
fabric-rendering-v1: Fabric Rendering (v1) 1.1.2+346247d702
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.2.6+f41e209802
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.0.1+f362c86e02
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.2.7+a4c57d8e02
fabric-textures-v0: Fabric Textures (v0) 1.0.4+eae12eb802
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.1.4+5794386e02
fabricloader: Fabric Loader 0.9.0+build.204
firstperson: FirstpersonModel 1.2.0
flesh2leather: Flesh2Leather 1.0.0
flonters: Flonters 1.1.0+1.16.1
godown: Go Down 0.2.0+1.16.1
greater_eye: Greater Eye of Ender 1.0.21
grindenchantments: Grind Enchantments 1.1.1+1.16.1
gubbins: Gubbins 1.1.1-1.16.1
illuminations: Illuminations 0.5.1
inventorysorter: Inventory Sorter 1.6.7-1.16
itemscroller: Item Scroller 0.15.0-dev.20200630.022843
jankson: Jankson 3.0.0+j1.2.0
jumpoverfences: JumpOverFences 1.16-0.0.3
kirin: Kirin UI 1.6.4-1.16-rc1-1.16-SNAPSHOT
kyrptconfig: Kytpt Config 1.0.4-1.16
lakeside: Lakeside 1.0.2+1.16.1
leaf-decay: Leaf Decay ${version}
libcd: LibCapableData 2.5.0+1.16.1
libgui: LibGui 2.0.1+1.16.1
libstructure: Libstructure 1.3
lithium: Lithium 0.5.1
loadcatcher: Entrypoint Catcher 2.0.0
magna: Magna 1.1.1-1.16.1
malilib: MaLiLib 0.10.0-dev.21+arne.1
minecraft: Minecraft 1.16.1
mo_glass: Mo Glass 1.3-MC1.16.1
mobz: MobZ 2.4.0
modmenu: Mod Menu 1.14.0+build.24
moenchantments: Mo'Enchantments 1.12.4-beta2
mooblooms: Mooblooms 1.3.0
more_gems: More Gems 1.0.45
moretotems: More Totems 2.5
mostructures: Mo' Structures 1.0.0-pre1+mc.1.16
mutuality: Mutuality 1.0.0
netheritehorsearmor: Netherite Horse Armor 0.2.0
no_fog: No Fog 1.0.1-beta.1+1.16.1
notenoughcrashes: Not Enough Crashes 2.0.0+1.16.1
onsoulfire: On Soul Fire r3
org_aeonbits_owner_owner: owner 1.0.12
org_javassist_javassist: javassist 3.26.0-GA
org_jetbrains_annotations: annotations 17.0.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.3.72
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.3.72
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.3.72
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.3.72
org_jetbrains_kotlinx_kotlinx-coroutines-core: kotlinx-coroutines-core 1.3.7
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.3.7
org_reflections_reflections: reflections 0.9.12
origins: Origins 1.16-0.2.3
parchment: Parchment 1.0.2+1.15.2
phosphor: Phosphor 0.6.0+build.7
presencefootsteps: Presence Footsteps r26+1.16-rc1
rare-ice: Rare Ice 0.2.1
reach-entity-attributes: Reach Entity Attribute 1.0.1
realisticfirespread: Realistic Fire Spread r1
repurposed_structures: Repurposed Structures 1.2.1
ringsofascension: Rings of Ascension 1.0.3
roughlyenoughitems: Roughly Enough Items 4.10.1
rpgstats: RPGStats 2.0.3+1.16.1
satin: Satin 1.4.0-nightly.1.16-pre5+build.1
shapes: Shapes 2.0.0+build.10
shuffle: Shuffle 1.1.2
silky_spawners: Silky Spawners 2.0.0+build.1-1.16
slightlyvanilla: SlightlyVanilla 1.0.9+1.16.1
snowy_leaves: Snowy Leaves 1.16.1-1.3.1
soaring-clouds: Soaring Clouds 1.1.0-1.16
sodium: Sodium 0.1.0
step-height-entity-attribute: Step Height Entity Attribute 1.0.0
stuffz: StuffZ 2.2.2
terraform: Terraform 2.1.7+build.31
terrestria: Terrestria 2.0.3+build.46
tinytweaks: TinyTweaks 1.0.11
torchkey: Torchkey 1.0.2
totemmod: Wither Totems Mod 0.3
traverse: Traverse 2.2.13+build.27
trinkets: Trinkets 2.6.3
vanilla-hammers: Vanilla Hammers 1.10.1-1.16.1
vanillaplusbiomes: Vanilla Plus Biomes 0.2.2
villagers-follow-emeralds: Villagers Follow Emeralds 1.0.0
voidfog: Void Fog 2.3.2+1.16-rc1
waila: Hwyla 1.9.22
walljump: Wall-Jump! 1.3.3+1.16.1
wands: Wands Mod 1.1
water-erosion: Water Erosion 1.1.1
wildworld: Wild World 1.2.1-1.16
wolveswitharmor: Wolves With Armor 1.4.0-1.16.1
xaerominimap: Xaero's Minimap 20.16.0
xaeroworldmap: Xaero's World Map 1.7.4
Launched Version: fabric-loader-0.9.0+build.204-1.16.1
Backend library: LWJGL version 3.2.2 build 10
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU: <unknown>
Any idea what could be the issue?
o/
In reply to The_Cosmic_Cow:
Yeah, I somehow managed to break compatibility with Fabric API. Which is an achievement, for sure.
I've managed to fix this incompatibility and am releasing v1.2.1 with this fix.
In reply to Forge_User_43595715:
Hehehe don't worry.
Thanks for the update tho; o/