GTCE tools couldnt work
xly2000 opened this issue ยท 4 comments
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.
It is difficult for me to understand anything about this issue because it is described using so few words.
Please elaborate.