codetaylor / dropt-1.12

Flexible block drop strategies.
https://minecraft.curseforge.com/projects/dropt
Other
6 stars 2 forks source link

GTCE tools couldnt work #57

Closed xly2000 closed 5 years ago

xly2000 commented 5 years ago

oredictionary and tag too

codetaylor commented 5 years ago

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

Please elaborate.

xly2000 commented 5 years ago

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

codetaylor commented 5 years ago

Ah, the NBT matching.

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

codetaylor commented 5 years ago

The held item NBT matching feature will be available in 1.16.0