Data Packs Challenge

No Item Drops

  • 3.9k views 0 today
  • save_alt 162 downloads
Compatibility
Minecraft 1.13
to version
Minecraft 1.17
Changes include
  • Functions
  • 2
  • 3
  • 7
XtraXD
Lvl 13Journeyman Miner
1
My first datapack I publish. With this Datapack, Items will not drop at any way, EVEN THROWING IT! This is a challenge because, for example, if you break a tree log, it won't drop the item. Or if you trow an item, it will disappear. So, please, for example, don't throw a diamond pickaxe with Efficienfy V, or it will disappear forever. A way to get items would be in chests (Example: Villages or Spawners), or trading with villagers or Piglins (1.16 or above). But experience orbs will drop, because it ISN'T an item, it's an experience orb. I made it in 1.17 Snapshots, but I think it could work in other Minecraft versions. Without anything more to say, enjoy the Datapack! :)

More like this

  Have something to say?

Wyvernity
08/07/2020 8:39 am
He/Him • Level 79 : Legendary Sus Crewmate
kill @e[​type=item]
2
XtraXD
08/19/2020 4:52 pm
Level 13 : Journeyman Miner
Correct! :)
1
fafik77
08/02/2020 2:43 pm
Level 66 : High Grandmaster Miner
thats what /gamerule doTileDrops false & /gamerule doMobLoot false is for, i would say typing those 2 commands is easier then downloading a datapack, putting it into world save and rloading the world
2
EMPErrorMar
08/09/2020 11:06 am
Level 1 : New Miner
Yep, a redundant datapack, but hey.. it's a free lesson in coding related to item entities, so I'm ok with it :D
1
Niftyz
08/02/2020 5:33 am
Level 1 : New Miner
So if it is possible to take away item drops, would it also be possible to double them in an easy way? So whatever value of items I would get from breaking or killing something it gets doubled? For example breaking a log would always give me two logs instead. Killing for example a pig with a drop chance of 1-3 raw porks would instead be 2-6. A data pack like that would be wonderful for easier farming and grinding.
2
fafik77
08/02/2020 2:48 pm
Level 66 : High Grandmaster Miner
you could change loot_table/blocks/<block id> to drop 2 items instead of 1, or drop 2-6 items instead of 1-3
p.s. there are 1000+ loot tables, however you could modify only ores to drop more items when destroyed, keep in mind that if player can mine a block get 2 items place them and repeat it makes for the easiest duplication problem
1
XtraXD
08/02/2020 2:03 pm
Level 13 : Journeyman Miner
Maybe, but I don't know, if I would do a Datapack of that, how to do it. But maybe it's possible. :)
1

Welcome