Closed xly2000 closed 5 years ago
It is difficult for me to understand anything about this issue because it is described using so few words.
Please elaborate.
sry. i mean tool restriction.
Dropt.list("grave")
.priority(0)
.add(Dropt.rule()
.matchDrops([<minecraft:gravel>])
.matchHarvester(Dropt.harvester()
.type("PLAYER")
.mainHand("WHITELIST", [<gregtech:meta_tool:16>.withTag({"GT.ToolStats": {PrimaryMaterial: "darmstadtium"}})], "shovel;0;-1")
)
.addDrop(Dropt.drop()
.selector(Dropt.weight(50))
.items([<minecraft:gravel>])
)
.addDrop(Dropt.drop()
.selector(Dropt.weight(35))
.items([<pyrotech:rock>])
)
.addDrop(Dropt.drop()
.selector(Dropt.weight(15))
.items([<minecraft:flint>])
)
);
normal shovels is work, but gtce tool not
Ah, the NBT matching.
If I remember right, Dropt doesn't support NBT matching. I'll look into this in the future though.
The held item NBT matching feature will be available in 1.16.0
oredictionary and tag too