Dropt

Dropt

3M Downloads

GTCE tools couldnt work

xly2000 opened this issue ยท 4 comments

commented

oredictionary and tag too

commented

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

commented

Ah, the NBT matching.

If I remember right, Dropt doesn't support NBT matching. I'll look into this in the future though.

commented

It is difficult for me to understand anything about this issue because it is described using so few words.

Please elaborate.

commented

The held item NBT matching feature will be available in 1.16.0